diff --git a/.bazelversion b/.bazelversion index be57528b92..44d4d72062 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1,3 +1,3 @@ -2.1.1 +3.2.0 # [NB: this comment has to be after the first line, see https://github.com/bazelbuild/bazelisk/issues/117] # When updating the Bazel version you also need to update the RBE toolchains version in package.bzl diff --git a/.circleci/README.md b/.circleci/README.md index 881c43260d..cddaf76fe8 100644 --- a/.circleci/README.md +++ b/.circleci/README.md @@ -12,8 +12,8 @@ We use this as a symmetric AES encryption key to encrypt tokens like a GitHub token that enables publishing snapshots. To create the github_token file, we take this approach: -- Find the angular-builds:token in http://valentine +- Find the angular-builds:token in the internal pw database - Go inside the CircleCI default docker image so you use the same version of openssl as we will at runtime: `docker run --rm -it circleci/node:10.12` - echo "https://[token]:@github.com" > credentials - openssl aes-256-cbc -e -in credentials -out .circleci/github_token -k $KEY -- If needed, base64-encode the result so you can copy-paste it out of docker: `base64 github_token` \ No newline at end of file +- If needed, base64-encode the result so you can copy-paste it out of docker: `base64 github_token` diff --git a/.circleci/bazel.linux.rc b/.circleci/bazel.linux.rc index afb8fd47f1..9ecef0e1c6 100644 --- a/.circleci/bazel.linux.rc +++ b/.circleci/bazel.linux.rc @@ -19,4 +19,12 @@ build --local_ram_resources=14336 # All build executed remotely should be done using our RBE configuration. build:remote --google_default_credentials + +# Upload to GCP's Build Status viewer to allow for us to have better viewing of execution/build +# logs. This is only done on CI as the BES (GCP's Build Status viewer) API requires credentials +# from service accounts, rather than end user accounts. +build:remote --bes_backend=buildeventservice.googleapis.com +build:remote --bes_timeout=30s +build:remote --bes_results_url="https://source.cloud.google.com/results/invocations/" + build --config=remote diff --git a/.circleci/config.yml b/.circleci/config.yml index da85f1baed..3b1267df96 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,7 @@ var_4_win: &cache_key_win_fallback v7-angular-win-node-12-{{ checksum ".bazelver # Cache key for the `components-repo-unit-tests` job. **Note** when updating the SHA in the # cache keys also update the SHA for the "COMPONENTS_REPO_COMMIT" environment variable. -var_5: &components_repo_unit_tests_cache_key v7-angular-components-448523bffffecd2b53a3d2854c3051b6b7a3934f +var_5: &components_repo_unit_tests_cache_key v7-angular-components-f428c00465dfcf8a020237f22532480eedbd2cb6 var_6: &components_repo_unit_tests_cache_key_fallback v7-angular-components- # Workspace initially persisted by the `setup` job, and then enhanced by `build-npm-packages` and @@ -67,9 +67,6 @@ var_10: &only_on_master # **NOTE 1**: Pin to exact images using an ID (SHA). See https://circleci.com/docs/2.0/circleci-images/#using-a-docker-image-id-to-pin-an-image-to-a-fixed-version. # (Using the tag in not necessary when pinning by ID, but include it anyway for documentation purposes.) # **NOTE 2**: If you change the version of the docker images, also change the `cache_key` suffix. -# **NOTE 3**: If you change the version of the `*-browsers` docker image, make sure the -# `--versions.chrome` arg in `integration/bazel-schematics/test.sh` specifies a -# ChromeDriver version that is compatible with the Chrome version in the image. executors: default-executor: parameters: @@ -120,7 +117,7 @@ commands: sudo apt-get update # Install GTK+ graphical user interface (libgtk-3-0), advanced linux sound architecture (libasound2) # and network security service libraries (libnss3) & X11 Screen Saver extension library (libssx1) - # which are dependendies of chrome & needed for karma & protractor headless chrome tests. + # which are dependencies of chrome & needed for karma & protractor headless chrome tests. # This is a very small install which takes around 7s in comparing to using the full # circleci/node:x.x.x-browsers image. sudo apt-get -y install libgtk-3-0 libasound2 libnss3 libxss1 @@ -163,7 +160,7 @@ commands: description: Sets up a domain that resolves to the local host. steps: - run: - name: Preparing environment for running tests on Saucelabs. + name: Preparing environment for running tests on Sauce Labs. command: | # For SauceLabs jobs, we set up a domain which resolves to the machine which launched # the tunnel. We do this because devices are sometimes not able to properly resolve @@ -175,13 +172,13 @@ commands: setSecretVar SAUCE_ACCESS_KEY $(echo $SAUCE_ACCESS_KEY | rev) - run: # Sets up a local domain in the machine's host file that resolves to the local - # host. This domain is helpful in Saucelabs tests where devices are not able to + # host. This domain is helpful in Sauce Labs tests where devices are not able to # properly resolve `localhost` or `127.0.0.1` through the sauce-connect tunnel. name: Setting up alias domain for local host. command: echo "127.0.0.1 $SAUCE_LOCALHOST_ALIAS_DOMAIN" | sudo tee -a /etc/hosts # Normally this would be an individual job instead of a command. - # But startup and setup time for each invidual windows job are high enough to discourage + # But startup and setup time for each individual windows job are high enough to discourage # many small jobs, so instead we use a command for setup unless the gain becomes significant. setup_win: description: Setup windows node environment @@ -380,6 +377,10 @@ jobs: test_aio: executor: default-executor + parameters: + debugArtifactsDir: + type: string + default: aio/dist/size-debug-artifacts steps: - custom_attach_workspace - init_environment @@ -398,6 +399,15 @@ jobs: - run: yarn --cwd aio test-a11y-score-localhost # Check the bundle sizes. - run: yarn --cwd aio payload-size + # When `payload-size` check fails, copy the files that were checked into `debugArtifactsDir`. + - run: + when: on_fail + name: Prepare JS bundles to be stored as artifacts + command: node aio/scripts/prepare-size-debug-artifacts aio << parameters.debugArtifactsDir >> + # Store files in `debugArtifactsDir` (if any) as artifacts for debugging purposes. + - store_artifacts: + path: << parameters.debugArtifactsDir >> + destination: aio # Run unit tests for Firebase redirects - run: yarn --cwd aio redirects-test @@ -413,6 +423,9 @@ jobs: test_aio_local: parameters: + debugArtifactsDir: + type: string + default: aio/dist/size-debug-artifacts viewengine: type: boolean default: false @@ -431,6 +444,15 @@ jobs: - run: yarn --cwd aio test-pwa-score-localhost $CI_AIO_MIN_PWA_SCORE # Check the bundle sizes. - run: yarn --cwd aio payload-size aio-local<<# parameters.viewengine >>-viewengine<> + # When `payload-size` check fails, copy the files that were checked into `debugArtifactsDir`. + - run: + when: on_fail + name: Prepare JS bundles to be stored as artifacts + command: node aio/scripts/prepare-size-debug-artifacts aio-local<<# parameters.viewengine >>-viewengine<> << parameters.debugArtifactsDir >> + # Store files in `debugArtifactsDir` (if any) as artifacts for debugging purposes. + - store_artifacts: + path: << parameters.debugArtifactsDir >> + destination: aio test_aio_tools: executor: default-executor @@ -599,8 +621,8 @@ jobs: - run: name: Decrypt github credentials # We need ensure that the same default digest is used for encoding and decoding with - # openssl. Openssl versions might have different default digests which can cause - # decryption failures based on the installed openssl version. https://stackoverflow.com/a/39641378/4317734 + # OpenSSL. OpenSSL versions might have different default digests which can cause + # decryption failures based on the installed OpenSSL version. https://stackoverflow.com/a/39641378/4317734 command: 'openssl aes-256-cbc -d -in .circleci/github_token -md md5 -k "${KEY}" -out ~/.git_credentials' - run: ./scripts/ci/publish-build-artifacts.sh @@ -734,8 +756,8 @@ jobs: - run: yarn --cwd packages/zone.js promisetest - run: yarn --cwd packages/zone.js promisefinallytest - run: yarn bazel build //packages/zone.js:npm_package && - cp dist/bin/packages/zone.js/npm_package/dist/zone-mix.js ./packages/zone.js/test/extra/ && - cp dist/bin/packages/zone.js/npm_package/dist/zone-patch-electron.js ./packages/zone.js/test/extra/ && + cp dist/bin/packages/zone.js/npm_package/bundles/zone-mix.umd.js ./packages/zone.js/test/extra/ && + cp dist/bin/packages/zone.js/npm_package/bundles/zone-patch-electron.umd.js ./packages/zone.js/test/extra/ && yarn --cwd packages/zone.js electrontest - run: yarn --cwd packages/zone.js jesttest diff --git a/.circleci/env.sh b/.circleci/env.sh index 20cc3e3b2f..88ad302440 100755 --- a/.circleci/env.sh +++ b/.circleci/env.sh @@ -74,7 +74,7 @@ setPublicVar COMPONENTS_REPO_TMP_DIR "/tmp/angular-components-repo" setPublicVar COMPONENTS_REPO_URL "https://github.com/angular/components.git" setPublicVar COMPONENTS_REPO_BRANCH "master" # **NOTE**: When updating the commit SHA, also update the cache key in the CircleCI `config.yml`. -setPublicVar COMPONENTS_REPO_COMMIT "448523bffffecd2b53a3d2854c3051b6b7a3934f" +setPublicVar COMPONENTS_REPO_COMMIT "f428c00465dfcf8a020237f22532480eedbd2cb6" #################################################################################################### diff --git a/.circleci/trigger-webhook.js b/.circleci/trigger-webhook.js index 77860186bc..88c1b700dc 100644 --- a/.circleci/trigger-webhook.js +++ b/.circleci/trigger-webhook.js @@ -60,14 +60,15 @@ if (require.resolve === module) { // Helpers function _main(args) { - triggerWebhook(...args). - then(({statusCode, responseText}) => (200 <= statusCode && statusCode < 400) ? - console.log(`Status: ${statusCode}\n${responseText}`) : - Promise.reject(new Error(`Request failed (status: ${statusCode}): ${responseText}`))). - catch(err => { - console.error(err); - process.exit(1); - }); + triggerWebhook(...args) + .then( + ({statusCode, responseText}) => (200 <= statusCode && statusCode < 400) ? + console.log(`Status: ${statusCode}\n${responseText}`) : + Promise.reject(new Error(`Request failed (status: ${statusCode}): ${responseText}`))) + .catch(err => { + console.error(err); + process.exit(1); + }); } function postJson(url, data) { @@ -77,15 +78,12 @@ function postJson(url, data) { const statusCode = res.statusCode || -1; let responseText = ''; - res. - on('error', reject). - on('data', d => responseText += d). - on('end', () => resolve({statusCode, responseText})); + res.on('error', reject) + .on('data', d => responseText += d) + .on('end', () => resolve({statusCode, responseText})); }; - request(url, opts, onResponse). - on('error', reject). - end(JSON.stringify(data)); + request(url, opts, onResponse).on('error', reject).end(JSON.stringify(data)); }); } diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md index 1424df5367..39b3eb6862 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.md +++ b/.github/ISSUE_TEMPLATE/1-bug-report.md @@ -32,13 +32,13 @@ Existing issues often contain information about workarounds, resolution, or prog ## 🔬 Minimal Reproduction https://stackblitz.com/... -
- - -
TODO: remove this: {{spy.className}} - - diff --git a/aio/content/examples/forms/src/app/hero-form/hero-form.component.ts b/aio/content/examples/forms/src/app/hero-form/hero-form.component.ts index bc5fe12ef8..19f83e7d96 100644 --- a/aio/content/examples/forms/src/app/hero-form/hero-form.component.ts +++ b/aio/content/examples/forms/src/app/hero-form/hero-form.component.ts @@ -2,7 +2,7 @@ // #docregion , v1, final import { Component } from '@angular/core'; -import { Hero } from '../hero'; +import { Hero } from '../hero'; @Component({ selector: 'app-hero-form', diff --git a/aio/content/examples/http/src/app/http-interceptors/caching-interceptor.ts b/aio/content/examples/http/src/app/http-interceptors/caching-interceptor.ts index 5ebb631ac2..ea381f3e0c 100644 --- a/aio/content/examples/http/src/app/http-interceptors/caching-interceptor.ts +++ b/aio/content/examples/http/src/app/http-interceptors/caching-interceptor.ts @@ -13,13 +13,13 @@ import { searchUrl } from '../package-search/package-search.service'; /** - * If request is cachable (e.g., package search) and + * If request is cacheable (e.g., package search) and * response is in cache return the cached response as observable. * If has 'x-refresh' header that is true, * then also re-run the package search, using response from next(), * returning an observable that emits the cached response first. * - * If not in cache or not cachable, + * If not in cache or not cacheable, * pass request through to next() */ // #docregion v1 @@ -28,8 +28,8 @@ export class CachingInterceptor implements HttpInterceptor { constructor(private cache: RequestCache) {} intercept(req: HttpRequest, next: HttpHandler) { - // continue if not cachable. - if (!isCachable(req)) { return next.handle(req); } + // continue if not cacheable. + if (!isCacheable(req)) { return next.handle(req); } const cachedResponse = this.cache.get(req); // #enddocregion v1 @@ -51,11 +51,11 @@ export class CachingInterceptor implements HttpInterceptor { // #enddocregion v1 -/** Is this request cachable? */ -function isCachable(req: HttpRequest) { - // Only GET requests are cachable +/** Is this request cacheable? */ +function isCacheable(req: HttpRequest) { + // Only GET requests are cacheable return req.method === 'GET' && - // Only npm package search is cachable in this app + // Only npm package search is cacheable in this app -1 < req.url.indexOf(searchUrl); } diff --git a/aio/content/examples/i18n/stackblitz.json b/aio/content/examples/i18n/stackblitz.json new file mode 100644 index 0000000000..31759ca104 --- /dev/null +++ b/aio/content/examples/i18n/stackblitz.json @@ -0,0 +1,10 @@ +{ + "description": "i18n", + "files":[ + "!**/*.d.ts", + "!**/*.js", + "!**/*.[0-9].*" + ], + "file": "src/app/app.component.ts", + "tags": ["Angular", "i18n", "internationalization"] +} diff --git a/aio/content/examples/router/src/app/auth/auth.guard.2.ts b/aio/content/examples/router/src/app/auth/auth.guard.2.ts index 2ce03c8c9f..1b813fc5c2 100644 --- a/aio/content/examples/router/src/app/auth/auth.guard.2.ts +++ b/aio/content/examples/router/src/app/auth/auth.guard.2.ts @@ -1,6 +1,6 @@ // #docregion import { Injectable } from '@angular/core'; -import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router'; +import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router, UrlTree } from '@angular/router'; import { AuthService } from './auth.service'; @@ -12,21 +12,20 @@ export class AuthGuard implements CanActivate { canActivate( next: ActivatedRouteSnapshot, - state: RouterStateSnapshot): boolean { + state: RouterStateSnapshot): true|UrlTree { let url: string = state.url; return this.checkLogin(url); } - checkLogin(url: string): boolean { + checkLogin(url: string): true|UrlTree { if (this.authService.isLoggedIn) { return true; } // Store the attempted URL for redirecting this.authService.redirectUrl = url; - // Navigate to the login page with extras - this.router.navigate(['/login']); - return false; + // Redirect to the login page + return this.router.parseUrl('/login'); } } // #enddocregion diff --git a/aio/content/examples/router/src/app/auth/auth.guard.3.ts b/aio/content/examples/router/src/app/auth/auth.guard.3.ts index 97dc4546b4..5b958074f9 100644 --- a/aio/content/examples/router/src/app/auth/auth.guard.3.ts +++ b/aio/content/examples/router/src/app/auth/auth.guard.3.ts @@ -4,7 +4,8 @@ import { CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot, - CanActivateChild + CanActivateChild, + UrlTree } from '@angular/router'; import { AuthService } from './auth.service'; @@ -16,7 +17,7 @@ export class AuthGuard implements CanActivate, CanActivateChild { canActivate( route: ActivatedRouteSnapshot, - state: RouterStateSnapshot): boolean { + state: RouterStateSnapshot): true|UrlTree { let url: string = state.url; return this.checkLogin(url); @@ -24,20 +25,19 @@ export class AuthGuard implements CanActivate, CanActivateChild { canActivateChild( route: ActivatedRouteSnapshot, - state: RouterStateSnapshot): boolean { + state: RouterStateSnapshot): true|UrlTree { return this.canActivate(route, state); } // #enddocregion can-activate-child - checkLogin(url: string): boolean { + checkLogin(url: string): true|UrlTree { if (this.authService.isLoggedIn) { return true; } // Store the attempted URL for redirecting this.authService.redirectUrl = url; - // Navigate to the login page - this.router.navigate(['/login']); - return false; + // Redirect to the login page + return this.router.parseUrl('/login'); } // #docregion can-activate-child } diff --git a/aio/content/examples/router/src/app/auth/auth.guard.4.ts b/aio/content/examples/router/src/app/auth/auth.guard.4.ts index feca8d2eb0..13c8f9dff1 100644 --- a/aio/content/examples/router/src/app/auth/auth.guard.4.ts +++ b/aio/content/examples/router/src/app/auth/auth.guard.4.ts @@ -6,7 +6,8 @@ import { ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild, - NavigationExtras + NavigationExtras, + UrlTree } from '@angular/router'; import { AuthService } from './auth.service'; @@ -16,17 +17,17 @@ import { AuthService } from './auth.service'; export class AuthGuard implements CanActivate, CanActivateChild { constructor(private authService: AuthService, private router: Router) {} - canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { + canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): true|UrlTree { let url: string = state.url; return this.checkLogin(url); } - canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { + canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): true|UrlTree { return this.canActivate(route, state); } - checkLogin(url: string): boolean { + checkLogin(url: string): true|UrlTree { if (this.authService.isLoggedIn) { return true; } // Store the attempted URL for redirecting @@ -42,8 +43,7 @@ export class AuthGuard implements CanActivate, CanActivateChild { fragment: 'anchor' }; - // Navigate to the login page with extras - this.router.navigate(['/login'], navigationExtras); - return false; + // Redirect to the login page with extras + return this.router.createUrlTree(['/login'], navigationExtras); } } diff --git a/aio/content/examples/setup/src/index.html b/aio/content/examples/setup/src/index.html index d28fe05691..9943adfb10 100644 --- a/aio/content/examples/setup/src/index.html +++ b/aio/content/examples/setup/src/index.html @@ -11,7 +11,7 @@ - + - + diff --git a/aio/content/examples/upgrade-module/src/index-a-to-ajs-transclusion.html b/aio/content/examples/upgrade-module/src/index-a-to-ajs-transclusion.html index 767ce3312b..9a03da2748 100644 --- a/aio/content/examples/upgrade-module/src/index-a-to-ajs-transclusion.html +++ b/aio/content/examples/upgrade-module/src/index-a-to-ajs-transclusion.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-ajs-a-hybrid-bootstrap.html b/aio/content/examples/upgrade-module/src/index-ajs-a-hybrid-bootstrap.html index 7bcc58d0ee..f00aaf722f 100644 --- a/aio/content/examples/upgrade-module/src/index-ajs-a-hybrid-bootstrap.html +++ b/aio/content/examples/upgrade-module/src/index-ajs-a-hybrid-bootstrap.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-ajs-to-a-projection.html b/aio/content/examples/upgrade-module/src/index-ajs-to-a-projection.html index a49e5070df..4ce22ee94f 100644 --- a/aio/content/examples/upgrade-module/src/index-ajs-to-a-projection.html +++ b/aio/content/examples/upgrade-module/src/index-ajs-to-a-projection.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-ajs-to-a-providers.html b/aio/content/examples/upgrade-module/src/index-ajs-to-a-providers.html index a0cc20d068..c545edf8e6 100644 --- a/aio/content/examples/upgrade-module/src/index-ajs-to-a-providers.html +++ b/aio/content/examples/upgrade-module/src/index-ajs-to-a-providers.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-downgrade-io.html b/aio/content/examples/upgrade-module/src/index-downgrade-io.html index 0d71f04404..48956abdf4 100644 --- a/aio/content/examples/upgrade-module/src/index-downgrade-io.html +++ b/aio/content/examples/upgrade-module/src/index-downgrade-io.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-downgrade-static.html b/aio/content/examples/upgrade-module/src/index-downgrade-static.html index fe4e327292..7b68bc1cba 100644 --- a/aio/content/examples/upgrade-module/src/index-downgrade-static.html +++ b/aio/content/examples/upgrade-module/src/index-downgrade-static.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-upgrade-io.html b/aio/content/examples/upgrade-module/src/index-upgrade-io.html index 7d87a2fa27..e57a05bac2 100644 --- a/aio/content/examples/upgrade-module/src/index-upgrade-io.html +++ b/aio/content/examples/upgrade-module/src/index-upgrade-io.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-module/src/index-upgrade-static.html b/aio/content/examples/upgrade-module/src/index-upgrade-static.html index bd36796c55..74461d9ce2 100644 --- a/aio/content/examples/upgrade-module/src/index-upgrade-static.html +++ b/aio/content/examples/upgrade-module/src/index-upgrade-static.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/aot/index.html b/aio/content/examples/upgrade-phonecat-2-hybrid/aot/index.html index fdc9584928..a051e91e8d 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/aot/index.html +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/aot/index.html @@ -26,7 +26,7 @@ - + diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/copy-dist-files.js b/aio/content/examples/upgrade-phonecat-2-hybrid/copy-dist-files.js index a857af085c..50088e69ea 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/copy-dist-files.js +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/copy-dist-files.js @@ -3,7 +3,7 @@ var fsExtra = require('fs-extra'); var resources = [ // polyfills 'node_modules/core-js/client/shim.min.js', - 'node_modules/zone.js/dist/zone.min.js', + 'node_modules/zone.js/bundles/zone.umd.min.js', // css 'app/app.css', 'app/app.animations.css', @@ -20,6 +20,7 @@ var resources = [ 'app/phone-detail/phone-detail.module.js' ]; resources.map(function(sourcePath) { - var destPath = `aot/${sourcePath}`; + // Need to rename zone.umd.min.js to zone.min.js + var destPath = `aot/${sourcePath}`.replace('.umd.min.js', '.min.js'); fsExtra.copySync(sourcePath, destPath); }); diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/index.html b/aio/content/examples/upgrade-phonecat-2-hybrid/index.html index f747e641e0..f313fb2855 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/index.html +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/index.html @@ -27,7 +27,7 @@ - + diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.ajs.js b/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.ajs.js index 699b5075f7..ee2d3ea8e9 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.ajs.js +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.ajs.js @@ -21,8 +21,8 @@ module.exports = function(config) { 'node_modules/core-js/client/shim.js', // zone.js - 'node_modules/zone.js/dist/zone.js', - 'node_modules/zone.js/dist/zone-testing.js', + 'node_modules/zone.js/bundles/zone.umd.js', + 'node_modules/zone.js/bundles/zone-testing.umd.js', // RxJs. { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.js b/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.js index fe8a6bc8dc..a90f534178 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.js +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/karma.conf.js @@ -31,8 +31,8 @@ module.exports = function(config) { 'node_modules/core-js/client/shim.js', // zone.js - 'node_modules/zone.js/dist/zone.js', - 'node_modules/zone.js/dist/zone-testing.js', + 'node_modules/zone.js/bundles/zone.umd.js', + 'node_modules/zone.js/bundles/zone-testing.umd.js', // RxJs { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/rollup-config.js b/aio/content/examples/upgrade-phonecat-2-hybrid/rollup-config.js index c431e9d8e5..db3b2aed0a 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/rollup-config.js +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/rollup-config.js @@ -1,7 +1,7 @@ // #docregion import nodeResolve from 'rollup-plugin-node-resolve' import commonjs from 'rollup-plugin-commonjs'; -import uglify from 'rollup-plugin-uglify' +import {terser} from 'rollup-plugin-terser' //paths are relative to the execution path export default { @@ -17,6 +17,6 @@ export default { commonjs({ include: ['node_modules/rxjs/**'] }), - uglify() + terser() ] } diff --git a/aio/content/examples/upgrade-phonecat-3-final/index.html b/aio/content/examples/upgrade-phonecat-3-final/index.html index fee59370e6..5a74aba36d 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/index.html +++ b/aio/content/examples/upgrade-phonecat-3-final/index.html @@ -12,7 +12,7 @@ - + diff --git a/aio/content/examples/upgrade-phonecat-3-final/karma.conf.js b/aio/content/examples/upgrade-phonecat-3-final/karma.conf.js index d290d6e61e..455eae2715 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/karma.conf.js +++ b/aio/content/examples/upgrade-phonecat-3-final/karma.conf.js @@ -31,8 +31,8 @@ module.exports = function(config) { 'node_modules/core-js/client/shim.js', // zone.js - 'node_modules/zone.js/dist/zone.js', - 'node_modules/zone.js/dist/zone-testing.js', + 'node_modules/zone.js/bundles/zone.umd.js', + 'node_modules/zone.js/bundles/zone-testing.umd.js', // RxJs { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, diff --git a/aio/content/guide/accessibility.md b/aio/content/guide/accessibility.md index 1f78bb617e..f2e02811f6 100644 --- a/aio/content/guide/accessibility.md +++ b/aio/content/guide/accessibility.md @@ -37,7 +37,7 @@ Use [attribute binding](guide/template-syntax#attribute-binding) template syntax 建立无障碍的 Web 体验通常会涉及设置 [ARIA 属性(Attribute)](https://developers.google.com/web/fundamentals/accessibility/semantics-aria) 以提供可能会丢失的语义。使用 [Attribute 绑定](guide/template-syntax#attribute-binding)模板语法来控制与无障碍性相关的属性(Attribute)值。 When binding to ARIA attributes in Angular, you must use the `attr.` prefix, as the ARIA -specification depends specifically on HTML attributes rather than properties on DOM elements. +specification depends specifically on HTML attributes rather than properties of DOM elements. 在 Angular 中绑定 ARIA 属性(Attribute)时,必须使用 `attr.` 前缀,因为 ARIA 规范针对的是 HTML 属性(Attribute),而不是 DOM 元素的属性(Property)。 @@ -66,9 +66,9 @@ NOTE: 按照约定,HTML 属性(Attribute)使用小写名称( `tabindex` ),而 Property 使用 camelCase 名称( `tabIndex` )。 - See the [Template Syntax](https://angular.io/guide/template-syntax#html-attribute-vs-dom-property) guide for more background on the difference between attributes and properties. + See the [Template Syntax](guide/template-syntax#html-attribute-vs-dom-property) guide for more background on the difference between attributes and properties. - 有关 Attribute 和 Property 之间差异的更多背景信息,请参见[模板语法](https://angular.cn/guide/template-syntax#html-attribute-vs-dom-property)一章。 + 有关 Attribute 和 Property 之间差异的更多背景信息,请参见[模板语法](guide/template-syntax#html-attribute-vs-dom-property)一章。 diff --git a/aio/content/guide/angular-compiler-options.md b/aio/content/guide/angular-compiler-options.md index 69cf0a0e94..ed3f585c15 100644 --- a/aio/content/guide/angular-compiler-options.md +++ b/aio/content/guide/angular-compiler-options.md @@ -2,9 +2,9 @@ # Angular 编译器选项 -When you use [AOT compilation](guide/aot-compiler), you can control how your application is compiled by specifying *template* compiler options in the `tsconfig.json` [TypeScript configuration file](guide/typescript-configuration). +When you use [AOT compilation](guide/aot-compiler), you can control how your application is compiled by specifying *template* compiler options in the [TypeScript configuration file](guide/typescript-configuration). -使用 [AoT 编译](guide/aot-compiler) 时,可以通过在 `tsconfig.json` [TypeScript 配置文件中](guide/typescript-configuration)指定*模板*编译器选项来控制如何编译应用程序。 +使用 [AoT 编译](guide/aot-compiler) 时,可以通过在 [TypeScript 配置文件中](guide/typescript-configuration)指定*模板*编译器选项来控制如何编译应用程序。 The template options object, `angularCompilerOptions`, is a sibling to the `compilerOptions` object that supplies standard options to the TypeScript compiler. @@ -30,15 +30,15 @@ The template options object, `angularCompilerOptions`, is a sibling to the `comp ## 用 `extends` 语法配置继承方式 -Like the TypeScript compiler, The Angular AOT compiler also supports `extends` in the `angularCompilerOptions` section of the TypeScript configuration file, `tsconfig.json`. +Like the TypeScript compiler, The Angular AOT compiler also supports `extends` in the `angularCompilerOptions` section of the TypeScript configuration file. The `extends` property is at the top level, parallel to `compilerOptions` and `angularCompilerOptions`. -像 TypeScript 编译器一样,Angular 的 AOT 编译器也支持对 TypeScript 配置文件 `tsconfig.json` 的 `angularCompilerOptions` 进行 `extends`。`extends` 属性位于顶层,和 `compilerOptions` 和 `angularCompilerOptions` 平级。 +像 TypeScript 编译器一样,Angular 的 AOT 编译器也支持对 TypeScript 配置文件中的 `angularCompilerOptions` 进行 `extends`。`extends` 属性位于顶层,和 `compilerOptions` 和 `angularCompilerOptions` 平级。 A TypeScript configuration can inherit settings from another file using the `extends` property. -The configuration options from the base file are loaded first, then overridden by those in the inheriting `tsconfig` file. +The configuration options from the base file are loaded first, then overridden by those in the inheriting configuration file. -使用 `extends` 属性,TypeScript 配置可以从另一个文件中继承设置。首先从基础文件中加载配置项,然后被继承它的 `tsconfig` 文件中的配置项覆写。 +使用 `extends` 属性,TypeScript 配置可以从另一个文件中继承设置。首先从基础文件中加载配置项,然后被继承自它的配置文件中的配置项覆写。 For example: diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index 5ebb192fe4..f54748cfc7 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -190,7 +190,7 @@ AOT 编译中的错误通常是由于元数据不符合编译器的要求而发 ### 配置 AOT 编译 -You can provide options in the `tsconfig.json` [TypeScript configuration file](guide/typescript-configuration) that control the compilation process. See [Angular compiler options](guide/angular-compiler-options) for a complete list of available options. +You can provide options in the [TypeScript configuration file](guide/typescript-configuration) that controls the compilation process. See [Angular compiler options](guide/angular-compiler-options) for a complete list of available options. 你可以在 `tsconfig.json` [TypeScript 配置文件](guide/typescript-configuration)中提供控制编译过程的选项。有关可用选项的完整列表,请参见 [Angular 编译器](guide/angular-compiler-options)选项。 @@ -552,9 +552,9 @@ The compiler later reports the error if it needs that piece of metadata to gener
- If you want `ngc` to report syntax errors immediately rather than produce a `.metadata.json` file with errors, set the `strictMetadataEmit` option in the TypeScript configuration file, `tsconfig.json`. + If you want `ngc` to report syntax errors immediately rather than produce a `.metadata.json` file with errors, set the `strictMetadataEmit` option in the TypeScript configuration file. - 如果你希望 `ngc` 立即汇报这些语法错误,而不要生成带有错误信息的 `.metadata.json` 文件,可以到 TypeScript 的配置文件 `tsconfig.json` 中设置 `strictMetadataEmit` 选项。 + 如果你希望 `ngc` 立即汇报这些语法错误,而不要生成带有错误信息的 `.metadata.json` 文件,可以到 TypeScript 的配置文件中设置 `strictMetadataEmit` 选项。 ``` @@ -1112,11 +1112,9 @@ If an expression is not foldable, the collector writes it to `.metadata.json` as ## 阶段 2:代码生成 The collector makes no attempt to understand the metadata that it collects and outputs to `.metadata.json`. It represents the metadata as best it can and records errors when it detects a metadata syntax violation. - -收集器不会试图理解它收集并输出到 `.metadata.json` 中的元数据,它所能做的只是尽可能准确的表述这些元数据,并在检测到元数据中的语法违规时记录这些错误。 - It's the compiler's job to interpret the `.metadata.json` in the code generation phase. +收集器不会试图理解它收集并输出到 `.metadata.json` 中的元数据,它所能做的只是尽可能准确的表述这些元数据,并在检测到元数据中的语法违规时记录这些错误。 解释这些 `.metadata.json` 是编译器在代码生成阶段要承担的工作。 The compiler understands all syntax forms that the collector supports, but it may reject _syntactically_ correct metadata if the _semantics_ violate compiler rules. @@ -1325,10 +1323,10 @@ In the template type-checking phase, the Angular template compiler uses the Type Angular 编译器最有用的功能之一就是能够对模板中的表达式进行类型检查,在由于出错而导致运行时崩溃之前就捕获任何错误。在模板类型检查阶段,Angular 模板编译器会使用 TypeScript 编译器来验证模板中的绑定表达式。 -Enable this phase explicitly by adding the compiler option `"fullTemplateTypeCheck"` in the `"angularCompilerOptions"` of the project's `tsconfig.json` +Enable this phase explicitly by adding the compiler option `"fullTemplateTypeCheck"` in the `"angularCompilerOptions"` of the project's TypeScript configuration file (see [Angular Compiler Options](guide/angular-compiler-options)). -通过在该项目的 `tsconfig.json` 的 `"angularCompilerOptions"` 中添加编译器选项 `"fullTemplateTypeCheck"`,可以显式启用本阶段(见[ Angular 编译器选项](guide/angular-compiler-options) )。 +通过在该项目的 TypeScript 配置文件中的 `"angularCompilerOptions"` 中添加编译器选项 `"fullTemplateTypeCheck"`,可以显式启用本阶段(见[ Angular 编译器选项](guide/angular-compiler-options) )。
@@ -1395,14 +1393,18 @@ If a component uses `templateUrl` instead of `template`, the errors are reported 如果组件使用 `templateUrl` 来代替 `template`,这些错误就会在 `templateUrl` 引用的 HTML 文件中汇报,而不是这个合成文件中。 The error location is the beginning of the text node that contains the interpolation expression with - the error. If the error is in an attribute binding such as `[value]="person.address.street"`, the error + the error. +If the error is in an attribute binding such as `[value]="person.address.street"`, the error location is the location of the attribute that contains the error. 错误的位置是从包含出错的插值表达式的那个文本节点开始的。 如果错误是一个属性绑定,比如 `[value]="person.address.street"`,错误的位置就是那个包含错误的属性的位置。 The validation uses the TypeScript type checker and the options supplied to the TypeScript compiler to control - how detailed the type validation is. For example, if the `strictTypeChecks` is specified, the error ```my.component.ts.MyComponent.html(1,1): : Object is possibly 'undefined'``` is reported as well as the above error message. + how detailed the type validation is. +For example, if the `strictTypeChecks` is specified, the error +```my.component.ts.MyComponent.html(1,1): : Object is possibly 'undefined'``` +is reported as well as the above error message. 这个验证过程使用 TypeScript 的类型检查器,这些选项也会提供给 TypeScript 编译器以控制类型验证的详细程度。 比如,如果指定了 `strictTypeChecks`,就会像上面的错误信息一样报告 ```my.component.ts.MyComponent.html(1,1): : Object is possibly 'undefined'``` 错误。 @@ -1412,9 +1414,8 @@ The validation uses the TypeScript type checker and the options supplied to the ### 类型窄化 The expression used in an `ngIf` directive is used to narrow type unions in the Angular -template compiler, the same way the `if` expression does in TypeScript. For example, to avoid -`Object is possibly 'undefined'` error in the template above, modify it to only emit the -interpolation if the value of `person` is initialized as shown below: +template compiler, the same way the `if` expression does in TypeScript. +For example, to avoid `Object is possibly 'undefined'` error in the template above, modify it to only emit the interpolation if the value of `person` is initialized as shown below: 在 `ngIf` 指令中使用的表达式用来在 Angular 模板编译器中窄化联合类型,就像 TypeScript 中的 `if` 表达式一样。 比如,要在上述模板中消除 `Object is possibly 'undefined'` 错误,可以把它改成只在 `person` 的值初始化过的时候才生成这个插值。 @@ -1443,18 +1444,13 @@ For more information about input type narrowing, see [Input setter coercion](gui ### 非空类型断言操作符 -Use the [non-null type assertion operator](guide/template-syntax#non-null-assertion-operator) -to suppress the `Object is possibly 'undefined'` error when it is inconvenient to use -`*ngIf` or when some constraint in the component ensures that the expression is always -non-null when the binding expression is interpolated. +Use the [non-null type assertion operator](guide/template-syntax#non-null-assertion-operator) to suppress the `Object is possibly 'undefined'` error when it is inconvenient to use `*ngIf` or when some constraint in the component ensures that the expression is always non-null when the binding expression is interpolated. 使用 [非空类型断言操作符](guide/template-syntax#non-null-assertion-operator)可以在不方便使用 `*ngIf` 或 当组件中的某些约束可以确保这个绑定表达式在求值时永远不会为空时,防止出现 `Object is possibly 'undefined'` 错误。 -In the following example, the `person` and `address` properties are always set together, -implying that `address` is always non-null if `person` is non-null. There is no convenient -way to describe this constraint to TypeScript and the template compiler, but the error -is suppressed in the example by using `address!.street`. +In the following example, the `person` and `address` properties are always set together, implying that `address` is always non-null if `person` is non-null. +There is no convenient way to describe this constraint to TypeScript and the template compiler, but the error is suppressed in the example by using `address!.street`. 在下列例子中,`person` 和 `address` 属性总是一起出现的,如果 `person` 非空,则 `address` 也一定非空。没有一种简便的写法可以向 TypeScript 和模板编译器描述这种约束。但是这个例子中使用 `address!.street` 避免了报错。 @@ -1480,8 +1476,7 @@ The non-null assertion operator should be used sparingly as refactoring of the c 应该保守点使用非空断言操作符,因为将来对组件的重构可能会破坏这个约束。 -In this example it is recommended to include the checking of `address` -in the `*ngIf`as shown below: +In this example it is recommended to include the checking of `address` in the `*ngIf` as shown below: 这个例子中,更建议在 `*ngIf` 中包含对 `address` 的检查,代码如下: diff --git a/aio/content/guide/architecture-components.md b/aio/content/guide/architecture-components.md index bb49a27b0c..1c05b03697 100644 --- a/aio/content/guide/architecture-components.md +++ b/aio/content/guide/architecture-components.md @@ -231,11 +231,11 @@ Angular 的管道可以让你在模板中声明显示值的转换逻辑。 Angular defines various pipes, such as the [date](https://angular.io/api/common/DatePipe) pipe and [currency](https://angular.io/api/common/CurrencyPipe) pipe; for a complete list, see the [Pipes API list](https://angular.io/api?type=pipe). You can also define new pipes. -Angular 自带了很多管道,比如 [date](https://angular.cn/api/common/DatePipe) 管道和 [currency](https://angular.cn/api/common/CurrencyPipe) 管道,完整的列表参见 [Pipes API 列表](https://angular.cn/api?type=pipe)。你也可以自己定义一些新管道。 +Angular 自带了很多管道,比如 [date](api/common/DatePipe) 管道和 [currency](api/common/CurrencyPipe) 管道,完整的列表参见 [Pipes API 列表](api?type=pipe)。你也可以自己定义一些新管道。 To specify a value transformation in an HTML template, use the [pipe operator (|)](https://angular.io/guide/template-syntax#pipe). -要在 HTML 模板中指定值的转换方式,请使用 [管道操作符 (|)](https://angular.cn/guide/template-syntax#pipe)。 +要在 HTML 模板中指定值的转换方式,请使用 [管道操作符 (|)](guide/template-syntax#pipe)。 `{{interpolated_value | pipe_name}}` diff --git a/aio/content/guide/architecture-next-steps.md b/aio/content/guide/architecture-next-steps.md index fcd06d5b83..669d5c6582 100644 --- a/aio/content/guide/architecture-next-steps.md +++ b/aio/content/guide/architecture-next-steps.md @@ -102,7 +102,7 @@ Angular 为单页面应用提供了一个框架,其中的大多数逻辑和数 ## 为开发周期提供支持 -The **Development Workflow** section describes the tools and processes you use to compile, test, and and deploy Angular applications. +The **Development Workflow** section describes the tools and processes you use to compile, test, and deploy Angular applications. **“开发工作流”**部分描述了用于编译、测试和部署 Angular 应用的工具和过程。 diff --git a/aio/content/guide/architecture.md b/aio/content/guide/architecture.md index 178ea42b25..6a9f94dbf9 100644 --- a/aio/content/guide/architecture.md +++ b/aio/content/guide/architecture.md @@ -26,9 +26,10 @@ NgModule 会把相关的代码收集到一些功能集中。Angular 应用就是 组件使用*服务*。服务会提供那些与视图不直接相关的功能。服务提供者可以作为*依赖*被*注入*到组件中, 这能让你的代码更加模块化、更加可复用、更加高效。 -Both components and services are simply classes, with *decorators* that mark their type and provide metadata that tells Angular how to use them. -组件和服务都是简单的类,这些类使用*装饰器*来标出它们的类型,并提供元数据以告知 Angular 该如何使用它们。 +Modules, components and services are classes that use *decorators*. These decorators mark their type and provide metadata that tells Angular how to use them. + +模块、组件和服务都是使用*装饰器*的类,这*装饰器*会标出它们的类型并提供元数据,以告知 Angular 该如何使用它们。 * The metadata for a component class associates it with a *template* that defines a view. A template combines ordinary HTML with Angular *directives* and *binding markup* that allow Angular to modify the HTML before rendering it for display. diff --git a/aio/content/guide/bazel.md b/aio/content/guide/bazel.md deleted file mode 100644 index 71b490de8d..0000000000 --- a/aio/content/guide/bazel.md +++ /dev/null @@ -1,210 +0,0 @@ -# Building with Bazel - -# 用 Bazel 进行构建 - -This guide explains how to build and test Angular apps with Bazel. - -本章讲解了如何使用 Bazel 来构建和测试 Angular 应用。 - -
- -This guide assumes you are already familiar with developing and building Angular applications using the [CLI](cli). - -本指南假设你已经熟悉如何使用 [CLI](cli) 来开发和构建 Angular 应用了。 - -It describes features which are part of Angular Labs, and are not considered a stable, supported API. - -这里描述的这些特性是 Angular Labs 的一部分,因此不是稳定的、受支持的 API。 - -
- -## Using Bazel with the Angular CLI - -## 在 Angular CLI 中使用 Bazel - -The `@angular/bazel` package provides a builder that allows Angular CLI to use Bazel as the build tool. - -`@angular/bazel` 包提供了一个构建器,允许 Angular CLI 使用 Bazel 作为构建工具。 - -To opt-in an existing application, run - -要有选择的为现有应用添加它,请运行 - -```sh -ng add @angular/bazel -``` - -To use Bazel in a new application, first install `@angular/bazel` globally - -要在新的应用中使用 Bazel,首先要全局安装 `@angular/bazel` - -```sh -npm install -g @angular/bazel -``` - -then create the new application with - -然后使用下列命令创建新的应用 - -```sh -ng new --collection=@angular/bazel -``` - -Now when you use Angular CLI build commands such as `ng build` and `ng serve`, -Bazel is used behind the scenes. -Outputs from Bazel appear in the `dist/bin` folder. - -当你使用 Angular CLI 的构建类命令时(比如 `ng build` 和 `ng serve`),Bazel 会在幕后工作。Bazel 的输出会显示在 `dist/bin` 文件夹中。 - -> The command-line output includes extra logging from Bazel. -> We plan to reduce this in the future. -> -> 命令行输出中还包括来自 Bazel 的额外日志记录。我们计划在未来减少这种情况。 -> - -### Removing Bazel - -### 去掉 Bazel - -If you need to opt-out from using Bazel, you can restore the backup files: - -如果你不想使用 Bazel,你可以恢复备份文件: - -- `/angular.json.bak` replaces `/angular.json` - - 用 `/angular.json.bak` 替换 `/angular.json` - -## Advanced configuration - -## 高级配置 - -
- -Editing the Bazel configuration may prevent you opting out of Bazel. -Custom behaviors driven by Bazel won't be available in other Builders. - -编辑这份 Bazel 配置可以防止你有选择的退出 Bazel。Bazel 驱动的自定义行为在其它构建器中是无用的。 - -This section assumes you are familiar with [Bazel](https://docs.bazel.build). - -本节假设你熟悉 [Bazel](https://docs.bazel.build)。 - -
- -You can manually adjust the Bazel configuration to: - -你可以手动把 Bazel 配置调整为: - -* customize the build steps - - 自定义构建步骤 - -* parallellize the build for scale and incrementality - - 构建过程并行化,以支持可延展性和增量构建 - -Create the initial Bazel configuration files by running the following command: - -运行以下命令,创建初始的 Bazel 配置文件: - -```sh -ng build --leaveBazelFilesOnDisk -``` - -Now you'll find new files in the Angular workspace: - -在 Angular 工作区中,你会找到一些新文件: - -* `/WORKSPACE` tells Bazel how to download external dependencies. - - `/WORKSPACE` 会告诉 Bazel 要如何下载外部依赖。 - -* `/BUILD.bazel` and `/src/BUILD.bazel` tell Bazel about your source code. - - `/BUILD.bazel` 和 `/src/BUILD.bazel` 会告诉 Bazel 你的源代码在哪里。 - -You can find a full-featured example with custom Bazel configurations at https://github.com/bazelbuild/rules_nodejs/tree/master/examples/angular. - -你可以在 找到一个全功能的 Bazel 配置示例。 - -Documentation for using Bazel for frontend projects is linked from https://docs.bazel.build/versions/master/bazel-and-javascript.html. - - 则是一个关于如何使用 Bazel 进行前端项目的文档链接。 - -## Running Bazel directly - -## 直接运行 Bazel - -In some cases you'll want to bypass the Angular CLI builder, and run the Bazel CLI directly. -The Bazel tool is managed by the `@bazel/bazelisk` package (similar to how Node.js can be managed by `nvm`). -You can install it globally to get the `bazelisk` command in your path, or use `$(npm bin)/bazelisk` in place of bazelisk below. - -在某些情况下,你会想要绕过 Angular CLI 的构建器,并直接运行 Bazel CLI。Bazel CLI 位于 `@bazel/bazel` npm 包中。你可以全局安装它,以便你能通过路径获取 `bazel` 命令,或者用 `$(npm bin)/bazel` 代替下面的 bazel。 - -The common commands in Bazel are: - -Bazel 的常用命令有: - -* `bazelisk build [targets]`: Compile the default output artifacts of the given targets. - - `bazel build [targets]`:编译指定目标的默认输出成果。 - -* `bazelisk test [targets]`: For whichever `*_test` targets are found in the patterns, run the tests. - - `bazel test [targets]`:对于那些符合 `*_test` 模式的目标,运行测试。 - -* `bazelisk run [target]`: Compile the program represented by target, and then run it. - - `bazel run [target]`:编译目标所代表的程序,然后运行它。 - -To repeat the command any time the inputs change (watch mode), replace `bazelisk` with `ibazel` in these commands. - -要想在输入发生变化时重复执行此命令(即 watch 模式),请把这些命令中的 `bazel` 替换为 `ibazel`。 - -The output locations are printed in the output. - -在输出中打印了输出到的位置。 - -Full documentation for the Bazel CLI is at https://docs.bazel.build/versions/master/command-line-reference.html. - -Bazel CLI 的完整文档位于 。 - -## Querying the build graph - -## 查询构建图谱 - -Because Bazel constructs a graph out of your targets, you can find lots of useful information. - -Bazel 会根据你的目标构造一个图谱,你可以从中找到很多有用的信息。 - -Using the graphviz optional dependency, you'll have a program `dot`, which you can use with `bazel query`: - -使用一个名叫 graphviz 的可选依赖,可以得到一个名叫 `dot` 的程序,这样你就可以用它来进行 `bazel query` 了: - -```bash -$ bazel query --output=graph ... | dot -Tpng > graph.png -``` - -See https://docs.bazel.build/versions/master/query-how-to.html for more details on `bazel query`. - -关于 `bazel query` 的详细信息,参见 。 - -## Customizing `BUILD.bazel` files - -## 自定义 `BUILD.bazel` 文件 - -"Rules" are like plugins for Bazel. Many rule sets are available. This guide documents the ones maintained by the Angular team at Google. - -“规则(Rules)”就好比 Bazel 的插件。有很多可用的规则集。本指南记录了 Angular 开发组在 Google 所做的一部分工作。 - -Rules are used in `BUILD.bazel` files, which are markers for the packages in your workspace. Each `BUILD.bazel` file declares a separate package to Bazel, though you can have more coarse-grained distributions so that the packages you publish (for example, to `npm`) can be made up of many Bazel packages. - -`BUILD.bazel` 文件中用到了一些规则,这些规则都是工作空间中各个包的标记。每个 `BUILD.bazel` 文件都会向 Bazel 声明一个单独的包。你也可以使用更粗粒度的发布方式,但这样一来你发布的包(例如,到 `npm` )就会由很多个 Bazel 包组合而成。 - -In the `BUILD.bazel` file, each rule must first be imported, using the `load` statement. Then the rule is called with some attributes, and the result of calling the rule is that you've declared to Bazel how it can derive some outputs given some inputs and dependencies. Then later, when you run a `bazel` command line, Bazel loads all the rules you've declared to determine an absolute ordering of what needs to be run. Note that only the rules needed to produce the requested output will actually be executed. - -在 `BUILD.bazel` 文件中,必须首先使用 `load` 语句导入每个规则。然后用一些属性调用此规则,调用此规则的结果就是向 Bazel 中声明了:当给定一些输入和依赖的时候该如何得到一些输出。然后,当你运行一个 `bazel` 命令时,Bazel 就会加载你声明过的所有规则,以确定它们在运行期间的绝对顺序。注意,只有那些在产生输出时真正起作用的规则才会被执行。 - -A list of common rules for frontend development is documented in the README at https://github.com/bazelbuild/rules_nodejs/. - -在 [https://github.com/bazelbuild/rules_nodejs/](https://github.com/bazelbuild/rules_nodejs/) 上的 README 文件中记录了前端开发中要用到的通用规则列表。 diff --git a/aio/content/guide/browser-support.md b/aio/content/guide/browser-support.md index a545a864df..137eab1934 100644 --- a/aio/content/guide/browser-support.md +++ b/aio/content/guide/browser-support.md @@ -94,10 +94,9 @@ Angular 支持大多数常用浏览器,包括下列版本: 11, 10*, 9* (不支持“兼容性视图”) - *deprecated in v10, see the deprecations guide. + *deprecated in v10, see the {@link guide/deprecations#ie-9-10-and-mobile deprecations guide}. *在 v10 中弃用,参见弃用指南。 - @@ -105,14 +104,17 @@ Angular 支持大多数常用浏览器,包括下列版本: - IE Mobile - + IE Mobile* 11 +
*deprecated in v10, see the {@link guide/deprecations#ie-9-10-and-mobile deprecations guide}.
+ +
*已在 v10 中弃用,参见 {@link guide/deprecations#ie-9-10-and-mobile deprecations guide}.
+ @@ -322,7 +324,6 @@ These are the polyfills required to run an Angular application on each supported - IE9 @@ -409,11 +410,10 @@ Some features of Angular may require additional polyfills. - [NgClass](api/common/NgClass) - - on SVG elements + [NgClass](api/common/NgClass) on SVG elements 在 SVG 元素上应用时 + @@ -423,7 +423,6 @@ Some features of Angular may require additional polyfills. - IE10, IE11 @@ -433,9 +432,7 @@ Some features of Angular may require additional polyfills. - [Http](guide/http) - - when sending and receiving binary data + [Http](guide/http) when sending and receiving binary data 用 [Http](guide/http) 发送和接收二进制数据时 @@ -741,7 +738,7 @@ For example: // __Zone_enable_cross_context_check = true; </script> <!-- zone.js required by Angular --> - <script src="node_modules/zone.js/dist/zone.js"></script> + <script src="node_modules/zone.js/bundles/zone.umd.js"></script> <!-- application polyfills --> diff --git a/aio/content/guide/build.md b/aio/content/guide/build.md index d5c13ce442..869ae2eac6 100644 --- a/aio/content/guide/build.md +++ b/aio/content/guide/build.md @@ -411,6 +411,43 @@ Each budget entry is a JSON object with the following properties: +{@a commonjs } +## Configuring CommonJS dependencies + +## 配置 CommonJS 依赖项 + +
+ +It is recommended that you avoid depending on CommonJS modules in your Angular applications. +Depending on CommonJS modules can prevent bundlers and minifiers from optimizing your application, which results in larger bundle sizes. +Instead, it is recommended that you use [ECMAScript modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) in your entire application. +For more information, see [How CommonJS is making your bundles larger](https://web.dev/commonjs-larger-bundles/). + +建议你在 Angular 应用中避免依赖 CommonJS 模块。对 CommonJS 模块的依赖会阻止打包器和压缩器优化你的应用,这会导致更大的打包尺寸。 +建议你在整个应用中都使用 [ECMAScript 模块](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)。 +欲知详情,参见[为什么 CommonJS 会导致更大的打包尺寸](https://web.dev/commonjs-larger-bundles/)。 + +
+ +The Angular CLI outputs warnings if it detects that your browser application depends on CommonJS modules. +To disable these warnings, you can add the CommonJS module name to `allowedCommonJsDependencies` option in the `build` options located in `angular.json` file. + +如果 Angular CLI 检测到你的浏览器端应用依赖了 CommonJS 模块,就会发出警告。 +要禁用这些警告,你可以把这些 CommonJS 模块的名字添加到 `angular.json` 文件的 `build` 区的 `allowedCommonJsDependencies` 选项中。 + + +"build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "allowedCommonJsDependencies": [ + "lodash" + ] + ... + } + ... +}, + + {@a browser-compat} ## Configuring browser compatibility diff --git a/aio/content/guide/cli-builder.md b/aio/content/guide/cli-builder.md index f9ae881a29..3a844ba788 100644 --- a/aio/content/guide/cli-builder.md +++ b/aio/content/guide/cli-builder.md @@ -83,7 +83,7 @@ For example, your `myBuilder` folder could contain the following files. You can publish the builder to `npm` (see [Publishing your Library](https://angular.io/guide/creating-libraries#publishing-your-library)). If you publish it as `@example/my-builder`, you can install it using the following command. -你可以把构建器发布到 `npm`(请参阅[发布你的库](https://angular.cn/guide/creating-libraries#publishing-your-library))。如果把它发布成了 `@example/my-builder`,就可以使用下面的命令来安装它。 +你可以把构建器发布到 `npm`(请参阅[发布你的库](guide/creating-libraries#publishing-your-library))。如果把它发布成了 `@example/my-builder`,就可以使用下面的命令来安装它。 @@ -411,7 +411,7 @@ Let’s create a simple `angular.json` file that puts target configurations into We can publish the builder to npm (see [Publishing your Library](guide/creating-libraries#publishing-your-library)), and install it using the following command: -我们可以把这个构建器发布到 npm(请参阅[发布你的库](https://angular.cn/guide/creating-libraries#publishing-your-library)),并使用如下命令来安装它: +我们可以把这个构建器发布到 npm(请参阅[发布你的库](guide/creating-libraries#publishing-your-library)),并使用如下命令来安装它: @@ -479,7 +479,7 @@ We need to update the `angular.json` file to add a target for this builder to th * The target named "touch" uses our builder, which we published to `@example/command-runner`. (See [Publishing your Library](guide/creating-libraries#publishing-your-library)) - 名为 `touch` 的目标使用了我们的构建器,它发布到了 `@example/command-runner`。(参见[发布你的库](https://angular.cn/guide/creating-libraries#publishing-your-library) ) + 名为 `touch` 的目标使用了我们的构建器,它发布到了 `@example/command-runner`。(参见[发布你的库](guide/creating-libraries#publishing-your-library) ) * The options object provides default values for the two inputs that we defined; `command`, which is the Unix command to execute, and `args`, an array that contains the file to operate on. diff --git a/aio/content/guide/creating-libraries.md b/aio/content/guide/creating-libraries.md index 9b1c1bb339..5adaf80b71 100644 --- a/aio/content/guide/creating-libraries.md +++ b/aio/content/guide/creating-libraries.md @@ -2,26 +2,23 @@ # 创建库 -You can create and publish new libraries to extend Angular functionality. If you find that you need to solve the same problem in more than one app (or want to share your solution with other developers), you have a candidate for a library. +This page provides a conceptual overview of how you can create and publish new libraries to extend Angular functionality. -你可以创建和发布新库来扩展 Angular 的功能。如果你发现需要在多个应用中解决同样的问题(或者想与其它开发者共享你的解决方案),你就有了一个潜在的库。 +对于如何创建和发布新库,以扩展 Angular 的功能,本页面提供了一个概念性的总览 +If you find that you need to solve the same problem in more than one app (or want to share your solution with other developers), you have a candidate for a library. A simple example might be a button that sends users to your company website, that would be included in all apps that your company builds. +如果你发现自己要在多个应用中解决同样的问题(或者要把你的解决方案分享给其它开发者),你就有了一个潜在的库。 简单的例子就是一个用来把用户带到你公司网站上的按钮,该按钮会包含在你公司构建的所有应用中。 -
-

For more details on how a library project is structured you can refer the Library Project Files

-

要了解关于库项目结构的更多信息,参见库项目文件

-
- ## Getting started ## 快速上手 -Use the Angular CLI to generate a new library skeleton with the following command: +Use the Angular CLI to generate a new library skeleton in a new workspace with the following commands. -使用 Angular CLI,用以下命令生成一个新库的骨架: +使用 Angular CLI,用以下命令在新的工作空间中生成一个新库的骨架: ng new my-workspace --create-application=false @@ -29,15 +26,24 @@ Use the Angular CLI to generate a new library skeleton with the following comman ng generate library my-lib +The `ng generate` command creates the `projects/my-lib` folder in your workspace, which contains a component and a service inside an NgModule. +
-

You can use the monorepo model to use the same workspace for multiple projects. See Setting up for a multi-project workspace.

-

你可以使用单一仓库(monorepo)模式将同一个工作空间用于多个项目。请参见设置多项目工作区

+ + For more details on how a library project is structured, refer to the [Library project files](guide/file-structure#library-project-files) section of the [Project File Structure guide](guide/file-structure). + + 要了解关于库项目的目录结构的详细信息,参见[项目文件结构](guide/file-structure)中的[库项目文件](guide/file-structure#library-project-files)部分。 + + You can use the monorepo model to use the same workspace for multiple projects. + See [Setting up for a multi-project workspace](guide/file-structure#multiple-projects). + + 你可以使用单一仓库(monorepo)模式将同一个工作空间用于多个项目。参见[建立多项目型工作区](guide/file-structure#multiple-projects)。 +
-This creates the `projects/my-lib` folder in your workspace, which contains a component and a service inside an NgModule. -The workspace configuration file, `angular.json`, is updated with a project of type 'library'. +When you generate a new library, the workspace configuration file, `angular.json`, is updated with a project of type 'library'. -这会在你的工作区中创建 `projects/my-lib` 文件夹,里面包含 NgModule 中的一个组件和一个服务。该工作区的配置文件 `angular.json` 中也添加了一个 'library' 类型的项目。 +当你生成一个新库时,该工作区的配置文件 `angular.json` 中也增加了一个 'library' 类型的项目。 "projects": { @@ -103,14 +109,6 @@ Here are some things to consider in migrating application functionality to a lib 组件对外暴露交互方式时,应该通过输入参数来提供上下文,通过输出参数来将事件传给其它组件。 -* Services should declare their own providers (rather than declaring providers in the NgModule or a component), so that they are *tree-shakable*. This allows the compiler to leave the service out of the bundle if it never gets injected into the application that imports the library. For more about this, see [Tree-shakable providers](guide/dependency-injection-providers#tree-shakable-providers). - - 服务应该声明自己的提供者(而不是在 NgModule 或组件中声明提供者),这样它们才是*可摇树优化的*。这样,如果该服务从未被注入到导入该库的应用中,编译器就会把该服务从发布包中删除。欲知详情,请参阅[可摇树优化的提供者](guide/dependency-injection-providers#tree-shakable-providers)。 - -* If you register global service providers or share providers across multiple NgModules, use the [`forRoot()` and `forChild()` patterns](guide/singleton-services) provided by the [RouterModule](api/router/RouterModule). - - 如果你在多个 NgModule 中注册全局服务提供者或共享提供者,请使用 [RouterModule](api/router/RouterModule) 提供的 [`forRoot()` 和 `forChild()` 模式](guide/singleton-services)。 - * Check all internal dependencies. 检查所有内部依赖。 @@ -123,54 +121,75 @@ Here are some things to consider in migrating application functionality to a lib 同样,如果你的库代码依赖于某个服务,则需要迁移该服务。 - * If your library code or its templates depend on other libraries (such a Angular Material, for instance), you must configure your library with those dependencies. + * If your library code or its templates depend on other libraries (such as Angular Material, for instance), you must configure your library with those dependencies. - 如果你的库代码或其模板依赖于其它库(比如 Angular Material ),你就必须把它们配置为该库的依赖。 + 如果你的库代码或其模板依赖于其它库(比如 Angular Material ),你就必须把它们配置为该库的依赖。 -## Reusable code and schematics +* Consider how you provide services to client applications. -## 可复用的代码和 schematics + 考虑如何为客户端应用提供服务。 -A library typically includes *reusable code* that defines components, services, and other Angular artifacts (pipes, directives, and so on) that you simply import into a project. -A library is packaged into an npm package for publishing and sharing, and this package can also include [schematics](guide/glossary#schematic) that provide instructions for generating or transforming code directly in your project, in the same way that the CLI creates a generic skeleton app with `ng generate component`. -A schematic that is combined with a library can, for example, provide the Angular CLI with the information it needs to generate a particular component defined in that library. + * Services should declare their own providers (rather than declaring providers in the NgModule or a component), so that they are *tree-shakable*. This allows the compiler to leave the service out of the bundle if it never gets injected into the application that imports the library. For more about this, see [Tree-shakable providers](guide/dependency-injection-providers#tree-shakable-providers). -库通常都包含*可复用的代码*,用于定义组件、服务,以及你刚才导入到项目中的其它 Angular 工件(管道,指令等)。库被打包在一个 npm 包中,用于发布和共享,这个包还可以包含一些 [schematics](guide/glossary#schematic),用于提供直接在项目中生成或转换代码的指令,就像 CLI 用 `ng generate component` 创建一个通用的骨架应用一样。例如,与库配套的 schematics 可以为 Angular CLI 提供生成该库中定义的特定组件所需的信息。 + 服务应该自己声明提供者(而不是在 NgModule 或组件中声明提供者),以便它们是*可摇树优化的* 。这样,如果服务器从未被注入到导入该库的应用中,编译器就会把该服务从该 bundle 中删除。有关这方面的更多信息,请参阅[Tree-shakable 提供者](guide/dependency-injection-providers#tree-shakable-providers) 。 -What you include in your library is determined by the kind of task you are trying to accomplish. -For example, if you want a dropdown with some canned data to show how to add it to your app, your library could define a schematic to create it. -For a component like a dropdown that would contain different passed-in values each time, you could provide it as a component in a shared library. + * If you register global service providers or share providers across multiple NgModules, use the [`forRoot()` and `forChild()` design patterns](guide/singleton-services) provided by the [RouterModule](api/router/RouterModule). -你在库中所包含的内容取决于你要完成的任务类型。例如,如果你想用一个带有预置数据的下拉列表来展示如何把它添加到应用中,你的库中就可以定义一个 schematic 来创建它。对于像下拉列表那样每次都要传入不同值的组件,你可以把它作为共享库中的组件提供出来。 + 如果您在多个 NgModules 注册全局服务供应商或供应商共享,使用[`forRoot()` 和 `forChild()` 设计模式](guide/singleton-services)由提供[RouterModule](api/router/RouterModule) 。 -Suppose you want to read a configuration file and then generate a form based on that configuration. -If that form will need additional customization by the user, it might work best as a schematic. -However, if the forms will always be the same and not need much customization by developers, then you could create a dynamic component that takes the configuration and generates the form. -In general, the more complex the customization, the more useful the schematic approach. + * If your library provides optional services that might not be used by all client applications, support proper tree-shaking for that case by using the [lightweight token design pattern](guide/lightweight-injection-tokens). + + 如果你的库中提供的可选服务可能并没有被所有的客户端应用所使用,那么就可以通过[轻量级令牌设计模式](guide/lightweight-injection-tokens)为这种情况支持正确的树状[结构了](guide/lightweight-injection-tokens) 。 -假设你要读取配置文件,然后根据该配置生成表单。如果该表单需要用户进行额外的自定义,它可能最适合用作 schematic。但是,如果这些表单总是一样的,开发人员不需要做太多自定义工作,那么你就可以创建一个动态的组件来获取配置并生成表单。通常,自定义越复杂,schematic 方式就越有用。 {@a integrating-with-the-cli} -## Integrating with the CLI +{@a integration with the the cli} -## 与 CLI 集成 -A library can include [schematics](guide/glossary#schematic) that allow it to integrate with the Angular CLI. +## Integrating with the CLI using code-generation schematics + +## 使用代码生成原理图与 CLI 集成 + + +A library typically includes *reusable code* that defines components, services, and other Angular artifacts (pipes, directives, and so on) that you simply import into a project. +A library is packaged into an npm package for publishing and sharing. +This package can also include [schematics](guide/glossary#schematic) that provide instructions for generating or transforming code directly in your project, in the same way that the CLI creates a generic new component with `ng generate component`. +A schematic that is packaged with a library can, for example, provide the Angular CLI with the information it needs to generate a component that configures and uses a particular feature, or set of features, defined in that library. +One example of this is Angular Material's navigation schematic which configures the CDK's `BreakpointObserver` and uses it with Material's `MatSideNav` and `MatToolbar` components. + +库中的库通常都包含*可复用的代码* ,用于定义组件,服务,以及你刚才导入到项目中的其他 Angular 工件(管道,指令等等)。库被打包成一个 npm 包,用于发布和共享。这个包还可以包含一些[原理图](guide/glossary#schematic) ,它提供直接在项目中生成或转换代码的指令,就像 CLI 用 `ng generate component` 创建一个通用的新 `ng generate component` 。例如,用库打包的原理图可以为 Angular CLI 提供生成组件所需的信息,该组件用于配置和使用该库中定义的特定特性或一组特性。这方面的一个例子是 Angular Material 的导航原理图,它用来配置 CDK 的 `BreakpointObserver` 并把它与 Material 的 `MatSideNav` 和 `MatToolbar` 组件一起使用。 + + +You can create and include the following kinds of schematics. + +你可以创建并包含以下几种原理图。 -库中可以包含那些能与 Angular CLI 集成的 [schematics](guide/glossary#schematic)。 * Include an installation schematic so that `ng add` can add your library to a project. - 包含一个安装型 schematic,以便 `ng add` 可以把你的库添加到项目中。 + 包含一个安装原理图,以便 `ng add` 可以把你的库添加到项目中。 * Include generation schematics in your library so that `ng generate` can scaffold your defined artifacts (components, services, tests, and so on) in a project. - 包含一些生成型 schematic,以便 `ng generate` 可以为项目中的已定义工件(组件,服务,测试等)生成脚手架。 + 在库中包含了生成原理图,以便 `ng generate` 可以为项目中的已定义工件(组件,服务,测试等)提供支持。 * Include an update schematic so that `ng update` can update your library’s dependencies and provide migrations for breaking changes in new releases. - 包含一个更新(update)原理图,以便 `ng update` 可以更新此库的依赖,并针对新版本中的重大变更提供辅助迁移。 + 包含一个更新的原理图,以便 `ng update` 可以更新你的库的依赖,并提供一些迁移来破坏新版本中的更改。 + +What you include in your library depends on your task. +For example, you could define a schematic to create a dropdown that is pre-populated with canned data to show how to add it to an app. +If you want a dropdown that would contain different passed-in values each time, your library could define a schematic to create it with a given configuration. Developers could then use `ng generate` to configure an instance for their own app. + +你在图书馆中所包含的内容取决于你的任务。例如,你可以定义一个原理图来创建一个预先填充了固定数据的下拉列表,以展示如何把它添加到一个应用中。如果你想要一个每次包含不同传入值的下拉列表,那么你的库可以定义一个原理图来用指定的配置创建它。然后,开发人员可以使用 `ng generate` 为自己的应用配置一个实例。 + +Suppose you want to read a configuration file and then generate a form based on that configuration. +If that form will need additional customization by the developer who is using your library, it might work best as a schematic. +However, if the forms will always be the same and not need much customization by developers, then you could create a dynamic component that takes the configuration and generates the form. +In general, the more complex the customization, the more useful the schematic approach. + +假设你要读取配置文件,然后根据该配置生成表单。如果该表单需要库的用户进行额外的自定义,它可能最适合用作 schematic。但是,如果这些表单总是一样的,开发人员不需要做太多自定义工作,那么你就可以创建一个动态的组件来获取配置并生成表单。通常,自定义越复杂,schematic 方式就越有用。 To learn more, see [Schematics Overview](guide/schematics) and [Schematics for Libraries](guide/schematics-for-libraries). @@ -180,7 +199,9 @@ To learn more, see [Schematics Overview](guide/schematics) and [Schematics for ## 发布你的库 -Use the Angular CLI and the npm package manager to build and publish your library as an npm package. It is not recommended to publish Ivy libraries to NPM repositories. Before publishing a library to NPM, build it using the `--prod` flag which will use the older compiler and runtime known as View Engine instead of Ivy. +Use the Angular CLI and the npm package manager to build and publish your library as an npm package. + +Before publishing a library to NPM, build it using the `--prod` flag which will use the older compiler and runtime known as View Engine instead of Ivy. 使用 Angular CLI 和 npm 包管理器来把你的库构建并发布成 npm 包。不建议把 Ivy 格式的库发布到 NPM 仓库。在把某个库发布到 NPM 之前,使用 `--prod` 标志构建它,此标志会使用老的编译器和运行时,也就是视图引擎(View Engine),以代替 Ivy. @@ -194,6 +215,14 @@ If you've never published a package in npm before, you must create a user accoun 如果你之前从未在 npm 中发布过包,就必须创建一个用户帐号。[点此阅读发布 npm 包](https://docs.npmjs.com/getting-started/publishing-npm-packages)的更多信息。 +
+ +For now, it is not recommended to publish Ivy libraries to NPM because Ivy generated code is not backward compatible with View Engine, so apps using View Engine will not be able to consume them. Furthermore, the internal Ivy instructions are not yet stable, which can potentially break consumers using a different Angular version from the one used to build the library. + +When a published library is used in an Ivy app, the Angular CLI will automatically convert it to Ivy using a tool known as the Angular compatibility compiler (`ngcc`). Thus, by publishing your libraries using the View Engine compiler ensures that they can be transparently consumed by both View Engine and Ivy apps. + +
+ {@a lib-assets} ## Managing assets in a library diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index 20fc058fdc..9c2d0e03d3 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -85,9 +85,9 @@ This method is for development and testing only, and is not a supported or secur ### 使用 CLI 进行自动部署 -The Angular CLI command `ng deploy` (introduced in version 8.3.0) executes the `deploy` [CLI builder](https://angular.io/guide/cli-builder) associated with your project. A number of third-party builders implement deployment capabilities to different platforms. You can add any of them to your project by running `ng add [package name]`. +The Angular CLI command `ng deploy` (introduced in version 8.3.0) executes the `deploy` [CLI builder](guide/cli-builder) associated with your project. A number of third-party builders implement deployment capabilities to different platforms. You can add any of them to your project by running `ng add [package name]`. -Angular CLI 命令 `ng deploy`(在版本 8.3.0 中引入)执行与你的项目关联的 `deploy` [CLI 构建器](https://angular.cn/guide/cli-builder)。有许多第三方构建器实现了到不同平台的部署功能。你可以通过运行 `ng add [package name]` 把它们中的任何一个添加到项目中。 +Angular CLI 命令 `ng deploy`(在版本 8.3.0 中引入)执行与你的项目关联的 `deploy` [CLI 构建器](guide/cli-builder)。有许多第三方构建器实现了到不同平台的部署功能。你可以通过运行 `ng add [package name]` 把它们中的任何一个添加到项目中。 When you add a package with deployment capability, it'll automatically update your workspace configuration (`angular.json` file) with a `deploy` section for the selected project. You can then use the `ng deploy` command to deploy that project. @@ -685,22 +685,22 @@ When targeting older browsers, [polyfills](guide/browser-support#polyfills) can To maximize compatibility, you could ship a single bundle that includes all your compiled code, plus any polyfills that may be needed. Users with modern browsers, however, shouldn't have to pay the price of increased bundle size that comes with polyfills they don't need. -Differential loading, which is supported by default in Angular CLI version 8 and higher, solves this problem. +Differential loading, which is supported in Angular CLI version 8 and higher, can help solve this problem. -为了最大限度地提高兼容性,你可以发布一个包含所有已编译代码的发布包(bundle),以及所有可能会用到的腻子脚本。用户如果在支持大量最新 JavaScript 特性的现代浏览器中使用此应用,就不应该为这些他们用不到的包带来的额外体积付出代价。差异化加载就是解决这个问题的。Angular CLI 8 及更高版本默认就支持它。 +为了最大限度地提高兼容性,你可以发布一个包含所有已编译代码的发布包(bundle),以及所有可能会用到的腻子脚本。用户如果在支持大量最新 JavaScript 特性的现代浏览器中使用此应用,就不应该为这些他们用不到的包带来的额外体积付出代价。差异化加载可以帮你解决这个问题。Angular CLI 8 及更高版本就支持它。 -Differential loading is a strategy that allows your web application to support multiple browsers, but only load the necessary code that the browser needs. When differential loading is enabled (which is the default) the CLI builds two separate bundles as part of your deployed application. +Differential loading is a strategy that allows your web application to support multiple browsers, but only load the necessary code that the browser needs. When differential loading is enabled the CLI builds two separate bundles as part of your deployed application. 差异化加载是一种策略,它能让你的应用支持多种浏览器,但是只加载当前浏览器必须用到的代码。 -当(默认)启用了差异化加载时,CLI 会构建出两个单独的包,作为你要发布的应用的一部分。 +当启用了差异化加载时,CLI 会构建出两个单独的包,作为你要发布的应用的一部分。 -* The first bundle contains modern ES2015 syntax, takes advantage of built-in support in modern browsers, ships fewer polyfills, and results in a smaller bundle size. +* The first bundle contains modern ES2015 syntax. This bundle takes advantage of built-in support in modern browsers, ships fewer polyfills, and results in a smaller bundle size. 第一个包是使用现代的 ES2015 语法,它能发挥现代浏览器内置支持的优势,发布更少的腻子脚本,因此打包尺寸更小。 -* The second bundle contains code in the old ES5 syntax, along with all necessary polyfills. This results in a larger bundle size, but supports older browsers. +* The second bundle contains code in the old ES5 syntax, along with all necessary polyfills. This second bundle is larger, but supports older browsers. - 第二个包使用老式的 ES5 语法,包含所有必要的腻子脚本。其打包尺寸更大,但是支持老式浏览器。 + 第二个包使用老式的 ES5 语法,包含所有必要的腻子脚本。第二个包的尺寸更大,但是支持老式浏览器。 ### Differential builds @@ -715,22 +715,22 @@ The following configurations determine your requirements. 会根据下列配置确定你的要求。 -* Browsers list +* Browserslist 浏览器列表 - The `browserslist` configuration file is included in your application [project structure](guide/file-structure#application-configuration-files) and provides the minimum browsers your application supports. See the [Browserslist spec](https://github.com/browserslist/browserslist) for complete configuration options. + The Browserslist configuration file is included in your application [project structure](guide/file-structure#application-configuration-files) and provides the minimum browsers your application supports. See the [Browserslist spec](https://github.com/browserslist/browserslist) for complete configuration options. - `browserslist` 配置文件包含在应用的[项目结构中](guide/file-structure#application-configuration-files),它提供了本应用打算支持的最低浏览器版本。有关完整的配置选项,请参阅 [Browserslist 规范](https://github.com/browserslist/browserslist)。 + `browserslist` 配置文件包含在应用的[项目结构中](guide/file-structure#application-configuration-files),它提供了本应用打算支持的最低浏览器版本。有关完整的配置选项,请参阅 [Browserslist 规范](https://github.com/browserslist/browserslist)。 * TypeScript configuration TypeScript 配置 - In the TypeScript configuration file, `tsconfig.json`, the "target" option in the `compilerOptions` section determines the ECMAScript target version that the code is compiled to. + In the TypeScript configuration file, the "target" option in the `compilerOptions` section determines the ECMAScript target version that the code is compiled to. Modern browsers support ES2015 natively, while ES5 is more commonly used to support legacy browsers. - 在 TypeScript 的配置文件 `tsconfig.json` 中,`compilerOptions` 区的 `target` 选项会决定编译后代码的 ECMAScript 目标版本。现代浏览器原生支持 ES2015,而 ES5 则更常用于支持老式浏览器。 + 在 TypeScript 配置文件中,`compilerOptions` 区的 `target` 选项会决定编译后代码的 ECMAScript 目标版本。现代浏览器原生支持 ES2015,而 ES5 则更常用于支持老式浏览器。
@@ -781,20 +781,32 @@ Each script tag has a `type="module"` or `nomodule` attribute. Browsers with nat ### 配置差异化加载 -Differential loading is supported by default with version 8 and later of the Angular CLI. -For each application project in your workspace, you can configure how builds are produced based on the `browserslist` and `tsconfig.json` configuration files in your application project. +To include differential loading in your application builds, you must configure the Browserslist and TypeScript configuration files in your application project. -Angular CLI 第 8 版及更高版本已默认支持构建差异化加载的发布包。工作空间中的每个应用项目,都可以根据其中的 `browserslist` 和 `tsconfig.json` 配置文件来决定发布包的构建方式。 +要想在构建应用时包含差异化加载特性,你必须修改项目中的 Browserslist 和 TypeScript 配置文件。 -For a newly created Angular application, legacy browsers such as IE 9-11 are ignored, and the compilation target is ES2015. +The following examples show a `browserlistrc` and `tsconfig.json` file for a newly created Angular application. In this configuration, legacy browsers such as IE 9-11 are ignored, and the compilation target is ES2015. -对于新创建的 Angular 应用程序,将忽略 IE 9-11 等旧版浏览器,并且编译目标为 ES2015。 +下面的例子展示了新创建的 Angular 应用的 `browserlistrc` 和 `tsconfig.json` 文件。 +在这份配置中,老式浏览器(比如 IE 9-11)都被忽略了,其编译目标是 ES2015。 - -> 0.5% -last 2 versions + +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# For the full list of supported browsers by the Angular framework, please see: +# https://angular.io/guide/browser-support + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +last 1 Chrome version +last 1 Firefox version +last 2 Edge major versions +last 2 Safari major version +last 2 iOS major versions Firefox ESR -not dead not IE 9-11 # For IE 9-11 support, remove 'not'. @@ -825,29 +837,25 @@ not IE 9-11 # For IE 9-11 support, remove 'not'. -The default configuration creates two builds, with differential loading enabled. - -默认配置将创建两个版本,并启用差异化加载。 -
- To see which browsers are supported with the default configuration and determine which settings meet to your browser support requirements, see the [Browserslist compatibility page](https://browserl.ist/?q=%3E+0.5%25%2C+last+2+versions%2C+Firefox+ESR%2C+not+dead%2C+not+IE+9-11). + To see which browsers are supported and determine which settings meet to your browser support requirements, see the [Browserslist compatibility page](https://browserl.ist/?q=%3E+0.5%25%2C+last+2+versions%2C+Firefox+ESR%2C+not+dead%2C+not+IE+9-11). - 要查看这种默认配置支持哪些浏览器,以及决定哪些设置适合你要支持的浏览器,请参阅“ [浏览器列表兼容性”页面](https://browserl.ist/?q=%3E+0.5%25%2C+last+2+versions%2C+Firefox+ESR%2C+Chrome+41%2C+not+dead%2C+not+IE+9-11)。 + 要查看浏览器的支持度,以决定哪些设置适合你要支持的浏览器,请参阅“ [浏览器列表兼容性”页面](https://browserl.ist/?q=%3E+0.5%25%2C+last+2+versions%2C+Firefox+ESR%2C+Chrome+41%2C+not+dead%2C+not+IE+9-11)。
-The `browserslist` configuration allows you to ignore browsers without ES2015 support. In this case, a single build is produced. +The Browserslist configuration allows you to ignore browsers without ES2015 support. In this case, a single build is produced. -`browserslist` 配置允许你忽略不支持 ES2015 的浏览器。在这种情况下,将只生成一个版本。 +Browserslist 配置允许你忽略不支持 ES2015 的浏览器。在这种情况下,将只生成一个版本。 -If your `browserslist` configuration includes support for any legacy browsers, the build target in the TypeScript configuration determines whether the build will support differential loading. +If your Browserslist configuration includes support for any legacy browsers, the build target in the TypeScript configuration determines whether the build will support differential loading. -如果你的 `browserslist` 配置包括对所有旧版浏览器的支持,则 TypeScript 配置中的构建目标将确定该构建是否将支持差异化加载。 +如果你的 Browserslist 配置包括对所有旧版浏览器的支持,则 TypeScript 配置中的构建目标将确定该构建是否将支持差异化加载。 {@a configuration-table } -| browserslist | ES target | Build result | +| Browserslist | ES target | Build result | | -------- | -------- | -------- | | 浏览器列表 | ES 目标 | 构建结果 | | ES5 support disabled | es2015 | Single build, ES5 not required | @@ -855,27 +863,6 @@ If your `browserslist` configuration includes support for any legacy browsers, t | ES5 support enabled | es5 | Single build w/conditional polyfills for ES5 only | | 启用 ES5 支持 | es5 | 单一构建,按需附带只供 ES5 使用的腻子脚本 | | ES5 support enabled | es2015 | Differential loading (two builds w/conditional polyfills) | -| 启用 ES5 支持 | es2015 | 差异化加载(两个构建,按需附带腻子脚本) | - -### Opting out of differential loading - -### 选择性地排除差异化加载 - -Differential loading can be explicitly disabled if it causes unexpected issues, or if you need to target ES5 specifically for legacy browser support. - -如果差异化加载导致了意外问题,或者你需要专门针对旧版浏览器支持而将 ES5 作为目标,则可以显式禁用差异化加载。 - -To explicitly disable differential loading and create an ES5 build: - -要显式禁用差异化加载并创建 ES5 版本,请执行以下操作: - -- Enable the `dead` or `IE` browsers in the `browserslist` configuration file by removing the `not` keyword in front of them. - - 在 `browserslist` 配置文件中通过移除前面的 `not` 关键字来启用 `dead` 或 `IE` 中的浏览器。 - -- To create a single ES5 build, set the target in the `compilerOptions` to `es5`. - - 要创建一个单一的 ES5 的构建,把 `compilerOptions` 中的 `target` 设为 `es5`。 {@a test-and-serve} diff --git a/aio/content/guide/deprecations.md b/aio/content/guide/deprecations.md index 93f47d44c6..5f745a75ea 100644 --- a/aio/content/guide/deprecations.md +++ b/aio/content/guide/deprecations.md @@ -48,6 +48,7 @@ v9 - v12 | Area | API or Feature | May be removed in | | ---- | -------------- | ----------------- | | 区域 | API 或特性 | 可能会在什么时候移除 | +| `@angular/bazel` | [`Bazel builder and schematics`](#bazelbuilder) | v10 | | `@angular/common` | [`ReflectiveInjector`](#reflectiveinjector) | v11 | | `@angular/common` | [`CurrencyPipe` - `DEFAULT_CURRENCY_CODE`](api/common/CurrencyPipe#currency-code-deprecation) | v11 | | `@angular/core` | [`CollectionChangeRecord`](#core) | v11 | @@ -80,8 +81,12 @@ v9 - v12 | `@angular/router` | [`ActivatedRoute` 参数和 `queryParams` 属性](#activatedroute-props) | 未定 | | template syntax | [`/deep/`, `>>>`, and `::ng-deep`](#deep-component-style-selector) | unspecified | | 模板语法 | [`/deep/`,`>>>` 和 `::ng-deep`](#deep-component-style-selector) | 未定 | -| browser support | [`IE 9 and 10`](#ie-9-10) | v11 | -| 浏览器支持 | [`IE 9 和 10`](#ie-9-10) | v11 | +| browser support | [`IE 9 and 10, IE mobile`](#ie-9-10-and-mobile) | v11 | +| 浏览器支持 | [`IE 9、10 和 IE mobile`](#ie-9-10-and-mobile) | v11 | + +For information about Angular CDK and Angular Material deprecations, see the [changelog](https://github.com/angular/components/blob/master/CHANGELOG.md). + +要了解 Angular CDK 和 Angular Material 的弃用情况,参见[变更记录](https://github.com/angular/components/blob/master/CHANGELOG.md)。 ## Deprecated APIs @@ -169,6 +174,15 @@ Tip: In the [API reference section](api) of this doc site, deprecated APIs are i | [All entry points](api/upgrade) | [`@angular/upgrade/static`](api/upgrade/static) | v5 | See [Upgrading from AngularJS](guide/upgrade). | | [所有入口点](api/upgrade) | [`@angular/upgrade/static`](api/upgrade/static) | v5 | 参见[从 AngularJS 升级](guide/upgrade)。| +{@a platform-webworker-dynamic} +### @angular/platform-webworker-dynamic + +| API | Replacement | Deprecation announced | Notes | +| --- | ----------- | --------------------- | ----- | +| API | 替代品 | 宣布弃用 | 备注 | +| [All entry points](api/platform-webworker-dynamic) | none | v8 | See [platform-webworker](#webworker-apps). | +| [所有入口点](api/platform-webworker-dynamic) | 无 | v8 | 参见 [platform-webworker](#webworker-apps). | + {@a upgrade} ### @angular/upgrade @@ -199,6 +213,17 @@ This section lists all of the currently-deprecated features, which includes temp 本节列出了所有当前已弃用的特性,包括模板语法、配置选项,以及前面[已弃用的 API ](#deprecated-apis)部分未列出的其它弃用。它还包括已弃用的 API 用例或 API 组合,以增强上述信息。 +{@a bazelbuilder} +### Bazel builder and schematics + +### Bazel 构建器及其原理图 + +Bazel builder and schematics were introduced in Angular Labs to let users try out Bazel without having to manage Bazel version and BUILD files. +This feature has been deprecated. For more information, please refer to the [migration doc](https://github.com/angular/angular/blob/master/packages/bazel/src/schematics/README.md). + +Bazel 构建器及其原理图曾经被引入到 Angular Labs 中,以便让用户尝试 Bazel,而不用管理 Bazel 的版本和 BUILD 文件。 +该特性已经弃用了。欲知详情,参见[迁移文档](https://github.com/angular/angular/blob/master/packages/bazel/src/schematics/README.md)。 + {@a wtf} ### Web Tracing Framework integration @@ -604,38 +629,35 @@ export class MyModule { } ``` -{@a ie-9-10} -### IE 9 and 10 support +{@a ie-9-10-and-mobile} +### IE 9, 10, and IE mobile support -### IE 9 和 10 支持 +### IE 9、10 和 IE 移动版支持 -Support for IE 9 and 10 has been deprecated and will be removed in a future version. +Support for IE 9 and 10 has been deprecated, as well as support for IE Mobile. These will be dropped in a future version. Supporting outdated browsers like these increases bundle size, code complexity, and test load, and also requires time and effort that could be spent on improvements to the framework. For example, fixing issues can be more difficult, as a straightforward fix for modern browsers could break old ones that have quirks due to not receiving updates from vendors. -对 IE 9 和 10 的支持已被弃用,并将在以后的版本中删除。支持像这样过时的浏览器会增加打包尺寸,增加代码的复杂性和测试的负担,还需要花费大量的时间和精力来改进框架。例如,修复问题可能会更加困难,因为对于现代浏览器那些直接的修复方式可能会破坏那些没有收到更新的怪异旧版本。 +对 IE 9、10 和 IE 移动版的支持已被弃用。它们都将在以后的版本中删除。支持像这样过时的浏览器会增加打包尺寸,增加代码的复杂性和测试的负担,还需要花费大量的时间和精力来改进框架。例如,修复问题可能会更加困难,因为对于现代浏览器那些直接的修复方式可能会破坏那些没有收到更新的怪异旧版本。 The final decision was made on three key points: 它的最终决定取决于三点: -- **Vendor support**: Microsoft dropped support of IE 9 and 10 on 1/12/16, meaning they no longer provide security updates or technical support. +* __Vendor support__: Microsoft dropped support of IE 9 and 10 on 1/12/16, meaning they no longer provide security updates or technical support. Additionally, Microsoft dropped support for Windows 10 Mobile in December 2019. - **供应商支持** :微软于 2016 年 1 月 12 日放弃对 IE 9 和 10 的支持,这意味着他们不再提供安全更新或技术支持。 + **供应商支持** :微软于 2016 年 1 月 12 日放弃对 IE 9 和 10 的支持,这意味着他们不再提供安全更新或技术支持。另外,微软在 2019 年 12 月放弃了对 Windows 10 移动版的支持。 -- **Usage statistics**: We looked at usage trends for IE 9 and 10 from various sources and all indicated that usage percentages were extremely small (fractions of 1%). +* __Usage statistics__: We looked at usage trends for IE 9 and 10 (as well as IE Mobile) from various sources and all indicated that usage percentages were extremely small (fractions of 1%). - **用法统计** :我们从不同来源查看了 IE 9 和 10 的使用趋势,并且都表明其使用率非常小(不足 1%)。 + **用法统计** :我们从不同来源查看了 IE 9 和 10 (和 IE Mobile)的使用趋势,并且都表明其使用率非常小(不足 1%)。 -- **Feedback from partners**: We also reached out to some of our Angular customers and none expressed concern about dropping IE 9 and 10 support. +* __Feedback from partners__: We also reached out to some of our Angular customers and none expressed concern about dropping IE 9 and 10, nor IE Mobile support. - **来自合作伙伴的反馈意见** :我们还联系了一些 Angular 的客户,没有人担心放弃 IE 9 和 10 的支持。 + **来自合作伙伴的反馈意见** :我们还联系了一些 Angular 的客户,没有人担心放弃 IE 9、10 或 IE Mobile 的支持。 {@a wrapped-value} - -### `WrappedValue` - -### `WrappedValue` +### `WrappedValue` The purpose of `WrappedValue` is to allow the same object instance to be treated as different for the purposes of change detection. It is commonly used with the `async` pipe in the case where the `Observable` produces the same instance of the value. @@ -659,13 +681,96 @@ If you rely on the behavior that the same object instance should cause change de 显式调用 [`ChangeDetectorRef.detectChanges()`](api/core/ChangeDetectorRef#detectchanges) 进行强制更新。 +{@a deprecated-cli-flags} +## Deprecated CLI APIs and Options + +## 弃用的 CLI API 和选项 + +This section contains a complete list all of the currently deprecated CLI flags. + +这部分包含一个当前弃用的 CLI 标志的完整列表。 + +### @angular-devkit/build-angular + +| API/Option | May be removed in | Notes | +| ---------- | ----------------- | ----- | +| API/选项 | 可能删除于 | 备注 | +| `i18nFile` | v11 | Specified in the project locale configuration in version 9 and later. | +| `i18nFile` | v11 | 在版本 9 及更高版本的项目区域配置中指定。 | +| `i18nFormat` | v11 | Format is now automatically detected. | +| `i18nFormat` | v11 | 格式现在是自动检测的。 | +| `i18nLocale` | v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. | +| `i18nLocale` | v11 | 版本 9 和更高版本中新的[本地化选项](/guide/i18n#localize-config) 。 | +| `lazyModules` | v11 | Used with deprecated SystemJsNgModuleLoader. | +| `lazyModules` | v11 | 与已弃用的 SystemJsNgModuleLoader 配合使用。 | +| `rebaseRootRelativeCssUrls` | v11 | Intended only to assist with specific migration issues. | +| `rebaseRootRelativeCssUrls` | v11 | 仅用于帮助解决特定的迁移问题。 | +| `scripts[].lazy` | v11 | Renamed to `scripts[].inject`. | +| `scripts[].lazy` | v11 | 已改名为 `scripts[].inject`. | +| `styles[].lazy` | v11 | Renamed to `styles[].inject`. | +| `styles[].lazy` | v11 | 已改名为 `styles[].inject` 。 | +| `i18nFormat` | v11 | Renamed to `format` to simplify the user experience. | +| `i18nFormat` | v11 | 已改名为 `format`,以简化用户体验。 | +| `i18nLocale` | v11 | Redundant with project’s source locale. | +| `i18nLocale` | v11 | 是项目的源语言环境的冗余项。 | +| `scripts[].lazy` | v11 | Renamed to `scripts[].inject`. | +| `scripts[].lazy` | v11 | 已改名为 `scripts[].inject`. | +| `styles[].lazy` | v11 | Renamed to `styles[].inject`. | +| `styles[].lazy` | v11 | 已改名为 `styles[].inject` 。 | +| `i18nFile` | v11 | Specified in the project locale configuration in version 9 and later. | +| `i18nFile` | v11 | 在版本 9 及更高版本的项目区域设置配置中指定。 | +| `i18nFormat` | v11 | Format is now automatically detected. | +| `i18nFormat` | v11 | 格式现在是自动检测的。 | +| `i18nLocale` | v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. | +| `i18nLocale` | v11 | 版本 9 和更高版本中新的[本地化选项](/guide/i18n#localize-config) 。 | +| `lazyModules` | v11 | Used with deprecated SystemJsNgModuleLoader. | +| `lazyModules` | v11 | 与已弃用的 SystemJsNgModuleLoader 配合使用。 | + +### @angular-devkit/core + +| API/Option | May be removed in | Notes | +| ---------- | ----------------- | ----- | +| API/选项 | 可能删除于 | 备注 | +| `ModuleNotFoundException` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options). | +| `ModuleNotFoundException` | v10 | 在项目中没用过。仅与 Tooling API 一起使用。 与 Yarn 的 PnP 不兼容,并且没有用在 Angular CLI 中。使用 Node.js 的[require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options) 。 | +| `resolve` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options). | +| `resolve` | v10 | 在项目中没用过。仅与 Tooling API 一起使用。与 Yarn 的 PnP 不兼容,并且没有用在 Angular CLI 中。使用 Node.js 的 [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options) 。 | +| `setResolveHook` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options). | +| `setResolveHook` | v10 | 在项目中没用过。仅与 Tooling API 一起使用。与 Yarn 的 PnP 不兼容,并且没有用在 Angular CLI 中。使用 Node.js 的 [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options) 。 | +| `ResolveOptions` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options). | +| `ResolveOptions` | v10 | 在项目中没用过。仅与 Tooling API 一起使用。与 Yarn 的 PnP 不兼容,并且没有用在 Angular CLI 中。使用 Node.js 的 [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options) 。 | +| `terminal` | v10 | Unused implementation of terminal codes (color). | +| `terminal` | v10 | 未用过的终端代码实现(颜色)。 | +| `isObservable` | v10 | Not used within projects. Used with Tooling API only. Use `isObservable` function from the `rxjs` package. | +| `isObservable` | v10 | 在项目中没用过。仅与 Tooling API 一起使用。在 `rxjs` 包中使用 `isObservable` 函数。 | + +### @ngtools/webpack + +| API/Option | May be removed in | Notes | +| ---------- | ----------------- | ----- | +| API/选项 | 可能删除于 | 备注 | +| `discoverLazyRoutes` | TBD | Used with deprecated SystemJsNgModuleLoader. | +| `discoverLazyRoutes` | TBD | 与已弃用的 SystemJsNgModuleLoader 配合使用。 | +| `additionalLazyModules` | TBD | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModules` | TBD | 与已弃用的 SystemJsNgModuleLoader 配合使用。 | +| `additionalLazyModuleResources` | TBD | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModuleResources` | TBD | 与已弃用的 SystemJsNgModuleLoader 配合使用。 | + +### @schematics/angular + +| API/Option | May be removed in | Notes | +| ---------- | ----------------- | ----- | +| API/选项 | 可能删除于 | 备注 | +| `entryComponent` | TBD | No longer needed with Ivy. | +| `entryComponent` | TBD | Ivy 中不再需要了。 | + {@a removed} ## Removed APIs ## 删除的 API -The following APIs have been removed starting with version 10.0.0\*: +The following APIs have been removed starting with version 10.0.0*: 从 10.0.0 版开始,已经删除了以下 API: @@ -679,9 +784,9 @@ The following APIs have been removed starting with version 10.0.0\*: | `@angular/core` | Style Sanitization | no action needed | See [style sanitization API removal](#style-sanitization) for more info | | `@angular/core` | 样式的无害化处理 | 不需要任何动作 | 详情参阅[移除了 样式无害化 API](#style-sanitization) | -\*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). +*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). -\*要查看版本 9 中移除的 API,请查看[版本 9 文档站](https://v9.angular.io/guide/deprecations#removed)上本指南。 +*要查看版本 9 中移除的 API,请查看[版本 9 文档站](https://v9.angular.io/guide/deprecations#removed)上本指南*。 {@a esm5-fesm5} @@ -751,39 +856,13 @@ In practical terms, the `package.json` of all `@angular` packages has changed in For more information about the npm package format, see the [Angular Package Format spec](https://goo.gl/jB3GVv). 关于 npm 软件包格式的更多信息,请参见 [Angular 软件包格式规范](https://goo.gl/jB3GVv)。 -{@a ie-9-10} -### IE 9 and 10 support - -### IE 9 和 10 支持 - -Support for IE 9 and 10 has been deprecated and will be removed in a future version. -Supporting outdated browsers like these increases bundle size, code complexity, and test load, and also requires time and effort that could be spent on improvements to the framework. -For example, fixing issues can be more difficult, as a straightforward fix for modern browsers could break old ones that have quirks due to not receiving updates from vendors. - -对 IE 9 和 10 的支持已被弃用,并将在以后的版本中删除。支持像这样过时的浏览器会增加打包尺寸,增加代码的复杂性和测试的负担,还需要花费大量的时间和精力来改进框架。例如,修复问题可能会更加困难,因为对于现代浏览器那些直接的修复方式可能会破坏那些没有收到更新的怪异旧版本。 - -The final decision was made on three key points: - -它的最终决定取决于三点: - -- **Vendor support**: Microsoft dropped support of IE 9 and 10 on 1/12/16, meaning they no longer provide security updates or technical support. - - **供应商支持** :微软于 2016 年 1 月 12 日放弃对 IE 9 和 10 的支持,这意味着他们不再提供安全更新或技术支持。 - -- **Usage statistics**: We looked at usage trends for IE 9 and 10 from various sources and all indicated that usage percentages were extremely small (fractions of 1%). - - **用法统计** :我们从不同来源查看了 IE 9 和 10 的使用趋势,并且都表明其使用率非常小(不足 1%)。 - -- **Feedback from partners**: We also reached out to some of our Angular customers and none expressed concern about dropping IE 9 and 10 support. - - **来自合作伙伴的反馈意见** :我们还联系了一些 Angular 的客户,没有人担心放弃 IE 9 和 10 的支持。 {@a removed} ## Removed APIs ## 删除的 API -The following APIs have been removed starting with version 10.0.0\*: +The following APIs have been removed starting with version 10.0.0*: 从 10.0.0 版开始,已经删除了以下 API: @@ -797,86 +876,10 @@ The following APIs have been removed starting with version 10.0.0\*: | `@angular/core` | Style Sanitization | no action needed | See [style sanitization API removal](#style-sanitization) for more info | | `@angular/core` | 样式的无害化处理 | 不需要任何动作 | 详情参阅[移除了 样式无害化 API](#style-sanitization) | -\*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). +*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). -\*要查看版本 9 中移除的 API,请查看[版本 9 文档站](https://v9.angular.io/guide/deprecations#removed)上本指南。 +*要查看版本 9 中移除的 API,请查看[版本 9 文档站](https://v9.angular.io/guide/deprecations#removed)上的这份指南。* - -{@a http} -### @angular/http - - - -The entire [`@angular/http`](http://v7.angular.io/api/http) package has been removed. Use [`@angular/common/http`](api/common/http) instead. - -已删除了整个 [`@angular/http`](http://v7.angular.io/api/http) 包。请改用 [`@angular/common/http`](api/common/http)。 - -The new API is a smaller, easier, and more powerful way to make HTTP requests in Angular. -The new API simplifies the default ergonomics: There is no need to map by invoking the `.json()` method. -It also supports typed return values and interceptors. - -新的 API 用一种更小、更简单、更强大的方式来在 Angular 中发起 HTTP 请求。新的 API 简化成了更人性化的默认设计:不用再通过调用 `.json()` 方法进行映射。它还支持带类型的返回值,以及拦截器。 - -To update your apps: - -要更新你的应用: - -* Replace `HttpModule` with [`HttpClientModule`](api/common/http/HttpClientModule) (from [`@angular/common/http`](api/common/http)) in each of your modules. - - 在每个模块中用 [`HttpClientModule`](api/common/http/HttpClientModule) (来自 [`@angular/common/http`](api/common/http) )代替 `HttpModule`。 - -* Replace the `Http` service with the [`HttpClient`](api/common/http/HttpClient) service. - - 用 [`HttpClient`](api/common/http/HttpClient) 服务代替 `Http` 服务。 - -* Remove any `map(res => res.json())` calls. They are no longer needed. - - 删除所有 `map(res => res.json())` 调用,它们没用了。 - -For more information about using `@angular/common/http`, see the [HttpClient guide](guide/http "HTTP Client guide"). - -有关使用 `@angular/common/http` 的更多信息,请参见 [HttpClient 指南](guide/http "HTTP Client 指南")。 - -| `@angular/http` | Closest replacement in `@angular/common/http` | -| --------------- | --------------------------------------------- | -| `@angular/http` | `@angular/common/http` 中最接近的替代品 | -| `BaseRequestOptions` | [`HttpRequest`](/api/common/http/HttpRequest) | -| `BaseResponseOptions` | [`HttpResponse`](/api/common/http/HttpResponse) | -| `BrowserXhr` | | -| `Connection` | [`HttpBackend`](/api/common/http/HttpBackend) | -| `ConnectionBackend` | [`HttpBackend`](/api/common/http/HttpBackend) | -| `CookieXSRFStrategy` | [`HttpClientXsrfModule`](/api/common/http/HttpClientXsrfModule) | -| `Headers` | [`HttpHeaders`](/api/common/http/HttpHeaders) | -| `Http` | [`HttpClient`](/api/common/http/HttpClient) | -| `HttpModule` | [`HttpClientModule`](/api/common/http/HttpClientModule) | -| `Jsonp` | [`HttpClient`](/api/common/http/HttpClient) | -| `JSONPBackend` | [`JsonpClientBackend`](/api/common/http/JsonpClientBackend) | -| `JSONPConnection` | [`JsonpClientBackend`](/api/common/http/JsonpClientBackend) | -| `JsonpModule` | [`HttpClientJsonpModule`](/api/common/http/HttpClientJsonpModule) | -| `QueryEncoder` | [`HttpUrlEncodingCodec`](/api/common/http/HttpUrlEncodingCodec) | -| `ReadyState` | [`HttpBackend`](/api/common/http/HttpBackend) | -| `Request` | [`HttpRequest`](/api/common/http/HttpRequest) | -| `RequestMethod` | [`HttpClient`](/api/common/http/HttpClient) | -| `RequestOptions` | [`HttpRequest`](/api/common/http/HttpRequest) | -| `RequestOptionsArgs` | [`HttpRequest`](/api/common/http/HttpRequest) | -| `Response` | [`HttpResponse`](/api/common/http/HttpResponse) | -| `ResponseContentType` | [`HttpClient`](/api/common/http/HttpClient) | -| `ResponseOptions` | [`HttpResponse`](/api/common/http/HttpResponse) | -| `ResponseOptionsArgs` | [`HttpResponse`](/api/common/http/HttpResponse) | -| `ResponseType` | [`HttpClient`](/api/common/http/HttpClient) | -| `URLSearchParams` | [`HttpParams`](/api/common/http/HttpParams) | -| `XHRBackend` | [`HttpXhrBackend`](/api/common/http/HttpXhrBackend) | -| `XHRConnection` | [`HttpXhrBackend`](/api/common/http/HttpXhrBackend) | -| `XSRFStrategy` | [`HttpClientXsrfModule`](/api/common/http/HttpClientXsrfModule) | - -| `@angular/http/testing` | Closest replacement in `@angular/common/http/testing` | -| ----------------------- | ----------------------------------------------------- | -| `@angular/http/testing` | `@angular/common/http/testing` 中最接近的替代品 | -| `MockBackend` | [`HttpTestingController`](/api/common/http/testing/HttpTestingController) | -| `MockConnection` | [`HttpTestingController`](/api/common/http/testing/HttpTestingController) | {@a style-sanitization} diff --git a/aio/content/guide/docs-style-guide.md b/aio/content/guide/docs-style-guide.md index aef818f438..7f8f657ccf 100644 --- a/aio/content/guide/docs-style-guide.md +++ b/aio/content/guide/docs-style-guide.md @@ -902,7 +902,8 @@ JSON 文件中不支持代码片断标记,因为 JSON 文件中的注释是被
-#### *#docregion* + +#### _#docregion_ The _#docregion_ is the most important kind of code snippet markup. @@ -929,7 +930,7 @@ The `src/main.ts` is a simple example of a file with a single _#docregion_ at th
-#### Named *#docregions* +#### Named _#docregions_ #### 命名的 *#docregions* @@ -1375,7 +1376,7 @@ If you do, be sure to set the `id` attribute - not the `name` attribute! The doc
-## Alerts and Calllouts +## Alerts and Callouts ## 警报和 Calllouts diff --git a/aio/content/guide/elements.md b/aio/content/guide/elements.md index 3c2969516a..bcac1e0348 100644 --- a/aio/content/guide/elements.md +++ b/aio/content/guide/elements.md @@ -250,14 +250,13 @@ The recently-developed [custom elements](https://developer.mozilla.org/en-US/doc -In browsers that support Custom Elements natively, the specification requires developers use ES2015 classes to define Custom Elements - developers can opt-in to this by setting the `target: "es2015"` property in their project's `tsconfig.json`. As Custom Element and ES2015 support may not be available in all browsers, developers can instead choose to use a polyfill to support older browsers and ES5 code. +In browsers that support Custom Elements natively, the specification requires developers use ES2015 classes to define Custom Elements - developers can opt-in to this by setting the `target: "es2015"` property in their project's [TypeScript configuration file](/guide/typescript-configuration). As Custom Element and ES2015 support may not be available in all browsers, developers can instead choose to use a polyfill to support older browsers and ES5 code. -对于原生支持了自定义元素的浏览器,该规范要求开发人员使用 ES2016 的类来定义自定义元素 —— 开发人员可以在项目的 `tsconfig.json` 中设置 `target: "es2015"` 属性来满足这一要求。并不是所有浏览器都支持自定义元素和 ES2015,开发人员也可以选择使用腻子脚本来让它支持老式浏览器和 ES5 的代码。 +对于原生支持了自定义元素的浏览器,该规范要求开发人员使用 ES2016 的类来定义自定义元素 —— 开发人员可以在项目的 [TypeScript 配置文件](/guide/typescript-configuration)中设置 `target: "es2015"` 属性来满足这一要求。并不是所有浏览器都支持自定义元素和 ES2015,开发人员也可以选择使用腻子脚本来让它支持老式浏览器和 ES5 的代码。 -Use the [Angular CLI](cli) to automatically set up your project with the correct polyfill: `ng add @angular/elements --name=*your_project_name*`. - -使用 [Angular CLI](https://cli.angular.io/) 可以自动为你的项目添加正确的腻子脚本:`ng add @angular/elements --name=*your_project_name*`。 +Use the [Angular CLI](cli) to automatically set up your project with the correct polyfill: `ng add @angular/elements --project=*your_project_name*`. +使用 [Angular CLI](https://cli.angular.io/) 可以自动为你的项目添加正确的腻子脚本:`ng add @angular/elements --project=*your_project_name*`。 - For more information about polyfills, see [polyfill documentation](https://www.webcomponents.org/polyfills). 要了解关于腻子脚本的更多信息,参见[腻子脚本的相关文档](https://www.webcomponents.org/polyfills)。 diff --git a/aio/content/guide/file-structure.md b/aio/content/guide/file-structure.md index 0e7592e749..653e5b1c3f 100644 --- a/aio/content/guide/file-structure.md +++ b/aio/content/guide/file-structure.md @@ -69,9 +69,10 @@ The top level of the workspace contains workspace-wide configuration files, conf | `src/` | Source files for the root-level application project. | | `src/` | 根项目的源文件。| | `node_modules/` | Provides [npm packages](guide/npm-packages) to the entire workspace. Workspace-wide `node_modules` dependencies are visible to all projects. | -| `README.md` | 根应用的介绍性文档。 | -| `tsconfig.json` | Default [TypeScript](https://www.typescriptlang.org/) configuration for projects in the workspace. | +| `tsconfig.json` | The `tsconfig.json` file is a ["Solution Style"](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files) TypeScript configuration file. Code editors and TypeScript’s language server use this file to improve development experience. Compilers do not use this file. | | `tsconfig.json` | 工作空间中各个项目的默认 [TypeScript](https://www.typescriptlang.org/) 配置。 | +| `tsconfig.base.json` | The base [TypeScript](https://www.typescriptlang.org/) configuration for projects in the workspace. All other configuration files inherit from this base file. For more information, see the [Configuration inheritance with extends](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends) section of the TypeScript documentation.| +| `tsconfig.base.json` | 供工作空间中所有项目使用的基础 [TypeScript](https://www.typescriptlang.org/) 配置。所有其它配置文件都继承自这个基础文件。欲知详情,参见 TypeScript 文档中的[使用 extends 进行配置继承](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends)部分| | `tslint.json` | Default [TSLint](https://palantir.github.io/tslint/) configuration for projects in the workspace. | | `tslint.json` | 工作空间中各个项目的默认 [TSLint](https://palantir.github.io/tslint/) 配置。 | @@ -123,8 +124,8 @@ Files at the top level of `src/` support testing and running your application. S | `favicon.ico` | 用作该应用在标签栏中的图标。 | | `index.html` | The main HTML page that is served when someone visits your site. The CLI automatically adds all JavaScript and CSS files when building your app, so you typically don't need to add any ` Syntax" is the interpolated evil title. -"Template alert("evil never sleeps")Syntax" is the property bound evil title. +"Template <script>alert("evil never sleeps")</script> Syntax" is the interpolated evil title. +"Template Syntax" is the property bound evil title.
@@ -2118,7 +2118,9 @@ Angular 为此提供了一种特殊*的双向数据绑定*语法 `[()]`。`[()]`
-
[( )] = banana in a box
+
+ [( )] = banana in a box +
[( )] = 盒子里的香蕉
@@ -2400,9 +2402,9 @@ Angular provides *value accessors* for all of the basic HTML form elements and t You can't apply `[(ngModel)]` to a non-form native element or a third-party custom component until you write a suitable value accessor. For more information, see -the API documentation on [DefaultValueAccessor](https://angular.io/api/forms/DefaultValueAccessor). +the API documentation on [DefaultValueAccessor](api/forms/DefaultValueAccessor). -在编写适当的值访问器之前,不能将 `[(ngModel)]` 应用于非表单的原生元素或第三方自定义组件。欲知详情,参见[DefaultValueAccessor](https://angular.cn/api/forms/DefaultValueAccessor)上的 API 文档。 +在编写适当的值访问器之前,不能将 `[(ngModel)]` 应用于非表单的原生元素或第三方自定义组件。欲知详情,参见[DefaultValueAccessor](api/forms/DefaultValueAccessor)上的 API 文档。 You don't need a value accessor for an Angular component that you write because you can name the value and event properties diff --git a/aio/content/guide/template-typecheck.md b/aio/content/guide/template-typecheck.md index 8d427ef60e..3cd4d33672 100644 --- a/aio/content/guide/template-typecheck.md +++ b/aio/content/guide/template-typecheck.md @@ -7,10 +7,10 @@ ## 模板类型检查概述 Just as TypeScript catches type errors in your code, Angular checks the expressions and bindings within the templates of your application and can report any type errors it finds. -Angular currently has three modes of doing this, depending on the value of the `fullTemplateTypeCheck` and `strictTemplates` flags in the [TypeScript configuration file](guide/typescript-configuration), `tsconfig.json`. +Angular currently has three modes of doing this, depending on the value of the `fullTemplateTypeCheck` and `strictTemplates` flags in the [TypeScript configuration file](guide/typescript-configuration). 正如 TypeScript 在代码中捕获类型错误一样,Angular 也会检查应用程序模板中的表达式和绑定,并可以报告所发现的任何类型错误。 -Angular 当前有三种执行此操作的模式,具体取决于 [TypeScript 配置文件](guide/typescript-configuration) `tsconfig.json` 中的 `fullTemplateTypeCheck` 和 `strictTemplates` 标志的值。 +Angular 当前有三种执行此操作的模式,具体取决于 [TypeScript 配置文件](guide/typescript-configuration) 中的 `fullTemplateTypeCheck` 和 `strictTemplates` 标志的值。 ### Basic mode @@ -209,10 +209,9 @@ In case of a false positive like these, there are a few options: 在某些情况下,使用 [`$any()` 类型转换函数](guide/template-syntax#any-type-cast-function)可以选择不对部分表达式进行类型检查。 -* You can disable strict checks entirely by setting `strictTemplates: false` in the application's TypeScript configuration file, `tsconfig.json`. +* You can disable strict checks entirely by setting `strictTemplates: false` in the application's TypeScript configuration file. 你可以通过在应用程序的 TypeScript 配置文件 `tsconfig.json` 中设置 `strictTemplates: false` 来完全禁用严格检查。 - * You can disable certain type-checking operations individually, while maintaining strictness in other aspects, by setting a _strictness flag_ to `false`. 通过将*严格性标志*设置为 `false`,可以在保持其它方面的严格性的同时,单独禁用某些特定的类型检查操作。 diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index 91617694e5..34aee47197 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -162,7 +162,7 @@ Adopt these two conventions in your own projects for _every kind_ of test file. ## 建立持续集成环境 -One of the best ways to keep your project bug free is through a test suite, but it's easy to forget to run tests all the time. +One of the best ways to keep your project bug-free is through a test suite, but it's easy to forget to run tests all the time. Continuous integration (CI) servers let you set up your project repository so that your tests run on every commit and pull request. 避免项目出 BUG 的最佳方式之一,就是使用测试套件。但是很容易忘了一直运行它。 diff --git a/aio/content/guide/transition-and-triggers.md b/aio/content/guide/transition-and-triggers.md index c9c8587203..e3b467bfe1 100644 --- a/aio/content/guide/transition-and-triggers.md +++ b/aio/content/guide/transition-and-triggers.md @@ -253,9 +253,9 @@ You can define more than one animation trigger for a component. You can attach a ### 父-子动画 -Each time an animation is triggered in Angular, the parent animation always get priority and child animations are blocked. In order for a child animation to run, the parent animation must query each of the elements containing child animations and then allow the animations to run using the [`animateChild()`](https://angular.io/api/animations/animateChild) function. +Each time an animation is triggered in Angular, the parent animation always get priority and child animations are blocked. In order for a child animation to run, the parent animation must query each of the elements containing child animations and then allow the animations to run using the [`animateChild()`](api/animations/animateChild) function. -每次在 Angular 中触发动画时,父动画始终会优先,而子动画会被阻塞。为了运行子动画,父动画必须查询出包含子动画的每个元素,然后使用 [`animateChild()`](https://angular.cn/api/animations/animateChild) 函数来运行它们。 +每次在 Angular 中触发动画时,父动画始终会优先,而子动画会被阻塞。为了运行子动画,父动画必须查询出包含子动画的每个元素,然后使用 [`animateChild()`](api/animations/animateChild) 函数来运行它们。 #### Disabling an animation on an HTML element @@ -292,10 +292,10 @@ However, selective child animations can still be run on a disabled parent in one 不过,选择性的子动画仍然可以用如下方式之一在已禁用的父元素上运行: -* A parent animation can use the [`query()`](https://angular.io/api/animations/query) function to collect inner elements located in disabled areas of the HTML template. +* A parent animation can use the [`query()`](api/animations/query) function to collect inner elements located in disabled areas of the HTML template. Those elements can still animate. - 父动画可以使用 [`query()`](https://angular.cn/api/animations/query) 函数来收集 HTML 模板中位于禁止动画区域内部的元素。这些元素仍然可以播放动画。 + 父动画可以使用 [`query()`](api/animations/query) 函数来收集 HTML 模板中位于禁止动画区域内部的元素。这些元素仍然可以播放动画。 * A subanimation can be queried by a parent and then later animated with the `animateChild()` function. diff --git a/aio/content/guide/typescript-configuration.md b/aio/content/guide/typescript-configuration.md index 2df9ce5eeb..51191eb58f 100644 --- a/aio/content/guide/typescript-configuration.md +++ b/aio/content/guide/typescript-configuration.md @@ -28,33 +28,66 @@ that are important to Angular developers, including details about the following {@a tsconfig} -## TypeScript configuration +## Configuration files -## TypeScript 配置 +## 配置文件 -A TypeScript configuration file called `tsconfig.json` guides the compiler as it generates JavaScript files for a project. -This file contains options and flags that are essential for Angular applications. -Typically, the file is found at the [root level of the workspace](guide/file-structure). +A given Angular workspace contains several TypeScript configuration files. +At the root level, there are two main TypeScript configuration files: a `tsconfig.json` file and a `tsconfig.base.json` file. -一个名为 `tsconfig.json` 的 TypeScript 配置文件会指导编译器如何为项目生成 JavaScript 文件。 -该文件包含对 Angular 应用程序必不可少的选项和标志。 -通常,该文件位于[工作区的根目录](guide/file-structure)中。 +一个 Angular 工作空间中包含多个 TypeScript 配置文件。在根一级,有两个主要的 TypeScript 配置文件:`tsconfig.json` 文件和 `tsconfig.base.json` 文件。 + +The `tsconfig.json` file is a ["Solution Style"](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files) TypeScript configuration file. +Code editors and TypeScript’s language server use this file to improve development experience. +Compilers do not use this file. + +`tsconfig.json` 文件是一个[“解决方案型”](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files)的 TypeScript 配置文件。代码编辑器和 TypeScript 的语言服务都会使用这个文件来改善开发体验。而编译器不会使用这个文件。 + +The `tsconfig.json` file contains a list of paths to the other TypeScript configuration files used in the workspace. + +`tsconfig.json` 文件中包含指向工作空间中其它 TypeScript 配置文件的路径列表。 + + +{ + "files": [], + "references": [ + { + "path": "./tsconfig.app.json" + }, + { + "path": "./tsconfig.spec.json" + }, + { + "path": "./projects/my-lib/tsconfig.lib.json" + } + ] +} + + +The `tsconfig.base.json` file specifies the base TypeScript and Angular compiler options that all projects in the workspace inherit. + +`tsconfig.base.json` 文件指定了工作空间中所有项目都要继承的基础 TypeScript 编译选项和 Angular 编译选项。 + +The TypeScript and Angular have a wide range of options which can be used to configure type-checking features and generated output. +For more information, see the [Configuration inheritance with extends](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends) section of the TypeScript documentation. + +TypeScript 和 Angular 提供了很多选项,可以用来配置类型检查功能和要生成的输出。更多信息,请参阅 TypeScript 文档中的[使用 extends 进行配置继承](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends)部分。
-For details about `tsconfig.json`, see the official -[TypeScript wiki](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html). +For more information TypeScript configuration files, see the official [TypeScript wiki](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html) +For details about configuration inheritance, see the [Configuration inheritance with extends](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends) section. -要了解关于 `tsconfig.json` 的详情,请参阅官方提供的 -[TypeScript wiki](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html)。 +要了解 TypeScript 配置文件的详情,请参阅官方提供的 +[TypeScript wiki](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html)。要了解配置继承的详情,参见[使用 extends 进行配置继承](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends)部分。
-The initial `tsconfig.json` for an Angular app typically looks like the following example. +The initial `tsconfig.base.json` for an Angular workspace typically looks like the following example. -Angular 应用的初始 `tsconfig.json` 通常是这样的。 +Angular 工作空间的初始 `tsconfig.base.json` 通常是这样的。 - + { "compileOnSave": false, "compilerOptions": { @@ -64,25 +97,28 @@ Angular 应用的初始 `tsconfig.json` 通常是这样的。 "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, - "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", - "typeRoots": [ - "node_modules/@types" - ], + "module": "es2020", "lib": [ "es2018", "dom" ] - }, - "angularCompilerOptions": { - "strictTemplates": true, - "strictInjectionParameters": true } } +### Strict mode + +### 严格模式 + +When you create new workspaces and projects, you have the option to use Angular's strict mode, which can help you write better, more maintainable code. +For more information, see [Strict mode](/guide/strict-mode). + +当你创建新的工作空间和项目时,你可以选择使用 Angular 的严格模式,它会帮助你写出更好、更容易维护的代码。 +欲知详情,参见[严格模式](/guide/strict-mode)。 + {@a noImplicitAny} ### *noImplicitAny* and *suppressImplicitAnyIndexErrors* @@ -196,9 +232,7 @@ By default, the target is `es2015`. If you are targeting `es5`, you still have n 默认情况下,目标是 `es2015`。如果你把目标改为 `es5`,那么由于包含了声明文件列表,你仍然拥有较新的类型声明: - - - + ### Installable typings files diff --git a/aio/content/guide/universal.md b/aio/content/guide/universal.md index 2a22b1504d..65623f7720 100644 --- a/aio/content/guide/universal.md +++ b/aio/content/guide/universal.md @@ -73,11 +73,11 @@ src/ app/ ... application code app.server.module.ts * server-side application module server.ts * express web server -tsconfig.json TypeScript client configuration -tsconfig.app.json TypeScript client configuration -tsconfig.server.json * TypeScript server configuration -tsconfig.spec.json TypeScript spec configuration -package.json npm configuration +tsconfig.json TypeScript solution style configuration +tsconfig.base.json TypeScript base configuration +tsconfig.app.json TypeScript browser application configuration +tsconfig.server.json TypeScript server application configuration +tsconfig.spec.json TypeScript tests configuration The files marked with `*` are new and not in the original tutorial sample. @@ -406,7 +406,7 @@ as a navigation URL intended for the router. Fortunately, application routes have something in common: their URLs lack file extensions. (Data requests also lack extensions but they're easy to recognize because they always begin with `/api`.) -All static asset requests have a file extension (such as `main.js` or `/node_modules/zone.js/dist/zone.js`). +All static asset requests have a file extension (such as `main.js` or `/node_modules/zone.js/bundles/zone.umd.js`). 幸运的是,应用的路由具有一些共同特征:它们的 URL 一般不带文件扩展名。 (数据请求也可能缺少扩展名,但是它们很容易识别出来,因为它们总是以 `/api` 开头,所有的静态资源的请求都会带有一个扩展名,比如 `main.js` 或 `/node_modules/zone.js/dist/zone.js`)。 @@ -419,11 +419,11 @@ Because we use routing, we can easily recognize the three types of requests and **数据请求**:请求的 URL 用 `/api` 开头 -2. **App navigation**: request URL with no file extension. +1. **App navigation**: request URL with no file extension. **应用导航**:请求的 URL 不带扩展名 -3. **Static asset**: all other requests. +1. **Static asset**: all other requests. **静态资源**:所有其它请求。 diff --git a/aio/content/guide/updating-to-version-10.md b/aio/content/guide/updating-to-version-10.md new file mode 100644 index 0000000000..343f0a310c --- /dev/null +++ b/aio/content/guide/updating-to-version-10.md @@ -0,0 +1,82 @@ +# Updating to Angular version 10 + +This guide contains information related to updating to version 10 of Angular. + +
+ +For information on upgrading to Angular version 9, see [Updating to Angular version 9](https://v9.angular.io/guide/updating-to-version-9). + +
+ +## Updating CLI Apps + +For step-by-step instructions on how to update to the latest Angular release (and leverage our automated migration tools to do so), use the interactive update guide at [update.angular.io](https://update.angular.io). + +If you're curious about the specific migrations being run by the CLI, see the [automated migrations section](#migrations) for details on what code is changing and why. + +## Changes and Deprecations in Version 10 + +
+ + For information about Angular's deprecation and removal practices, see [Angular Release Practices](guide/releases#deprecation-practices "Angular Release Practices: Deprecation practices"). + +
+ +{@a breaking-changes} +### New Breaking Changes + +* Typescript 3.6, 3.7, and 3.8 are no longer supported. Please update to Typescript 3.9. +* Input fields of type `number` fire the `valueChanges` event only once per value change (as opposed to twice in some cases). See [PR 36087](https://github.com/angular/angular/pull/36087). +* The `minLength` and `maxLength` validators only validate values that have a numeric `length` property. See [PR 36157](https://github.com/angular/angular/pull/36157). +* Templates with unknown property bindings or unknown element names now log errors instead of warnings. See [PR 36399](https://github.com/angular/angular/pull/36399). +* `UrlMatcher` can now return `null` values. See [PR 36402](https://github.com/angular/angular/pull/36402). +* Transplanted views now refresh at insertion point only. See PR 35968](https://github.com/angular/angular/pull/35968). +* Formatting times with the `b` or `B` format codes now supports time periods that cross midnight. See [PR 36611](https://github.com/angular/angular/pull/36611). +* Navigation is canceled for routes with at least one empty resolver. See [PR 24621](https://github.com/angular/angular/pull/24621). + +{@a deprecations} +### New Deprecations + +| Area | API or Feature | May be removed in | +| ----------------------------- | --------------------------------------------------------------------------- | ----------------- | +| `@angular/core` | [`WrappedValue`](guide/deprecations#wrapped-value) | v12 | +| browser support | [`IE 9, 10, and IE Mobile`](guide/deprecations#ie-9-10-and-ie-mobile-support) | v11 | + + +{@a removals} +### New Removals of Deprecated APIs + +The following APIs have been removed starting with version 10.0.0*: + +| Package | API | Replacement | Notes | +| ---------------- | -------------- | ----------- | ----- | +| `@angular/core` | Undecorated base classes that use Angular features | Add Angular decorator | See [migration guide](guide/migration-undecorated-classes) for more info | +| `@angular/core` | `ModuleWithProviders` without a generic | `ModuleWithProviders` with a generic | See [migration guide](guide/migration-module-with-providers) for more info | +| `@angular/core` | Style Sanitization | no action needed | See [style sanitization API removal](/guide/deprecations#style-sanitization) for more info +| `@angular/bazel` | [`Bazel builder and schematics`](guide/deprecations#bazelbuilder) | `bazelbuild/rules_nodejs` | [More info](https://github.com/angular/angular/tree/10.0.x/packages/bazel/src/schematics) | + + +*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). + +{@a ivy} + +## Ivy features and compatibility + +Since version 9, Angular Ivy is the default rendering engine. If you haven't heard of Ivy, you can read more about it in the [Angular Ivy guide](guide/ivy). + +* Among other features, Ivy introduces more comprehensive type-checking within templates. For details, see [Template Type-checking](guide/template-typecheck). + +* For general guidance on debugging and a list of minor changes associated with Ivy, see the [Ivy compatibility guide](guide/ivy-compatibility). + +* For help with opting out of Ivy, see the instructions [here](guide/ivy#opting-out-of-angular-ivy). + +{@a migrations} +## Automated Migrations for Version 10 + +Read about the migrations the CLI handles for you automatically: + +* [Migrating missing `@Directive()`/`@Component()` decorators](guide/migration-undecorated-classes) +* [Migrating `ModuleWithProviders`](guide/migration-module-with-providers) +* [Solution-style `tsconfig.json` migration](guide/migration-solution-style-tsconfig) +* [`tslib` direct dependency migration](guide/migration-update-libraries-tslib) +* [Update `module` and `target` compiler options migration](guide/migration-update-module-and-target-compiler-options) diff --git a/aio/content/guide/updating-to-version-9.md b/aio/content/guide/updating-to-version-9.md deleted file mode 100644 index 43972a4a51..0000000000 --- a/aio/content/guide/updating-to-version-9.md +++ /dev/null @@ -1,177 +0,0 @@ -# Updating to Angular version 9 - -# 更新到 Angular 9 - -This guide contains information related to updating to version 9 of Angular. - -本指南包含关于更新到下一个 Angular 版本所需的全部知识。 - -## Updating CLI Apps - -## 更新 CLI 应用 - -For step-by-step instructions on how to update to the latest Angular release (and leverage our automated migration tools to do so), use the interactive update guide at [update.angular.io](https://update.angular.io). - -有关如何更新到最新 Angular 版本的分步说明(并利用我们的自动迁移工具进行更新),请使用 [update.angular.io](https://update.angular.io) 上的交互式更新指南。 - -If you're curious about the specific migrations being run by the CLI, see the [automated migrations section](#migrations) for details on what code is changing and why. - -如果你对 CLI 正在运行的某些迁移工作感到好奇,参见[“自动迁移”部分](#migrations)以了解关于要更改哪些代码以及更改原因的详细信息。 - -## Changes and Deprecations in Version 9 - -## 版本 9 中的更改和弃用 - -
- - For information about Angular's deprecation and removal practices, see [Angular Release Practices](guide/releases#deprecation-practices "Angular Release Practices: Deprecation practices"). - - 有关 Angular 弃用和移除实践的信息,参见 [Angular 的发布实践](guide/releases#deprecation-practices "Angular 发布惯例:弃用惯例")。 - -
- -{@a breaking-changes} -### New Breaking Changes - -### 新的重大变化 - -- Angular now compiles with Ivy by default. See the [Ivy compatibility section](#ivy). - - Angular 现在默认使用 Ivy 进行编译。参见 [Ivy 兼容性部分](#ivy)。 - -- CLI apps compile in [AOT mode](/guide/aot-compiler) by default (which includes template type-checking). -Users who only built with JIT before may see new type errors. -See our [template type-checking guide](guide/template-typecheck) for more information and debugging tips. - - CLI 应用程序默认情况下以 [AOT 模式](/guide/aot-compiler)编译(包括模板类型检查)。以前仅使用 JIT 构建的用户可能会看到新的类型错误。有关更多信息和调试提示,请参见我们的[模板类型检查指南](guide/template-typecheck)。 - -- Typescript 3.4 and 3.5 are no longer supported. Please update to Typescript 3.7. - - 不再支持 TypeScript 3.4 和 3.5。请更新至 Typescript 3.7。 - -- `tslib` is now listed as a peer dependency rather than a direct dependency. If you are not using the CLI, you must manually install `tslib`, using `yarn add tslib` or `npm install tslib --save`. - - `tslib` 现在被列为对等(peer)依赖,而不是直接依赖。如果不使用 CLI,则必须手动安装 `tslib`,使用 `yarn add tslib` 或 `npm install tslib --save`。 - -{@a deprecations} - -{@a 弃用} - -### New Deprecations - -### 新的弃用 - -| API | Replacement | Notes | -| --- | ----------- | ----- | -| API | 替代品 | 备注 | -| [`entryComponents`](api/core/NgModule#entryComponents) | none | See [`entryComponents`](guide/deprecations#entryComponents) | -| [`entryComponents`](api/core/NgModule#entryComponents) | 无 | 参见 [`entryComponents`](guide/deprecations#entryComponents) | -| [`CurrencyPipe` - `DEFAULT_CURRENCY_CODE`](api/common/CurrencyPipe#currency-code-deprecation)| `{provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}` | From v11 the default code will be extracted from the locale data given by `LOCAL_ID`, rather than `USD`. | -| [`CurrencyPipe` - `DEFAULT_CURRENCY_CODE`](api/common/CurrencyPipe#currency-code-deprecation)| `{provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}` | 从 v11 开始,默认代码将从由 `LOCAL_ID` 提供的语言环境数据中提取,而不再是固定值 `USD`。| -| [`ANALYZE_FOR_ENTRY_COMPONENTS`](api/core/ANALYZE_FOR_ENTRY_COMPONENTS) | none | See [`ANALYZE_FOR_ENTRY_COMPONENTS`](guide/deprecations#entryComponents) | -| [`ANALYZE_FOR_ENTRY_COMPONENTS`](api/core/ANALYZE_FOR_ENTRY_COMPONENTS) | 无 | 见[`ANALYZE_FOR_ENTRY_COMPONENTS`](guide/deprecations#entryComponents) | -| `ModuleWithProviders` without a generic | `ModuleWithProviders` with a generic | | -| 不带泛型的 `ModuleWithProviders` | 带泛型的 `ModuleWithProviders` | | -| Undecorated base classes that use Angular features | Base classes with `@Directive()` decorator that use Angular features | | -| 使用 Angular 特性的不带装饰器的基类 | 具有 Angular 特性的带 `@Directive()` 装饰器的基类 | | -| `esm5` and `fesm5` distribution in `@angular/*` npm packages | `esm2015` and `fesm2015` entrypoints | See [`esm5` and `fesm5`](guide/deprecations#esm5-fesm5) | -| `@angular/*` npm 软件包中的 `esm5` 和 `fesm5` 分发版 | `esm2015` 和 `fesm2015` 入口点 | 参见 [`esm5` 和 `fesm5`](guide/deprecations#esm5-fesm5) | -| [`TestBed.get`](api/core/testing/TestBed#get) | [`TestBed.inject`](api/core/testing/TestBed#inject) | Same behavior, but type safe. | -| [`TestBed.get`](api/core/testing/TestBed#get) | [`TestBed.inject`](api/core/testing/TestBed#inject) | 行为相同,但类型安全。| - -{@a removals} -### New Removals of Deprecated APIs - -### 新删除的已弃用 API - -| Package | API | Replacement | Notes | | -| ------- | --- | ----------- | ----- | --- | -| 包 | API | 替代品 | 备注 | | -| `@angular/core` | [`Renderer`](https://v8.angular.io/api/core/Renderer) | [`Renderer2`](api/core/Renderer2) | [Migration guide.](guide/migration-renderer) | | -| `@angular/core` | [`Renderer`](https://v8.angular.io/api/core/Renderer) | [`Renderer2`](api/core/Renderer2) | [迁移指南](guide/migration-renderer) | | -| `@angular/core` | [`RootRenderer`](https://v8.angular.io/api/core/RootRenderer) | [`RendererFactory2`](api/core/RendererFactory2) | none | | -| `@angular/core` | [`RootRenderer`](https://v8.angular.io/api/core/RootRenderer) | [`RendererFactory2`](api/core/RendererFactory2) | 无 | | -| `@angular/core` | [`RenderComponentType`](https://v8.angular.io/api/core/RenderComponentType) | [`RendererType2`](api/core/RendererType2) | none | | -| `@angular/core` | [`RenderComponentType`](https://v8.angular.io/api/core/RenderComponentType) | [`RendererType2`](api/core/RendererType2) | 无 | | -| `@angular/core` | [`WtfScopeFn`](https://v8.angular.io/api/core/WtfScopeFn) | none | v8 | See [Web Tracing Framework](guide/deprecations#wtf) | -| `@angular/core` | [`WtfScopeFn`](https://v8.angular.io/api/core/WtfScopeFn) | 无 | v8 | 参见 [Web 跟踪框架](guide/deprecations#wtf) | -| `@angular/core` | [`wtfCreateScope`](https://v8.angular.io/api/core/wtfCreateScope) | none | v8 | See [Web Tracing Framework](guide/deprecations#wtf) | -| `@angular/core` | [`wtfCreateScope`](https://v8.angular.io/api/core/wtfCreateScope) | 无 | v8 | 参见 [Web 跟踪框架](guide/deprecations#wtf) | -| `@angular/core` | [`wtfStartTimeRange`](https://v8.angular.io/api/core/wtfStartTimeRange) | none | v8 | See [Web Tracing Framework](guide/deprecations#wtf) | -| `@angular/core` | [`wtfStartTimeRange`](https://v8.angular.io/api/core/wtfStartTimeRange) | 无 | v8 | 参见 [Web 跟踪框架](guide/deprecations#wtf) | -| `@angular/core` | [`wtfEndTimeRange`](https://v8.angular.io/api/core/wtfEndTimeRange) | none | v8 | See [Web Tracing Framework](guide/deprecations#wtf) | -| `@angular/core` | [`wtfEndTimeRange`](https://v8.angular.io/api/core/wtfEndTimeRange) | 无 | v8 | 参见 [Web 跟踪框架](guide/deprecations#wtf) | -| `@angular/core` | [`wtfLeave`](https://v8.angular.io/api/core/wtfLeave) | none | v8 | See [Web Tracing Framework](guide/deprecations#wtf) | -| `@angular/core` | [`wtfLeave`](https://v8.angular.io/api/core/wtfLeave) | 无 | v8 | 参见 [Web 跟踪框架](guide/deprecations#wtf) | -| `@angular/common` | `DeprecatedI18NPipesModule` | [`CommonModule`](api/common/CommonModule#pipes) | none | | -| `@angular/common` | `DeprecatedI18NPipesModule` | [`CommonModule`](api/common/CommonModule#pipes) | 无 | | -| `@angular/common` | `DeprecatedCurrencyPipe` | [`CurrencyPipe`](api/common/CurrencyPipe) | none | | -| `@angular/common` | `DeprecatedCurrencyPipe` | [`CurrencyPipe`](api/common/CurrencyPipe) | 无 | | -| `@angular/common` | `DeprecatedDatePipe` | [`DatePipe`](api/common/DatePipe) | none | | -| `@angular/common` | `DeprecatedDatePipe` | [`DatePipe`](api/common/DatePipe) | 无 | | -| `@angular/common` | `DeprecatedDecimalPipe` | [`DecimalPipe`](api/common/DecimalPipe) | none | | -| `@angular/common` | `DeprecatedDecimalPipe` | [`DecimalPipe`](api/common/DecimalPipe) | 无 | | -| `@angular/common` | `DeprecatedPercentPipe` | [`PercentPipe`](api/common/PercentPipe) | none | | -| `@angular/common` | `DeprecatedPercentPipe` | [`PercentPipe`](api/common/PercentPipe) | 无 | | -| `@angular/forms` | [`NgFormSelectorWarning`](https://v8.angular.io/api/forms/NgFormSelectorWarning) | none | | | -| `@angular/forms` | [`NgFormSelectorWarning`](https://v8.angular.io/api/forms/NgFormSelectorWarning) | 无 | | | -| `@angular/forms` | `ngForm` element selector | `ng-form` element selector | none | | -| `@angular/forms` | `ngForm` 元素选择器 | `ng-form` 元素选择器 | 无 | | -| `@angular/service-worker` | `versionedFiles` | `files` | In the service worker configuration file `ngsw-config.json`, replace `versionedFiles` with `files`. See [Service Worker Configuration](guide/service-worker-config#assetgroups). | | -| `@angular/service-worker` | `versionedFiles` | `files` | 在 Service Worker 配置文件 `ngsw-config.json`,用 `files` 替换 `versionedFiles`。参见 [Service Worker 配置](guide/service-worker-config#assetgroups)。| | - -{@a ivy} - -## Ivy features and compatibility - -## Ivy 的特性与兼容性 - -In Version 9, Angular Ivy is the default rendering engine. If you haven't heard of Ivy, you can read more about it in the [Angular Ivy guide](guide/ivy). - -在版本 9 中,Angular Ivy 是默认渲染引擎。如果你还没有听说过 Ivy,则可以在 [Angular Ivy 指南](guide/ivy)中阅读有关它的更多信息。 - -* Among other features, Ivy introduces more comprehensive type-checking within templates. For details, see [Template Type-checking](guide/template-typecheck). - - 除其它功能外,Ivy 在模板中引入了更全面的类型检查。有关详细信息,请参见[模板类型检查](guide/template-typecheck)。 - -* For general guidance on debugging and a list of minor changes associated with Ivy, see the [Ivy compatibility guide](guide/ivy-compatibility). - - 关于调试的一般性指南以及与 Ivy 相关的较小更改的列表,请参见 [Ivy 兼容性指南](guide/ivy-compatibility)。 - -* For help with opting out of Ivy, see the instructions [here](guide/ivy#opting-out-of-angular-ivy). - - 有关选择性禁用 Ivy 的帮助,参见[此处](guide/ivy#opting-out-of-angular-ivy)的说明。 - -{@a migrations} -## Automated Migrations for Version 9 - -## 版本 9 的自动迁移 - -Read about the migrations the CLI handles for you automatically: - -了解 CLI 自动为你处理的迁移: - -- [Migrating from `Renderer` to `Renderer2`](guide/migration-renderer) - - [从 `Renderer` 迁移到 `Renderer2`](guide/migration-renderer) - -- [Migrating missing `@Directive()`/`@Component()` decorators](guide/migration-undecorated-classes) - - [迁移缺失的 `@Directive()` / `@Component()` 装饰器](guide/migration-undecorated-classes) - -- [Migrating missing `@Injectable()` decorators and incomplete provider definitions](guide/migration-injectable) - - [迁移缺失的 `@Injectable()` 装饰器和不完整的服务提供者定义](guide/migration-injectable) - -- [Migrating dynamic queries](guide/migration-dynamic-flag) - - [迁移动态查询](guide/migration-dynamic-flag) - -- [Migrating to the new `$localize` i18n support](guide/migration-localize) - - [迁移到新的 `$localize` i18n 支持](guide/migration-localize) - -- [Migrating `ModuleWithProviders`](guide/migration-module-with-providers) - - [迁移 `ModuleWithProviders`](guide/migration-module-with-providers) - diff --git a/aio/content/guide/using-libraries.md b/aio/content/guide/using-libraries.md index b694da7ec6..64ed393c49 100644 --- a/aio/content/guide/using-libraries.md +++ b/aio/content/guide/using-libraries.md @@ -3,7 +3,7 @@ # 使用已发布的库 When building Angular applications you can take advantage of sophisticated first-party libraries, such as [Angular Material](https://material.angular.io/), as well as rich ecosystem of third-party libraries. -See the [Angular Resources](https://angular.io/resources) page for links to the most popular ones. +See the [Angular Resources](resources) page for links to the most popular ones. 当构建 Angular 应用时,你可以从精致的第一方库,比如 [Angular Material](https://material.angular.cn/),以及丰富的第三方库生态系统中获益。参见 [Angular 资源集](/resources)页面,了解最常用的库链接。 diff --git a/aio/content/guide/workspace-config.md b/aio/content/guide/workspace-config.md index 50cc2b4602..8976debd67 100644 --- a/aio/content/guide/workspace-config.md +++ b/aio/content/guide/workspace-config.md @@ -79,6 +79,11 @@ When you create a library project with `ng generate library`, the library projec
+## Strict mode + +When you create new workspaces and projects, you have the option to use Angular's strict mode, which can help you write better, more maintainable code. +For more information, see [Strict mode](/guide/strict-mode). + ## Project configuration options ## 项目配置选项 diff --git a/aio/content/images/bios/alex-eagle.jpg b/aio/content/images/bios/alex-eagle.jpg deleted file mode 100644 index 7731672466..0000000000 Binary files a/aio/content/images/bios/alex-eagle.jpg and /dev/null differ diff --git a/aio/content/images/bios/cindygreenekaplan.jpg b/aio/content/images/bios/cindygreenekaplan.jpg new file mode 100644 index 0000000000..de3f84fb48 Binary files /dev/null and b/aio/content/images/bios/cindygreenekaplan.jpg differ diff --git a/aio/content/images/bios/filipbech.jpg b/aio/content/images/bios/filipbech.jpg deleted file mode 100755 index ef48442c55..0000000000 Binary files a/aio/content/images/bios/filipbech.jpg and /dev/null differ diff --git a/aio/content/images/bios/jeff-cross.jpg b/aio/content/images/bios/jeff-cross.jpg deleted file mode 100644 index 6a3bcebfbf..0000000000 Binary files a/aio/content/images/bios/jeff-cross.jpg and /dev/null differ diff --git a/aio/content/images/bios/vikram.jpg b/aio/content/images/bios/vikram.jpg deleted file mode 100644 index 654c9cf728..0000000000 Binary files a/aio/content/images/bios/vikram.jpg and /dev/null differ diff --git a/aio/content/images/bios/vincirufus.jpg b/aio/content/images/bios/vincirufus.jpg deleted file mode 100755 index 54224ffa85..0000000000 Binary files a/aio/content/images/bios/vincirufus.jpg and /dev/null differ diff --git a/aio/content/images/bios/wellwind.jpg b/aio/content/images/bios/wellwind.jpg new file mode 100644 index 0000000000..d24b0c5338 Binary files /dev/null and b/aio/content/images/bios/wellwind.jpg differ diff --git a/aio/content/images/guide/forms-overview/dataflow-reactive-forms-mtv.png b/aio/content/images/guide/forms-overview/dataflow-reactive-forms-mtv.png index d769f73443..bb09b2c7d3 100644 Binary files a/aio/content/images/guide/forms-overview/dataflow-reactive-forms-mtv.png and b/aio/content/images/guide/forms-overview/dataflow-reactive-forms-mtv.png differ diff --git a/aio/content/images/guide/forms-overview/dataflow-reactive-forms-vtm.png b/aio/content/images/guide/forms-overview/dataflow-reactive-forms-vtm.png index ce8ab26d49..5dbf7a2f92 100644 Binary files a/aio/content/images/guide/forms-overview/dataflow-reactive-forms-vtm.png and b/aio/content/images/guide/forms-overview/dataflow-reactive-forms-vtm.png differ diff --git a/aio/content/images/guide/forms-overview/dataflow-td-forms-mtv.png b/aio/content/images/guide/forms-overview/dataflow-td-forms-mtv.png index 8f23589e3c..ba4ac790a0 100644 Binary files a/aio/content/images/guide/forms-overview/dataflow-td-forms-mtv.png and b/aio/content/images/guide/forms-overview/dataflow-td-forms-mtv.png differ diff --git a/aio/content/images/guide/forms-overview/dataflow-td-forms-vtm.png b/aio/content/images/guide/forms-overview/dataflow-td-forms-vtm.png index df0f4ce819..c1765125a7 100644 Binary files a/aio/content/images/guide/forms-overview/dataflow-td-forms-vtm.png and b/aio/content/images/guide/forms-overview/dataflow-td-forms-vtm.png differ diff --git a/aio/content/images/guide/forms/control-state-transitions-anim.gif b/aio/content/images/guide/forms/control-state-transitions-anim.gif deleted file mode 100644 index 48ce7805af..0000000000 Binary files a/aio/content/images/guide/forms/control-state-transitions-anim.gif and /dev/null differ diff --git a/aio/content/images/guide/forms/ng-control-class-changes.png b/aio/content/images/guide/forms/ng-control-class-changes.png deleted file mode 100644 index 0cb4911389..0000000000 Binary files a/aio/content/images/guide/forms/ng-control-class-changes.png and /dev/null differ diff --git a/aio/content/marketing/contributors.json b/aio/content/marketing/contributors.json index 760b8099a3..6dfc6a29b9 100644 --- a/aio/content/marketing/contributors.json +++ b/aio/content/marketing/contributors.json @@ -44,15 +44,6 @@ "groups": ["Angular"], "lead": "juleskremer" }, - "alexeagle": { - "name": "Alex Eagle", - "picture": "alex-eagle.jpg", - "twitter": "jakeherringbone", - "website": "http://google.com/+alexeagle", - "bio": "Alex works on language tooling for JavaScript and TypeScript. Previously Alex spent five years in Google's developer testing tools. He has developed systems including Google's continuous integration service, capturing build&test failures, and explaining them to developers. Before Google, Alex worked at startups including Opower, and consulted for large government IT. In his 20% time, he created the Error-Prone static analysis tool, which detects common Java programming mistakes and reports them as compile errors.", - "groups": ["Collaborators"], - "lead": "igorminar" - }, "aikidave": { "name": "Dave Shevitz", "picture": "daveshevitz.jpg", @@ -63,7 +54,7 @@ "kyliau": { "name": "Keen Yee Liau", "groups": ["Angular"], - "lead": "alexeagle", + "lead": "igorminar", "picture": "kyliau.jpg" }, "clydin": { @@ -113,14 +104,6 @@ "groups": ["Angular"], "lead": "igorminar" }, - "vikerman": { - "name": "Vikram Subramanian", - "picture": "vikram.jpg", - "twitter": "vikerman", - "bio": "Vikram is a Software Engineer on the Angular team focused on Engineering Productivity. That means he makes sure people on the team can move fast and not break things. Vikram enjoys doing Yoga and going on walks with his daughter.", - "groups": ["Angular"], - "lead": "alexeagle" - }, "pkozlowski-opensource": { "name": "Pawel Kozlowski", "picture": "pawel.jpg", @@ -221,7 +204,7 @@ "name": "Alyssa Nicoll", "picture": "alyssa.jpg", "twitter": "alyssanicoll", - "website": "alyssa.io", + "website": "http://alyssa.io", "bio": "Alyssa is an Angular Developer Advocate for KUI and a GDE. Her two degrees (Web Design & Development and Psychology) feed her speaking career. She has spoken at over 35 conferences internationally. She is a weekly panelist on Adventures in Angular and Angular Air, which have a combined following of over 16,000 listeners. She enjoys gaming, scuba diving, and has a newborn that fondly goes by 'Mr. Milks'.", "groups": ["GDE"] }, @@ -245,7 +228,7 @@ "name": "Christoffer Noring", "picture": "chrisnoring.jpg", "twitter": "chris_noring", - "website": "softchris.github.io", + "website": "https://softchris.github.io", "bio": "Chris is a Full Stack Developer at McKinsey. A Google Developer Expert in Web Technologies and Angular. He is also a Nativescript Developer Expert. He is one of the organizers of the Angular conference ngVikings and an author of the book RxJS 5 Ultimate", "groups": ["GDE"] }, @@ -314,7 +297,7 @@ "website": "http://blog.mgechev.com", "bio": "Software engineer who enjoys theoretical computer science and its practical applications. Speaker, author of the book 'Switching to Angular', codelyzer, Guess.js, and the Go linter revive. Working for faster and more reliable software.", "groups": ["Angular"], - "lead": "alexeagle" + "lead": "stephenfluin" }, "urish": { "name": "Uri Shaked", @@ -340,14 +323,6 @@ "bio": "Sander is a versed developer with over 4 decades of practice under his belt. He is also an Google Developer Expert for web, specializing in Angular. Organizer of meetups and conferences. Helping out others wherever he can. When he is not breathing code, he is fiddling around with IOT, photography, science and anything that might vaguely is gadget-like! Thinks he a master of the grill, but in reality you probably don't get a food-poisoning ;) Also, and actually the most important thing to him, he is a father of 4, and has the most patient girlfriend in the universe.", "groups": ["GDE"] }, - "filipbech": { - "name": "Filip Bruun Bech-Larsen", - "picture": "filipbech.jpg", - "twitter": "filipbech", - "website": "http://filipbech.github.io/", - "bio": "Filip is a Frontend developer from Denmark. He works at IMPACT, delivering large-scale, high-performance e-commerce to international clients - most often build in Angular. He runs the local Angular usergroup - ngAarhus, and gives talks/workshops around and beyond the country of Denmark.", - "groups": ["GDE"] - }, "cironunes": { "name": "Ciro Nunes", "picture": "cironunes.jpg", @@ -417,14 +392,6 @@ "bio": "GDE (Google Developer Expert) Angular and Web Technologies, Women Who Code KL Director, Jecelyn specializes in professional application development with technologies, including Angular, HTML5, Typescript, JavaScript, CSS, C#, NodeJs, Cloud and ASP.NET.", "groups": ["GDE"] }, - "areai51": { - "name": "Vinci Rufus", - "picture": "vincirufus.jpg", - "twitter": "areai51", - "website": "https://developers.google.com/experts/people/vinci-rufus", - "bio": "Director of Experience Technology at SapientRazorfish. Consults various brands on their frontend and mobile web architecture. A speaker at various forums and mentor at Launchpad Accelerator and ngGirls India. Spends free time playing with Angular, Preact, web-components ", - "groups": ["GDE"] - }, "tchatel": { "name": "Thierry Chatel", "picture": "thierrychatel.jpg", @@ -537,14 +504,6 @@ "bio": "Brian is a software engineer and GDE in Angular with a passion for learning, writing, speaking, teaching and mentoring. Brian has been building web applications for over 20 years and has long been a fanboy of JavaScript. When not in front of his Macbook Pro Brian is in the Rocky Mountains skiing or hiking.", "groups": ["GDE"] }, - "jeffbcross": { - "name": "Jeff Cross", - "picture": "jeff-cross.jpg", - "twitter": "jeffbcross", - "website": "https://nrwl.io/", - "bio": "Jeff is an Angular Consultant at nrwl.io where he helps enterprise teams succeed with Angular. Prior to founding Nrwl, Jeff was one of the earliest members of the Angular Core Team at Google, and contributed to many of the early state management and performance efforts of AngularJS and Angular.", - "groups": ["GDE"] - }, "keilla": { "name": "Keilla Menezes Fernandes", "picture": "keilla.jpg", @@ -650,7 +609,7 @@ "picture": "denny.jpg", "bio": "Denny is founder of Expert Support, a professional services firm specializing in technical communication, and leads the Angular technical writing team. His lifelong passion has been to reduce the time and effort required to understand complex technical information. Early on, he was Associate Chairman of the Computer Science Department at Stanford, where he taught introductory courses in programming. He also plays old-timers baseball in local leagues and national tournaments.", "groups": ["Angular"], - "lead": "juleskremer" + "lead": "aikidave" }, "jbogarthyde": { "name": "Judy Bogart", @@ -771,7 +730,7 @@ "website": "https://github.com/dgp1130", "bio": "Doug is an overly-opinionated software developer with a passion for making awesome developer tools. He is motivated primarily by his selfish desire to make his own life easier, but loves to share his tools and workflows with others to make everyone's lives easier.", "groups": ["Angular"], - "lead": "igorminar" + "lead": "kyliau" }, "martinakraus": { "name": "Martina Kraus", @@ -840,5 +799,21 @@ "bio": "Annie is an engineering resident on the Angular Components team at Google. She is passionate about the intersection between design and technology and enjoys drawing in her free time.", "groups": ["Angular"], "lead": "jelbourn" + }, + "cindygk": { + "name": "Cindy Greene-Kaplan", + "picture": "cindygreenekaplan.jpg", + "twitter": "CindyGK2019", + "bio": "Cindy is a Program Manager on the Angular team at Google. She is passionate about improving team processes and overall execution. She enjoys dance fitness, movies and travel.", + "groups": ["Angular"], + "lead": "juleskremer" + }, + "wellwind": { + "name": "Mike Huang", + "picture": "wellwind.jpg", + "twitter": "wellwind", + "website": "https://wellwind.idv.tw/blog/", + "bio": "Mike is a full-stack developer, consultant, blogger, instructor, and conference speaker. He has over 10 years of web development experience and passion to share his knowledge.", + "groups": ["GDE"] } } diff --git a/aio/content/marketing/events.html b/aio/content/marketing/events.html index a4c82d1f0c..c528e2c7cc 100755 --- a/aio/content/marketing/events.html +++ b/aio/content/marketing/events.html @@ -13,11 +13,6 @@ - - ngVikings - Oslo, Norway - May 25-26 conference, 27 workshops, 2020 - @@ -31,6 +26,12 @@ + + + ngVikings + Oslo, Norway + May 25-26 conference, 27 workshops, 2020 + ng-conf diff --git a/aio/content/marketing/resources-contributing.md b/aio/content/marketing/resources-contributing.md index 1b5d4bd77c..fdcf7f0625 100644 --- a/aio/content/marketing/resources-contributing.md +++ b/aio/content/marketing/resources-contributing.md @@ -12,8 +12,7 @@ While we can't accept all contributions, qualifying contributions can be submitt 1. Your contribution should have a clear and concise title and description -1. Your resource should follow our brand guidelines (see our [Presskit](https://angular.io/presskit)) - +1. Your resource should follow our brand guidelines (see our [Presskit](presskit)) 1. Your resource should have significant benefit to Angular developers 1. Your resource should already have traction and praise from Angular developers diff --git a/aio/content/marketing/resources.json b/aio/content/marketing/resources.json index c6394f4759..301a0c65e0 100644 --- a/aio/content/marketing/resources.json +++ b/aio/content/marketing/resources.json @@ -7,38 +7,32 @@ "resources": { "awesome-angular-components": { "desc": "在 Github 上维护的一份组件与库的社区索引。", - "rev": true, "title": "Angular 组件与库的名录", "url": "https://github.com/brillout/awesome-angular-components" }, "angular-ru": { "desc": "Angular-RU Community on GitHub is a single entry point for all resources, chats, podcasts and meetups for Angular in Russia.", - "rev": true, "title": "Angular Conferences and Angular Camps in Moscow, Russia.", "url": "https://angular-ru.github.io/" }, "made-with-angular": { "desc": "A showcase of web apps built with Angular.", - "rev": true, "title": "Made with Angular", "url": "https://www.madewithangular.com/" }, "angular-subreddit": { "desc": "An Angular-dedicated subreddit.", - "rev": true, "title": "Angular Subreddit", "url": "https://www.reddit.com/r/Angular2/" }, - "angular-devto" : { + "angular-devto": { "desc": "Read and share content and chat about Angular on DEV Community.", "url": "https://dev.to/t/angular", - "rev": true, "title": "DEV Community" }, - "angular-in-depth" : { + "angular-in-depth": { "desc": "The place where advanced Angular concepts are explained", "url": "https://blog.angularindepth.com", - "rev": true, "title": "Angular In Depth" } } @@ -49,28 +43,24 @@ "sdfjkdkfj": { "desc": "Adventures in Angular is a weekly podcast dedicated to the Angular platform and related technologies, tools, languages, and practices.", "logo": "", - "rev": true, "title": "Adventures in Angular", "url": "https://devchat.tv/adv-in-angular/" }, "sdlkfjsldfkj": { "desc": "Weekly video podcast hosted by Jeff Whelpley with all the latest and greatest happenings in the wild world of Angular.", "logo": "", - "rev": true, "title": "AngularAir", "url": "https://angularair.com/" }, "sdlkfjsldfkz": { "desc": "A weekly German podcast for Angular on the go", "logo": "", - "rev": true, "title": "Happy Angular Podcast", "url": "https://happy-angular.de/" }, "ngruair": { "desc": "Russian language video podcast about Angular.", "logo": "", - "rev": true, "title": "NgRuAir", "url": "https://github.com/ngRuAir/ngruair" } @@ -87,21 +77,18 @@ "a3b": { "desc": "Ionic offers a library of mobile-optimized HTML, CSS and JS components and tools for building highly interactive native and progressive web apps.", "logo": "http://ionicframework.com/img/ionic-logo-white.svg", - "rev": true, "title": "Ionic", "url": "https://ionicframework.com/docs" }, "a4b": { "desc": "Electron Platform for Angular.", "logo": "", - "rev": true, "title": "Electron", "url": "https://github.com/maximegris/angular-electron" }, "ab": { "desc": "NativeScript is how you build cross-platform, native iOS and Android apps with Angular and TypeScript. Get 100% access to native APIs via JavaScript and reuse of packages from NPM, CocoaPods and Gradle. Open source and backed by Telerik.​​​", "logo": "", - "rev": true, "title": "NativeScript", "url": "https://docs.nativescript.org/angular/start/introduction" } @@ -110,55 +97,47 @@ "数据管理库": { "order": 3, "resources": { - "rx-web":{ - "desc":"RxWeb Reactive Form Validators provides all types of complex, conditional, cross field, and dynamic validation on validator-based reactive forms, model-based reactive forms, and template driven forms.", - "rev": true, + "rx-web": { + "desc": "RxWeb Reactive Form Validators provides all types of complex, conditional, cross field, and dynamic validation on validator-based reactive forms, model-based reactive forms, and template driven forms.", "title": "RxWeb Reactive Form Validators", "url": "https://www.rxweb.io" }, "-KLIzHDRfiB3d7W7vk-e": { "desc": "Reactive Extensions for Angular", - "rev": true, "title": "ngrx", "url": "https://ngrx.io/" }, "ngxs": { "desc": "NGXS is a state management pattern + library for Angular. NGXS is modeled after the CQRS pattern popularly implemented in libraries like Redux and NgRx but reduces boilerplate by using modern TypeScript features such as classes and decorators.", - "rev": true, "title": "NGXS", "url": "https://ngxs.io/" }, "akita": { "desc": "Akita is a state management pattern, built on top of RxJS, which takes the idea of multiple data stores from Flux and the immutable updates from Redux, along with the concept of streaming data, to create the Observable Data Store model.", - "rev": true, "title": "Akita", "url": "https://netbasal.gitbook.io/akita/" }, "ab": { "desc": "The official library for Firebase and Angular", "logo": "", - "rev": true, "title": "Angular Fire", "url": "https://github.com/angular/angularfire2" }, "ab2": { "desc": "Use Angular and Meteor to build full-stack JavaScript apps for Mobile and Desktop.", "logo": "http://www.angular-meteor.com/images/logo.png", - "rev": true, "title": "Meteor", "url": "https://github.com/urigo/angular-meteor" }, "ab3": { "desc": "Apollo is a data stack for modern apps, built with GraphQL.", "logo": "http://docs.apollostack.com/logo/large.png", - "rev": true, "title": "Apollo", "url": "https://www.apollographql.com/docs/angular/" }, "ngx-api-utils": { "desc": "ngx-api-utils is a lean library of utilities and helpers to quickly integrate any HTTP API (REST, Ajax, and any other) with Angular.", "logo": "", - "rev": true, "title": "ngx-api-utils", "url": "https://github.com/ngx-api-utils/ngx-api-utils" } @@ -170,33 +149,28 @@ "ab": { "desc": "VS Code is a Free, Lightweight Tool for Editing and Debugging Web Apps.", "logo": "", - "rev": true, "title": "Visual Studio Code", "url": "http://code.visualstudio.com/" }, "ab2": { "desc": "Lightweight yet powerful IDE, perfectly equipped for complex client-side development and server-side development with Node.js", "logo": "", - "rev": true, "title": "WebStorm", "url": "https://www.jetbrains.com/webstorm/" }, "ab3": { "desc": "Capable and Ergonomic Java * IDE", "logo": "", - "rev": true, "title": "IntelliJ IDEA", "url": "https://www.jetbrains.com/idea/" }, "angular-ide": { "desc": "Built first and foremost for Angular. Turnkey setup for beginners; powerful for experts.", - "rev": true, "title": "Angular IDE by Webclipse", "url": "https://www.genuitec.com/products/angular-ide" }, "amexio-canvas": { "desc": "Amexio Canvas is Drag and Drop Environment to create Fully Responsive Web and Smart Device HTML5/Angular Apps. Code will be auto generated and hot deployed by the Canvas for live testing. Out of the box 50+ Material Design Theme support. Commit your code to GitHub public or private repository.", - "rev": true, "title": "Amexio Canvas Web Based Drag and Drop IDE by MetaMagic", "url": "https://amexio.tech/" } @@ -208,53 +182,45 @@ "a1": { "desc": "A Google Chrome Dev Tools extension for debugging Angular applications.", "logo": "https://augury.angular.io/images/augury-logo.svg", - "rev": true, "title": "Augury", "url": "http://augury.angular.io/" }, "b1": { "desc": "Server-side Rendering for Angular apps.", "logo": "https://cloud.githubusercontent.com/assets/1016365/10639063/138338bc-7806-11e5-8057-d34c75f3cafc.png", - "rev": true, "title": "Angular Universal", "url": "https://angular.io/guide/universal" }, "c1": { "desc": "Lightweight development only Node.js® server", "logo": "", - "rev": true, "title": "Lite-server", "url": "https://github.com/johnpapa/lite-server" }, "cli": { "desc": "The official Angular CLI makes it easy to create and develop applications from initial commit to production deployment. It already follows our best practices right out of the box!", - "rev": true, "title": "Angular CLI", "url": "https://cli.angular.io" }, "d1": { "desc": "Static analysis for Angular projects.", "logo": "", - "rev": true, "title": "Codelyzer", "url": "https://github.com/mgechev/codelyzer" }, "f1": { "desc": "This tool generates dedicated documentation for Angular applications.", "logo": "", - "rev": true, "title": "Compodoc", "url": "https://github.com/compodoc/compodoc" }, "angular-playground": { "desc": "UI development environment for building, testing, and documenting Angular applications.", - "rev": true, "title": "Angular Playground", "url": "http://www.angularplayground.it/" }, "nx": { "desc": "Nx (Nrwl Extensions for Angular) is an open source toolkit built on top of Angular CLI to help enterprise teams develop Angular at scale.", - "rev": true, "title": "Nx", "logo": "https://nrwl.io/assets/nx-logo.png", "url": "https://nrwl.io/nx" @@ -262,14 +228,12 @@ "uijar": { "desc": "A drop in module to automatically create a living style guide based on the test you write for your components.", "logo": "", - "rev": true, "title": "UI-jar - Test Driven Style Guide Development", "url": "https://github.com/ui-jar/ui-jar" }, "protactor": { "desc": "The official end to end testing framework for Angular apps", "logo": "", - "rev": true, "title": "Protractor", "url": "https://protractor.angular.io/" } @@ -280,154 +244,130 @@ "resources": { "AngularUIToolkit": { "desc": "Angular UI Toolkit: 115 professionally maintained UI components ranging from a robust grid to charts and more. Try for free & build Angular apps faster.", - "rev": true, "title": "Angular UI Toolkit", "url": "https://www.angular-ui-tools.com" }, "SenchaforAngular": { "desc": "Build modern web apps faster with 115+ pre-built UI components. Try for free and download today.", - "rev": true, "title": "Sencha for Angular", "url": "https://www.sencha.com/products/extangular/" }, "IgniteUIforAngular": { "desc": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps.", - "rev": true, "title": "Ignite UI for Angular", "url": "https://www.infragistics.com/products/ignite-ui-angular?utm_source=angular.io&utm_medium=Referral&utm_campaign=Angular" }, "DevExtreme": { "desc": "50+ UI components including data grid, pivot grid, scheduler, charts, editors, maps and other multi-purpose controls for creating highly responsive web applications for touch devices and traditional desktops.", - "rev": true, "title": "DevExtreme", "url": "https://js.devexpress.com/Overview/Angular/" }, "234237": { "desc": "UX guidelines, HTML/CSS framework, and Angular components working together to craft exceptional experiences", - "rev": true, "title": "Clarity Design System", "url": "https://vmware.github.io/clarity/" }, "-KMVB8P4TDfht8c0L1AE": { "desc": "The Angular version of the Angular UI Bootstrap library. This library is being built from scratch in Typescript using the Bootstrap 4 CSS framework.", - "rev": true, "title": "ng-bootstrap", "url": "https://ng-bootstrap.github.io/" }, "4ab": { "desc": "Native Angular components & directives for Lightning Design System", "logo": "http://ng-lightning.github.io/ng-lightning/img/shield.svg", - "rev": true, "title": "ng-lightning", "url": "http://ng-lightning.github.io/ng-lightning/" }, "7ab": { "desc": "UI components for hybrid mobile apps with bindings for both Angular & AngularJS.", - "rev": true, "title": "Onsen UI", "url": "https://onsen.io/v2/" }, "a2b": { "desc": "PrimeNG is a collection of rich UI components for Angular", "logo": "http://www.primefaces.org/primeng/showcase/resources/images/primeng.svg", - "rev": true, "title": "Prime Faces", "url": "http://www.primefaces.org/primeng/" }, "a3b": { "desc": "A professional grade library of Angular UI components written in TypeScript that includes our Data Grid, TreeView, Charts, Editors, DropDowns, DatePickers, and many more. Features include support for AOT compilation, Tree Shaking for high-performance, localization, and accessibility.", "logo": "", - "rev": true, "title": "Kendo UI", "url": "http://www.telerik.com/kendo-angular-ui/" }, "a5b": { "desc": "High-performance UI controls with the most complete Angular support available. Wijmo’s controls are all written in TypeScript and have zero dependencies. FlexGrid control includes full declarative markup, including cell templates.", "logo": "http://wijmocdn.azureedge.net/wijmositeblob/wijmo-theme/logos/wijmo-55.png", - "rev": true, "title": "Wijmo", "url": "http://wijmo.com/products/wijmo-5/" }, "a6b": { "desc": "Material design inspired UI components for building great web apps. For mobile and desktop.", "logo": "", - "rev": true, "title": "Vaadin", "url": "https://vaadin.com/elements" }, "a7b": { "desc": "Native Angular directives for Bootstrap", "logo": "", - "rev": true, "title": "ngx-bootstrap", "url": "http://valor-software.com/ngx-bootstrap/#/" }, "ab": { "desc": "Material Design components for Angular", "logo": "", - "rev": true, "title": "Angular Material", "url": "https://material.angular.io/" }, "mcc": { "desc": "Material components made by the community", "logo": "", - "rev": true, "title": "Material Community Components", "url": "https://github.com/tiaguinho/material-community-components" }, "mosaic": { "desc": "Positive Technologies UI components based on Angular", "logo": "https://i.ibb.co/fQNPgv6/logo-png-200.png", - "rev": true, "title": "Mosaic - Angular UI Components", "url": "https://github.com/positive-js/mosaic" }, "ngzorro": { "desc": "A set of enterprise-class UI components based on Ant Design and Angular", - "rev": true, "title": "Ant Design of Angular (ng-zorro-antd)", "url": "https://ng.ant.design/docs/introduce/en" }, "ngzorromobile": { "desc": "A set of enterprise-class mobile UI components based on Ant Design Mobile and Angular", - "rev": true, "title": "Ant Design Mobile of Angular (ng-zorro-antd-mobile)", "url": "http://ng.mobile.ant.design/#/docs/introduce/en" }, "aggrid": { "desc": "A datagrid for Angular with enterprise style features such as sorting, filtering, custom rendering, editing, grouping, aggregation and pivoting.", - "rev": true, "title": "ag-Grid", "url": "https://www.ag-grid.com/best-angular-2-data-grid/" }, "angular-slickgrid": { "desc": "Angular-SlickGrid is a wrapper of the lightning fast & customizable SlickGrid datagrid library with Bootstrap 3,4 themes", - "rev": true, "title": "Angular-Slickgrid", "url": "https://github.com/ghiscoding/Angular-Slickgrid" }, "fancygrid": { "desc": "Angular grid library with charts integration and server communication for Enterprise.", - "rev": true, "title": "FancyGrid", "url": "https://fancygrid.com/docs/getting-started/angular" }, "ngx-smart-modal": { "desc": "Angular smart, light and fast modal handler to manage modals and data everywhere.", - "rev": true, "title": "ngx-smart-modal", "url": "https://biig-io.github.io/ngx-smart-modal" }, "jqwidgets": { "desc": "Angular UI Components including data grid, tree grid, pivot grid, scheduler, charts, editors and other multi-purpose components", - "rev": true, "title": "jQWidgets", "url": "https://www.jqwidgets.com/angular/" }, "amexio": { "desc": "Amexio is a rich set of Angular components powered by HTML5 & CSS3 for Responsive Web Design and 80+ built-in Material Design Themes. Amexio has 3 Editions, Standard, Enterprise and Creative. Std Edition consists of basic UI Components which include Grid, Tabs, Form Inputs and so on. While Enterprise Edition consists of components like Calendar, Tree Tabs, Social Media Logins (Facebook, GitHub, Twitter and so on) and Creative Edition is focused building elegant and beautiful websites. With more than 200+ components/features. All the editions are open-sourced and free, based on Apache 2 License.", - "rev": true, "title": "Amexio - Angular Extensions", "url": "http://www.amexio.tech/", "logo": "http://www.amexio.org/amexio-logo.png" @@ -435,7 +375,6 @@ "bm": { "desc": "A lightweight Material Design library for Angular, based upon Google's Material Components for the Web", "logo": "https://blox.src.zone/assets/bloxmaterial.03ecfe4fa0147a781487749dc1cc4580.svg", - "rev": true, "title": "Blox Material", "url": "https://github.com/src-zone/material" }, @@ -447,50 +386,42 @@ }, "essentialjs2": { "desc": "Essential JS 2 for Angular is a collection modern TypeScript based true Angular Components. It has support for Ahead Of Time (AOT) compilation and Tree-Shaking. All the components are developed from the ground up to be lightweight, responsive, modular and touch friendly.", - "rev": true, "title": "Essential JS 2", "url": "https://www.syncfusion.com/products/angular-js2" }, "trulyui": { "desc": "TrulyUI is an Angular UI Framework especially developed for Desktop Applications based on Web Components using the greatest technologies of the world.", - "rev": true, "title": "Truly UI", "url": "http://truly-ui.com" }, "ngsqui": { "desc": "Simple Quality UI (SQ-UI) is a flexible and easily customizable UI-kit, aiming to provide maximum efficiency with as little overhead as possible. Driven by the idea that it should be strictly \"for developers by developers\", every new feature release includes functionalities demanded by the developers who are using it.", "logo": "https://sq-ui.github.io/ng-sq-ui/_media/sq-ui-logo.png", - "rev": true, "title": "Simple Quality UI", "url": "https://sq-ui.github.io/ng-sq-ui/#/" }, "smart": { "desc": "Web Components for Angular. Dependency-free Angular components for building modern and mobile-friendly web apps", - "rev": true, "title": "Smart Web Components", "url": "https://www.htmlelements.com/angular/" }, "AlyleUI": { "desc": "Minimal Design, a set of components for Angular.", - "rev": true, "title": "Alyle UI", "url": "https://alyle-ui.firebaseapp.com/" }, "nebular": { "desc": "Theme System, UI Components, Auth and Security for your next Angular application.", - "rev": true, "title": "Nebular", "url": "https://akveo.github.io/nebular/" }, "carbondesignsystem": { "desc": "An Angular implementation of the Carbon Design System for IBM.", - "rev": true, "title": "Carbon Components Angular", "url": "https://angular.carbondesignsystem.com/" }, "jigsaw": { "desc": "Jigsaw provides a set of web components based on Angular. It is supporting the development of all applications of Big Data Product of ZTE (https://www.zte.com.cn).", - "rev": true, "title": "Awade Jigsaw (Chinese)", "url": "https://jigsaw-zte.gitee.io" } @@ -506,76 +437,64 @@ "resources": { "-KLIzGEp8Mh5W-FkiQnL": { "desc": "Your quick, no-nonsense guide to building real-world apps with Angular", - "rev": true, "title": "Learning Angular - Second Edition", "url": "https://www.packtpub.com/web-development/learning-angular-second-edition" }, "3ab": { "desc": "More than 15 books from O'Reilly about Angular", - "rev": true, "title": "O'Reilly Media", "url": "https://ssearch.oreilly.com/?q=angular" }, "a5b": { "desc": "The in-depth, complete, and up-to-date book on Angular. Become an Angular expert today.", - "rev": true, "title": "ng-book", "url": "https://www.ng-book.com/2/" }, "a7b": { "desc": "This ebook will help you getting the philosophy of the framework: what comes from 1.x, what has been introduced and why", - "rev": true, "title": "Becoming a Ninja with Angular", "url": "https://books.ninja-squad.com/angular" }, "ab": { "desc": "More than 10 books from Packt Publishing about Angular", - "rev": true, "title": "Packt Publishing", "url": "https://www.packtpub.com/catalogsearch/result/?q=angular" }, "cnoring-rxjs-fundamentals": { "desc": "A free book that covers all facets of working with Rxjs from your first Observable to how to make your code run at optimal speed with Schedulers.", - "rev": true, "title": "RxJS Ultimate", "url": "https://chrisnoring.gitbooks.io/rxjs-5-ultimate/content/" }, "vsavkin-angular-router": { "desc": "This book is a comprehensive guide to the Angular router written by its designer. The book explores the library in depth, including the mental model, design constraints, subtleties of the API.", - "rev": true, "title": "Angular Router", "url": "https://leanpub.com/router" }, "vsavkin-essential-angular": { "desc": "The book is a short, but at the same time, fairly complete overview of the key aspects of Angular written by its core contributors Victor Savkin and Jeff Cross. The book will give you a strong foundation. It will help you put all the concepts into right places. So you will get a good understanding of why the framework is the way it is.", - "rev": true, "title": "Essential Angular", "url": "https://gumroad.com/l/essential_angular" }, "angular-buch": { "desc": "The first German book about Angular. It gives you a detailed practical overview of the key concepts of the platform. In each chapter a sample application is built upon with a new Angular topic. All sources are available on GitHub.", "logo": "https://angular-buch.com/assets/img/brand.svg", - "rev": true, "title": "Angular-Buch (German)", "url": "https://angular-buch.com/" }, "wishtack-guide-angular": { "desc": "The free, open-source and up-to-date Angular guide. This pragmatic guide is focused on best practices and will drive you from scratch to cloud.", "logo": "https://raw.githubusercontent.com/wishtack/gitbook-guide-angular/master/.gitbook/assets/wishtack-logo-with-text.png", - "rev": true, "title": "The Angular Guide by Wishtack (Français)", "url": "https://guide-angular.wishtack.io/" }, "ab5": { "desc": "How to build Angular applications using NGRX", "logo": "", - "rev": true, "title": "Architecting Angular Applications with NGRX", "url": "https://www.packtpub.com/web-development/architecting-angular-applications-redux" }, "dwa": { "desc": "Practical journey with Angular framework, ES6, TypeScript, webpack and Angular CLI.", - "rev": true, "title": "Developing with Angular", "url": "https://leanpub.com/developing-with-angular" } @@ -586,32 +505,27 @@ "resources": { "angular-dyma": { "desc": "Learn Angular and all its ecosystem (Material, Flex-layout, Ngrx and more) from scratch.", - "rev": true, "title": "Dyma (French)", "url": "https://dyma.fr/angular" }, "-KLIBoTWXMiBcvG0dAM6": { "desc": "This course introduces you to the essentials of this \"superheroic\" framework, including declarative templates, two-way data binding, and dependency injection.", - "rev": true, "title": "Angular: Essential Training", "url": "https://www.lynda.com/AngularJS-tutorials/Angular-2-Essential-Training/540347-2.html" }, "-KLIzGq3CiFeoZUemVyE": { "desc": "Learn the core concepts, play with the code, become a competent Angular developer", - "rev": true, "title": "Angular Concepts, Code and Collective Wisdom", "url": "https://www.udemy.com/angular-2-concepts-code-and-collective-wisdom/" }, "-KLIzHwg-glQLXni1hvL": { "desc": "Spanish language Angular articles and information", - "rev": true, "title": "Academia Binaria (español)", "url": "http://academia-binaria.com/" }, "-KN3uNQvxifu26D6WKJW": { "category": "Education", "desc": "Create the future of web applications by taking Angular for a test drive.", - "rev": true, "subcategory": "Online Training", "title": "CodeSchool: Accelerating Through Angular", "url": "https://www.codeschool.com/courses/accelerating-through-angular-2" @@ -619,96 +533,81 @@ "angular-playbook": { "desc": "Learn advanced Angular best practices for enterprise teams, created by Nrwl.io.", "logo": "https://nrwl.io/assets/logo_footer_2x.png", - "rev": true, "title": "Angular Enterprise Playbook", "url": "https://angularplaybook.com" }, "a2b": { "desc": "Hundreds of Angular courses for all skill levels", "logo": "", - "rev": true, "title": "Pluralsight", "url": "https://www.pluralsight.com/paths/angular" }, "ab3": { "desc": "Angular courses hosted by Udemy", "logo": "", - "rev": true, "title": "Udemy", "url": "https://www.udemy.com/courses/search/?q=angular" }, "ab4": { "desc": "Angular Fundamentals and advanced topics focused on Redux Style Angular Applications", "logo": "", - "rev": true, "title": "Egghead.io", "url": "https://egghead.io/browse/frameworks/angular" }, "ab5": { "desc": "Build Web Apps with Angular - recorded video content", "logo": "", - "rev": true, "title": "Frontend Masters", "url": "https://frontendmasters.com/courses/angular-core/" }, "angular-love": { "desc": "Polish language Angular articles and information", - "rev": true, "title": "angular.love (Polski)", "url": "http://www.angular.love/" }, "learn-angular-fr": { "desc": "French language Angular content.", - "rev": true, "title": "Learn Angular (francais)", "url": "http://www.learn-angular.fr/" }, "upgrading-ajs": { "desc": "The world's most comprehensive, step-by-step course on using best practices and avoiding pitfalls while migrating from AngularJS to Angular.", - "rev": true, "title": "Upgrading AngularJS", "url": "https://www.upgradingangularjs.com" }, "toddmotto-ultimateangular": { "desc": "Online courses providing in-depth coverage of the Angular ecosystem, AngularJS, Angular and TypeScript, with functional code samples and a full-featured seed environment. Get a deep understanding of Angular and TypeScript from foundation to functional application, then move on to advanced topics with Todd Motto and collaborators.", - "rev": true, "title": "Ultimate Angular", "url": "https://ultimateangular.com/" }, "willh-angular-zero": { "desc": "Online video course in Chinese for newbies who need to learning from the scratch in Chinese. It's covering Angular, Angular CLI, TypeScript, VSCode, and some must known knowledge of Angular development.", - "rev": true, "title": "Angular in Action: Start From Scratch (正體中文)", "url": "https://www.udemy.com/angular-zero/?couponCode=ANGULAR.IO" }, "angular-firebase": { "desc": "Video lessons covering progressive web apps with Angular, Firebase, RxJS, and related APIs.", - "rev": true, "title": "AngularFirebase.com", "url": "https://angularfirebase.com/" }, "loiane-angulartraining": { "desc": "Free Angular course in Portuguese.", - "rev": true, "title": "Loiane Training (Português)", "url": "https://loiane.training/course/angular/" }, "web-dev-angular": { "desc": "Build performant and progressive Angular applications.", - "rev": true, "title": "web.dev/angular", "url": "https://web.dev/angular" }, "mdb-angular-boilerplate": { "desc": "Angular CRUD application starter with NgRx state management, Firebase backend and installation guide.", - "rev": true, "title": "MDB Angular Boilerplate", "url": "https://github.com/mdbootstrap/Angular-Bootstrap-Boilerplate" }, "dotnettricks": { "desc": "Online videos and training for Angular.", "logo": "", - "rev": true, "title": "DotNetTricks", "url": "https://www.dotnettricks.com/courses/angular" } @@ -719,127 +618,107 @@ "resources": { "webucator": { "desc": "Customized in-person instructor-led Angular training for private groups and public online instructor-led Angular classes.", - "rev": true, "title": "Webucator", "url": "https://www.webucator.com/webdev-training/angular-training" }, "-acceleb": { "desc": "Customized, Instructor-Led Angular Training", - "rev": true, "title": "Accelebrate", "url": "https://www.accelebrate.com/angular-training" }, "-KLIBoFWStce29UCwkvY": { "desc": "Private Angular Training and Mentoring", - "rev": true, "title": "Chariot Solutions", "url": "http://chariotsolutions.com/course/angular2-workshop-fundamentals-architecture/" }, "-KLIBoN0p9be3kwC6-ga": { "desc": "Angular Academy is a two day hands-on public course given in-person across Canada!", - "rev": true, "title": "Angular Academy (Canada)", "url": "http://www.angularacademy.ca" }, "at": { "desc": "Angular Training teaches Angular on-site all over the world. Also provides consulting and mentoring.", - "rev": true, "title": "Angular Training", "url": "http://www.angulartraining.com" }, "-KLIBo_lm-WrK1Sjtt-2": { "desc": "Basic and Advanced training across Europe in German", - "rev": true, "title": "TheCodeCampus (German)", "url": "https://www.thecodecampus.de/schulungen/angular" }, "-KLIzFhfGKi1xttqJ7Uh": { "desc": "4 day in-depth Angular training in Israel", - "rev": true, "title": "ng-course (Israel)", "url": "http://ng-course.org/" }, "-KLIzIcRoDq3TzCJWnYc": { "desc": "Virtual and in-person training in Canada and the US", - "rev": true, "title": "Web Age Solutions", "url": "http://www.webagesolutions.com/courses/WA2533-angular-2-programming" }, "500tech": { "desc": "Learn from 500Tech, an Angular consultancy in Israel. This course was built by an expert developer, who lives and breathes Angular, and has practical experience with real world large scale Angular apps.", - "rev": true, "title": "Angular Hands-on Course (Israel)", "url": "http://angular2.courses.500tech.com/" }, "9ab": { "desc": "OnSite Training From the Authors of \"Become A Ninja with Angular\"", - "rev": true, "title": "Ninja Squad", "url": "http://ninja-squad.com/formations/formation-angular2" }, "a2b": { "desc": "Angular Boot Camp covers introductory through advanced Angular topics. It includes extensive workshop sessions, with hands-on help from our experienced developer-trainers. We take developers or teams from the beginnings of Angular understanding through a working knowledge of all essential Angular features.", "logo": "https://angularbootcamp.com/images/angular-boot-camp-logo.svg", - "rev": true, "title": "Angular Boot Camp", "url": "https://angularbootcamp.com" }, "ab3": { "desc": "Trainings & Code Reviews. We help people to get a deep understanding of different technologies through trainings and code reviews. Our services can be arranged online, making it possible to join in from anywhere in the world, or on-site to get the best experience possible.", "logo": "", - "rev": true, "title": "Thoughtram", "url": "http://thoughtram.io/" }, "jsru": { "desc": "Complete Angular online course. Constantly updating. Real-time webinars with immediate feedback from the teacher.", "logo": "https://learn.javascript.ru/img/sitetoolbar__logo_ru.svg", - "rev": true, "title": "Learn Javascript (Russian)", "url": "https://learn.javascript.ru/courses/angular" }, "zenika-angular": { "desc": "Angular trainings delivered by Zenika (FRANCE)", - "rev": true, "title": "Angular Trainings (French)", "url": "https://training.zenika.com/fr/training/angular/description" }, "formationjs": { "desc": "Angular onsite training in Paris (France). Monthly Angular workshops and custom onsite classes. We are focused on Angular, so we are always up to date.", - "rev": true, "title": "Formation JavaScript (French)", "url": "https://formationjavascript.com/formation-angular/" }, "humancoders-angular": { "desc": "Angular trainings delivered by Human Coders (France)", - "rev": true, "title": "Formation Angular (French)", "url": "https://www.humancoders.com/formations/angular" }, "wao": { "desc": "Onsite Angular Training delivered by We Are One Sàrl in Switzerland", "logo": "https://weareone.ch/wordpress/wao-content/uploads/2014/12/logo_200_2x.png", - "rev": true, "title": "We Are One Sàrl", "url": "https://weareone.ch/courses/angular/" }, "angular-schule": { "desc": "Angular onsite training and public workshops in Germany from the authors of the German Angular book. We also regularly post articles and videos on our blog (in English and German language).", "logo": "https://angular.schule/assets/img/brand.svg", - "rev": true, "title": "Angular.Schule (German)", "url": "https://angular.schule/" }, "strbrw": { "desc": "Angular and RxJS trainings, Code Reviews and consultancy. We help software engineers all over the world to create better web-applications...", - "rev": true, "title": "StrongBrew", "url": "https://strongbrew.io/" }, "angular.de": { "desc": "Onsite Angular Training delivered by the greatest community in the german speaking area in Germany, Austria and Switzerland. We also regularly post articles and tutorials on our blog.", "logo": "https://angular.de/assets/img/angular-de-logo.svg", - "rev": true, "title": "Angular.de (German)", "url": "https://angular.de/" } diff --git a/aio/content/navigation.json b/aio/content/navigation.json index 6f1caeea11..a26d4d2b55 100644 --- a/aio/content/navigation.json +++ b/aio/content/navigation.json @@ -221,8 +221,8 @@ }, { "url": "guide/lifecycle-hooks", - "title": "生命周期钩子", - "tooltip": "Angular 调用指令和组件的生命周期钩子函数,包括它的创建、变更和销毁时。" + "title": "挂钩进组件的生命周期", + "tooltip": "Angular 会在创建、修改、删除指令和组件时,调用其生命周期钩子方法。" }, { "url": "guide/component-interaction", @@ -260,11 +260,6 @@ "title": "响应式表单", "tooltip": "使用 FormBuilder、表单组和表单数组创建响应式表单。" }, - { - "url": "guide/forms", - "title": "模板驱动表单", - "tooltip": "使用指令和 Angular 模板语法创建模板驱动表单。" - }, { "url": "guide/form-validation", "title": "验证表单输入", @@ -563,6 +558,11 @@ "url": "guide/creating-libraries", "title": "创建库", "tooltip": "通过创建、发布和使用你自己的库来扩展 Angular。" + }, + { + "url": "guide/lightweight-injection-tokens", + "title": "供库使用的轻量级注入令牌", + "tooltip": "使用轻量级注入令牌来设计库中的服务,以优化客户端应用的大小。" } ] }, @@ -591,11 +591,6 @@ "url": "guide/cli-builder", "title": "CLI 构建器", "tooltip": "使用构建器定制 Angular CLI。" - }, - { - "url": "guide/web-worker", - "title": "Angular 中的 Web Worker", - "tooltip": "利用 Web Worker 实现后台处理。" } ] }, @@ -634,11 +629,6 @@ "title": "构建与运行", "tooltip": "构建应用及为应用启动开发服务器。" }, - { - "url": "guide/bazel", - "title": "使用 Bazel 进行构建", - "tooltip": "如何配置你的环境,以利用 Bazel 进行构建和测试。" - }, { "url": "guide/testing", "title": "测试", @@ -696,6 +686,11 @@ "url": "guide/browser-support", "title": "浏览器支持", "tooltip": "浏览器支持与腻子脚本指南。" + }, + { + "url": "guide/strict-mode", + "title": "Strict mode", + "tooltip": "Reference documentation for Angular's strict mode." } ] }, @@ -760,6 +755,11 @@ "url": "guide/router-tutorial", "title": "在单页面应用中使用 Angular 路由", "tooltip": "一个与 Angular 路由有关的、涵盖很多模式的教程。" + }, + { + "url": "guide/forms", + "title": "构建模板驱动表单", + "tooltip": "使用指令和 Angular 模板语法来创建模板驱动表单。" } ] }, @@ -778,13 +778,13 @@ "tooltip": "Angular 的版本、发布、支持、弃用策略及实践。" }, { - "title": "升级到 Angular 9", - "tooltip": "支持把你的应用从 8 升级到 9.", + "title": "升级到 Angular 10", + "tooltip": "支持把你的应用从 9 升级到 10。", "children": [ { - "url": "guide/updating-to-version-9", + "url": "guide/updating-to-version-10", "title": "概览", - "tooltip": "当把应用从 8 升到 9 时你需要知道的一切。" + "tooltip": "当把应用从 9 升到 10 时你需要知道的一切。" }, { "url": "guide/ivy-compatibility", @@ -793,28 +793,8 @@ }, { "title": "可选的迁移工作", - "tooltip": "升级到 Angular 9 时一些可选的迁移工作。", + "tooltip": "升级到 Angular 10 时一些可选的迁移工作。", "children": [ - { - "url": "guide/migration-renderer", - "title": "Renderer 迁移到 Renderer2", - "tooltip": "把已弃用的 Renderer API 迁移到新的 Renderer2 API。" - }, - { - "url": "guide/migration-dynamic-flag", - "title": "动态查询标志", - "tooltip": "从 @ViewChild 和 @ContentChild 查询中移除不必要的 `static: false` 标志。" - }, - { - "url": "guide/migration-injectable", - "title": "缺少 @Injectable() 装饰器", - "tooltip": "添加缺失的 @Injectable() 装饰器和不完整的服务提供者定义。" - }, - { - "url": "guide/migration-localize", - "title": "$localize 全局导入", - "tooltip": "把针对 @angular/localize 的导入语句添加到 polyfills.ts 中" - }, { "url": "guide/migration-module-with-providers", "title": "缺少 ModuleWithProviders 泛型", @@ -824,6 +804,26 @@ "url": "guide/migration-undecorated-classes", "title": "缺少 @Directive() 装饰器", "tooltip": "添加缺失的 @Directive()/@Component() 装饰器。" + }, + { + "url": "guide/migration-injectable", + "title": "缺少 @Injectable() 装饰器", + "tooltip": "添加缺失的 @Injectable() 装饰器,补齐不完整的服务提供者定义。" + }, + { + "url": "guide/migration-solution-style-tsconfig", + "title": "解决方案型的 `tsconfig.json`", + "tooltip": "创建解决方案型的 `tsconfig.json`." + }, + { + "url": "guide/migration-update-libraries-tslib", + "title": "`tslib` 直接依赖", + "tooltip": "直接依赖 `tslib` npm 包。" + }, + { + "url": "guide/migration-update-module-and-target-compiler-options", + "title": "`module` 和 `target` 编译器选项", + "tooltip": "修改 `module` 和 `target` 编译器选项。" } ] } @@ -1061,6 +1061,10 @@ } ], "docVersions": [ + { + "title": "v9", + "url": "https://v9.angular.io/" + }, { "title": "v8", "url": "https://v8.angular.io/" diff --git a/aio/content/start/start-deployment.md b/aio/content/start/start-deployment.md index aa26c05b1c..40ce017ad4 100644 --- a/aio/content/start/start-deployment.md +++ b/aio/content/start/start-deployment.md @@ -180,9 +180,9 @@ Angular 还提供了更多功能,不过你现在已经有了基础,可以让 [Angular Protractor](https://protractor.angular.io/ "Angular Protractor 网站") 为 Angular 应用提供了一个端到端的测试框架。 -* Angular also has an extensive [network of 3rd-party tools and libraries](https://angular.io/resources "Angular resources list"). +* Angular also has an extensive [network of 3rd-party tools and libraries](resources "Angular resources list"). - Angular 还拥有广泛的[第三方工具和库](https://angular.cn/resources "Angular 资源列表")互助网。 + Angular 还拥有广泛的[第三方工具和库](resources "Angular 资源列表")互助网。 Keep current by following the [Angular blog](https://blog.angular.io/ "Angular blog"). diff --git a/aio/content/tutorial/toh-pt0.md b/aio/content/tutorial/toh-pt0.md index 8e648e921c..871df2cd00 100644 --- a/aio/content/tutorial/toh-pt0.md +++ b/aio/content/tutorial/toh-pt0.md @@ -27,6 +27,14 @@ In this part of the tutorial, you'll do the following: 修改此应用。 +
+ + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,请参见。 + +
+ ## Set up your environment ## 搭建开发环境 @@ -218,11 +226,6 @@ Open `src/styles.css` and add the code below to the file. ## 查看最终代码 -The source code for this tutorial and the complete _Tour of Heroes_ global styles -are available in the . - -本教程的源文件以及*英雄指南*的完整全局样式可以在 中看到。 - Here are the code files discussed on this page. 下面是本页所提到的源代码: diff --git a/aio/content/tutorial/toh-pt1.md b/aio/content/tutorial/toh-pt1.md index 5465709aa6..41ebc03f84 100644 --- a/aio/content/tutorial/toh-pt1.md +++ b/aio/content/tutorial/toh-pt1.md @@ -9,6 +9,14 @@ and place that component in the application shell. 应用程序现在有了基本的标题。 接下来你要创建一个新的组件来显示英雄信息并且把这个组件放到应用程序的外壳里去。 +
+ + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,参见。 + +
+ ## Create the heroes component ## 创建英雄列表组件 @@ -344,11 +352,9 @@ Note that `AppModule` declares both application components, `AppComponent` and ## Final code review -## 查看最终代码 - Your app should look like this . Here are the code files discussed on this page. -应用跑起来应该是这样的:。本页中所提及的代码如下: +应用跑起来应该是这样的:。本页涉及的代码如下: diff --git a/aio/content/tutorial/toh-pt2.md b/aio/content/tutorial/toh-pt2.md index 7d49a75e88..cb84568cfd 100644 --- a/aio/content/tutorial/toh-pt2.md +++ b/aio/content/tutorial/toh-pt2.md @@ -8,6 +8,15 @@ allow users to select a hero and display the hero's details. 本页中,你将扩展《英雄指南》应用,让它显示一个英雄列表, 并允许用户选择一个英雄,查看该英雄的详细信息。 +
+ + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,参见。 + +
+ + ## Create mock heroes ## 创建模拟(mock)的英雄数据 @@ -374,10 +383,6 @@ The finished `
  • ` looks like this: ## 查看最终代码 -Your app should look like this . - -你的应用现在变成了这样:。 - Here are the code files discussed on this page, including the `HeroesComponent` styles. 下面是本页面中所提及的代码文件,包括 `HeroesComponent` 的样式。 diff --git a/aio/content/tutorial/toh-pt3.md b/aio/content/tutorial/toh-pt3.md index 984453c7aa..1e4ecbe7d3 100644 --- a/aio/content/tutorial/toh-pt3.md +++ b/aio/content/tutorial/toh-pt3.md @@ -22,6 +22,14 @@ The `HeroDetailComponent` will present details of a selected hero. `HeroesComponent` 将仅仅用来表示英雄列表。 `HeroDetailComponent` 将用来表示所选英雄的详情。 +
    + + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,参见。 + +
    + ## Make the `HeroDetailComponent` ## 制作 `HeroDetailComponent` @@ -240,9 +248,9 @@ without touching the parent `HeroesComponent`. ## 查看最终代码 -Here are the code files discussed on this page and your app should look like this . +Here are the code files discussed on this page. -你的应用应该变成了这样 。本页所提及的代码文件如下: +本页讨论的代码文件如下。 diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index 35d11a4a41..f3dffc7fb9 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -11,6 +11,15 @@ It will also be easier to unit-test with a mock service. 本节课的重构完成之后,`HeroesComponent` 变得更精简,并且聚焦于为它的视图提供支持。这也让它更容易使用模拟服务进行单元测试。 +
    + + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,参见。 + +
    + + ## Why services ## 为什么需要服务 @@ -216,11 +225,11 @@ sets the `heroService` parameter to the singleton instance of `HeroService`. ### Add `getHeroes()` -### 添加 _getHeroes()_ +### 添加 `getHeroes()` -Create a function to retrieve the heroes from the service. +Create a method to retrieve the heroes from the service. -创建一个函数,以从服务中获取这些英雄数据。 +创建一个方法,以从服务中获取这些英雄数据。 @@ -627,9 +636,9 @@ the selection. Use the "clear" button to clear the message history. ## 查看最终代码 -Here are the code files discussed on this page and your app should look like this . +Here are the code files discussed on this page. -你的应用应该变成了这样 。本页所提及的代码文件如下: +本页讨论的代码文件如下。 diff --git a/aio/content/tutorial/toh-pt5.md b/aio/content/tutorial/toh-pt5.md index ee5d4ec1d4..bc29199f52 100644 --- a/aio/content/tutorial/toh-pt5.md +++ b/aio/content/tutorial/toh-pt5.md @@ -22,6 +22,14 @@ There are new requirements for the Tour of Heroes app: 在邮件中点击一个*深链接*,会直接打开一个特定英雄的详情视图。 +
    + + For the sample app that this page describes, see the . + + 要查看本页所讲的范例程序,参见。 + +
    + When you’re done, users will be able to navigate the app like this: 完成时,用户就能像这样在应用中导航: @@ -774,9 +782,9 @@ from heroes list to the mini detail to the hero details and back to the heroes a ## 查看最终代码 -Here are the code files discussed on this page and your app should look like this . +Here are the code files discussed on this page. -你的应用应该变成了这样 。本页所提及的代码文件如下: +本页讨论的代码文件如下。 {@a approutingmodule} diff --git a/aio/content/tutorial/toh-pt6.md b/aio/content/tutorial/toh-pt6.md index 350a61e42d..a04908d8ae 100644 --- a/aio/content/tutorial/toh-pt6.md +++ b/aio/content/tutorial/toh-pt6.md @@ -19,10 +19,13 @@ Angular's `HttpClient`. 用户可以根据名字搜索英雄。 -When you're done with this page, the app should look like this . +
    -当你完成这一章时,应用会变成这样:。 + For the sample app that this page describes, see the . + 要查看本页所讲的范例程序,参见。 + +
    ## Enable HTTP services ## 启用 HTTP 服务 @@ -121,7 +124,8 @@ Replace the default contents of `in-memory-data.service.ts` with the following: -The `in-memory-data.service.ts` file replaces `mock-heroes.ts`, which is now safe to delete. +The `in-memory-data.service.ts` file will take over the function of `mock-heroes.ts`. +However, don't delete `mock-heroes.ts` yet, as you still need it for a few more steps of this tutorial. `in-memory-data.service.ts` 文件已代替了 `mock-heroes.ts` 文件,现在后者可以安全的删除了。 @@ -855,10 +859,6 @@ If you enter characters that match any existing hero names, you'll see something ## 查看最终代码 -Your app should look like this . - -你的应用现在变成了这样:。 - Here are the code files discussed on this page (all in the `src/app/` folder). 本文讨论过的代码文件如下(都位于 `src/app/` 文件夹中)。 diff --git a/aio/firebase.json b/aio/firebase.json index 636399a450..5a8970eef8 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -1,5 +1,6 @@ { "hosting": { + "target": "aio", "public": "dist", "cleanUrls": true, "redirects": [ @@ -18,6 +19,7 @@ {"type": 301, "source": "/docs/*/latest/quickstart.html", "destination": "/start"}, {"type": 301, "source": "/docs/*/latest/guide/server-communication.html", "destination": "/guide/http"}, {"type": 301, "source": "/docs/*/latest/guide/style-guide.html", "destination": "/guide/styleguide"}, + {"type": 301, "source": "/guide/bazel", "destination": "https://github.com/angular/angular/blob/master/packages/bazel/src/schematics/README.md"}, {"type": 301, "source": "/guide/cli-quickstart", "destination": "/start"}, {"type": 301, "source": "/guide/service-worker-getstart", "destination": "/guide/service-worker-getting-started"}, {"type": 301, "source": "/guide/service-worker-comm", "destination": "/guide/service-worker-communications"}, @@ -121,7 +123,12 @@ // Strip off the `.html` extension, because Firebase will not do this automatically any more // (unless the new URL points to an existing file, which is not necessarily the case here). {"type": 301, "source": "/:somePath*/:file.html", "destination": "/:somePath*/:file"}, - {"type": 301, "source": "/:topLevelFile.html", "destination": "/:topLevelFile"} + {"type": 301, "source": "/:topLevelFile.html", "destination": "/:topLevelFile"}, + + // The below paths are referenced in users projects generated by the CLI + {"type": 301, "source": "/config/tsconfig", "destination": "/guide/typescript-configuration"}, + {"type": 301, "source": "/config/solution-tsconfig", "destination": "https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#solution-style-tsconfig"}, + {"type": 301, "source": "/config/app-package-json", "destination": "https://webpack.js.org/configuration/optimization/#optimizationsideeffects"} ], "rewrites": [ { diff --git a/aio/ngsw-config.json b/aio/ngsw-config.json index ebb8816ccc..c3977373aa 100644 --- a/aio/ngsw-config.json +++ b/aio/ngsw-config.json @@ -94,6 +94,7 @@ "!/api/testing/**", "!/docs/?*", "!/docs/*/**", + "!/guide/bazel", "!/guide/change-log", "!/getting-started", "!/getting-started.html", @@ -146,6 +147,7 @@ "!/styleguide", "!/styleguide/**", "!/testing", - "!/testing/**" + "!/testing/**", + "!/config/**" ] } diff --git a/aio/package.json b/aio/package.json index b612f45486..3618797d02 100644 --- a/aio/package.json +++ b/aio/package.json @@ -24,7 +24,7 @@ "build-local-with-viewengine": "yarn ~~build", "prebuild-local-with-viewengine-ci": "node scripts/switch-to-viewengine && yarn setup-local-ci", "build-local-with-viewengine-ci": "yarn ~~build --progress=false", - "extract-cli-command-docs": "node tools/transforms/cli-docs-package/extract-cli-commands.js 15edb0231", + "extract-cli-command-docs": "node tools/transforms/cli-docs-package/extract-cli-commands.js b76099083", "lint": "yarn check-env && yarn docs-lint && ng lint && yarn example-lint && yarn tools-lint", "test": "yarn check-env && ng test", "pree2e": "yarn check-env && yarn update-webdriver", @@ -88,18 +88,18 @@ }, "private": true, "dependencies": { - "@angular/animations": "10.0.0-next.5", + "@angular/animations": "10.0.0-rc.2", "@angular/cdk": "^9.2.2", - "@angular/common": "10.0.0-next.5", - "@angular/compiler": "10.0.0-next.5", - "@angular/core": "10.0.0-next.5", - "@angular/elements": "10.0.0-next.5", - "@angular/forms": "10.0.0-next.5", + "@angular/common": "10.0.0-rc.2", + "@angular/compiler": "10.0.0-rc.2", + "@angular/core": "10.0.0-rc.2", + "@angular/elements": "10.0.0-rc.2", + "@angular/forms": "10.0.0-rc.2", "@angular/material": "^9.2.2", - "@angular/platform-browser": "10.0.0-next.5", - "@angular/platform-browser-dynamic": "10.0.0-next.5", - "@angular/router": "10.0.0-next.5", - "@angular/service-worker": "10.0.0-next.5", + "@angular/platform-browser": "10.0.0-rc.2", + "@angular/platform-browser-dynamic": "10.0.0-rc.2", + "@angular/router": "10.0.0-rc.2", + "@angular/service-worker": "10.0.0-rc.2", "@awesome-fe/translate": "0.2.6", "@webcomponents/custom-elements": "1.2.1", "rxjs": "^6.5.3", @@ -107,10 +107,10 @@ "zone.js": "~0.10.3" }, "devDependencies": { - "@angular-devkit/build-angular": "0.1000.0-next.3", - "@angular/cli": "10.0.0-next.3", - "@angular/compiler-cli": "10.0.0-next.5", - "@angular/language-service": "10.0.0-next.5", + "@angular-devkit/build-angular": "0.1000.0-rc.2", + "@angular/cli": "10.0.0-rc.2", + "@angular/compiler-cli": "10.0.0-rc.2", + "@angular/language-service": "10.0.0-rc.2", "@types/html-minifier": "^3.5.3", "@types/jasmine": "^3.4.2", "@types/jasminewd2": "^2.0.8", @@ -168,7 +168,7 @@ "mocha": "^5.2.0", "npm-run-all": "^4.1.5", "protractor": "~5.4.4", - "puppeteer": "2.1.1", + "puppeteer": "3.3.0", "puppeteer": "^1.12.2", "rehype": "^6.0.0", "rehype-slug": "^2.0.0", @@ -180,7 +180,7 @@ "tree-kill": "^1.1.0", "ts-node": "^8.4.1", "tslint": "~6.1.0", - "typescript": "~3.8.3", + "typescript": "~3.9.5", "uglify-js": "^3.0.15", "unist-util-filter": "^0.2.1", "unist-util-source": "^1.0.1", diff --git a/aio/scripts/deploy-to-firebase.sh b/aio/scripts/deploy-to-firebase.sh index 6000a311b8..f19c97e60e 100755 --- a/aio/scripts/deploy-to-firebase.sh +++ b/aio/scripts/deploy-to-firebase.sh @@ -33,7 +33,7 @@ else readonly majorVersionStable=${CI_STABLE_BRANCH%%.*} # Do not deploy if the major version is not less than the stable branch major version - if [[ !( "$majorVersion" < "$majorVersionStable" ) ]]; then + if (( $majorVersion >= $majorVersionStable )); then echo "Skipping deploy of branch \"$CI_BRANCH\" to firebase." echo "We only deploy archive branches with the major version less than the stable branch: \"$CI_STABLE_BRANCH\"" exit 0 @@ -64,16 +64,27 @@ fi case $deployEnv in next) readonly projectId=aio-staging + readonly siteId=$projectId readonly deployedUrl=https://next.angular.io/ readonly firebaseToken=$CI_SECRET_AIO_DEPLOY_FIREBASE_TOKEN ;; stable) readonly projectId=angular-io + readonly siteId=$projectId readonly deployedUrl=https://angular.io/ readonly firebaseToken=$CI_SECRET_AIO_DEPLOY_FIREBASE_TOKEN ;; archive) - readonly projectId=v${majorVersion}-angular-io + # Special case v9-angular-io because its piloting the firebase hosting "multisites" setup + # See https://angular-team.atlassian.net/browse/DEV-125 for more info. + if [[ "$majorVersion" == "9" ]]; then + readonly projectId=aio-staging + readonly siteId=v9-angular-io + else + readonly projectId=v${majorVersion}-angular-io + readonly siteId=$projectId + fi + readonly deployedUrl=https://v${majorVersion}.angular.io/ readonly firebaseToken=$CI_SECRET_AIO_DEPLOY_FIREBASE_TOKEN ;; @@ -82,6 +93,7 @@ esac echo "Git branch : $CI_BRANCH" echo "Build/deploy mode : $deployEnv" echo "Firebase project : $projectId" +echo "Firebase site : $siteId" echo "Deployment URL : $deployedUrl" if [[ ${1:-} == "--dry-run" ]]; then @@ -92,23 +104,29 @@ fi ( cd "`dirname $0`/.." - # Build the app + echo "\n\n\n==== Build the aio app ====\n" yarn build --configuration=$deployEnv --progress=false - # Include any mode-specific files + + echo "\n\n\n==== Add any mode-specific files into the aio distribution ====\n" cp -rf src/extra-files/$deployEnv/. dist/ - # Set deployedUrl as parameter in the opensearch description + + echo "\n\n\n==== Update opensearch descriptor for aio with the deployedUrl ====\n" # deployedUrl must end with / yarn set-opensearch-url $deployedUrl - # Check payload size + echo "\n\n\n==== Check payload size and upload the numbers to firebase db ====\n" yarn payload-size - # Deploy to Firebase - yarn firebase use "$projectId" --token "$firebaseToken" - yarn firebase deploy --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken" - # Run PWA-score tests + echo "\n\n\n==== Deploy aio to firebase hosting ====\n" + + yarn firebase use "${projectId}" --token "$firebaseToken" + yarn firebase target:apply hosting aio $siteId --token "$firebaseToken" + yarn firebase deploy --only hosting:aio --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken" + + + echo "\n\n\n==== Run PWA-score tests ====\n" yarn test-pwa-score "$deployedUrl" "$CI_AIO_MIN_PWA_SCORE" ) diff --git a/aio/scripts/deploy-to-firebase.test.sh b/aio/scripts/deploy-to-firebase.test.sh index 575cab280d..8f4efebc72 100755 --- a/aio/scripts/deploy-to-firebase.test.sh +++ b/aio/scripts/deploy-to-firebase.test.sh @@ -68,6 +68,7 @@ function check { expected="Git branch : master Build/deploy mode : next Firebase project : aio-staging +Firebase site : aio-staging Deployment URL : https://next.angular.io/" check "$actual" "$expected" ) @@ -103,6 +104,7 @@ Deployment URL : https://next.angular.io/" expected="Git branch : 4.3.x Build/deploy mode : stable Firebase project : angular-io +Firebase site : angular-io Deployment URL : https://angular.io/" check "$actual" "$expected" ) @@ -139,10 +141,37 @@ Deployment URL : https://angular.io/" expected="Git branch : 2.4.x Build/deploy mode : archive Firebase project : v2-angular-io +Firebase site : v2-angular-io Deployment URL : https://v2.angular.io/" check "$actual" "$expected" ) +( + echo ===== archive - v9-angular-io multisite special case - deploy success + actual=$( + export BASH_ENV=/dev/null + export CI_REPO_OWNER=angular + export CI_REPO_NAME=angular + export CI_PULL_REQUEST=false + export CI_BRANCH=9.1.x + export CI_STABLE_BRANCH=10.0.x + export CI_COMMIT=$(git ls-remote origin 9.1.x | cut -c1-40) + export CI_SECRET_AIO_DEPLOY_FIREBASE_TOKEN=XXXXX + $deployToFirebaseDryRun + ) + expected="Git branch : 9.1.x +Build/deploy mode : archive +Firebase project : aio-staging +Firebase site : v9-angular-io +Deployment URL : https://v9.angular.io/" + # TODO: This test incorrectly expects the Firebase project to be v9-angular-io. + # v9-angular-io is a "multisites" project currently within the aio-staging project + # This setup is temporary and was created in order to deploy v9.angular.io without + # disruptions. + # See https://angular-team.atlassian.net/browse/DEV-125 for more info. + check "$actual" "$expected" +) + ( echo ===== archive - skip deploy - commit not HEAD actual=$( diff --git a/aio/scripts/prepare-size-debug-artifacts.js b/aio/scripts/prepare-size-debug-artifacts.js new file mode 100644 index 0000000000..503948baa2 --- /dev/null +++ b/aio/scripts/prepare-size-debug-artifacts.js @@ -0,0 +1,24 @@ +#!/usr/bin/env node +const {cp, ls, mkdir, set} = require('shelljs'); +const {join, resolve} = require('path'); +set('-e'); + +// Read input arguments. +const [sizesTarget, artifactsRelativeDir] = process.argv.slice(2); + +// Compute paths. +const projectDir = resolve(__dirname, '../..'); +const sizesFilePath = join(projectDir, 'goldens/size-tracking/aio-payloads.json'); +const distDir = join(projectDir, 'aio/dist'); +const artifactsDir = resolve(projectDir, artifactsRelativeDir); + +// Determine which files need to be copied. +const fileNamePrefixes = Object.keys(require(sizesFilePath)[sizesTarget].master.uncompressed); +const filesToCopyRe = new RegExp(`^(?:${fileNamePrefixes.join('|')})\\..+\\.js$`); +const filesToCopy = ls(distDir) + .filter(file => filesToCopyRe.test(file)) + .map(file => join(distDir, file)); + +// Copy files to the specified directory. +mkdir('-p', artifactsDir); +cp(filesToCopy, artifactsDir); diff --git a/aio/src/app/custom-elements/resource/resource-list.component.html b/aio/src/app/custom-elements/resource/resource-list.component.html index d9ce87bc72..566e2ee8e9 100644 --- a/aio/src/app/custom-elements/resource/resource-list.component.html +++ b/aio/src/app/custom-elements/resource/resource-list.component.html @@ -13,7 +13,7 @@

    {{subCategory.title}}

    -
    +

    {{resource.title}}

    diff --git a/aio/src/app/custom-elements/resource/resource.model.ts b/aio/src/app/custom-elements/resource/resource.model.ts index b1d4a133fa..fa689e2ddb 100644 --- a/aio/src/app/custom-elements/resource/resource.model.ts +++ b/aio/src/app/custom-elements/resource/resource.model.ts @@ -17,7 +17,6 @@ export interface Resource { subCategory: string; // "Books" id: string; // "-KLI8vJ0ZkvWhqPembZ7" desc: string; // "This books shows all the steps necessary for the development of SPA" - rev: boolean; // true (always true in the original) title: string; // "Practical Angular 2", url: string; // "https://leanpub.com/practical-angular-2" } diff --git a/aio/src/app/custom-elements/resource/resource.service.spec.ts b/aio/src/app/custom-elements/resource/resource.service.spec.ts index 5517dc60e7..2d9f3a4d5b 100644 --- a/aio/src/app/custom-elements/resource/resource.service.spec.ts +++ b/aio/src/app/custom-elements/resource/resource.service.spec.ts @@ -96,13 +96,11 @@ function getTestResources() { "resources": { "Cat3 SubCat1 Res1": { "desc": "Meetup in Barcelona, Spain. ", - "rev": true, "title": "Angular Beers", "url": "http://www.meetup.com/AngularJS-Beers/" }, "Cat3 SubCat1 Res2": { "desc": "Angular Camps in Barcelona, Spain.", - "rev": true, "title": "Angular Camp", "url": "http://angularcamp.org/" } @@ -113,7 +111,6 @@ function getTestResources() { "resources": { "Cat3 SubCat2 Res1": { "desc": "A community index of components and libraries", - "rev": true, "title": "Catalog of Angular Components & Libraries", "url": "https://a/b/c" } @@ -129,19 +126,16 @@ function getTestResources() { "resources": { "S S S": { "desc": "SSS", - "rev": true, "title": "Sssss", "url": "http://s/s/s" }, "A A A": { "desc": "AAA", - "rev": true, "title": "Aaaa", "url": "http://a/a/a" }, "Z Z Z": { "desc": "ZZZ", - "rev": true, "title": "Zzzzz", "url": "http://z/z/z" } diff --git a/aio/src/app/layout/doc-viewer/doc-viewer.component.spec.ts b/aio/src/app/layout/doc-viewer/doc-viewer.component.spec.ts index e3edc9ea33..c626ca1130 100644 --- a/aio/src/app/layout/doc-viewer/doc-viewer.component.spec.ts +++ b/aio/src/app/layout/doc-viewer/doc-viewer.component.spec.ts @@ -45,7 +45,7 @@ describe('DocViewerComponent', () => { let renderSpy: jasmine.Spy; const setCurrentDoc = (newDoc: TestParentComponent['currentDoc']) => { - parentComponent.currentDoc = newDoc && {id: 'fizz/buzz', ...newDoc}; + parentComponent.currentDoc = newDoc; parentFixture.detectChanges(); // Run change detection to propagate the new doc to `DocViewer`. safeFlushAsapScheduler(); // Flush `asapScheduler` to trigger `DocViewer#render()`. }; @@ -401,7 +401,10 @@ describe('DocViewerComponent', () => { expect(loadElementsSpy.calls.argsFor(1)).toEqual([docViewer.nextViewContainer]); }); - it('should unsubscribe from the previous "embed" observable when unsubscribed from', () => { + // This test sometimes incorrectly fails on CI. + // Reported in https://github.com/angular/angular/issues/37629. + // Investigated in https://github.com/angular/angular/pull/37637. + xit('should unsubscribe from the previous "embed" observable when unsubscribed from', () => { const obs = new ObservableWithSubscriptionSpies(); loadElementsSpy.and.returnValue(obs); @@ -436,7 +439,10 @@ describe('DocViewerComponent', () => { expect(swapViewsSpy).toHaveBeenCalledWith(addTitleAndTocSpy); }); - it('should unsubscribe from the previous "swap" observable when unsubscribed from', () => { + // This test sometimes incorrectly fails on CI. + // Reported in https://github.com/angular/angular/issues/37629. + // Investigated in https://github.com/angular/angular/pull/37637. + xit('should unsubscribe from the previous "swap" observable when unsubscribed from', () => { const obs = new ObservableWithSubscriptionSpies(); swapViewsSpy.and.returnValue(obs); diff --git a/aio/src/app/layout/doc-viewer/doc-viewer.component.ts b/aio/src/app/layout/doc-viewer/doc-viewer.component.ts index fc21c4ed86..414e4a49f0 100644 --- a/aio/src/app/layout/doc-viewer/doc-viewer.component.ts +++ b/aio/src/app/layout/doc-viewer/doc-viewer.component.ts @@ -184,14 +184,17 @@ export class DocViewerComponent implements OnDestroy { const seconds = Number(cssValue.replace(/s$/, '')); return 1000 * seconds; }; + + // Some properties are not assignable and thus cannot be animated. + // Example methods, readonly and CSS properties: + // "length", "parentRule", "getPropertyPriority", "getPropertyValue", "item", "removeProperty", "setProperty" + type StringValueCSSStyleDeclaration + = Exclude<{ [K in keyof CSSStyleDeclaration]: CSSStyleDeclaration[K] extends string ? K : never }[keyof CSSStyleDeclaration], number>; const animateProp = - (elem: HTMLElement, prop: keyof CSSStyleDeclaration, from: string, to: string, duration = 200) => { + (elem: HTMLElement, prop: StringValueCSSStyleDeclaration, from: string, to: string, duration = 200) => { const animationsDisabled = !DocViewerComponent.animationsEnabled || this.hostElement.classList.contains(NO_ANIMATIONS); - if (prop === 'length' || prop === 'parentRule') { - // We cannot animate length or parentRule properties because they are readonly - return this.void$; - } + elem.style.transition = ''; return animationsDisabled ? this.void$.pipe(tap(() => elem.style[prop] = to)) diff --git a/aio/src/index.html b/aio/src/index.html index 2786ef0e8d..93099f5274 100644 --- a/aio/src/index.html +++ b/aio/src/index.html @@ -8,6 +8,11 @@ Join the community of millions of developers who build compelling user interfaces with Angular."> + + + + + diff --git a/aio/src/styles/0-base/_typography.scss b/aio/src/styles/0-base/_typography.scss index 8a07876f4a..5a1b50e61d 100755 --- a/aio/src/styles/0-base/_typography.scss +++ b/aio/src/styles/0-base/_typography.scss @@ -193,6 +193,11 @@ code { } } +// The following css rule adds an icon to external links in the docs area. +// The following `folder-*` classes are applied to the `doc-viewer`component when it is displaying docs for these areas of the documentation. +// We add the icon to all external links which are identified as absolute links (those that start with `http` or https`). +// For more info see PR #36601 + .folder-api, .folder-cli, .folder-docs, @@ -213,6 +218,8 @@ code { } } + // The docs-viewer also contain links to GitHub (e.g. the edit this page icon) identified with `.github-links` class. + // We don't want to add the external link icon to these links, so we hide them. .github-links a { &[href^="http:"]::after, &[href^="https:"]::after { diff --git a/aio/src/styles/2-modules/_contributor.scss b/aio/src/styles/2-modules/_contributor.scss index 5df3383e18..30570f55a8 100644 --- a/aio/src/styles/2-modules/_contributor.scss +++ b/aio/src/styles/2-modules/_contributor.scss @@ -52,16 +52,18 @@ aio-contributor { transition: all .3s; perspective: 800px; - &:hover { - transform: translate3d(0,-3px,0); - box-shadow: 0 8px 8px rgba(10, 16, 20, 0.24), 0 0 8px rgba(10, 16, 20, 0.12); + @media (hover) { + &:hover { + transform: translate3d(0,-3px,0); + box-shadow: 0 8px 8px rgba(10, 16, 20, 0.24), 0 0 8px rgba(10, 16, 20, 0.12); - .contributor-image { - transform: scale(1.05); - } + .contributor-image { + transform: scale(1.05); + } - .contributor-info { - opacity: 1; + .contributor-info { + opacity: 1; + } } } diff --git a/aio/tests/e2e/src/api-list.e2e-spec.ts b/aio/tests/e2e/src/api-list.e2e-spec.ts new file mode 100644 index 0000000000..d5d3f2d7db --- /dev/null +++ b/aio/tests/e2e/src/api-list.e2e-spec.ts @@ -0,0 +1,52 @@ +import { by, element } from 'protractor'; +import { SitePage } from './app.po'; + +describe('api-list', () => { + const apiSearchInput = element(by.css('aio-api-list .form-search input')); + const apiStatusDropdown = element(by.css('aio-api-list aio-select[label="Status:"]')); + const apiTypeDropdown = element(by.css('aio-api-list aio-select[label="Type:"]')); + let page: SitePage; + + beforeEach(() => { + page = new SitePage(); + page.navigateTo('api'); + }); + + it('should find AnimationSequenceMetadata when searching by partial word anima', () => { + expect(page.getApiSearchResults()).toContain('HttpEventType'); + + apiSearchInput.clear(); + apiSearchInput.sendKeys('anima'); + + expect(page.getApiSearchResults()).not.toContain('HttpEventType'); + expect(page.getApiSearchResults()).toContain('AnimationSequenceMetadata'); + }); + + it('should find getLocaleDateTimeFormat when searching by partial word date', () => { + expect(page.getApiSearchResults()).toContain('formatCurrency'); + + apiSearchInput.clear(); + apiSearchInput.sendKeys('date'); + + expect(page.getApiSearchResults()).not.toContain('formatCurrency'); + expect(page.getApiSearchResults()).toContain('getLocaleDateTimeFormat'); + }); + + it('should find LowerCasePipe when searching for type pipe', () => { + expect(page.getApiSearchResults()).toContain('getLocaleDateTimeFormat'); + + page.clickDropdownItem(apiTypeDropdown, 'Pipe'); + + expect(page.getApiSearchResults()).not.toContain('getLocaleDateTimeFormat'); + expect(page.getApiSearchResults()).toContain('LowerCasePipe'); + }); + + it('should find ElementRef when searching for status Security Risk', () => { + expect(page.getApiSearchResults()).toContain('getLocaleDateTimeFormat'); + + page.clickDropdownItem(apiStatusDropdown, 'Security Risk'); + + expect(page.getApiSearchResults()).not.toContain('getLocaleDateTimeFormat'); + expect(page.getApiSearchResults()).toContain('ElementRef'); + }); +}); diff --git a/aio/tests/e2e/src/api.e2e-spec.ts b/aio/tests/e2e/src/api-pages.e2e-spec.ts similarity index 100% rename from aio/tests/e2e/src/api.e2e-spec.ts rename to aio/tests/e2e/src/api-pages.e2e-spec.ts diff --git a/aio/tests/e2e/src/app.po.ts b/aio/tests/e2e/src/app.po.ts index 95bca28562..76a7725d63 100644 --- a/aio/tests/e2e/src/app.po.ts +++ b/aio/tests/e2e/src/app.po.ts @@ -83,4 +83,16 @@ export class SitePage { browser.wait(ExpectedConditions.presenceOf(results.first()), 8000); return results.map(link => link && link.getText()); } + + getApiSearchResults() { + const results = element.all(by.css('aio-api-list .api-item')); + browser.wait(ExpectedConditions.presenceOf(results.first()), 2000); + return results.map(elem => elem && elem.getText()); + } + + clickDropdownItem(dropdown: ElementFinder, itemName: string){ + dropdown.element(by.css('.form-select-button')).click(); + const menuItem = dropdown.element(by.cssContainingText('.form-select-dropdown li', itemName)); + menuItem.click(); + } } diff --git a/aio/tools/examples/run-example-e2e.js b/aio/tools/examples/run-example-e2e.js index bcc08ac984..d5798fecfe 100644 --- a/aio/tools/examples/run-example-e2e.js +++ b/aio/tools/examples/run-example-e2e.js @@ -21,15 +21,9 @@ const CLI_SPEC_FILENAME = 'e2e/src/app.e2e-spec.ts'; const EXAMPLE_CONFIG_FILENAME = 'example-config.json'; const DEFAULT_CLI_EXAMPLE_PORT = 4200; const DEFAULT_CLI_SPECS_CONCURRENCY = 1; -const IGNORED_EXAMPLES = [ - // temporary ignores - 'upgrade-phonecat-2-hybrid' // https://github.com/angular/angular/issues/36957 -]; +const IGNORED_EXAMPLES = []; -const fixmeIvyExamples = [ - // fixmeIvy('unknown') app fails at runtime due to missing external service (goog is undefined) - 'i18n', -]; +const fixmeIvyExamples = []; if (!argv.viewengine) { IGNORED_EXAMPLES.push(...fixmeIvyExamples); @@ -75,8 +69,10 @@ function runE2e() { const outputFile = path.join(AIO_PATH, './protractor-results.txt'); return Promise.resolve() - .then(() => findAndRunE2eTests(argv.filter, outputFile, argv.shard, - argv.cliSpecsConcurrency || DEFAULT_CLI_SPECS_CONCURRENCY, argv.retry || 1)) + .then( + () => findAndRunE2eTests( + argv.filter, outputFile, argv.shard, + argv.cliSpecsConcurrency || DEFAULT_CLI_SPECS_CONCURRENCY, argv.retry || 1)) .then((status) => { reportStatus(status, outputFile); if (status.failed.length > 0) { @@ -229,8 +225,12 @@ function runProtractorSystemJS(prepPromise, appDir, appRunSpawnInfo, outputFile) }); }) .then( - function() { return finish(appRunSpawnInfo.proc.pid, true); }, - function() { return finish(appRunSpawnInfo.proc.pid, false); }); + function() { + return finish(appRunSpawnInfo.proc.pid, true); + }, + function() { + return finish(appRunSpawnInfo.proc.pid, false); + }); } function finish(spawnProcId, ok) { @@ -266,15 +266,15 @@ function runE2eTestsCLI(appDir, outputFile, bufferOutput, port) { // `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed. const config = loadExampleConfig(appDir); const testCommands = config.tests || [{ - cmd: 'yarn', - args: [ - 'e2e', - '--prod', - '--protractor-config=e2e/protractor-puppeteer.conf.js', - '--no-webdriver-update', - '--port={PORT}', - ], - }]; + cmd: 'yarn', + args: [ + 'e2e', + '--prod', + '--protractor-config=e2e/protractor-puppeteer.conf.js', + '--no-webdriver-update', + '--port={PORT}', + ], + }]; let bufferedOutput = `\n\n============== AIO example output for: ${appDir}\n\n`; const e2eSpawnPromise = testCommands.reduce((prevSpawnPromise, {cmd, args}) => { @@ -284,26 +284,30 @@ function runE2eTestsCLI(appDir, outputFile, bufferOutput, port) { args = args.map(a => a.replace('{PORT}', port || DEFAULT_CLI_EXAMPLE_PORT)); return prevSpawnPromise.then(() => { - const currSpawn = spawnExt(cmd, args, {cwd: appDir}, false, - bufferOutput ? msg => bufferedOutput += msg : undefined); + const currSpawn = spawnExt( + cmd, args, {cwd: appDir}, false, bufferOutput ? msg => bufferedOutput += msg : undefined); return currSpawn.promise.then( () => Promise.resolve(finish(currSpawn.proc.pid, true)), () => Promise.reject(finish(currSpawn.proc.pid, false))); }); }, Promise.resolve()); - return e2eSpawnPromise.then(() => { - fs.appendFileSync(outputFile, `Passed: ${appDir}\n\n`); - return true; - }, () => { - fs.appendFileSync(outputFile, `Failed: ${appDir}\n\n`); - return false; - }).then(passed => { - if (bufferOutput) { - process.stdout.write(bufferedOutput); - } - return passed; - }); + return e2eSpawnPromise + .then( + () => { + fs.appendFileSync(outputFile, `Passed: ${appDir}\n\n`); + return true; + }, + () => { + fs.appendFileSync(outputFile, `Failed: ${appDir}\n\n`); + return false; + }) + .then(passed => { + if (bufferOutput) { + process.stdout.write(bufferedOutput); + } + return passed; + }); } // Report final status. @@ -312,23 +316,31 @@ function reportStatus(status, outputFile) { log.push('Suites ignored due to legacy guides:'); IGNORED_EXAMPLES.filter(example => !fixmeIvyExamples.find(ex => ex.startsWith(example))) - .forEach(function(val) { log.push(' ' + val); }); + .forEach(function(val) { + log.push(' ' + val); + }); if (!argv.viewengine) { log.push(''); log.push('Suites ignored due to breakage with Ivy:'); - fixmeIvyExamples.forEach(function(val) { log.push(' ' + val); }); + fixmeIvyExamples.forEach(function(val) { + log.push(' ' + val); + }); } log.push(''); log.push('Suites passed:'); - status.passed.forEach(function(val) { log.push(' ' + val); }); + status.passed.forEach(function(val) { + log.push(' ' + val); + }); if (status.failed.length == 0) { log.push('All tests passed'); } else { log.push('Suites failed:'); - status.failed.forEach(function(val) { log.push(' ' + val); }); + status.failed.forEach(function(val) { + log.push(' ' + val); + }); } log.push('\nElapsed time: ' + status.elapsedTime + ' seconds'); log = log.join('\n'); @@ -337,8 +349,8 @@ function reportStatus(status, outputFile) { } // Returns both a promise and the spawned process so that it can be killed if needed. -function spawnExt(command, args, options, ignoreClose = false, - printMessage = msg => process.stdout.write(msg)) { +function spawnExt( + command, args, options, ignoreClose = false, printMessage = msg => process.stdout.write(msg)) { let proc; const promise = new Promise((resolve, reject) => { let descr = command + ' ' + args.join(' '); @@ -373,13 +385,19 @@ function getE2eSpecs(basePath, filter) { let specs = {}; return getE2eSpecsFor(basePath, SJS_SPEC_FILENAME, filter) - .then(sjsPaths => { specs.systemjs = sjsPaths; }) + .then(sjsPaths => { + specs.systemjs = sjsPaths; + }) .then(() => { return getE2eSpecsFor(basePath, CLI_SPEC_FILENAME, filter).then(cliPaths => { - return cliPaths.map(p => { return p.replace(`${CLI_SPEC_FILENAME}`, ''); }); + return cliPaths.map(p => { + return p.replace(`${CLI_SPEC_FILENAME}`, ''); + }); }); }) - .then(cliPaths => { specs.cli = cliPaths; }) + .then(cliPaths => { + specs.cli = cliPaths; + }) .then(() => specs); } diff --git a/aio/tools/examples/shared/boilerplate/cli-ajs/package.json b/aio/tools/examples/shared/boilerplate/cli-ajs/package.json index 8017c8f0dc..4a07637f76 100644 --- a/aio/tools/examples/shared/boilerplate/cli-ajs/package.json +++ b/aio/tools/examples/shared/boilerplate/cli-ajs/package.json @@ -21,7 +21,7 @@ "@angular/platform-browser-dynamic": "~9.1.4", "@angular/router": "~9.1.4", "angular": "1.7.9", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "angular-route": "1.7.9", "rxjs": "~6.5.4", "tslib": "^1.10.0", diff --git a/aio/tools/examples/shared/boilerplate/cli/package.json b/aio/tools/examples/shared/boilerplate/cli/package.json index ef0f992719..693114462e 100644 --- a/aio/tools/examples/shared/boilerplate/cli/package.json +++ b/aio/tools/examples/shared/boilerplate/cli/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser": "~9.1.4", "@angular/platform-browser-dynamic": "~9.1.4", "@angular/router": "~9.1.4", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.3" diff --git a/aio/tools/examples/shared/boilerplate/elements/package.json b/aio/tools/examples/shared/boilerplate/elements/package.json index b212c615a6..6d412b59a2 100644 --- a/aio/tools/examples/shared/boilerplate/elements/package.json +++ b/aio/tools/examples/shared/boilerplate/elements/package.json @@ -22,7 +22,7 @@ "@angular/platform-browser-dynamic": "~9.1.4", "@angular/router": "~9.1.4", "@webcomponents/custom-elements": "^1.4.1", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.3" diff --git a/aio/tools/examples/shared/boilerplate/i18n/angular.json b/aio/tools/examples/shared/boilerplate/i18n/angular.json index 11c01b2604..8934ab45e6 100644 --- a/aio/tools/examples/shared/boilerplate/i18n/angular.json +++ b/aio/tools/examples/shared/boilerplate/i18n/angular.json @@ -9,10 +9,18 @@ "root": "", "sourceRoot": "src", "prefix": "app", + "i18n": { + "sourceLocale": "en-US", + "locales": { + "fr": "src/locale/messages.fr.xlf" + } + }, "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { + "localize": true, + "aot": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", @@ -57,35 +65,10 @@ } ] }, - "production-fr": { - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "extractCss": true, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, - "outputPath": "dist/my-project-fr/", - "i18nFile": "src/locale/messages.fr.xlf", - "i18nFormat": "xlf", - "i18nLocale": "fr", - "i18nMissingTranslation": "error" - }, "fr": { - "aot": true, - "outputPath": "dist/my-project-fr/", - "i18nFile": "src/locale/messages.fr.xlf", - "i18nFormat": "xlf", - "i18nLocale": "fr", - "i18nMissingTranslation": "error" + "localize": [ + "fr" + ] } } }, diff --git a/aio/tools/examples/shared/boilerplate/i18n/package.json b/aio/tools/examples/shared/boilerplate/i18n/package.json index 4177301c7b..6d10e0759b 100644 --- a/aio/tools/examples/shared/boilerplate/i18n/package.json +++ b/aio/tools/examples/shared/boilerplate/i18n/package.json @@ -20,10 +20,11 @@ "@angular/compiler": "~9.1.4", "@angular/core": "~9.1.4", "@angular/forms": "~9.1.4", + "@angular/localize": "^9.1.4", "@angular/platform-browser": "~9.1.4", "@angular/platform-browser-dynamic": "~9.1.4", "@angular/router": "~9.1.4", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.3" diff --git a/aio/tools/examples/shared/boilerplate/i18n/polyfills.ts b/aio/tools/examples/shared/boilerplate/i18n/polyfills.ts new file mode 100644 index 0000000000..d06dbf69c5 --- /dev/null +++ b/aio/tools/examples/shared/boilerplate/i18n/polyfills.ts @@ -0,0 +1,68 @@ +/*************************************************************************************************** + * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. + */ +import '@angular/localize/init'; +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/guide/browser-support + */ + +/*************************************************************************************************** + * BROWSER POLYFILLS + */ + +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. + +/** + * Web Animations `@angular/platform-browser/animations` + * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. + * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). + */ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + * because those flags need to be set before `zone.js` being loaded, and webpack + * will put import in the top of bundle, so user need to create a separate file + * in this directory (for example: zone-flags.ts), and put the following flags + * into that file, and then add the following code before importing zone.js. + * import './zone-flags'; + * + * The flags allowed in zone-flags.ts are listed here. + * + * The following flags will work for all browsers. + * + * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch + * requestAnimationFrame + * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick + * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch + * specified eventNames + * + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + * + * (window as any).__Zone_enable_cross_context_check = true; + * + */ + +/*************************************************************************************************** + * Zone JS is required by default for Angular itself. + */ +import 'zone.js/dist/zone'; // Included with Angular CLI. + +/*************************************************************************************************** + * APPLICATION IMPORTS + */ diff --git a/aio/tools/examples/shared/boilerplate/service-worker/package.json b/aio/tools/examples/shared/boilerplate/service-worker/package.json index 1141a1d9e0..e88091c1ea 100644 --- a/aio/tools/examples/shared/boilerplate/service-worker/package.json +++ b/aio/tools/examples/shared/boilerplate/service-worker/package.json @@ -21,7 +21,7 @@ "@angular/platform-browser-dynamic": "~9.1.4", "@angular/router": "~9.1.4", "@angular/service-worker": "~9.1.4", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.3" diff --git a/aio/tools/examples/shared/boilerplate/systemjs/package.json b/aio/tools/examples/shared/boilerplate/systemjs/package.json index c9927b1c7c..b73fefce44 100644 --- a/aio/tools/examples/shared/boilerplate/systemjs/package.json +++ b/aio/tools/examples/shared/boilerplate/systemjs/package.json @@ -65,7 +65,7 @@ "rollup": "^1.1.0", "rollup-plugin-commonjs": "^9.2.1", "rollup-plugin-node-resolve": "^4.0.0", - "rollup-plugin-uglify": "^1.0.1", + "rollup-plugin-terser": "^5.3.0", "tslint": "~5.18.0", "typescript": "~3.7.5" }, diff --git a/aio/tools/examples/shared/boilerplate/testing/tsconfig.app.json b/aio/tools/examples/shared/boilerplate/testing/tsconfig.app.json index 9ffed7628a..fdc41f9303 100644 --- a/aio/tools/examples/shared/boilerplate/testing/tsconfig.app.json +++ b/aio/tools/examples/shared/boilerplate/testing/tsconfig.app.json @@ -2,9 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/app", - "types": [], - // TODO(FW-2145): turn lib checks back on after fixing in-memory-api and investigating impact of ModuleWithProviders - "skipLibCheck": true + "types": [] }, "files": [ "src/main.ts", diff --git a/aio/tools/examples/shared/boilerplate/universal/package.json b/aio/tools/examples/shared/boilerplate/universal/package.json index 11dae8c529..d7ce74c331 100644 --- a/aio/tools/examples/shared/boilerplate/universal/package.json +++ b/aio/tools/examples/shared/boilerplate/universal/package.json @@ -26,7 +26,7 @@ "@angular/platform-server": "~9.1.4", "@angular/router": "~9.1.4", "@nguniversal/express-engine": "~9.0.1", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "express": "^4.15.2", "rxjs": "~6.5.4", "tslib": "^1.10.0", diff --git a/aio/tools/examples/shared/boilerplate/viewengine/cli/tsconfig.json b/aio/tools/examples/shared/boilerplate/viewengine/cli/tsconfig.json index 8fe166d73a..e4816a58e7 100644 --- a/aio/tools/examples/shared/boilerplate/viewengine/cli/tsconfig.json +++ b/aio/tools/examples/shared/boilerplate/viewengine/cli/tsconfig.json @@ -17,9 +17,7 @@ "lib": [ "es2018", "dom" - ], - // TODO(FW-2145): turn lib checks back on after fixing in-memory-api and investigating impact of ModuleWithProviders - "skipLibCheck": true + ] }, "angularCompilerOptions": { "enableIvy": false, diff --git a/aio/tools/examples/shared/boilerplate/viewengine/systemjs/rollup-config.js b/aio/tools/examples/shared/boilerplate/viewengine/systemjs/rollup-config.js index 752e637e50..eb60d134c3 100644 --- a/aio/tools/examples/shared/boilerplate/viewengine/systemjs/rollup-config.js +++ b/aio/tools/examples/shared/boilerplate/viewengine/systemjs/rollup-config.js @@ -1,7 +1,7 @@ // #docregion import nodeResolve from 'rollup-plugin-node-resolve' import commonjs from 'rollup-plugin-commonjs'; -import uglify from 'rollup-plugin-uglify' +import {terser} from 'rollup-plugin-terser' //paths are relative to the execution path export default { @@ -17,6 +17,6 @@ export default { commonjs({ include: ['node_modules/rxjs/**'] }), - uglify() + terser() ] } diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index a3c63cf4cd..4c64be04aa 100644 --- a/aio/tools/examples/shared/package.json +++ b/aio/tools/examples/shared/package.json @@ -26,6 +26,7 @@ "@angular/core": "~9.1.4", "@angular/elements": "~9.1.4", "@angular/forms": "~9.1.4", + "@angular/localize": "~9.1.4", "@angular/platform-browser": "~9.1.4", "@angular/platform-browser-dynamic": "~9.1.4", "@angular/platform-server": "~9.1.4", @@ -35,7 +36,7 @@ "@nguniversal/express-engine": "~9.0.1", "@webcomponents/custom-elements": "^1.4.1", "angular": "1.7.9", - "angular-in-memory-web-api": "~0.9.0", + "angular-in-memory-web-api": "~0.11.0", "angular-route": "1.7.9", "core-js": "^2.5.4", "express": "^4.15.2", @@ -75,12 +76,12 @@ "lite-server": "^2.2.2", "lodash": "^4.16.2", "protractor": "~5.4.3", - "puppeteer": "2.1.1", + "puppeteer": "3.3.0", "rimraf": "^2.5.4", "rollup": "^1.1.0", "rollup-plugin-commonjs": "^9.2.1", "rollup-plugin-node-resolve": "^4.0.0", - "rollup-plugin-uglify": "^1.0.1", + "rollup-plugin-terser": "^5.3.0", "source-map-explorer": "^1.3.2", "ts-node": "~8.3.0", "tslint": "~6.1.0", diff --git a/aio/tools/examples/shared/tsconfig.json b/aio/tools/examples/shared/tsconfig.json index d6df8f5d46..b564f9cb9f 100644 --- a/aio/tools/examples/shared/tsconfig.json +++ b/aio/tools/examples/shared/tsconfig.json @@ -13,9 +13,7 @@ "suppressImplicitAnyIndexErrors": true, "typeRoots": [ "node_modules/@types" - ], - // TODO(FW-2145): turn lib checks back on after fixing in-memory-api and investigating impact of ModuleWithProviders - "skipLibCheck": true + ] }, "include": [ "../../../content/examples/*/e2e-spec.ts" diff --git a/aio/tools/examples/shared/yarn.lock b/aio/tools/examples/shared/yarn.lock index 30760bdb6c..714f688230 100644 --- a/aio/tools/examples/shared/yarn.lock +++ b/aio/tools/examples/shared/yarn.lock @@ -215,6 +215,15 @@ resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-9.1.4.tgz#2fa2c444e5a5a6036d5ca43d2887826df17d0553" integrity sha512-eyVxxiegdb4ESdFGfkuDN+YfUbOVHRQLjIl6ACFJQDNHzVXzbmuqpyr5hIJANIVady103/7+dqRxxJo1DdIdTQ== +"@angular/localize@~9.1.4": + version "9.1.11" + resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.1.11.tgz#25921d794836fb7a07d284c1ac0ed06c10e77d50" + integrity sha512-CrR7RniwJIK3+QKH8nHl35KDAHZn1mp1QAd5vujTWKw6YRLfio7SjM9qIfzw5y4WZuUitTsqKlQT/m/NK146Ag== + dependencies: + "@babel/core" "7.8.3" + glob "7.1.2" + yargs "15.3.0" + "@angular/platform-browser-dynamic@~9.1.4": version "9.1.4" resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.1.4.tgz#bf1cde9156bd29eeeef932b683b0c993614f75d5" @@ -254,6 +263,13 @@ dependencies: "@babel/highlight" "^7.0.0" +"@babel/code-frame@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== + dependencies: + "@babel/highlight" "^7.10.1" + "@babel/code-frame@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" @@ -277,6 +293,27 @@ invariant "^2.2.4" semver "^5.5.0" +"@babel/core@7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.8.3.tgz#30b0ebb4dd1585de6923a0b4d179e0b9f5d82941" + integrity sha512-4XFkf8AwyrEG7Ziu3L2L0Cv+WyY47Tcsp70JFmpftbAA1K7YL/sgE9jh9HyNj08Y/U50ItUchpN0w6HxAoX1rA== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.8.3" + "@babel/helpers" "^7.8.3" + "@babel/parser" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.0" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/core@7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" @@ -330,6 +367,16 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.10.1", "@babel/generator@^7.8.3": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" + integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== + dependencies: + "@babel/types" "^7.10.2" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/generator@^7.4.0", "@babel/generator@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.4.tgz#db651e2840ca9aa66f327dcec1dc5f5fa9611369" @@ -420,6 +467,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" + integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ== + dependencies: + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-function-name@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e" @@ -447,6 +503,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.9.5" +"@babel/helper-get-function-arity@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" + integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-get-function-arity@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" @@ -558,6 +621,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-split-export-declaration@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" + integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-split-export-declaration@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8" @@ -572,6 +642,11 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== + "@babel/helper-validator-identifier@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" @@ -587,6 +662,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helpers@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" + integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== + dependencies: + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helpers@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73" @@ -613,6 +697,15 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -622,6 +715,11 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/parser@^7.10.1": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" + integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== + "@babel/parser@^7.4.3", "@babel/parser@^7.7.4": version "7.7.5" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.5.tgz#cbf45321619ac12d83363fcf9c94bb67fa646d71" @@ -1126,6 +1224,15 @@ "@babel/parser" "^7.8.6" "@babel/types" "^7.8.6" +"@babel/template@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" + integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/template@^7.4.0", "@babel/template@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" @@ -1144,6 +1251,21 @@ "@babel/parser" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/traverse@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" + integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/traverse@^7.4.3", "@babel/traverse@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" @@ -1189,6 +1311,15 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/types@^7.10.1", "@babel/types@^7.10.2": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" + integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@babel/types@^7.4.0", "@babel/types@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" @@ -1418,11 +1549,6 @@ "@types/parse5" "*" "@types/tough-cookie" "*" -"@types/mime-types@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/mime-types/-/mime-types-2.1.0.tgz#9ca52cda363f699c69466c2a6ccdaad913ea7a73" - integrity sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM= - "@types/mime@*": version "2.0.0" resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.0.tgz#5a7306e367c539b9f6543499de8dd519fac37a8b" @@ -1510,6 +1636,13 @@ "@types/source-list-map" "*" source-map "^0.6.1" +"@types/yauzl@^2.9.1": + version "2.9.1" + resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af" + integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA== + dependencies: + "@types/node" "*" + "@webassemblyjs/ast@1.8.5": version "1.8.5" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" @@ -1886,23 +2019,15 @@ ajv@^6.12.0: 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" - resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" - dependencies: - kind-of "^3.0.2" - longest "^1.0.1" - repeat-string "^1.5.2" - alphanum-sort@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM= -angular-in-memory-web-api@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/angular-in-memory-web-api/-/angular-in-memory-web-api-0.9.0.tgz#6c98d9494fadc6b98f54e68376a1998ccfff04bc" - integrity sha512-//PiJ5qb1+Yf/N7270ioQqR2laf4/Irjavg+M+WEn8y4At9LUoYgbQ5HVwvM5xUTlVlL0XkbJRLxREcGGNdIEw== +angular-in-memory-web-api@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/angular-in-memory-web-api/-/angular-in-memory-web-api-0.11.0.tgz#46e4ad896b36d669f36801fc8cafa7db8278d078" + integrity sha512-QV1qYHm+Zd+wrvlcPLnAcqqGpOmCN1EUj4rRuYHpek8+QqFFdxBNuPZOJCKvU7I97z5QSKHsdc6PNKlpUQr3UA== angular-route@1.7.9: version "1.7.9" @@ -2322,6 +2447,15 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== +bl@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.2.tgz#52b71e9088515d0606d9dd9cc7aa48dc1f98e73a" + integrity sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + blob@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.4.tgz#bcf13052ca54463f30f9fc7e95b9a47630a94921" @@ -2695,6 +2829,11 @@ btoa@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/btoa/-/btoa-1.1.2.tgz#3e40b81663f81d2dd6596a4cb714a8dc16cfabe0" +buffer-crc32@~0.2.3: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= + buffer-from@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.0.0.tgz#4cb8832d23612589b0406e9e2956c17f06fdf531" @@ -2715,6 +2854,14 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" +buffer@^5.2.1, buffer@^5.5.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" + integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + 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" @@ -2846,7 +2993,7 @@ callsites@^2.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= -camelcase@^1.0.2, camelcase@^1.2.1: +camelcase@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" @@ -2893,13 +3040,6 @@ caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" -center-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" - dependencies: - align-text "^0.1.3" - lazy-cache "^1.0.3" - chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -3082,14 +3222,6 @@ cli-width@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" -cliui@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" - dependencies: - center-align "^0.1.1" - right-align "^0.1.1" - wordwrap "0.0.2" - cliui@^3.0.3, cliui@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" @@ -3313,16 +3445,6 @@ concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" -concat-stream@1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - concat-stream@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" @@ -4272,6 +4394,13 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" +end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + engine.io-client@1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-1.8.0.tgz#7b730e4127414087596d9be3c88d2bc5fdb6cf5c" @@ -4545,6 +4674,11 @@ estree-walker@^0.6.0: resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae" integrity sha512-peq1RfVAVzr3PU/jL31RaOjUKLoZJpObQWJJ+LgfcxDUifyLZ1RjPQZTl0pzj2uJ45b7A7XpyppXvxdEqzo4rw== +estree-walker@^0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" + integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== + esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" @@ -4733,15 +4867,16 @@ extglob@^2.0.2, extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -extract-zip@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.7.tgz#a840b4b8af6403264c8db57f4f1a74333ef81fe9" - integrity sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k= +extract-zip@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.0.tgz#f53b71d44f4ff5a4527a2259ade000fb8b303492" + integrity sha512-i42GQ498yibjdvIhivUsRslx608whtGoFIhF26Z7O4MYncBxp8CwalOs1lnHy21A9sIohWO2+uiE4SRtC9JXDg== dependencies: - concat-stream "1.6.2" - debug "2.6.9" - mkdirp "0.5.1" - yauzl "2.4.1" + debug "^4.1.1" + get-stream "^5.1.0" + yauzl "^2.10.0" + optionalDependencies: + "@types/yauzl" "^2.9.1" extsprintf@1.3.0, extsprintf@^1.2.0: version "1.3.0" @@ -4792,10 +4927,10 @@ faye-websocket@~0.11.1: dependencies: websocket-driver ">=0.5.1" -fd-slicer@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" - integrity sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU= +fd-slicer@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" + integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= dependencies: pend "~1.2.0" @@ -5063,6 +5198,11 @@ from2@^2.1.0: inherits "^2.0.1" readable-stream "^2.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" + integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== + fs-extra@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" @@ -5212,6 +5352,13 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" +get-stream@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" + integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + dependencies: + pump "^3.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -5249,10 +5396,10 @@ glob-parent@~5.1.0: dependencies: is-glob "^4.0.1" -glob@7.1.6, glob@^7.1.4: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== +glob@7.1.2, 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" + integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -5261,9 +5408,10 @@ glob@7.1.6, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.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" +glob@7.1.6, glob@^7.1.4: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -5890,7 +6038,7 @@ inherits@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" -inherits@2.0.4: +inherits@2.0.4, inherits@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -6495,6 +6643,14 @@ jest-worker@25.1.0, jest-worker@^25.1.0: merge-stream "^2.0.0" supports-color "^7.0.0" +jest-worker@^24.9.0: + version "24.9.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" + integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw== + dependencies: + merge-stream "^2.0.0" + supports-color "^6.1.0" + js-tokens@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" @@ -6748,10 +6904,6 @@ kind-of@^6.0.0, kind-of@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" -lazy-cache@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" - lazy-cache@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-2.0.2.tgz#b9190a4f913354694840859f8a8f7084d8822264" @@ -7003,10 +7155,6 @@ loglevel@^1.6.6: resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171" integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA== -longest@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" - loose-envify@^1.0.0: version "1.3.1" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" @@ -7243,11 +7391,6 @@ mime-db@1.42.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" integrity sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ== -mime-db@1.43.0: - version "1.43.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" - integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== - "mime-db@>= 1.40.0 < 2": version "1.40.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" @@ -7267,13 +7410,6 @@ mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.16, dependencies: mime-db "~1.30.0" -mime-types@^2.1.25: - version "2.1.26" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" - integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== - dependencies: - mime-db "1.43.0" - mime-types@~2.1.18, mime-types@~2.1.19: version "2.1.20" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.20.tgz#930cb719d571e903738520f8470911548ca2cc19" @@ -7467,11 +7603,16 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" +mkdirp-classic@^0.5.2: + version "0.5.3" + resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" + integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== + mkdirp@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e" -mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: +mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" dependencies: @@ -9086,21 +9227,21 @@ punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-2.1.1.tgz#ccde47c2a688f131883b50f2d697bd25189da27e" - integrity sha512-LWzaDVQkk1EPiuYeTOj+CZRIjda4k2s5w4MK4xoH2+kgWV/SDlkYHmxatDdtYrciHUKSXTsGgPgPP8ILVdBsxg== +puppeteer@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-3.3.0.tgz#95839af9fdc0aa4de7e5ee073a4c0adeb9e2d3d7" + integrity sha512-23zNqRltZ1PPoK28uRefWJ/zKb5Jhnzbbwbpcna2o5+QMn17F0khq5s1bdH3vPlyj+J36pubccR8wiNA/VE0Vw== dependencies: - "@types/mime-types" "^2.1.0" debug "^4.1.0" - extract-zip "^1.6.6" + extract-zip "^2.0.0" https-proxy-agent "^4.0.0" mime "^2.0.3" - mime-types "^2.1.25" progress "^2.0.1" proxy-from-env "^1.0.0" - rimraf "^2.6.1" - ws "^6.1.0" + rimraf "^3.0.2" + tar-fs "^2.0.0" + unbzip2-stream "^1.3.3" + ws "^7.2.3" q@1.4.1: version "1.4.1" @@ -9334,6 +9475,15 @@ readable-stream@^3.0.6: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readable-stream@^3.1.1, readable-stream@^3.4.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@~2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" @@ -9734,19 +9884,13 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -right-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" - dependencies: - align-text "^0.1.1" - rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: glob "^7.0.5" -rimraf@3.0.2: +rimraf@3.0.2, 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== @@ -9797,11 +9941,16 @@ rollup-plugin-node-resolve@^4.0.0: is-module "^1.0.0" resolve "^1.10.0" -rollup-plugin-uglify@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-uglify/-/rollup-plugin-uglify-1.0.2.tgz#d4aa6f5df13522eae1ba17780c7c4c7096038359" +rollup-plugin-terser@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.3.0.tgz#9c0dd33d5771df9630cd027d6a2559187f65885e" + integrity sha512-XGMJihTIO3eIBsVGq7jiNYOdDMb3pVxuzY0uhOE/FM4x/u9nQgr3+McsjzqBn3QfHIpNSZmFnpoKAwHBEcsT7g== dependencies: - uglify-js "^2.6.1" + "@babel/code-frame" "^7.5.5" + jest-worker "^24.9.0" + rollup-pluginutils "^2.8.2" + serialize-javascript "^2.1.2" + terser "^4.6.2" rollup-pluginutils@^2.3.3: version "2.4.1" @@ -9811,6 +9960,13 @@ rollup-pluginutils@^2.3.3: estree-walker "^0.6.0" micromatch "^3.1.10" +rollup-pluginutils@^2.8.2: + version "2.8.2" + resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" + integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== + dependencies: + estree-walker "^0.6.1" + rollup@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.1.0.tgz#552e248e397a06b9c6db878c0564ca4ee06729c9" @@ -10504,7 +10660,7 @@ source-map@0.7.3, 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.0, source-map@^0.5.1, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: +source-map@^0.5.0, source-map@^0.5.1, source-map@^0.5.6, source-map@^0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" @@ -10973,6 +11129,16 @@ tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== +tar-fs@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5" + integrity sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg== + dependencies: + chownr "^1.1.1" + mkdirp-classic "^0.5.2" + pump "^3.0.0" + tar-stream "^2.0.0" + tar-pack@^3.4.0: version "3.4.1" resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" @@ -10986,6 +11152,17 @@ tar-pack@^3.4.0: tar "^2.2.1" uid-number "^0.0.6" +tar-stream@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.2.tgz#6d5ef1a7e5783a95ff70b69b97455a5968dc1325" + integrity sha512-UaF6FoJ32WqALZGOIAApXx+OdxhekNMChu6axLJR85zMMjXKWFGjbIRe+J6P4UnRGg9rAwWvbTT0oI7hD/Un7Q== + dependencies: + bl "^4.0.1" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + tar@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" @@ -11095,6 +11272,15 @@ terser@^4.4.3: source-map "~0.6.1" source-map-support "~0.5.12" +terser@^4.6.2: + version "4.6.13" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.13.tgz#e879a7364a5e0db52ba4891ecde007422c56a916" + integrity sha512-wMvqukYgVpQlymbnNbabVZbtM6PN63AzqexpwJL8tbh/mRT9LE5o+ruVduAGL7D6Fpjl+Q+06U5I9Ul82odAhw== + dependencies: + commander "^2.20.0" + source-map "~0.6.1" + source-map-support "~0.5.12" + tfunk@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/tfunk/-/tfunk-3.1.0.tgz#38e4414fc64977d87afdaa72facb6d29f82f7b5b" @@ -11109,7 +11295,7 @@ through2@^2.0.0: readable-stream "^2.1.5" xtend "~4.0.1" -"through@>=2.2.7 <3", through@X.X.X, through@^2.3.6: +"through@>=2.2.7 <3", through@X.X.X, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" @@ -11361,15 +11547,6 @@ ua-parser-js@0.7.21: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777" integrity sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ== -uglify-js@^2.6.1: - version "2.8.29" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" - dependencies: - source-map "~0.5.1" - yargs "~3.10.0" - optionalDependencies: - uglify-to-browserify "~1.0.0" - uglify-js@^3.1.4: version "3.7.3" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.7.3.tgz#f918fce9182f466d5140f24bb0ff35c2d32dcc6a" @@ -11378,10 +11555,6 @@ uglify-js@^3.1.4: commander "~2.20.3" source-map "~0.6.1" -uglify-to-browserify@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" - uid-number@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" @@ -11394,6 +11567,14 @@ ultron@~1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" +unbzip2-stream@^1.3.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" + integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== + dependencies: + buffer "^5.2.1" + through "^2.3.8" + underscore@1.7.x: version "1.7.0" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.7.0.tgz#6bbaf0877500d36be34ecaa584e0db9fef035209" @@ -11926,10 +12107,6 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2" -window-size@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" - window-size@^0.1.2: version "0.1.4" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" @@ -11943,10 +12120,6 @@ word-wrap@~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@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" - wordwrap@~0.0.2: version "0.0.3" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" @@ -12002,7 +12175,7 @@ ws@1.1.1: options ">=0.0.5" ultron "1.0.x" -ws@^6.1.0, ws@^6.2.1: +ws@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== @@ -12014,6 +12187,11 @@ ws@^7.2.1: resolved "https://registry.yarnpkg.com/ws/-/ws-7.2.3.tgz#a5411e1fb04d5ed0efee76d26d5c46d830c39b46" integrity sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ== +ws@^7.2.3: + version "7.3.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd" + integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w== + ws@~3.3.1: version "3.3.3" resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" @@ -12240,21 +12418,13 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.1" -yargs@~3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" +yauzl@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" + integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= dependencies: - camelcase "^1.0.2" - cliui "^2.1.0" - decamelize "^1.0.0" - window-size "0.1.0" - -yauzl@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" - integrity sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU= - dependencies: - fd-slicer "~1.0.1" + buffer-crc32 "~0.2.3" + fd-slicer "~1.1.0" yeast@0.1.2: version "0.1.2" diff --git a/aio/tools/transforms/angular-api-package/index.js b/aio/tools/transforms/angular-api-package/index.js index eea0910068..8b6e065ed2 100644 --- a/aio/tools/transforms/angular-api-package/index.js +++ b/aio/tools/transforms/angular-api-package/index.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,6 +15,8 @@ module.exports = new Package('angular-api', [basePackage, typeScriptPackage]) // Register the processors + .processor(require('./processors/mergeParameterInfo')) + .processor(require('./processors/processPseudoClasses')) .processor(require('./processors/splitDescription')) .processor(require('./processors/convertPrivateClassesToInterfaces')) .processor(require('./processors/generateApiListDoc')) @@ -76,7 +78,6 @@ module.exports = .config(function( readTypeScriptModules, readFilesProcessor, collectExamples, tsParser, packageContentFileReader) { - // Tell TypeScript how to load modules that start with with `@angular` tsParser.options.paths = {'@angular/*': [API_SOURCE_PATH + '/*']}; tsParser.options.baseUrl = '.'; @@ -181,14 +182,11 @@ module.exports = }) .config(function(filterMembers) { - filterMembers.notAllowedPatterns.push( - /^ɵ/ - ); + filterMembers.notAllowedPatterns.push(/^ɵ/); }) .config(function(computePathsProcessor, EXPORT_DOC_TYPES, generateApiListDoc) { - const API_SEGMENT = 'api'; generateApiListDoc.outputFolder = API_SEGMENT; diff --git a/aio/tools/transforms/angular-api-package/mocks/importedSrc.ts b/aio/tools/transforms/angular-api-package/mocks/importedSrc.ts index a3f9d5d19b..816491e023 100644 --- a/aio/tools/transforms/angular-api-package/mocks/importedSrc.ts +++ b/aio/tools/transforms/angular-api-package/mocks/importedSrc.ts @@ -1,9 +1,9 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 const x = 100; \ No newline at end of file +export const x = 100; diff --git a/aio/tools/transforms/angular-api-package/mocks/methodParameters.ts b/aio/tools/transforms/angular-api-package/mocks/methodParameters.ts new file mode 100644 index 0000000000..2772938049 --- /dev/null +++ b/aio/tools/transforms/angular-api-package/mocks/methodParameters.ts @@ -0,0 +1,20 @@ +export class TestClass { + method1( + /** description of param1 */ param1: number, + /** description of param2 */ param2?: string, + /** description of param3 */ param3: object = {}, + /** description of param4 */ param4 = 'default string', + ) { + /// + } + + /** + * Some description of method 2 + * @param param5 description of param5 + * @param param6 description of param6 + * @param param7 description of param7 + */ + method2(param5: string, param6: number, param7 = 42) { + // + } +} diff --git a/aio/tools/transforms/angular-api-package/mocks/testSrc.ts b/aio/tools/transforms/angular-api-package/mocks/testSrc.ts index 1b6863cefb..8a0dcd7343 100644 --- a/aio/tools/transforms/angular-api-package/mocks/testSrc.ts +++ b/aio/tools/transforms/angular-api-package/mocks/testSrc.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/angular-api-package/processors/extractDecoratedClasses.js b/aio/tools/transforms/angular-api-package/processors/extractDecoratedClasses.js index e245b40987..1f9bf983bf 100644 --- a/aio/tools/transforms/angular-api-package/processors/extractDecoratedClasses.js +++ b/aio/tools/transforms/angular-api-package/processors/extractDecoratedClasses.js @@ -1,5 +1,3 @@ -var _ = require('lodash'); - module.exports = function extractDecoratedClassesProcessor(EXPORT_DOC_TYPES) { // Add the "directive" docType into those that can be exported from a module @@ -10,12 +8,9 @@ module.exports = function extractDecoratedClassesProcessor(EXPORT_DOC_TYPES) { $runBefore: ['docs-processed'], decoratorTypes: ['Directive', 'Component', 'Pipe', 'NgModule'], $process: function(docs) { - var decoratorTypes = this.decoratorTypes; - - _.forEach(docs, function(doc) { - - _.forEach(doc.decorators, function(decorator) { - + const decoratorTypes = this.decoratorTypes; + docs.forEach(doc => { + (doc.decorators || []).forEach(decorator => { if (decoratorTypes.indexOf(decorator.name) !== -1) { doc.docType = decorator.name.toLowerCase(); // Directives do not always have an argument (i.e. abstract directives). diff --git a/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.js b/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.js new file mode 100644 index 0000000000..f07b1beb4e --- /dev/null +++ b/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.js @@ -0,0 +1,31 @@ +/** + * @dgProcessor + * + * @description + * Merge the description from `@param` tags into the parameter docs + * extracted from the TypeScript + * + * This is actually an override of the processor provided by the `typescript` dgeni package. + * The original does not set the `defaultValue`. + */ +module.exports = function mergeParameterInfo() { + return { + $runAfter: ['readTypeScriptModules', 'tags-extracted'], + $runBefore: ['extra-docs-added'], + $process(docs) { + docs.forEach((doc) => { + if (doc.docType === 'parameter') { + // The `params` property comes from parsing the `@param` jsdoc tags on the container doc + const paramTag = + doc.container.params && doc.container.params.find(param => param.name === doc.name); + if (paramTag && paramTag.description) { + doc.description = paramTag.description; + if (doc.defaultValue === undefined) { + doc.defaultValue = paramTag.defaultValue; + } + } + } + }); + }, + }; +}; diff --git a/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.spec.js b/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.spec.js new file mode 100644 index 0000000000..ffbc7094f3 --- /dev/null +++ b/aio/tools/transforms/angular-api-package/processors/mergeParameterInfo.spec.js @@ -0,0 +1,48 @@ +const Dgeni = require('dgeni'); +const path = require('canonical-path'); +const testPackage = require('../../helpers/test-package'); + +describe('mergeParameterInfo', () => { + let injector; + let tsProcessor; + let mergeParameterInfoProcessor; + let parseTagsProcessor; + let extractTagsProcessor; + + beforeEach(() => { + const dgeni = new Dgeni([testPackage('angular-api-package')]); + injector = dgeni.configureInjector(); + + tsProcessor = injector.get('readTypeScriptModules'); + parseTagsProcessor = injector.get('parseTagsProcessor'); + extractTagsProcessor = injector.get('extractTagsProcessor'); + mergeParameterInfoProcessor = injector.get('mergeParameterInfo'); + tsProcessor.basePath = path.resolve(__dirname, '../mocks'); + tsProcessor.sourceFiles = ['methodParameters.ts']; + }); + + it('should merge the param tags into the parameter docs', () => { + const docsArray = []; + + tsProcessor.$process(docsArray); + parseTagsProcessor.$process(docsArray); + extractTagsProcessor.$process(docsArray); + mergeParameterInfoProcessor.$process(docsArray); + + const param5 = docsArray.find(doc => doc.name === 'param5' && doc.container.name === 'method2'); + expect(param5.id).toEqual('methodParameters/TestClass.method2()~param5'); + expect(param5.description).toEqual('description of param5'); + expect(param5.type).toEqual('string'); + + const param6 = docsArray.find(doc => doc.name === 'param6' && doc.container.name === 'method2'); + expect(param6.id).toEqual('methodParameters/TestClass.method2()~param6'); + expect(param6.description).toEqual('description of param6'); + expect(param6.type).toEqual('number'); + + const param7 = docsArray.find(doc => doc.name === 'param7' && doc.container.name === 'method2'); + expect(param7.id).toEqual('methodParameters/TestClass.method2()~param7'); + expect(param7.description).toEqual('description of param7'); + expect(param7.type).toEqual('number'); + expect(param7.defaultValue).toEqual('42'); + }); +}); diff --git a/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.js b/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.js new file mode 100644 index 0000000000..9a51ce842e --- /dev/null +++ b/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.js @@ -0,0 +1,27 @@ +module.exports = function processPseudoClasses(tsHost) { + return { + $runAfter: ['readTypeScriptModules'], + $runBefore: ['parsing-tags'], + $process(docs) { + docs.forEach(doc => { + if (doc.docType === 'interface' && doc.additionalDeclarations && + doc.additionalDeclarations.length > 0) { + doc.docType = 'class'; + const additionalContent = tsHost.getContent(doc.additionalDeclarations[0]); + if (!doc.content || doc.content === '@publicApi' && additionalContent) { + doc.content = additionalContent; + } + doc.members = doc.members && doc.members.filter(m => { + if (m.isNewMember) { + doc.constructorDoc = m; + doc.constructorDoc.name = 'constructor'; + return false; + } else { + return true; + } + }); + } + }); + } + }; +}; diff --git a/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.spec.js b/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.spec.js new file mode 100644 index 0000000000..3913f6448b --- /dev/null +++ b/aio/tools/transforms/angular-api-package/processors/processPseudoClasses.spec.js @@ -0,0 +1,97 @@ +const testPackage = require('../../helpers/test-package'); +const processorFactory = require('./processPseudoClasses'); +const Dgeni = require('dgeni'); + +describe('processPseudoClasses processor', () => { + it('should be available on the injector', () => { + const dgeni = new Dgeni([testPackage('angular-api-package')]); + const injector = dgeni.configureInjector(); + const processor = injector.get('processPseudoClasses'); + expect(processor.$process).toBeDefined(); + expect(processor.$runAfter).toEqual(['readTypeScriptModules']); + expect(processor.$runBefore).toEqual(['parsing-tags']); + }); + + it('should convert "interface+const" docs to "class" docs', () => { + const processor = processorFactory(jasmine.createSpyObj(['getContent'])); + const docs = [ + {docType: 'module', id: 'a'}, + {docType: 'class', id: 'b'}, + {docType: 'interface', id: 'c'}, + {docType: 'interface', id: 'd', additionalDeclarations: []}, + {docType: 'interface', id: 'e', additionalDeclarations: [{}]}, + {docType: 'const', id: 'f'}, + {docType: 'const', id: 'g', additionalDeclarations: []}, + {docType: 'const', id: 'h', additionalDeclarations: [{}]}, + ]; + processor.$process(docs); + expect(docs).toEqual([ + jasmine.objectContaining({docType: 'module', id: 'a'}), + jasmine.objectContaining({docType: 'class', id: 'b'}), + jasmine.objectContaining({docType: 'interface', id: 'c'}), + jasmine.objectContaining({docType: 'interface', id: 'd'}), + + // This is the only one that changes + jasmine.objectContaining({docType: 'class', id: 'e'}), + + jasmine.objectContaining({docType: 'const', id: 'f'}), + jasmine.objectContaining({docType: 'const', id: 'g'}), + jasmine.objectContaining({docType: 'const', id: 'h'}), + ]); + }); + + it('should grab the content from the first additional declaration if there is no "real" content already', + () => { + const getContent = jasmine.createSpy('getContent').and.returnValue('additional content'); + const additionalDeclaration1 = {}; + const additionalDeclaration2 = {}; + const additionalDeclaration3 = {}; + const processor = processorFactory({getContent}); + const docs = [ + { + docType: 'interface', + id: 'a', + content: 'original content', + additionalDeclarations: [additionalDeclaration1] + }, + { + docType: 'interface', + id: 'b', + content: '@publicApi', // this does not count as "real" content + additionalDeclarations: [additionalDeclaration2] + }, + {docType: 'interface', id: 'c', additionalDeclarations: [additionalDeclaration3]}, + ]; + processor.$process(docs); + expect(docs[0].content).toEqual('original content'); + expect(docs[1].content).toEqual('additional content'); + expect(docs[2].content).toEqual('additional content'); + expect(getContent).toHaveBeenCalledWith(additionalDeclaration1); + expect(getContent).toHaveBeenCalledWith(additionalDeclaration2); + expect(getContent).toHaveBeenCalledWith(additionalDeclaration3); + }); + + it('should extract any __new member from the interface members', () => { + const getContent = jasmine.createSpy('getContent').and.returnValue('additional content'); + const processor = processorFactory({getContent}); + const docs = [ + {docType: 'interface', id: 'a', additionalDeclarations: [{}]}, + {docType: 'interface', id: 'b', additionalDeclarations: [{}], members: []}, + {docType: 'interface', id: 'c', additionalDeclarations: [{}], members: [{name: 'member1'}]}, + { + docType: 'interface', + id: 'd', + additionalDeclarations: [{}], + members: [{name: 'member1', isNewMember: true}] + }, + ]; + processor.$process(docs); + + expect(docs[0].members).toEqual(undefined); + expect(docs[1].members).toEqual([]); + expect(docs[2].members).toEqual([{name: 'member1'}]); + + expect(docs[3].members).toEqual([]); + expect(docs[3].constructorDoc).toEqual({name: 'constructor', isNewMember: true}); + }); +}); diff --git a/aio/tools/transforms/angular-base-package/index.js b/aio/tools/transforms/angular-base-package/index.js index 7642b2e020..2947e5da3c 100644 --- a/aio/tools/transforms/angular-base-package/index.js +++ b/aio/tools/transforms/angular-base-package/index.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/angular-base-package/inline-tag-defs/custom-search-defs/index.js b/aio/tools/transforms/angular-base-package/inline-tag-defs/custom-search-defs/index.js index 048853a370..8961d4de1b 100644 --- a/aio/tools/transforms/angular-base-package/inline-tag-defs/custom-search-defs/index.js +++ b/aio/tools/transforms/angular-base-package/inline-tag-defs/custom-search-defs/index.js @@ -1,9 +1,9 @@ module.exports = { name: 'searchKeywords', - description: 'A shorthand for creating elements with search terms. Usage: `{@searchKeywords term1 term2 termN }`', + description: + 'A shorthand for creating elements with search terms. Usage: `{@searchKeywords term1 term2 termN }`', handler: function(doc, tagName, tagDescription) { doc.searchKeywords = tagDescription; - return doc; + return ''; } }; - \ No newline at end of file diff --git a/aio/tools/transforms/angular-base-package/post-processors/add-image-dimensions.js b/aio/tools/transforms/angular-base-package/post-processors/add-image-dimensions.js index 075c0de44d..470652b12c 100644 --- a/aio/tools/transforms/angular-base-package/post-processors/add-image-dimensions.js +++ b/aio/tools/transforms/angular-base-package/post-processors/add-image-dimensions.js @@ -15,25 +15,28 @@ module.exports = function addImageDimensions(getImageDimensions) { return (ast, file) => { visit(ast, node => { - if (is(node, 'img')) { - const props = node.properties; - const src = props.src; - if (!src) { - file.message('Missing src in image tag `' + source(node, file) + '`'); + if (!is(node, 'img')) { + return; + } + + const props = node.properties; + const src = props.src; + if (!src) { + file.message('Missing src in image tag `' + source(node, file) + '`'); + return; + } + + try { + const dimensions = getImageDimensions(addImageDimensionsImpl.basePath, src); + if (props.width === undefined && props.height === undefined) { + props.width = '' + dimensions.width; + props.height = '' + dimensions.height; + } + } catch(e) { + if (e.code === 'ENOENT') { + file.fail('Unable to load src in image tag `' + source(node, file) + '`'); } else { - try { - const dimensions = getImageDimensions(addImageDimensionsImpl.basePath, src); - if (props.width === undefined && props.height === undefined) { - props.width = '' + dimensions.width; - props.height = '' + dimensions.height; - } - } catch(e) { - if (e.code === 'ENOENT') { - file.fail('Unable to load src in image tag `' + source(node, file) + '`'); - } else { - file.fail(e.message); - } - } + file.fail(e.message); } } }); diff --git a/aio/tools/transforms/angular-base-package/processors/checkUnbalancedBackTicks.js b/aio/tools/transforms/angular-base-package/processors/checkUnbalancedBackTicks.js index f79b1ba961..97302ca70e 100644 --- a/aio/tools/transforms/angular-base-package/processors/checkUnbalancedBackTicks.js +++ b/aio/tools/transforms/angular-base-package/processors/checkUnbalancedBackTicks.js @@ -1,5 +1,3 @@ -var _ = require('lodash'); - /** * @dgProcessor checkUnbalancedBackTicks * @description @@ -9,25 +7,28 @@ var _ = require('lodash'); */ module.exports = function checkUnbalancedBackTicks(log, createDocMessage) { - var BACKTICK_REGEX = /^ *```/gm; + const BACKTICK_REGEX = /^ *```/gm; + const UNBALANCED_BACKTICK_WARNING = 'checkUnbalancedBackTicks processor: unbalanced backticks found in rendered content'; return { - // $runAfter: ['checkAnchorLinksProcessor'], $runAfter: ['inlineTagProcessor'], $runBefore: ['writeFilesProcessor'], $process: function(docs) { - _.forEach(docs, function(doc) { - if (doc.renderedContent) { - var matches = doc.renderedContent.match(BACKTICK_REGEX); - if (matches && matches.length % 2 !== 0) { - doc.unbalancedBackTicks = true; - log.warn(createDocMessage( - 'checkUnbalancedBackTicks processor: unbalanced backticks found in rendered content', - doc)); - log.warn(doc.renderedContent); - } - } - }); + docs + .forEach(doc => setUnbalancedBackTicks(doc)); } }; + + function setUnbalancedBackTicks(doc) { + if (!doc.renderedContent) { + return; + } + + const matches = doc.renderedContent.match(BACKTICK_REGEX); + if (matches && matches.length % 2 !== 0) { + doc.unbalancedBackTicks = true; + log.warn(createDocMessage(UNBALANCED_BACKTICK_WARNING, doc)); + log.warn(doc.renderedContent); + } + } }; \ No newline at end of file diff --git a/aio/tools/transforms/angular-content-package/index.js b/aio/tools/transforms/angular-content-package/index.js index df24e0e8ee..df577f8aa6 100644 --- a/aio/tools/transforms/angular-content-package/index.js +++ b/aio/tools/transforms/angular-content-package/index.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/angular.io-package/index.js b/aio/tools/transforms/angular.io-package/index.js index f2b818f855..1e4b50ea4d 100644 --- a/aio/tools/transforms/angular.io-package/index.js +++ b/aio/tools/transforms/angular.io-package/index.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/angular.io-package/processors/createOverviewDump.js b/aio/tools/transforms/angular.io-package/processors/createOverviewDump.js index ab590315b0..aea0c9b1f5 100644 --- a/aio/tools/transforms/angular.io-package/processors/createOverviewDump.js +++ b/aio/tools/transforms/angular.io-package/processors/createOverviewDump.js @@ -1,23 +1,23 @@ -var _ = require('lodash'); - module.exports = function createOverviewDump() { return { $runAfter: ['processing-docs'], $runBefore: ['docs-processed'], $process: function(docs) { - var overviewDoc = { + const overviewDoc = { id: 'overview-dump', aliases: ['overview-dump'], path: 'overview-dump', outputPath: 'overview-dump.html', modules: [] }; - _.forEach(docs, function(doc) { + + docs.forEach(doc => { if (doc.docType === 'package') { overviewDoc.modules.push(doc); } }); + docs.push(overviewDoc); } }; diff --git a/aio/tools/transforms/authors-package/api-package.js b/aio/tools/transforms/authors-package/api-package.js index 92b85ab2ed..77698753c0 100644 --- a/aio/tools/transforms/authors-package/api-package.js +++ b/aio/tools/transforms/authors-package/api-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/authors-package/getting-started-package.js b/aio/tools/transforms/authors-package/getting-started-package.js index 350cee340e..02fa87e39b 100644 --- a/aio/tools/transforms/authors-package/getting-started-package.js +++ b/aio/tools/transforms/authors-package/getting-started-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -44,4 +44,4 @@ function createPackage(tutorialName) { } -module.exports = { createPackage }; \ No newline at end of file +module.exports = { createPackage }; diff --git a/aio/tools/transforms/authors-package/guide-package.js b/aio/tools/transforms/authors-package/guide-package.js index 8bac6f4ba4..3926e21856 100644 --- a/aio/tools/transforms/authors-package/guide-package.js +++ b/aio/tools/transforms/authors-package/guide-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -43,4 +43,4 @@ function createPackage(guideName) { }); } -module.exports = { createPackage }; \ No newline at end of file +module.exports = { createPackage }; diff --git a/aio/tools/transforms/authors-package/index.js b/aio/tools/transforms/authors-package/index.js index f8bad88e37..cfb5dac96a 100644 --- a/aio/tools/transforms/authors-package/index.js +++ b/aio/tools/transforms/authors-package/index.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/tools/transforms/authors-package/marketing-package.js b/aio/tools/transforms/authors-package/marketing-package.js index 30dac6b9d8..dd762096fe 100644 --- a/aio/tools/transforms/authors-package/marketing-package.js +++ b/aio/tools/transforms/authors-package/marketing-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -39,4 +39,4 @@ function createPackage() { } -module.exports = { createPackage }; \ No newline at end of file +module.exports = { createPackage }; diff --git a/aio/tools/transforms/authors-package/tutorial-package.js b/aio/tools/transforms/authors-package/tutorial-package.js index 5bc6cce023..0bcc72ca04 100644 --- a/aio/tools/transforms/authors-package/tutorial-package.js +++ b/aio/tools/transforms/authors-package/tutorial-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -44,4 +44,4 @@ function createPackage(tutorialName) { } -module.exports = { createPackage }; \ No newline at end of file +module.exports = { createPackage }; diff --git a/aio/tools/transforms/helpers/test-package.js b/aio/tools/transforms/helpers/test-package.js index a714ed929c..92652d4f2f 100644 --- a/aio/tools/transforms/helpers/test-package.js +++ b/aio/tools/transforms/helpers/test-package.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/aio/yarn.lock b/aio/yarn.lock index 31ee177be2..cdb3d4b4e1 100644 --- a/aio/yarn.lock +++ b/aio/yarn.lock @@ -2,34 +2,36 @@ # yarn lockfile v1 -"@angular-devkit/architect@0.1000.0-next.3": - version "0.1000.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1000.0-next.3.tgz#9f27210611721d93bf211813b977bbcb017a7935" - integrity sha512-MYTcJ0W8AjQML5+zotnG2syHLxKZtoreGijJsxU6LDye9E+JlCndsjxjQe0Hqw6wNXbfwjUeUwmSZkyplcHv9g== +"@angular-devkit/architect@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1000.0-rc.2.tgz#a6aaef2ceed03c28817b23d0e393bf67b383a393" + integrity sha512-4Nhrr56cVEXAykIwAVcpqKNNeMXIpfoxeWF/PLWr5VTV8XR2GO1h7wGz0f1/RRrxkOy5/6EGD7GoPpNVoPQ1/A== dependencies: - "@angular-devkit/core" "10.0.0-next.3" + "@angular-devkit/core" "10.0.0-rc.2" rxjs "6.5.5" -"@angular-devkit/build-angular@0.1000.0-next.3": - version "0.1000.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.1000.0-next.3.tgz#a9614caa3870982908b181f65382fa09151c5609" - integrity sha512-K364fOYy6/HpOVofQaQCVKbLx8oA+cricYzQ/5vgzThT2STwTgRn7DJ1huWpwg1OvqsHfZNEkAlJn8sji5tRpg== +"@angular-devkit/build-angular@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.1000.0-rc.2.tgz#162992f6a6b59b7a7ac79bada23512c469b44976" + integrity sha512-ZDxgrGaVqwUbOf4y4NDdAlJ2GEaPSMQ39l24jtTAyIOQ7IIICaEI7VWMBIeioY7MS/CY83EnbygiqjB6ks+LPA== dependencies: - "@angular-devkit/architect" "0.1000.0-next.3" - "@angular-devkit/build-optimizer" "0.1000.0-next.3" - "@angular-devkit/build-webpack" "0.1000.0-next.3" - "@angular-devkit/core" "10.0.0-next.3" - "@babel/core" "7.9.0" - "@babel/generator" "7.9.4" - "@babel/preset-env" "7.9.0" + "@angular-devkit/architect" "0.1000.0-rc.2" + "@angular-devkit/build-optimizer" "0.1000.0-rc.2" + "@angular-devkit/build-webpack" "0.1000.0-rc.2" + "@angular-devkit/core" "10.0.0-rc.2" + "@babel/core" "7.9.6" + "@babel/generator" "7.9.6" + "@babel/plugin-transform-runtime" "7.9.6" + "@babel/preset-env" "7.9.6" + "@babel/runtime" "7.9.6" "@babel/template" "7.8.6" "@jsdevtools/coverage-istanbul-loader" "3.0.3" - "@ngtools/webpack" "10.0.0-next.3" + "@ngtools/webpack" "10.0.0-rc.2" ajv "6.12.2" - autoprefixer "9.7.6" + autoprefixer "9.8.0" babel-loader "8.1.0" browserslist "^4.9.1" - cacache "15.0.0" + cacache "15.0.3" caniuse-lite "^1.0.30001032" circular-dependency-plugin "5.2.0" copy-webpack-plugin "5.1.1" @@ -39,71 +41,69 @@ file-loader "6.0.0" find-cache-dir "3.3.1" glob "7.1.6" - jest-worker "25.5.0" + jest-worker "26.0.0" karma-source-map-support "1.4.0" - less "3.11.1" - less-loader "5.0.0" - license-checker-webpack-plugin "0.1.4" + less-loader "6.1.0" + license-webpack-plugin "2.2.0" loader-utils "2.0.0" mini-css-extract-plugin "0.9.0" minimatch "3.0.4" - open "7.0.3" + open "7.0.4" parse5 "4.0.0" pnp-webpack-plugin "1.6.4" - postcss "7.0.27" + postcss "7.0.31" postcss-import "12.0.1" postcss-loader "3.0.0" raw-loader "4.0.1" regenerator-runtime "0.13.5" resolve-url-loader "3.1.1" rimraf "3.0.2" - rollup "2.7.3" + rollup "2.10.9" rxjs "6.5.5" sass "1.26.5" sass-loader "8.0.2" semver "7.3.2" source-map "0.7.3" - source-map-loader "0.2.4" + source-map-loader "1.0.0" source-map-support "0.5.19" speed-measure-webpack-plugin "1.3.3" style-loader "1.2.1" stylus "0.54.7" stylus-loader "3.0.2" - terser "4.6.12" - terser-webpack-plugin "2.3.6" + terser "4.7.0" + terser-webpack-plugin "3.0.1" tree-kill "1.2.2" webpack "4.43.0" webpack-dev-middleware "3.7.2" - webpack-dev-server "3.10.3" + webpack-dev-server "3.11.0" webpack-merge "4.2.2" webpack-sources "1.4.3" - webpack-subresource-integrity "1.4.0" - worker-plugin "4.0.2" + webpack-subresource-integrity "1.4.1" + worker-plugin "4.0.3" -"@angular-devkit/build-optimizer@0.1000.0-next.3": - version "0.1000.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.1000.0-next.3.tgz#26b85ddf2b004b471dcfc3614e3778ee0c3f20af" - integrity sha512-Jr6XXH7XV1GzCYzqk9k+hCI4uZMTOYzaOMk+uu0oyMZj6b2eGC4qJICxoYAZcLw0KZ4AqJZXo6nbvVpIUT4jGQ== +"@angular-devkit/build-optimizer@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.1000.0-rc.2.tgz#963043cbcc50869a3b8f6c9152388dcb2240c42a" + integrity sha512-z9lhoS9/mwsQ5zltoiWkzz3NDhqtAu1jr8WObha+nV2Lh087Un1PbgmZDGfZUKoOacve8vm39472D9+ypT5U+w== dependencies: loader-utils "2.0.0" source-map "0.7.3" - tslib "1.11.1" - typescript "3.6.5" + tslib "2.0.0" webpack-sources "1.4.3" -"@angular-devkit/build-webpack@0.1000.0-next.3": - version "0.1000.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.1000.0-next.3.tgz#67a976339117bff8987d46722cfba44af5d839b0" - integrity sha512-U/eS8jve6Ss0zCerzhDQPH+pPdBjXqCJsABp0yZH7Ut6Btu1cz995at9g/qqEAjPjWeZUjup7tB+D2babcyt1Q== +"@angular-devkit/build-webpack@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.1000.0-rc.2.tgz#2d4fb96614d95aca6d825aeae71194335a79e3d0" + integrity sha512-2UCyDiGC9ymo0vNkDyc9c6u//+Z5VlU9hO7CI1fodH0/snXpjnPuP/BI74NMQFyYuK0MWQZe3AiUgybisqhnEA== dependencies: - "@angular-devkit/architect" "0.1000.0-next.3" - "@angular-devkit/core" "10.0.0-next.3" + "@angular-devkit/architect" "0.1000.0-rc.2" + "@angular-devkit/core" "10.0.0-rc.2" rxjs "6.5.5" -"@angular-devkit/core@10.0.0-next.3": - version "10.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-10.0.0-next.3.tgz#0c3bb06e2436739fec7cffdaea5c754feabb1252" - integrity sha512-CPYOe6QcsRpSPhBrvKwhiec1YomYTJfFn8bMxwbgzMnwNm6Pg2Nm8Y+VhU6HRXg5JYzfcC6MuYi7FKeqk0+Bwg== +"@angular-devkit/core@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-10.0.0-rc.2.tgz#6bc0bea5dec4b86960ff778e2d2b0ab5384648c3" + integrity sha512-Yggx8uKCLJ31u1NpSb6USZsHcbejUHgJlBAmC8WiJeSDROO/kiDWsfPqa5q94NmKXcv3gdVwN44c8h5HA4hcEQ== dependencies: ajv "6.12.2" fast-json-stable-stringify "2.1.0" @@ -111,19 +111,21 @@ rxjs "6.5.5" source-map "0.7.3" -"@angular-devkit/schematics@10.0.0-next.3": - version "10.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-10.0.0-next.3.tgz#67758fa951088d40a53fb2d5a832d7a1c5827de4" - integrity sha512-rtLZKD05JJytHQ88xFHHKSoLwYNFsD/vf3M4WWCOKwGrWFXKNF7l/Glb6KKB3RudonUG1PfHEnJ7OH4OuhQu9w== +"@angular-devkit/schematics@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-10.0.0-rc.2.tgz#9930a5f19f5b2b52adb428a86a807b0a85cbd6b6" + integrity sha512-vDDzpPgwmWaE3PXXZu+7RpoLssHcH1yY3bKwNCJZbKD9BFRwelTuIpNVdRZ4aXe2/zeEgY+8uJdliqdUYN8eDQ== dependencies: - "@angular-devkit/core" "10.0.0-next.3" + "@angular-devkit/core" "10.0.0-rc.2" ora "4.0.4" rxjs "6.5.5" -"@angular/animations@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-10.0.0-next.5.tgz#77dec4e94d447ff8fd33110c45666f90832286c7" - integrity sha512-5vC265XkSPrqcUOVsv82NsLcy85e1b7EpTxX5lscDV9F4TGTPfms2zFY0kfQR4A/pZ1tSaKRUlJCxtA695EAMA== +"@angular/animations@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-10.0.0-rc.2.tgz#d349c7088435c28b793a12a20c99a0d92fb28eae" + integrity sha512-dL06sIsVaxrIbiRHmUQdnjVoqSehD2Pa9BEMsmMmcWUYBUIeXpwWvE/AG8HFMba903UKsBq0U9VQ2UDnBBFlxg== + dependencies: + tslib "^2.0.0" "@angular/cdk@^9.2.2": version "9.2.2" @@ -132,16 +134,16 @@ optionalDependencies: parse5 "^5.0.0" -"@angular/cli@10.0.0-next.3": - version "10.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-10.0.0-next.3.tgz#520c28b4b4c2b3b70f5bc1d3325d0bc7ffb32a4e" - integrity sha512-RLYtngJNT9GTvBxiz/6rwDpAIcOpinq8E4eJZflyZ6ZArTKfkSxDrC7PpoWLJ5GfYbxGC3sv0wYZOyInJxT8BQ== +"@angular/cli@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-10.0.0-rc.2.tgz#48bb8e2d1ac5aa69945e491834c4da26b33565c7" + integrity sha512-95f7raKAoxRMyVbss4Wh37ixD99IwCd/3xvjMMqDt7u6ECW8B0weqmaZWiannrDQXkhncnfGqeC2+TufJ+ZHWw== dependencies: - "@angular-devkit/architect" "0.1000.0-next.3" - "@angular-devkit/core" "10.0.0-next.3" - "@angular-devkit/schematics" "10.0.0-next.3" - "@schematics/angular" "10.0.0-next.3" - "@schematics/update" "0.1000.0-next.3" + "@angular-devkit/architect" "0.1000.0-rc.2" + "@angular-devkit/core" "10.0.0-rc.2" + "@angular-devkit/schematics" "10.0.0-rc.2" + "@schematics/angular" "10.0.0-rc.2" + "@schematics/update" "0.1000.0-rc.2" "@yarnpkg/lockfile" "1.1.0" ansi-colors "4.1.1" debug "4.1.1" @@ -149,24 +151,26 @@ inquirer "7.1.0" npm-package-arg "8.0.1" npm-pick-manifest "6.1.0" - open "7.0.3" + open "7.0.4" pacote "9.5.12" read-package-tree "5.3.1" rimraf "3.0.2" semver "7.3.2" symbol-observable "1.2.0" universal-analytics "0.4.20" - uuid "7.0.3" + uuid "8.1.0" -"@angular/common@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.0.0-next.5.tgz#579b5667606b94d4e4288d9127c777aac6f18500" - integrity sha512-kHXKm+OsqsmIv1ZPZNE4reDFGtBVEzEj3XnE3LtY4HbvfjHa+gTspjAJXoD4BkVKHIbOa8bN1fxruzXxiFnfIA== +"@angular/common@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.0.0-rc.2.tgz#40f4f4ae4f99e3bdcc6332105d8f18b14d3814b7" + integrity sha512-ooCElBY1T4xpEJBDUiB34rOsy5/hV4mBvoY5HMlHq09Agc+X8QVOGe4RPP6v9aMLklkV1Lj3Z8YZWx8+fblJsA== + dependencies: + tslib "^2.0.0" -"@angular/compiler-cli@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-10.0.0-next.5.tgz#03553a978dd19b2dcd82e6c5f9728cf593dd8786" - integrity sha512-yOWclq1b98AUPaFXKzEeEL62dcP7pdA5f7UwJE79wQLF4nfJ0LiJ+4vR7A2baqVrHZHiK7DL/KbU2tRd5pPV6Q== +"@angular/compiler-cli@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-10.0.0-rc.2.tgz#31d2c388774a46857167e1e97c9ba513a1468c0b" + integrity sha512-9uYsFo/C/EpKUNIC5CHYST16xBRfEZ0+90kp6oS4vX/PqZ8hHMtMd/KOpO+aJKxDLKrkkZUOBWsRYXFnxX+H9g== dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -179,12 +183,15 @@ semver "^6.3.0" source-map "^0.6.1" sourcemap-codec "^1.4.8" + tslib "^2.0.0" yargs "15.3.0" -"@angular/compiler@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-10.0.0-next.5.tgz#7f83feb6c477683644cf0b43b636eeae62a88644" - integrity sha512-Y15MTkSkmUryuX6NNk/tcTMGbG1YpD5FMEIdCs36WKr70g31ueuXV9f5hvN26ODOePrsXnKjHaBLn4s2GBE4Kg== +"@angular/compiler@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-10.0.0-rc.2.tgz#0a8674938b7eed7f1f9a05cb7e51cfb61deacd14" + integrity sha512-7WdgSw1KvEqoIxNIJ3v+TkiriybCHmRnYIzHeuDzPwZ04MZogDirwhR4jtQ6lqbiI+3LgvmWdaXZEE2XGtQfMQ== + dependencies: + tslib "^2.0.0" "@angular/compiler@~8.2.14": version "8.2.14" @@ -193,10 +200,12 @@ dependencies: tslib "^1.9.0" -"@angular/core@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-10.0.0-next.5.tgz#0d2cab9f6e0eaa28d82c7e11d5a3bb7a2478fec7" - integrity sha512-2yGxpAhEggJ+rczN4T0wcUzaM5OKobleXjo7R/CGuqzz3icxtfWi+ZRzHMD7TTAfpz2blkR4fd6bfbae9IGReg== +"@angular/core@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-10.0.0-rc.2.tgz#4504478e1e95b9856c998798133cf4c92c7234c3" + integrity sha512-k0tXyQO3Yg+GqNxPF4ZQUlGS0PeODnQurox80VIDyfXYY7ds1c4LlXrFu/KBtlbG2i98tl5H8wq3u2+RNs9zPQ== + dependencies: + tslib "^2.0.0" "@angular/core@~8.2.14": version "8.2.14" @@ -205,59 +214,57 @@ dependencies: tslib "^1.9.0" -"@angular/elements@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/elements/-/elements-10.0.0-next.5.tgz#d837cc3699ccfc05c21f4478e3dd77d04275ff3c" - integrity sha512-alW+p3NCM1h7ypz2FxRq5xxmg0k3qAZPnzf5Dsx/jRsPlRU0l4m9DzF3Q9sYUtlYVtIE6Hpg4FgKCeVOljm6Xw== +"@angular/elements@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/elements/-/elements-10.0.0-rc.2.tgz#27c1c693ad4e5e2b37476a0ac597d493cfa703ab" + integrity sha512-0R0Rr6d2hZb/2HB8WMkyWkW7LE/oDsTXu8Qj9LPv62o2VLQ6jU6HllIBKbX9WHuowUZp4rVeMcjU24aIFLNOHg== + dependencies: + tslib "^2.0.0" -"@angular/forms@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-10.0.0-next.5.tgz#a29523b64a2164d6dc8eab3da82a99d20e02c5bc" - integrity sha512-VjSjl5bN1V+yu1iRmVoZIVikUzkeJdTN+m679cBhNHGUVL31ah27VUIsTInHBkU51w3QElGuuK3FlzxuDvtbIg== +"@angular/forms@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-10.0.0-rc.2.tgz#e7312a8aa3c496ca28b96bcdd2d081974f5d6c08" + integrity sha512-Jao3QDwhXE1EDro5ScLXsEPFLsmXymOnv8oddtDmg7MDJAen/O99p7iKo+jvuAJuH7UDVzz/o2Uz0nyb9HzAXw== + dependencies: + tslib "^2.0.0" -"@angular/language-service@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-10.0.0-next.5.tgz#986ee15775dfdff0f199c136ac872444069ad783" - integrity sha512-qVJ9wh06W7OfnlqOEPHIbHC6YocKsYw4SrA5ONW9BCb4Kh2P0EJmyiQzqnaXpQBp0hKk4U5cok5HbxsTqB9snQ== +"@angular/language-service@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-10.0.0-rc.2.tgz#b1ea4f4c73a1b39e6513ba54d23ef8dbc233f0f5" + integrity sha512-jQAUdN1vRAjWhjriOhcDrbgqLYC0GXtzl3RQONJnMWm00z6he4Gw1+JRvhsc82wm1jo7hsre5Q19tS18BcnCyQ== "@angular/material@^9.2.2": version "9.2.2" resolved "https://registry.yarnpkg.com/@angular/material/-/material-9.2.2.tgz#53b2d8a62fe48b79127cdf43b3b8b082e4c3df27" integrity sha512-gdQiMJ6PtW/5fd+0mglHFyzxULDCBGjn9RTET3sUq2rkc9+jBXr4OvnsUyBWSnqqv97XqotVDIx5JgE4/YX/Rw== -"@angular/platform-browser-dynamic@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-10.0.0-next.5.tgz#601c87ee00ff5a1c3975c44664f3a09d5a46d981" - integrity sha512-qRuPCYa4cMpSeRoeyTN0JROQOuWXHcMFcGaTk/ioLhU8FZAxlzU7kcQMkMuDSc4TFXZX8MyhlbSrFuWAc/JCQQ== - -"@angular/platform-browser@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-10.0.0-next.5.tgz#aefd658ea3913e8648293313b7d7439a2244765a" - integrity sha512-N4ojsX/OFv/QHBXUSPei0s53R0KZILU6dqQMz1uEQK0RAEUSDmhk649G7eIzQb5DNESODgfezOCSLKZIbEIbCA== - -"@angular/router@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-10.0.0-next.5.tgz#ba895441305b64e44727394b14705416d393da8f" - integrity sha512-9eIvYBzs0cIO93jfL1arDpUNRwUKfYbHkwKYeCDqX5EWHs7lrNEWgyIoHjbX5JsQvgtJuBKmKXQ++g5PtIPC5w== - -"@angular/service-worker@10.0.0-next.5": - version "10.0.0-next.5" - resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-10.0.0-next.5.tgz#77b83c5270f88883d4e98d8442690e2c94ab9067" - integrity sha512-6ZTVbJ96jHS7KgJD+me/ktO9K18uEAYCLCdBDFnKVtMXD0OgZgWXj36HDNE9Is49O5EIAtDpoEnZYDqwOTJmhQ== - -"@awesome-fe/translate@0.2.6": - version "0.2.6" - resolved "https://registry.yarnpkg.com/@awesome-fe/translate/-/translate-0.2.6.tgz#21379ea87374f0d538d44f398db088a7b288560c" - integrity sha512-XzXyuycypLLn/VyUI6WsXUdti8ez/D21pMJlP5UA3luqjKoSCSlVvtqlQDB+X5AJUIv2Tj3cEZTx0uhkEPoXLA== +"@angular/platform-browser-dynamic@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-10.0.0-rc.2.tgz#5b4809bc65e268fd43c8f1d65fb52a96975fb1c7" + integrity sha512-zkHkMHkQgG31SkLnIcfrI9srDtrPQ3qGVl2YqPrd77PyZAZ3TN9F3cS2nsLuyS+oyYMSFZixg/UwgsdyeK81Jg== dependencies: - github-slugger "^1.2.0" - globby "^8.0.1" - jsdom "^13.1.0" - request "^2.88.0" - rxjs "^6.3.3" - to-vfile "^5.0.2" - vfile "^4.0.0" - yargs "^12.0.5" + tslib "^2.0.0" + +"@angular/platform-browser@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-10.0.0-rc.2.tgz#b2fbf923a1b9a718f36e5a03cb2357e484f0da36" + integrity sha512-CEAXG+lCHNEYSkfcTFlSXblXjbJxZfeyAysr38iCf9lBmLx/+6eHVIrQv1sTIEABpIiqJuXVkWL2Vn6iiuvHVQ== + dependencies: + tslib "^2.0.0" + +"@angular/router@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-10.0.0-rc.2.tgz#f36f71409720c5fb1e609a2d4403900a1c5fccd3" + integrity sha512-0moAS4p2VYxiLVhv7Axp333sbVR4iMACdsxDGJLEpmISMOUIpli7aiK/VEHBdoqESUPokrE6glgxaoXxkCq4Cg== + dependencies: + tslib "^2.0.0" + +"@angular/service-worker@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-10.0.0-rc.2.tgz#33650fe682df335cfcbd35d35122f592a364a45c" + integrity sha512-48Jk5qdklKa9EEl09NFtsPCg8jiGXWi78911QDYuGBGBxA5jRj6dONSD7Mfbuo+ay9enY2oNshnmkO8Z38mMZg== + dependencies: + tslib "^2.0.0" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": version "7.8.3" @@ -266,37 +273,35 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/compat-data@^7.8.6": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.8.6.tgz#7eeaa0dfa17e50c7d9c0832515eee09b56f04e35" - integrity sha512-CurCIKPTkS25Mb8mz267vU95vy+TyUpnctEX2lV33xWNmHAfjruztgiPBbXZRh3xZZy1CYvGx6XfxyTVS+sk7Q== +"@babel/code-frame@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== dependencies: - browserslist "^4.8.5" + "@babel/highlight" "^7.10.1" + +"@babel/compat-data@^7.10.1", "@babel/compat-data@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.10.1.tgz#b1085ffe72cd17bf2c0ee790fc09f9626011b2db" + integrity sha512-CHvCj7So7iCkGKPRFUfryXIkU2gSBw7VSZFYLsqVhrS47269VK2Hfi9S/YcublPMW8k1u2bQBlbDruoQEm4fgw== + dependencies: + browserslist "^4.12.0" invariant "^2.2.4" semver "^5.5.0" -"@babel/compat-data@^7.9.0": +"@babel/core@7.9.6": version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.6.tgz#3f604c40e420131affe6f2c8052e9a275ae2049b" - integrity sha512-5QPTrNen2bm7RBc7dsOmcA5hbrS4O2Vhmk5XOL4zWW/zD/hV0iinpefDlkm+tBBy8kDtFaaeEvmAqt+nURAV2g== - dependencies: - browserslist "^4.11.1" - invariant "^2.2.4" - semver "^5.5.0" - -"@babel/core@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" - integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w== + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" + integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== dependencies: "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.9.0" + "@babel/generator" "^7.9.6" "@babel/helper-module-transforms" "^7.9.0" - "@babel/helpers" "^7.9.0" - "@babel/parser" "^7.9.0" + "@babel/helpers" "^7.9.6" + "@babel/parser" "^7.9.6" "@babel/template" "^7.8.6" - "@babel/traverse" "^7.9.0" - "@babel/types" "^7.9.0" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.1" @@ -327,12 +332,22 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@7.9.4": - version "7.9.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.4.tgz#12441e90c3b3c4159cdecf312075bf1a8ce2dbce" - integrity sha512-rjP8ahaDy/ouhrvCoU1E5mqaitWrxwuNGU+dy1EpaoK48jZay4MdkskKGIMHLZNewg8sAsqpGSREJwP0zH3YQA== +"@babel/generator@7.9.6", "@babel/generator@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" + integrity sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ== dependencies: - "@babel/types" "^7.9.0" + "@babel/types" "^7.9.6" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + +"@babel/generator@^7.10.1": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" + integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== + dependencies: + "@babel/types" "^7.10.2" jsesc "^2.5.1" lodash "^4.17.13" source-map "^0.5.0" @@ -357,15 +372,12 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/generator@^7.9.0", "@babel/generator@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" - integrity sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ== +"@babel/helper-annotate-as-pure@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268" + integrity sha512-ewp3rvJEwLaHgyWGe4wQssC2vjks3E80WiUe2BpMb0KhreTjMROCbxXcEovTrbeGVdQct5VjQfrv9EgC+xMzCw== dependencies: - "@babel/types" "^7.9.6" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" + "@babel/types" "^7.10.1" "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" @@ -382,22 +394,13 @@ "@babel/helper-explode-assignable-expression" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-call-delegate@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.8.7.tgz#28a279c2e6c622a6233da548127f980751324cab" - integrity sha512-doAA5LAKhsFCR0LAFIf+r2RSMmC+m8f/oQ+URnUET/rWeEzC0yTRmAGyWkD4sSu3xwbS7MYQ2u+xlt1V5R56KQ== +"@babel/helper-compilation-targets@^7.9.6": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.2.tgz#a17d9723b6e2c750299d2a14d4637c76936d8285" + integrity sha512-hYgOhF4To2UTB4LTaZepN/4Pl9LD4gfbJx8A34mqoluT8TLbof1mhUlYuNWTEebONa8+UlCC4X0TEXu7AOUyGA== dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.7" - -"@babel/helper-compilation-targets@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz#dac1eea159c0e4bd46e309b5a1b04a66b53c1dde" - integrity sha512-4mWm8DCK2LugIS+p1yArqvG1Pf162upsIsjE7cNBjez+NjliQpVhj20obE520nao0o14DaTnFJv+Fw5a0JpoUw== - dependencies: - "@babel/compat-data" "^7.8.6" - browserslist "^4.9.1" + "@babel/compat-data" "^7.10.1" + browserslist "^4.12.0" invariant "^2.2.4" levenary "^1.1.1" semver "^5.5.0" @@ -419,13 +422,13 @@ "@babel/helper-regex" "^7.8.3" regexpu-core "^4.7.0" -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== +"@babel/helper-define-map@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.1.tgz#5e69ee8308648470dd7900d159c044c10285221d" + integrity sha512-+5odWpX+OnvkD0Zmq7panrMuAGQBu6aPUgvMzuMGo4R+jUOvealEj2hiqI6WhxgKrTpFoFj0+VdsuA8KDxHBDg== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/types" "^7.10.1" lodash "^4.17.13" "@babel/helper-explode-assignable-expression@^7.8.3": @@ -436,6 +439,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" + integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ== + dependencies: + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-function-name@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" @@ -454,6 +466,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.9.5" +"@babel/helper-get-function-arity@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" + integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -461,12 +480,19 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== +"@babel/helper-hoist-variables@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.1.tgz#7e77c82e5dcae1ebf123174c385aaadbf787d077" + integrity sha512-vLm5srkU8rI6X3+aQ1rQJyfjvCBLXP8cAGeuw04zeAM2ItKb1e7pmVmLyHb4sDaAYnLL13RHOZPLEtcGZ5xvjg== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" + +"@babel/helper-member-expression-to-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15" + integrity sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g== + dependencies: + "@babel/types" "^7.10.1" "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" @@ -475,6 +501,13 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-imports@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876" + integrity sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-module-imports@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" @@ -482,6 +515,19 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-transforms@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622" + integrity sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg== + dependencies: + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + lodash "^4.17.13" + "@babel/helper-module-transforms@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5" @@ -495,6 +541,13 @@ "@babel/types" "^7.9.0" lodash "^4.17.13" +"@babel/helper-optimise-call-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" + integrity sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" @@ -507,6 +560,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== +"@babel/helper-plugin-utils@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.1.tgz#ec5a5cf0eec925b66c60580328b122c01230a127" + integrity sha512-fvoGeXt0bJc7VMWZGCAEBEMo/HAjW2mP8apF5eXK0wSqwLAVHAISCWRoLMBMUs2kqeaG77jltVqu4Hn8Egl3nA== + "@babel/helper-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" @@ -525,6 +583,16 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-replace-supers@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" + integrity sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-replace-supers@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" @@ -545,6 +613,14 @@ "@babel/traverse" "^7.8.6" "@babel/types" "^7.8.6" +"@babel/helper-simple-access@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e" + integrity sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw== + dependencies: + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-simple-access@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" @@ -553,6 +629,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-split-export-declaration@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" + integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" @@ -560,6 +643,11 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== + "@babel/helper-validator-identifier@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" @@ -584,14 +672,23 @@ "@babel/traverse" "^7.8.4" "@babel/types" "^7.8.3" -"@babel/helpers@^7.9.0": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.9.6.tgz#092c774743471d0bb6c7de3ad465ab3d3486d580" - integrity sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw== +"@babel/helpers@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" + integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== dependencies: - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.9.6" - "@babel/types" "^7.9.6" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" "@babel/highlight@^7.8.3": version "7.8.3" @@ -602,6 +699,11 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/parser@^7.10.1": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" + integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== + "@babel/parser@^7.4.3", "@babel/parser@^7.7.5", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" @@ -612,7 +714,7 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.8.tgz#4c3b7ce36db37e0629be1f0d50a571d2f86f6cd4" integrity sha512-mO5GWzBPsPf6865iIbzNE0AvkKF3NE+2S3eRUpE+FE07BOAkXh6G+GW/Pj01hhXjve1WScbaIO4UlY1JKeqCcA== -"@babel/parser@^7.9.0", "@babel/parser@^7.9.6": +"@babel/parser@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.6.tgz#3b1bbb30dabe600cd72db58720998376ff653bc7" integrity sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q== @@ -658,14 +760,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@^7.9.0": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" - integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== +"@babel/plugin-proposal-object-rest-spread@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.1.tgz#cba44908ac9f142650b4a65b8aa06bf3478d5fb6" + integrity sha512-Z+Qri55KiQkHh7Fc4BW6o+QBuTagbOp9txE+4U1i79u9oWlf2npkiDx+Rf3iK3lbcHBuNy9UOkwuR5wOMH3LIQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-transform-parameters" "^7.10.1" "@babel/plugin-proposal-optional-catch-binding@^7.8.3": version "7.8.3" @@ -785,18 +887,18 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.9.0": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" - integrity sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg== +"@babel/plugin-transform-classes@^7.9.5": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.1.tgz#6e11dd6c4dfae70f540480a4702477ed766d733f" + integrity sha512-P9V0YIh+ln/B3RStPoXpEQ/CoAxQIhRSUn7aXqQ+FZJ2u8+oCtjIXR3+X0vsSD8zv+mb56K7wZW1XiDTDGiDRQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.9.5" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-define-map" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.8.3": @@ -806,12 +908,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-destructuring@^7.8.3": - version "7.8.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.8.tgz#fadb2bc8e90ccaf5658de6f8d4d22ff6272a2f4b" - integrity sha512-eRJu4Vs2rmttFCdhPUM3bV0Yo/xPSdPw6ML9KHs/bjB4bLA5HXlbvYXPOD5yASodGod+krjYx21xm1QmL8dCJQ== +"@babel/plugin-transform-destructuring@^7.9.5": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.1.tgz#abd58e51337815ca3a22a336b85f62b998e71907" + integrity sha512-V/nUc4yGWG71OhaTH705pU8ZSdM6c1KmmLP8ys59oOYbT7RpMYAR3MsVOt6OHL0WzG7BlTU076va9fjJyYzJMA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": version "7.8.3" @@ -865,33 +967,33 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-modules-amd@^7.9.0": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz#8539ec42c153d12ea3836e0e3ac30d5aae7b258e" - integrity sha512-zoT0kgC3EixAyIAU+9vfaUVKTv9IxBDSabgHoUCBP6FqEJ+iNiN7ip7NBKcYqbfUDfuC2mFCbM7vbu4qJgOnDw== +"@babel/plugin-transform-modules-amd@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.1.tgz#65950e8e05797ebd2fe532b96e19fc5482a1d52a" + integrity sha512-31+hnWSFRI4/ACFr1qkboBbrTxoBIzj7qA69qlq8HY8p7+YCzkCT6/TvQ1a4B0z27VeWtAeJd6pr5G04dc1iHw== dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.9.0": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz#64b7474a4279ee588cacd1906695ca721687c277" - integrity sha512-7H25fSlLcn+iYimmsNe3uK1at79IE6SKW9q0/QeEHTMC9MdOZ+4bA+T1VFB5fgOqBWoqlifXRzYD0JPdmIrgSQ== +"@babel/plugin-transform-modules-commonjs@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.1.tgz#d5ff4b4413ed97ffded99961056e1fb980fb9301" + integrity sha512-AQG4fc3KOah0vdITwt7Gi6hD9BtQP/8bhem7OjbaMoRNCH5Djx42O2vYMfau7QnAzQCa+RJnhJBmFFMGpQEzrg== dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.0": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz#207f1461c78a231d5337a92140e52422510d81a4" - integrity sha512-NW5XQuW3N2tTHim8e1b7qGy7s0kZ2OH3m5octc49K1SdAKGxYxeIx7hiIz05kS1R2R+hOWcsr1eYwcGhrdHsrg== +"@babel/plugin-transform-modules-systemjs@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.1.tgz#9962e4b0ac6aaf2e20431ada3d8ec72082cbffb6" + integrity sha512-ewNKcj1TQZDL3YnO85qh9zo1YF1CHgmSTlRQgHqe63oTrMI85cthKtZjAiZSsSNjPQ5NCaYo5QkbYqEw1ZBgZA== dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-hoist-variables" "^7.10.1" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" "@babel/plugin-transform-modules-umd@^7.9.0": @@ -924,14 +1026,13 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.3" -"@babel/plugin-transform-parameters@^7.8.7": - version "7.8.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.8.tgz#0381de466c85d5404565243660c4496459525daf" - integrity sha512-hC4Ld/Ulpf1psQciWWwdnUspQoQco2bMzSrwU6TmzRlvoYQe4rQFy9vnCZDTlVeCQj0JPfL+1RX0V8hCJvkgBA== +"@babel/plugin-transform-parameters@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.1.tgz#b25938a3c5fae0354144a720b07b32766f683ddd" + integrity sha512-tJ1T0n6g4dXMsL45YsSzzSDZCxiHXAQp/qHrucOq5gEHncTA3xDxnd5+sZcoQp+N1ZbieAaB8r/VUCG0gqseOg== dependencies: - "@babel/helper-call-delegate" "^7.8.7" - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-transform-parameters@^7.9.5": version "7.9.5" @@ -962,6 +1063,16 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-runtime@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" + integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== + dependencies: + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + resolve "^1.8.1" + semver "^5.5.1" + "@babel/plugin-transform-shorthand-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" @@ -1007,13 +1118,13 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/preset-env@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.0.tgz#a5fc42480e950ae8f5d9f8f2bbc03f52722df3a8" - integrity sha512-712DeRXT6dyKAM/FMbQTV/FvRCms2hPCx+3weRjZ8iQVQWZejWWk1wwG6ViWMyqb/ouBbGOl5b6aCk0+j1NmsQ== +"@babel/preset-env@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" + integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== dependencies: - "@babel/compat-data" "^7.9.0" - "@babel/helper-compilation-targets" "^7.8.7" + "@babel/compat-data" "^7.9.6" + "@babel/helper-compilation-targets" "^7.9.6" "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-proposal-async-generator-functions" "^7.8.3" @@ -1021,7 +1132,7 @@ "@babel/plugin-proposal-json-strings" "^7.8.3" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.0" + "@babel/plugin-proposal-object-rest-spread" "^7.9.6" "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" "@babel/plugin-proposal-optional-chaining" "^7.9.0" "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" @@ -1038,9 +1149,9 @@ "@babel/plugin-transform-async-to-generator" "^7.8.3" "@babel/plugin-transform-block-scoped-functions" "^7.8.3" "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.0" + "@babel/plugin-transform-classes" "^7.9.5" "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.8.3" + "@babel/plugin-transform-destructuring" "^7.9.5" "@babel/plugin-transform-dotall-regex" "^7.8.3" "@babel/plugin-transform-duplicate-keys" "^7.8.3" "@babel/plugin-transform-exponentiation-operator" "^7.8.3" @@ -1048,14 +1159,14 @@ "@babel/plugin-transform-function-name" "^7.8.3" "@babel/plugin-transform-literals" "^7.8.3" "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.0" - "@babel/plugin-transform-modules-commonjs" "^7.9.0" - "@babel/plugin-transform-modules-systemjs" "^7.9.0" + "@babel/plugin-transform-modules-amd" "^7.9.6" + "@babel/plugin-transform-modules-commonjs" "^7.9.6" + "@babel/plugin-transform-modules-systemjs" "^7.9.6" "@babel/plugin-transform-modules-umd" "^7.9.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" "@babel/plugin-transform-new-target" "^7.8.3" "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.8.7" + "@babel/plugin-transform-parameters" "^7.9.5" "@babel/plugin-transform-property-literals" "^7.8.3" "@babel/plugin-transform-regenerator" "^7.8.7" "@babel/plugin-transform-reserved-words" "^7.8.3" @@ -1066,8 +1177,8 @@ "@babel/plugin-transform-typeof-symbol" "^7.8.4" "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.0" - browserslist "^4.9.1" + "@babel/types" "^7.9.6" + browserslist "^4.11.1" core-js-compat "^3.6.2" invariant "^2.2.2" levenary "^1.1.1" @@ -1092,6 +1203,13 @@ core-js-pure "^3.0.0" regenerator-runtime "^0.13.2" +"@babel/runtime@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" + integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/runtime@^7.8.4": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.8.7.tgz#8fefce9802db54881ba59f90bb28719b4996324d" @@ -1108,6 +1226,15 @@ "@babel/parser" "^7.8.6" "@babel/types" "^7.8.6" +"@babel/template@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" + integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/template@^7.4.0", "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" @@ -1117,6 +1244,21 @@ "@babel/parser" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/traverse@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" + integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/traverse@^7.4.3", "@babel/traverse@^7.7.4", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c" @@ -1147,7 +1289,7 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/traverse@^7.9.0", "@babel/traverse@^7.9.6": +"@babel/traverse@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.6.tgz#5540d7577697bf619cc57b92aa0f1c231a94f442" integrity sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg== @@ -1162,6 +1304,15 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/types@^7.10.1", "@babel/types@^7.10.2": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" + integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@babel/types@^7.4.0", "@babel/types@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" @@ -1248,44 +1399,6 @@ lodash.camelcase "^4.3.0" protobufjs "^6.8.6" -"@hapi/address@^2.1.2": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5" - integrity sha512-QD1PhQk+s31P1ixsX0H0Suoupp3VMXzIVMSwobR3F3MSUO2YCV0B7xqLcUw/Bh8yuvd3LhpyqLQWTNcRmp6IdQ== - -"@hapi/formula@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@hapi/formula/-/formula-1.2.0.tgz#994649c7fea1a90b91a0a1e6d983523f680e10cd" - integrity sha512-UFbtbGPjstz0eWHb+ga/GM3Z9EzqKXFWIbSOFURU0A/Gku0Bky4bCk9/h//K2Xr3IrCfjFNhMm4jyZ5dbCewGA== - -"@hapi/hoek@^8.2.4", "@hapi/hoek@^8.3.0": - version "8.5.1" - resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-8.5.1.tgz#fde96064ca446dec8c55a8c2f130957b070c6e06" - integrity sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow== - -"@hapi/joi@^16.1.7": - version "16.1.8" - resolved "https://registry.yarnpkg.com/@hapi/joi/-/joi-16.1.8.tgz#84c1f126269489871ad4e2decc786e0adef06839" - integrity sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg== - dependencies: - "@hapi/address" "^2.1.2" - "@hapi/formula" "^1.2.0" - "@hapi/hoek" "^8.2.4" - "@hapi/pinpoint" "^1.0.2" - "@hapi/topo" "^3.1.3" - -"@hapi/pinpoint@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@hapi/pinpoint/-/pinpoint-1.0.2.tgz#025b7a36dbbf4d35bf1acd071c26b20ef41e0d13" - integrity sha512-dtXC/WkZBfC5vxscazuiJ6iq4j9oNx1SHknmIr8hofarpKUZKmlUVYVIhNVzIEgK5Wrc4GMHL5lZtt1uS2flmQ== - -"@hapi/topo@^3.1.3": - version "3.1.6" - resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.6.tgz#68d935fa3eae7fdd5ab0d7f953f3205d8b2bfc29" - integrity sha512-tAag0jEcjwH+P2quUfipd7liWCNX2F8NvYjQp2wtInsZxnMlypdw0FtAOLxtvvkO+GSRRbmNi8m/5y42PQJYCQ== - dependencies: - "@hapi/hoek" "^8.3.0" - "@istanbuljs/schema@^0.1.2": version "0.1.2" resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" @@ -1302,28 +1415,22 @@ merge-source-map "^1.1.0" schema-utils "^2.6.4" -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== +"@ngtools/webpack@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-10.0.0-rc.2.tgz#3abecf33a7710550e8ab7a6cb39ded291f495a70" + integrity sha512-ALtsFeLmfxpJnc5XvItJRJt7zDI+ggOWF8dMeuYdNIHny8w+EXtZ57h3iB6s9AE9ig9GY/n12Ax4L9OYS4VK5A== dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" - -"@ngtools/webpack@10.0.0-next.3": - version "10.0.0-next.3" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-10.0.0-next.3.tgz#0ec3587078c122be9ce9113b1eb9a1e6ec599ed8" - integrity sha512-FBa04f22UnJhxWxJ2dhXXK4dY07moIAi3PuHqWUjvsHhX30edad50Ys5XjenpiNhgNMcuQEfWc4C36enziMC5A== - dependencies: - "@angular-devkit/core" "10.0.0-next.3" + "@angular-devkit/core" "10.0.0-rc.2" enhanced-resolve "4.1.1" rxjs "6.5.5" webpack-sources "1.4.3" -"@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== +"@npmcli/move-file@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.0.1.tgz#de103070dac0f48ce49cf6693c23af59c0f70464" + integrity sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw== + dependencies: + mkdirp "^1.0.4" "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" @@ -1378,21 +1485,21 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= -"@schematics/angular@10.0.0-next.3": - version "10.0.0-next.3" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-10.0.0-next.3.tgz#67a896e04acb163978f30e50f5c21013a2b73d53" - integrity sha512-mEKQt7D5U/b6ZPoMQTV47NAxDbY1VykvD8bNODQbFxNgrElLThj2jsl5bCxTtuJE+gqrCzlF2pDqzZ7mGV2afA== +"@schematics/angular@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-10.0.0-rc.2.tgz#bb6bc22a05904adb0b3fa6b7bc2901fe53584528" + integrity sha512-CPtujhlumJyouVVx0VWghidtzU4cEHx9TIBJqxpNxUUpQxxCNQrG6PTz8zilP2RuqJ7gZ8Y3VF3lMT6RW8kueQ== dependencies: - "@angular-devkit/core" "10.0.0-next.3" - "@angular-devkit/schematics" "10.0.0-next.3" + "@angular-devkit/core" "10.0.0-rc.2" + "@angular-devkit/schematics" "10.0.0-rc.2" -"@schematics/update@0.1000.0-next.3": - version "0.1000.0-next.3" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.1000.0-next.3.tgz#82cefee0d6a034826d8eb7ab8955efac54490322" - integrity sha512-wkkCXEnlwt3mpiRkCzRodMBnW1CVLoujY9TzRyX72al8mz77nS8ifQCSdHHrOI0RPnLpLGLJZq9evcTqeZBREA== +"@schematics/update@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.1000.0-rc.2.tgz#d475b295bb90a0bc2713917b35c1850747f7ea85" + integrity sha512-3hVwEmIdMYlVwffI6dmCR8s2k2sZIuMKASXjBzl4zAxYEy6CvPVcAnt235sy5c9eSJBmjo+KkRTlwISAQUM26A== dependencies: - "@angular-devkit/core" "10.0.0-next.3" - "@angular-devkit/schematics" "10.0.0-next.3" + "@angular-devkit/core" "10.0.0-rc.2" + "@angular-devkit/schematics" "10.0.0-rc.2" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" npm-package-arg "^8.0.0" @@ -1401,13 +1508,6 @@ semver "7.3.2" semver-intersect "1.4.0" -"@types/clean-css@*": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@types/clean-css/-/clean-css-4.2.1.tgz#cb0134241ec5e6ede1b5344bc829668fd9871a8d" - integrity sha512-A1HQhQ0hkvqqByJMgg+Wiv9p9XdoYEzuwm11SVo1mX2/4PSdhjcrUlilJQoqLscIheC51t1D5g+EFWCXZ2VTQQ== - dependencies: - "@types/node" "*" - "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" @@ -1441,15 +1541,6 @@ "@types/minimatch" "*" "@types/node" "*" -"@types/html-minifier@^3.5.3": - version "3.5.3" - resolved "https://registry.yarnpkg.com/@types/html-minifier/-/html-minifier-3.5.3.tgz#5276845138db2cebc54c789e0aaf87621a21e84f" - integrity sha512-j1P/4PcWVVCPEy5lofcHnQ6BtXz9tHGiFPWzqm7TtGuWZEfCHEP446HlkSNc9fQgNJaJZ6ewPtp2aaFla/Uerg== - dependencies: - "@types/clean-css" "*" - "@types/relateurl" "*" - "@types/uglify-js" "*" - "@types/jasmine@*", "@types/jasmine@^3.4.2": version "3.5.3" resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.5.3.tgz#e41ba279166d3838e68aa34738dd890c846ee3f8" @@ -1462,18 +1553,6 @@ dependencies: "@types/jasmine" "*" -"@types/klaw-sync@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@types/klaw-sync/-/klaw-sync-6.0.0.tgz#ff0b36601efaaa109d513c4ced109311fd06ba36" - integrity sha512-Ibfb2jgpjYUxnl7RSVvUzOrv/vhkTVKEfPwQf9ZlDDsSyWVDp/2JtTBxO4eRrKBYtxc3cZQabdR38i8R0o1uww== - dependencies: - "@types/node" "*" - -"@types/lodash@^4.14.133": - version "4.14.155" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.155.tgz#e2b4514f46a261fd11542e47519c20ebce7bc23a" - integrity sha512-vEcX7S7aPhsBCivxMwAANQburHBtfN9RdyXFk84IJmu2Z4Hkg1tOFgaslRiEqqvoLtbCBi6ika1EMspE+NZ9Lg== - "@types/long@^4.0.0": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9" @@ -1489,13 +1568,6 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/mkdirp@^0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-0.5.2.tgz#503aacfe5cc2703d5484326b1b27efa67a339c1f" - integrity sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg== - dependencies: - "@types/node" "*" - "@types/node@*": version "13.7.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.1.tgz#238eb34a66431b71d2aaddeaa7db166f25971a0d" @@ -1511,13 +1583,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.27.tgz#d7506f73160ad30fcebbcf5b8b7d2d976e649e42" integrity sha512-odQFl/+B9idbdS0e8IxDl2ia/LP8KZLXhV3BUeI98TrZp0uoIzQPhGd+5EtzHmT0SMOIaPd7jfz6pOHLWTtl7A== -"@types/puppeteer@^1.12.4": - version "1.20.6" - resolved "https://registry.yarnpkg.com/@types/puppeteer/-/puppeteer-1.20.6.tgz#660c5888f6b88e657cdfa4aec5962e6f65efc733" - integrity sha512-ITkr6Z2qvCiDZFB3Y+VYt+uOzqxitr1HehAn+t/PoNNZAsX+LnovMaqFYg99pvkP18AvZdAqKNMhd8JaQIEWUA== - dependencies: - "@types/node" "*" - "@types/q@^0.0.32": version "0.0.32" resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" @@ -1528,22 +1593,15 @@ resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== -"@types/relateurl@*": - version "0.2.28" - resolved "https://registry.yarnpkg.com/@types/relateurl/-/relateurl-0.2.28.tgz#6bda7db8653fa62643f5ee69e9f69c11a392e3a6" - integrity sha1-a9p9uGU/piZD9e5p6facEaOS46Y= - "@types/selenium-webdriver@^3.0.0": version "3.0.16" resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz#50a4755f8e33edacd9c406729e9b930d2451902a" integrity sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA== -"@types/uglify-js@*": - version "3.9.2" - resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.9.2.tgz#01992579debba674e1e359cd6bcb1a1d0ab2e02b" - integrity sha512-d6dIfpPbF+8B7WiCi2ELY7m0w1joD8cRW4ms88Emdb2w062NeEpbNCeWwVCgzLRpVG+5e74VFSg4rgJ2xXjEiQ== - dependencies: - source-map "^0.6.1" +"@types/source-list-map@*": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" + integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.3" @@ -1566,11 +1624,27 @@ "@types/unist" "*" "@types/vfile-message" "*" +"@types/webpack-sources@^0.1.5": + version "0.1.8" + resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-0.1.8.tgz#078d75410435993ec8a0a2855e88706f3f751f81" + integrity sha512-JHB2/xZlXOjzjBB6fMOpH1eQAfsrpqVVIbneE0Rok16WXwFaznaI5vfg75U5WgGJm7V9W1c4xeRQDjX/zwvghA== + dependencies: + "@types/node" "*" + "@types/source-list-map" "*" + source-map "^0.6.1" + "@types/xregexp@^3.0.30": version "3.0.30" resolved "https://registry.yarnpkg.com/@types/xregexp/-/xregexp-3.0.30.tgz#333d550467dd27ef989f375629f8f279a97cee39" integrity sha512-u1dpabg81Rd660bYebOqMXO0+E63H1hxunPAWGebNb7TpxqZYe9YaVLgkkj6ZnzLs3yLumtVB956o8u8OZdhXw== +"@types/yauzl@^2.9.1": + version "2.9.1" + resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af" + integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA== + dependencies: + "@types/node" "*" + "@webassemblyjs/ast@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" @@ -1754,7 +1828,12 @@ a-sync-waterfall@^1.0.0: resolved "https://registry.yarnpkg.com/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz#75b6b6aa72598b497a125e7a2770f14f4c8a1fa7" integrity sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA== -abab@^2.0.0: +abab@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" + integrity sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4= + +abab@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a" integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg== @@ -1774,13 +1853,12 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" -acorn-globals@^4.3.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" - integrity sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A== +acorn-globals@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" + integrity sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8= dependencies: - acorn "^6.0.1" - acorn-walk "^6.0.1" + acorn "^4.0.4" acorn-jsx@^3.0.0: version "3.0.1" @@ -1789,22 +1867,22 @@ acorn-jsx@^3.0.0: dependencies: acorn "^3.0.4" -acorn-walk@^6.0.1: - version "6.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" - integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== - acorn@^3.0.4: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= +acorn@^4.0.4: + version "4.0.13" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" + integrity sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c= + acorn@^5.5.0: version "5.7.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.1, acorn@^6.0.4, acorn@^6.4.1: +acorn@^6.4.1: version "6.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474" integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA== @@ -2002,7 +2080,7 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -2156,11 +2234,6 @@ array-equal@^1.0.0: resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" integrity sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM= -array-find-index@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E= - array-flatten@1.1.1, array-flatten@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" @@ -2198,7 +2271,7 @@ arraybuffer.slice@~0.0.7: resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675" integrity sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog== -arrify@^1.0.0, arrify@^1.0.1: +arrify@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= @@ -2263,11 +2336,6 @@ assert@^1.1.1: object-assign "^4.1.1" util "0.10.3" -assertion-error@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" - integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -2293,7 +2361,7 @@ async@^1.3.0, async@^1.5.2: resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= -async@^2.0.0, async@^2.3.0, async@^2.5.0, async@^2.6.2, async@^2.6.3: +async@^2.0.0, async@^2.3.0, async@^2.6.2, async@^2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== @@ -2315,18 +2383,18 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@9.7.6: - version "9.7.6" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.6.tgz#63ac5bbc0ce7934e6997207d5bb00d68fa8293a4" - integrity sha512-F7cYpbN7uVVhACZTeeIeealwdGM6wMtfWARVLTy5xmKtgVdBNJvbDRoCK3YO1orcs7gv/KwYlb3iXwu9Ug9BkQ== +autoprefixer@9.8.0: + version "9.8.0" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.0.tgz#68e2d2bef7ba4c3a65436f662d0a56a741e56511" + integrity sha512-D96ZiIHXbDmU02dBaemyAg53ez+6F5yZmapmgKcjm35yEe1uVDYI8hGW3VYoGRaG290ZFf91YxHrR518vC0u/A== dependencies: - browserslist "^4.11.1" - caniuse-lite "^1.0.30001039" + browserslist "^4.12.0" + caniuse-lite "^1.0.30001061" chalk "^2.4.2" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^7.0.27" - postcss-value-parser "^4.0.3" + postcss "^7.0.30" + postcss-value-parser "^4.1.0" aws-sign2@~0.7.0: version "0.7.0" @@ -2506,6 +2574,15 @@ bl@^3.0.0: dependencies: readable-stream "^3.0.1" +bl@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.2.tgz#52b71e9088515d0606d9dd9cc7aa48dc1f98e73a" + integrity sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + blob@0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" @@ -2615,16 +2692,6 @@ brorand@^1.0.1: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - -browser-stdout@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" - integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== - 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" @@ -2693,7 +2760,7 @@ browserslist@^4.0.0, browserslist@^4.8.3: electron-to-chromium "^1.3.341" node-releases "^1.1.47" -browserslist@^4.11.1: +browserslist@^4.11.1, browserslist@^4.12.0: version "4.12.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d" integrity sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg== @@ -2703,7 +2770,7 @@ browserslist@^4.11.1: node-releases "^1.1.53" pkg-up "^2.0.0" -browserslist@^4.8.5, browserslist@^4.9.1: +browserslist@^4.9.1: version "4.10.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.10.0.tgz#f179737913eaf0d2b98e4926ac1ca6a15cbcc6a9" integrity sha512-TpfK0TDgv71dzuTsEAlQiHeWQ/tiPqgNZVdv046fvNtBZrjbv2O3TsWCDU0AWGJJKCF/KsjNdLzR9hXOsh/CfA== @@ -2733,7 +2800,7 @@ buffer-alloc@^1.2.0: buffer-alloc-unsafe "^1.1.0" buffer-fill "^1.0.0" -buffer-crc32@^0.2.1, buffer-crc32@^0.2.13: +buffer-crc32@^0.2.1, buffer-crc32@^0.2.13, buffer-crc32@~0.2.3: version "0.2.13" resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= @@ -2785,6 +2852,14 @@ buffer@^5.1.0: base64-js "^1.0.2" ieee754 "^1.1.4" +buffer@^5.2.1, buffer@^5.5.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" + integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + buffers@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" @@ -2815,12 +2890,12 @@ bytes@3.1.0: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== -cacache@15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.0.tgz#133b59edbd2a37ea8ef2d54964c6f247e47e5059" - integrity sha512-L0JpXHhplbJSiDGzyJJnJCTL7er7NzbBgxzVqLswEb4bO91Zbv17OUMuUeu/q0ZwKn3V+1HM4wb9tO4eVE/K8g== +cacache@15.0.3: + version "15.0.3" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.3.tgz#2225c2d1dd8e872339950d6a39c051e0e9334392" + integrity sha512-bc3jKYjqv7k4pWh7I/ixIjfcjPul4V4jme/WbjvwGS5LzoPL/GzXr4C5EgPNLO/QEZl9Oi61iGitYEdwcrwLCQ== dependencies: - chownr "^1.1.2" + chownr "^2.0.0" fs-minipass "^2.0.0" glob "^7.1.4" infer-owner "^1.0.4" @@ -2830,12 +2905,12 @@ cacache@15.0.0: minipass-flush "^1.0.5" minipass-pipeline "^1.2.2" mkdirp "^1.0.3" - move-concurrently "^1.0.1" - p-map "^3.0.0" + move-file "^2.0.0" + p-map "^4.0.0" promise-inflight "^1.0.1" - rimraf "^2.7.1" + rimraf "^3.0.2" ssri "^8.0.0" - tar "^6.0.1" + tar "^6.0.2" unique-filename "^1.1.1" cacache@^12.0.0: @@ -2880,28 +2955,27 @@ cacache@^12.0.2, cacache@^12.0.3: unique-filename "^1.1.1" y18n "^4.0.0" -cacache@^13.0.1: - version "13.0.1" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-13.0.1.tgz#a8000c21697089082f85287a1aec6e382024a71c" - integrity sha512-5ZvAxd05HDDU+y9BVvcqYu2LLXmPnQ0hW62h32g4xBTgL/MppR4/04NHfj/ycM2y6lmTnbw6HVi+1eN0Psba6w== +cacache@^15.0.3: + version "15.0.4" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.4.tgz#b2c23cf4ac4f5ead004fb15a0efb0a20340741f1" + integrity sha512-YlnKQqTbD/6iyoJvEY3KJftjrdBYroCbxxYXzhOzsFLWlp6KX4BOlEf4mTx0cMUfVaTS3ENL2QtDWeRYoGLkkw== dependencies: - chownr "^1.1.2" - figgy-pudding "^3.5.1" + "@npmcli/move-file" "^1.0.1" + chownr "^2.0.0" fs-minipass "^2.0.0" glob "^7.1.4" - graceful-fs "^4.2.2" infer-owner "^1.0.4" lru-cache "^5.1.1" - minipass "^3.0.0" + minipass "^3.1.1" minipass-collect "^1.0.2" minipass-flush "^1.0.5" minipass-pipeline "^1.2.2" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - p-map "^3.0.0" + mkdirp "^1.0.3" + p-map "^4.0.0" promise-inflight "^1.0.1" - rimraf "^2.7.1" - ssri "^7.0.0" + rimraf "^3.0.2" + ssri "^8.0.0" + tar "^6.0.2" unique-filename "^1.1.1" cache-base@^1.0.1: @@ -2919,11 +2993,6 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" -call-me-maybe@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" - integrity sha1-JtII6onje1y95gJQoV8DHBak1ms= - caller-callsite@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" @@ -2960,7 +3029,7 @@ callsites@^2.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= -camel-case@3.0.x, camel-case@^3.0.0: +camel-case@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M= @@ -3013,11 +3082,16 @@ caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001035: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001035.tgz#2bb53b8aa4716b2ed08e088d4dc816a5fe089a1e" integrity sha512-C1ZxgkuA4/bUEdMbU5WrGY4+UhMFFiXrgNAfxiMIqWgFTWfv/xsZCS2xEHT2LMq7xAZfuAnu6mcqyDl0ZR6wLQ== -caniuse-lite@^1.0.30001039, caniuse-lite@^1.0.30001043: +caniuse-lite@^1.0.30001043: version "1.0.30001051" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001051.tgz#8e944abf9c796bc7ea0bec3c3688a250561fc9ac" integrity sha512-sw8UUnTlRevawTMZKN7vpfwSjCBVoiMPlYd8oT2VwNylyPCBdMAUmLGUApnYYTtIm5JXsQegUAY7GPHqgfDzjw== +caniuse-lite@^1.0.30001061: + version "1.0.30001078" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001078.tgz#e1b6e2ae327b6a1ec11f65ec7a0dde1e7093074c" + integrity sha512-sF12qXe9VMm32IEf/+NDvmTpwJaaU7N1igpiH2FdI4DyABJSsOqG3ZAcFvszLkoLoo1y6VJLMYivukUAxaMASw== + canonical-path@1.0.0, canonical-path@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/canonical-path/-/canonical-path-1.0.0.tgz#fcb470c23958def85081856be7a86e904f180d1d" @@ -3063,18 +3137,6 @@ ccount@^1.0.0, ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.5.tgz#ac82a944905a65ce204eb03023157edf29425c17" integrity sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw== -chai@^4.1.2: - version "4.2.0" - resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5" - integrity sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw== - dependencies: - assertion-error "^1.1.0" - check-error "^1.0.2" - deep-eql "^3.0.1" - get-func-name "^2.0.0" - pathval "^1.1.0" - type-detect "^4.0.5" - chainsaw@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98" @@ -3174,11 +3236,6 @@ charenc@~0.0.1: resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc= -check-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" - integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= - "chokidar@>=2.0.0 <4.0.0", chokidar@^3.0.0, chokidar@^3.0.2: version "3.3.1" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" @@ -3213,11 +3270,16 @@ chokidar@^2.0.0, chokidar@^2.1.8: optionalDependencies: fsevents "^1.2.7" -chownr@^1.1.1, chownr@^1.1.2, chownr@^1.1.3: +chownr@^1.1.1, chownr@^1.1.2: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + chrome-launcher@^0.11.2: version "0.11.2" resolved "https://registry.yarnpkg.com/chrome-launcher/-/chrome-launcher-0.11.2.tgz#c9a248dbccd3a08565553acf61adff879bcc982c" @@ -3283,13 +3345,6 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -clean-css@4.2.x: - version "4.2.3" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78" - integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA== - dependencies: - source-map "~0.6.0" - clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" @@ -3368,6 +3423,15 @@ cliui@^4.0.0: 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" + integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== + dependencies: + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" + cliui@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" @@ -3391,7 +3455,7 @@ clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clone@^2.1.1, clone@^2.1.2: +clone@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= @@ -3508,16 +3572,6 @@ comma-separated-tokens@^1.0.0, comma-separated-tokens@^1.0.1: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== -commander@2.15.1: - version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" - integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== - -commander@2.17.x: - version "2.17.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" - integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== - commander@^2.11.0, commander@^2.12.1, commander@^2.20.0, commander@~2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -3528,11 +3582,6 @@ commander@^4.0.1: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== -commander@~2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" - integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== - commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -3622,7 +3671,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@1.6.2, concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.5.2: +concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.5.2: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3715,6 +3764,11 @@ content-disposition@0.5.3: dependencies: safe-buffer "5.1.2" +content-type-parser@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7" + integrity sha512-lM4l4CnMEwOLHAHr/P6MEZwZFPJFtAAKgL6pogbXmVZggIqXhdB6RbBtPOTsw2FcXwYhehRGERJmRrjOiIB8pQ== + content-type@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" @@ -3805,11 +3859,6 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -corser@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/corser/-/corser-2.0.1.tgz#8eda252ecaab5840dcd975ceb90d9370c819ff87" - integrity sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c= - cosmiconfig@^5.0.0: version "5.2.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -4141,7 +4190,7 @@ csso@^4.0.2: dependencies: css-tree "1.0.0-alpha.37" -cssom@0.3.x, cssom@^0.3.4: +cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": version "0.3.8" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== @@ -4153,10 +4202,10 @@ cssstyle@1.2.1: dependencies: cssom "0.3.x" -cssstyle@^1.1.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1" - integrity sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA== +"cssstyle@>= 0.2.37 < 0.3.0": + version "0.2.37" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" + integrity sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ= dependencies: cssom "0.3.x" @@ -4202,14 +4251,14 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe" - integrity sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ== +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== dependencies: - abab "^2.0.0" - whatwg-mimetype "^2.2.0" - whatwg-url "^7.0.0" + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" date-format@^2.0.0: version "2.1.0" @@ -4266,13 +4315,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -deep-eql@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" - integrity sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== - dependencies: - type-detect "^4.0.0" - deep-equal@^1.0.1: version "1.1.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" @@ -4477,11 +4519,6 @@ didyoumean@^1.2.1: resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.1.tgz#e92edfdada6537d484d73c0172fd1eba0c4976ff" integrity sha1-6S7f2tplN9SE1zwBcv0eugxJdv8= -diff@3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== - diff@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" @@ -4496,14 +4533,6 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" -dir-glob@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" - integrity sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag== - dependencies: - arrify "^1.0.1" - path-type "^3.0.0" - dir-glob@^2.0.0: version "2.2.2" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" @@ -4571,13 +4600,6 @@ domelementtype@^2.0.1: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d" integrity sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ== -domexception@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" - integrity sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug== - dependencies: - webidl-conversions "^4.0.2" - domhandler@^2.3.0: version "2.4.2" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" @@ -4657,16 +4679,6 @@ ecdsa-sig-formatter@1.0.11: dependencies: safe-buffer "^5.0.1" -ecstatic@^3.0.0: - version "3.3.2" - resolved "https://registry.yarnpkg.com/ecstatic/-/ecstatic-3.3.2.tgz#6d1dd49814d00594682c652adb66076a69d46c48" - integrity sha512-fLf9l1hnwrHI2xn9mEDT7KIi22UDqA2jaCwyCbSUJh9a1V+LEUSL/JO/6TIz/QyuBURWUHrFL5Kg2TtO1bkkog== - dependencies: - he "^1.1.1" - mime "^1.6.0" - minimist "^1.1.0" - url-join "^2.0.5" - editions@^1.1.1, editions@^1.3.1, editions@^1.3.3: version "1.3.4" resolved "https://registry.yarnpkg.com/editions/-/editions-1.3.4.tgz#3662cb592347c3168eb8e498a0ff73271d67f50b" @@ -4718,6 +4730,11 @@ elliptic@^6.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.1.1.tgz#c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e" integrity sha1-xs0OwbBkLio8Z6ETfvxeeW2k+I4= +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -4950,15 +4967,15 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -escodegen@^1.11.0: - version "1.14.2" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.2.tgz#14ab71bf5026c2aa08173afba22c6f3173284a84" - integrity sha512-InuOIiKk8wwuOFg6x9BQXbzjrQhtyXh46K9bqVTPzSo2FnyMBaYGBMC6PhQy7yxxil9vIedFBweQBMK74/7o8A== +escodegen@^1.6.1: + version "1.14.1" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.1.tgz#ba01d0c8278b5e95a9a45350142026659027a457" + integrity sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ== dependencies: esprima "^4.0.1" estraverse "^4.2.0" @@ -5282,15 +5299,16 @@ extract-opts@^3.3.1: editions "^2.2.0" typechecker "^4.9.0" -extract-zip@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.7.tgz#a840b4b8af6403264c8db57f4f1a74333ef81fe9" - integrity sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k= +extract-zip@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.0.tgz#f53b71d44f4ff5a4527a2259ade000fb8b303492" + integrity sha512-i42GQ498yibjdvIhivUsRslx608whtGoFIhF26Z7O4MYncBxp8CwalOs1lnHy21A9sIohWO2+uiE4SRtC9JXDg== dependencies: - concat-stream "1.6.2" - debug "2.6.9" - mkdirp "0.5.1" - yauzl "2.4.1" + debug "^4.1.1" + get-stream "^5.1.0" + yauzl "^2.10.0" + optionalDependencies: + "@types/yauzl" "^2.9.1" extsprintf@1.3.0: version "1.3.0" @@ -5312,18 +5330,6 @@ fast-deep-equal@^3.1.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== -fast-glob@^2.0.2: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" - fast-json-stable-stringify@2.1.0, fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -5365,10 +5371,10 @@ faye-websocket@~0.11.1: dependencies: websocket-driver ">=0.5.1" -fd-slicer@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" - integrity sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU= +fd-slicer@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" + integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= dependencies: pend "~1.2.0" @@ -5838,11 +5844,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-func-name@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" - integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= - get-stream@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" @@ -5855,6 +5856,13 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" +get-stream@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" + integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + dependencies: + pump "^3.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -5874,13 +5882,6 @@ github-slugger@^1.1.1: dependencies: emoji-regex ">=6.0.0 <=6.1.1" -github-slugger@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.3.0.tgz#9bd0a95c5efdfc46005e82a906ef8e2a059124c9" - integrity sha512-gwJScWVNhFYSRDvURk/8yhcFBee6aFjye2a7Lhb2bUyRulpIoek9p0I9Kt7PT67d/nUlZbFu8L9RLiA0woQN8Q== - dependencies: - emoji-regex ">=6.0.0 <=6.1.1" - glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -5910,23 +5911,6 @@ glob-slasher@^1.0.1: lodash.isobject "^2.4.1" toxic "^1.0.0" -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= - -glob@7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" - integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@7.1.6, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@~7.1.1: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" @@ -5991,19 +5975,6 @@ globby@^7.1.1: pify "^3.0.0" slash "^1.0.0" -globby@^8.0.1: - version "8.0.2" - resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d" - integrity sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w== - dependencies: - array-union "^1.0.1" - dir-glob "2.0.0" - fast-glob "^2.0.2" - glob "^7.1.2" - ignore "^3.3.5" - pify "^3.0.0" - slash "^1.0.0" - globule@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/globule/-/globule-1.3.0.tgz#41d0e9fb44afd4b80d93a23263714f90b3dec904" @@ -6124,11 +6095,6 @@ graceful-fs@*, graceful-fs@^4.1.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, gra resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== -growl@1.10.5: - version "1.10.5" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" - integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== - gtoken@^1.2.1: version "1.2.3" resolved "https://registry.yarnpkg.com/gtoken/-/gtoken-1.2.3.tgz#5509571b8afd4322e124cf66cf68115284c476d8" @@ -6366,16 +6332,6 @@ hastscript@^5.0.0: property-information "^5.0.0" space-separated-tokens "^1.0.0" -he@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" - integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0= - -he@1.2.x, he@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== - header-case@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/header-case/-/header-case-1.0.1.tgz#9535973197c144b09613cd65d317ef19963bd02d" @@ -6445,36 +6401,23 @@ html-comment-regex@^1.1.0: resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7" integrity sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ== -html-encoding-sniffer@^1.0.2: +html-encoding-sniffer@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" integrity sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw== dependencies: whatwg-encoding "^1.0.1" -html-entities@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" - integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= +html-entities@^1.3.1: + version "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.0" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491" integrity sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig== -html-minifier@^3.5.21: - version "3.5.21" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.21.tgz#d0040e054730e354db008463593194015212d20c" - integrity sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA== - dependencies: - camel-case "3.0.x" - clean-css "4.2.x" - commander "2.17.x" - he "1.2.x" - param-case "2.1.x" - relateurl "0.2.x" - uglify-js "3.4.x" - html-void-elements@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483" @@ -6583,36 +6526,6 @@ http-proxy@^1.13.0, http-proxy@^1.17.0: follow-redirects "^1.0.0" requires-port "^1.0.0" -http-proxy@^1.8.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-server-spa@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/http-server-spa/-/http-server-spa-1.3.0.tgz#2892c0ade750e1c3826b3589744e1c17c46aa6a5" - integrity sha512-NfXBksDzoiBOo1IrMDtxpKJ8FOHLqy0YdijYjqMoRcS7AWPf6MzhRvKe2KiXxENlqTRqkOH418SvbxC6GzG2TA== - dependencies: - mime "^1.3.4" - -http-server@^0.11.1: - version "0.11.1" - resolved "https://registry.yarnpkg.com/http-server/-/http-server-0.11.1.tgz#2302a56a6ffef7f9abea0147d838a5e9b6b6a79b" - integrity sha512-6JeGDGoujJLmhjiRGlt8yK8Z9Kl0vnl/dQoQZlc4oeqaUoAKQg94NILLfrY3oWzSyFaQCVNTcKE5PZ3cH8VP9w== - dependencies: - colors "1.0.3" - corser "~2.0.0" - ecstatic "^3.0.0" - http-proxy "^1.8.1" - opener "~1.4.0" - optimist "0.6.x" - portfinder "^1.0.13" - union "~0.4.3" - http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -6657,6 +6570,13 @@ iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@~0.4.11, i dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.5.1.tgz#b2425d3c7b18f7219f2ca663d103bddb91718d64" + integrity sha512-ONHr16SQvKZNSqjQT9gy5z24Jw+uqfO02/ngBSBoqChZ+W8qXX7GPRa1RoUnzGADw8K63R1BXUMzarCVQBpY8Q== + dependencies: + safer-buffer ">= 2.1.2 < 3" + icss-utils@^4.0.0, icss-utils@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" @@ -6784,7 +6704,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -7560,10 +7480,10 @@ jasminewd2@^2.1.0: resolved "https://registry.yarnpkg.com/jasminewd2/-/jasminewd2-2.2.0.tgz#e37cf0b17f199cce23bea71b2039395246b4ec4e" integrity sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4= -jest-worker@25.5.0, jest-worker@^25.4.0: - version "25.5.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.5.0.tgz#2611d071b79cea0f43ee57a3d118593ac1547db1" - integrity sha512-/dsSmUkIy5EBGfv/IjjqmFxrNAUpBERfGs1oHROyD7yxjG/w+t0GOJDX8O1k32ySmd7+a5IhnJU2qQFcJ4n1vw== +jest-worker@26.0.0, jest-worker@^26.0.0: + version "26.0.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.0.0.tgz#4920c7714f0a96c6412464718d0c58a3df3fb066" + integrity sha512-pPaYa2+JnwmiZjK9x7p9BoZht+47ecFCDFA/CJxspHzeDvQcfVBLWzCiWyo+EGrSiQMWZtCFo9iSvMZnAAo8vw== dependencies: merge-stream "^2.0.0" supports-color "^7.0.0" @@ -7615,37 +7535,30 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdom@^13.1.0: - version "13.2.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-13.2.0.tgz#b1a0dbdadc255435262be8ea3723d2dba0d7eb3a" - integrity sha512-cG1NtMWO9hWpqRNRR3dSvEQa8bFI6iLlqU2x4kwX51FQjp0qus8T9aBaAO6iGp3DeBrhdwuKxckknohkmfvsFw== +jsdom@^9.12.0: + version "9.12.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" + integrity sha1-6MVG//ywbADUgzyoRBD+1/igl9Q= dependencies: - abab "^2.0.0" - acorn "^6.0.4" - acorn-globals "^4.3.0" + abab "^1.0.3" + acorn "^4.0.4" + acorn-globals "^3.1.0" array-equal "^1.0.0" - cssom "^0.3.4" - cssstyle "^1.1.1" - data-urls "^1.1.0" - domexception "^1.0.1" - escodegen "^1.11.0" - html-encoding-sniffer "^1.0.2" - nwsapi "^2.0.9" - parse5 "5.1.0" - pn "^1.1.0" - request "^2.88.0" - request-promise-native "^1.0.5" - saxes "^3.1.5" - symbol-tree "^3.2.2" - tough-cookie "^2.5.0" - w3c-hr-time "^1.0.1" - w3c-xmlserializer "^1.0.1" - webidl-conversions "^4.0.2" - whatwg-encoding "^1.0.5" - whatwg-mimetype "^2.3.0" - whatwg-url "^7.0.0" - ws "^6.1.2" - xml-name-validator "^3.0.0" + content-type-parser "^1.0.1" + cssom ">= 0.3.2 < 0.4.0" + cssstyle ">= 0.2.37 < 0.3.0" + escodegen "^1.6.1" + html-encoding-sniffer "^1.0.1" + nwmatcher ">= 1.3.9 < 2.0.0" + parse5 "^1.5.1" + request "^2.79.0" + sax "^1.2.1" + symbol-tree "^3.2.1" + tough-cookie "^2.3.2" + webidl-conversions "^4.0.0" + whatwg-encoding "^1.0.1" + whatwg-url "^4.3.0" + xml-name-validator "^2.0.1" jsesc@^2.5.1: version "2.5.2" @@ -7941,13 +7854,6 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== -klaw-sync@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" - integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== - dependencies: - graceful-fs "^4.1.11" - klaw@^1.0.0: version "1.3.1" resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" @@ -7983,19 +7889,20 @@ lcid@^2.0.0: dependencies: invert-kv "^2.0.0" -less-loader@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-5.0.0.tgz#498dde3a6c6c4f887458ee9ed3f086a12ad1b466" - integrity sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg== +less-loader@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-6.1.0.tgz#59fd591df408ced89a40fce11a2aea449b005631" + integrity sha512-/jLzOwLyqJ7Kt3xg5sHHkXtOyShWwFj410K9Si9WO+/h8rmYxxkSR0A3/hFEntWudE20zZnWMtpMYnLzqTVdUA== dependencies: - clone "^2.1.1" - loader-utils "^1.1.0" - pify "^4.0.1" + clone "^2.1.2" + less "^3.11.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" -less@3.11.1: - version "3.11.1" - resolved "https://registry.yarnpkg.com/less/-/less-3.11.1.tgz#c6bf08e39e02404fe6b307a3dfffafdc55bd36e2" - integrity sha512-tlWX341RECuTOvoDIvtFqXsKj072hm3+9ymRBe76/mD6O5ZZecnlAOVDlWAleF2+aohFrxNidXhv2773f6kY7g== +less@^3.11.1: + version "3.11.2" + resolved "https://registry.yarnpkg.com/less/-/less-3.11.2.tgz#51a484e9017287f5ac3db921cb86970eb7506e81" + integrity sha512-ed8Lir98Tu6a+LeU7+8ShpRLSUdk//lWf1sh+5w7tNju4wGItztqDHp03Z+a2o1nzU6pObVxw1n4Gu7VzQYusQ== dependencies: clone "^2.1.2" tslib "^1.10.0" @@ -8003,8 +7910,8 @@ less@3.11.1: errno "^0.1.1" graceful-fs "^4.1.2" image-size "~0.5.0" + make-dir "^2.1.0" mime "^1.4.1" - mkdirp "^0.5.0" promise "^7.1.1" request "^2.83.0" source-map "~0.6.0" @@ -8029,19 +7936,13 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -license-checker-webpack-plugin@0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/license-checker-webpack-plugin/-/license-checker-webpack-plugin-0.1.4.tgz#2b984e0a4b7dcf9d8729fa1add58f58ad535f175" - integrity sha512-FExcCJnxIXX5stAIKtnm6y0N42WMtusV6mjDIjNr5qvC3wSw/tmxC11cSGzVjtPCkk3tO5Z6ysf3Ut7HheNNaw== +license-webpack-plugin@2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.2.0.tgz#5c964380d7d0e0c27c349d86a6f856c82924590e" + integrity sha512-XPsdL/0brSHf+7dXIlRqotnCQ58RX2au6otkOg4U3dm8uH+Ka/fW4iukEs95uXm+qKe/SBs+s1Ll/aQddKG+tg== dependencies: - "@hapi/joi" "^16.1.7" - lodash.template "^4.5.0" - minimatch "^3.0.4" - semver "^6.3.0" - spdx-expression-validate "^2.0.0" - spdx-satisfies "^5.0.0" - webpack-sources "^1.4.3" - wrap-ansi "^6.1.0" + "@types/webpack-sources" "^0.1.5" + webpack-sources "^1.2.0" lie@~3.3.0: version "3.3.0" @@ -8207,11 +8108,6 @@ lodash._objecttypes@~2.4.1: resolved "https://registry.yarnpkg.com/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11" integrity sha1-fAt/admKH3ZSn4kLDNsbTf7BHBE= -lodash._reinterpolate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= - lodash._shimkeys@~2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/lodash._shimkeys/-/lodash._shimkeys-2.4.1.tgz#6e9cc9666ff081f0b5a6c978b83e242e6949d203" @@ -8350,21 +8246,6 @@ lodash.sortby@^4.7.0: resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= -lodash.template@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" - integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.templatesettings@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" - integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.toarray@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" @@ -8417,10 +8298,10 @@ log4js@^4.0.0: rfdc "^1.1.4" streamroller "^1.0.6" -loglevel@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.7.tgz#b3e034233188c68b889f5b862415306f565e2c56" - integrity sha512-cY2eLFrQSAfVPhCgH1s7JI73tMbg9YC3v3+ZHVW67sBS7UxWzNEk/ZBbSfLykBWHp33dqqtOv82gjhKEi81T/A== +loglevel@^1.6.8: + version "1.6.8" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171" + integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA== long@^4.0.0: version "4.0.0" @@ -8727,11 +8608,6 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - metaviewport-parser@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/metaviewport-parser/-/metaviewport-parser-0.2.0.tgz#535c3ce1ccf6223a5025fddc6a1c36505f7e7db1" @@ -8781,7 +8657,7 @@ mime-types@^2.1.12, mime-types@^2.1.16, mime-types@~2.1.17, mime-types@~2.1.19, dependencies: mime-db "1.43.0" -mime@1.6.0, mime@^1.3.4, mime@^1.4.1, mime@^1.6.0: +mime@1.6.0, mime@^1.4.1: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== @@ -8923,6 +8799,11 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" +mkdirp-classic@^0.5.2: + version "0.5.3" + resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" + integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== + mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" @@ -8942,22 +8823,10 @@ mkdirp@^1.0.3: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.3.tgz#4cf2e30ad45959dddea53ad97d518b6c8205e1ea" integrity sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g== -mocha@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" - integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ== - dependencies: - browser-stdout "1.3.1" - commander "2.15.1" - debug "3.1.0" - diff "3.5.0" - escape-string-regexp "1.0.5" - glob "7.1.2" - growl "1.10.5" - he "1.1.1" - minimatch "3.0.4" - mkdirp "0.5.1" - supports-color "5.4.0" +mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== morgan@^1.8.2, morgan@~1.9.1: version "1.9.1" @@ -8982,6 +8851,13 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" +move-file@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/move-file/-/move-file-2.0.0.tgz#83ffa309b5d7f69d518b28e1333e2ffadf331e3e" + integrity sha512-cdkdhNCgbP5dvS4tlGxZbD+nloio9GIimP57EjqFhwLcMjnU+XJKAZzlmg/TN/AK1LuNAdTSvm3CPPP4Xkv0iQ== + dependencies: + path-exists "^4.0.0" + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -9348,10 +9224,10 @@ nunjucks@^3.1.6: optionalDependencies: chokidar "^2.0.0" -nwsapi@^2.0.9: - version "2.2.0" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" - integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== +"nwmatcher@>= 1.3.9 < 2.0.0": + version "1.4.4" + resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e" + integrity sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ== oauth-sign@~0.9.0: version "0.9.0" @@ -9487,10 +9363,10 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -open@7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/open/-/open-7.0.3.tgz#db551a1af9c7ab4c7af664139930826138531c48" - integrity sha512-sP2ru2v0P290WFfv49Ap8MF6PkzGNnGlAwHweB4WR4mr5d2d0woiCluUeJ218w7/+PmoBy9JmYgD5A4mLcWOFA== +open@7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/open/-/open-7.0.4.tgz#c28a9d315e5c98340bf979fdcb2e58664aa10d83" + integrity sha512-brSA+/yq+b08Hsr4c8fsEW2CRzk1BmfN3SAK/5VCHQ9bdoZJ4qa/+AfR0xHjlbbZUyPkUHs1b8x1RqdyZdkVqQ== dependencies: is-docker "^2.0.0" is-wsl "^2.1.1" @@ -9507,11 +9383,6 @@ opener@^1.5.1: resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== -opener@~1.4.0: - version "1.4.3" - resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" - integrity sha1-XG2ixdflgx6P+jlklQ+NZnSskLg= - opn@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" @@ -9519,7 +9390,7 @@ opn@^5.5.0: dependencies: is-wsl "^1.1.0" -optimist@0.6.x, optimist@~0.6.1: +optimist@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= @@ -9678,10 +9549,10 @@ p-map@^2.0.0: resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: aggregate-error "^3.0.0" @@ -9762,7 +9633,7 @@ parallel-transform@^1.1.0: inherits "^2.0.3" readable-stream "^2.1.5" -param-case@2.1.x, param-case@^2.1.0: +param-case@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc= @@ -9818,10 +9689,10 @@ parse5@4.0.0: resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== -parse5@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2" - integrity sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ== +parse5@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" + integrity sha1-m387DeMr543CQBsXVzzK8Pb1nZQ= parse5@^5.0.0: version "5.1.1" @@ -9942,11 +9813,6 @@ path-type@^3.0.0: dependencies: pify "^3.0.0" -pathval@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" - integrity sha1-uULm1L3mUwBe9rcTYd74cn0GReA= - pbkdf2@^3.0.3: version "3.0.17" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" @@ -10052,11 +9918,6 @@ pluralize@^1.2.1: resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45" integrity sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU= -pn@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" - integrity sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA== - pnp-webpack-plugin@1.6.4: version "1.6.4" resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz#c9711ac4dc48a685dabafc86f8b6dd9f8df84149" @@ -10064,19 +9925,19 @@ pnp-webpack-plugin@1.6.4: dependencies: ts-pnp "^1.1.6" -portfinder@^1.0.13: - version "1.0.26" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" - integrity sha512-Xi7mKxJHHMI3rIUrnm/jjUgwhbYMkp/XKEcZX3aG4BrumLpq3nmoQMX+ClYnDZnZ/New7IatC1no5RX0zo1vXQ== +portfinder@^1.0.23: + version "1.0.25" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca" + integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg== dependencies: async "^2.6.2" debug "^3.1.1" mkdirp "^0.5.1" -portfinder@^1.0.23, portfinder@^1.0.25: - version "1.0.25" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca" - integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg== +portfinder@^1.0.26: + version "1.0.26" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" + integrity sha512-Xi7mKxJHHMI3rIUrnm/jjUgwhbYMkp/XKEcZX3aG4BrumLpq3nmoQMX+ClYnDZnZ/New7IatC1no5RX0zo1vXQ== dependencies: async "^2.6.2" debug "^3.1.1" @@ -10428,7 +10289,7 @@ postcss-value-parser@^3.0.0, postcss-value-parser@^3.2.3, postcss-value-parser@^ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== -postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.3: +postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.3, postcss-value-parser@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== @@ -10442,10 +10303,10 @@ postcss@7.0.21: source-map "^0.6.1" supports-color "^6.1.0" -postcss@7.0.27: - version "7.0.27" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.27.tgz#cc67cdc6b0daa375105b7c424a85567345fc54d9" - integrity sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ== +postcss@7.0.31: + version "7.0.31" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.31.tgz#332af45cb73e26c0ee2614d7c7fb02dfcc2bd6dd" + integrity sha512-a937VDHE1ftkjk+8/7nj/mrjtmkn69xxzJgRETXdAUU+IgOYPQNJF17haGWbeDxSyk++HA14UA98FurvPyBJOA== dependencies: chalk "^2.4.2" source-map "^0.6.1" @@ -10469,6 +10330,15 @@ postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.27, postcss@^7.0.6: source-map "^0.6.1" supports-color "^6.1.0" +postcss@^7.0.30: + version "7.0.32" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d" + integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw== + dependencies: + chalk "^2.4.2" + source-map "^0.6.1" + supports-color "^6.1.0" + prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -10670,19 +10540,21 @@ 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== -puppeteer@^1.12.2: - version "1.20.0" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.20.0.tgz#e3d267786f74e1d87cf2d15acc59177f471bbe38" - integrity sha512-bt48RDBy2eIwZPrkgbcwHtb51mj2nKvHOPMaSH2IsWiv7lOG9k9zhaRzpDZafrk05ajMc3cu+lSQYYOfH2DkVQ== +puppeteer@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-3.3.0.tgz#95839af9fdc0aa4de7e5ee073a4c0adeb9e2d3d7" + integrity sha512-23zNqRltZ1PPoK28uRefWJ/zKb5Jhnzbbwbpcna2o5+QMn17F0khq5s1bdH3vPlyj+J36pubccR8wiNA/VE0Vw== dependencies: debug "^4.1.0" - extract-zip "^1.6.6" - https-proxy-agent "^2.2.1" + extract-zip "^2.0.0" + https-proxy-agent "^4.0.0" mime "^2.0.3" progress "^2.0.1" proxy-from-env "^1.0.0" - rimraf "^2.6.1" - ws "^6.1.0" + rimraf "^3.0.2" + tar-fs "^2.0.0" + unbzip2-stream "^1.3.3" + ws "^7.2.3" q@1.4.1: version "1.4.1" @@ -10704,11 +10576,6 @@ qs@6.7.0: resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== -qs@~2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-2.3.3.tgz#e9e85adbe75da0bbe4c8e0476a086290f863b404" - integrity sha1-6eha2+ddoLvkyOBHaghikPhjtAQ= - qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" @@ -11151,11 +11018,6 @@ rehype@^8.0.0: rehype-stringify "^6.0.0" unified "^7.0.0" -relateurl@0.2.x: - version "0.2.7" - resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= - remark-html@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-8.0.0.tgz#9fcb859a6f3cb40f3ef15402950f1a62ec301b3a" @@ -11236,22 +11098,6 @@ replace-ext@1.0.0: resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs= -request-promise-core@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9" - integrity sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ== - dependencies: - lodash "^4.17.15" - -request-promise-native@^1.0.5: - version "1.0.8" - resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36" - integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ== - dependencies: - request-promise-core "1.1.3" - stealthy-require "^1.1.1" - tough-cookie "^2.3.3" - request@^2.72.0, request@^2.74.0, request@^2.79.0, request@^2.81.0, request@^2.83.0, request@^2.87.0, request@^2.88.0: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" @@ -11351,6 +11197,13 @@ resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2: dependencies: path-parse "^1.0.6" +resolve@^1.8.1: + version "1.17.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== + dependencies: + path-parse "^1.0.6" + restore-cursor@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" @@ -11434,14 +11287,14 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@^2.7.1: +rimraf@2, rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== dependencies: glob "^7.1.3" -rimraf@3.0.2: +rimraf@3.0.2, 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== @@ -11468,10 +11321,10 @@ robots-parser@^2.0.1: resolved "https://registry.yarnpkg.com/robots-parser/-/robots-parser-2.1.1.tgz#41b289cf44a6aa136dc62be0085adca954573ab0" integrity sha512-6yWEYSdhK3bAEcYY0In3wgSBK70BiQoJArzdjZKCP/35b3gKIYu5Lc0qQqsoxjoLVebVoJiKK4VWGc5+oxvWBQ== -rollup@2.7.3: - version "2.7.3" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.7.3.tgz#24ebb08533b9ca6bc5a7aef8100e155e50035c31" - integrity sha512-lAWJGZ5BQzcu/5fhMKGJrh5oy9LQUoaCid8cQV8k+E2vE9E/UWptzcM+bSBg+u8akORsvnybsqQUE/wVChIazg== +rollup@2.10.9: + version "2.10.9" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.10.9.tgz#17dcc6753c619efcc1be2cf61d73a87827eebdf9" + integrity sha512-dY/EbjiWC17ZCUSyk14hkxATAMAShkMsD43XmZGWjLrgFj15M3Dw2kEkA9ns64BiLFm9PKN6vTQw8neHwK74eg== optionalDependencies: fsevents "~2.1.2" @@ -11538,7 +11391,7 @@ rx-lite@^3.1.2: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rxjs@6.5.5, rxjs@^6.3.3: +rxjs@6.5.5: version "6.5.5" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ== @@ -11625,18 +11478,11 @@ saucelabs@^1.5.0: dependencies: https-proxy-agent "^2.2.1" -sax@>=0.6.0, sax@~1.2.4: +sax@>=0.6.0, sax@^1.2.1, sax@~1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -saxes@^3.1.5: - version "3.1.11" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-3.1.11.tgz#d59d1fd332ec92ad98a2e0b2ee644702384b1c5b" - integrity sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g== - dependencies: - xmlchars "^2.1.1" - scandirectory@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/scandirectory/-/scandirectory-2.5.0.tgz#6ce03f54a090b668e3cbedbf20edf9e310593e72" @@ -11722,7 +11568,7 @@ semver-intersect@1.4.0: dependencies: semver "^5.0.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.0, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.2.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.0.0, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.2.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -12015,13 +11861,14 @@ sockjs-client@1.4.0: json3 "^3.3.2" url-parse "^1.4.3" -sockjs@0.3.19: - version "0.3.19" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.19.tgz#d976bbe800af7bd20ae08598d582393508993c0d" - integrity sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw== +sockjs@0.3.20: + version "0.3.20" + resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.20.tgz#b26a283ec562ef8b2687b44033a4eeceac75d855" + integrity sha512-SpmVOVpdq0DJc0qArhF3E5xsxvaiqGNb73XfgBpK1y3UD5gs8DSo8aCTsuT5pX8rssdc2NDIzANwP9eCAiSdTA== dependencies: faye-websocket "^0.10.0" - uuid "^3.0.1" + uuid "^3.4.0" + websocket-driver "0.6.5" socks-proxy-agent@^4.0.0: version "4.0.2" @@ -12051,13 +11898,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== -source-map-loader@0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.2.4.tgz#c18b0dc6e23bf66f6792437557c569a11e072271" - integrity sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ== +source-map-loader@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-1.0.0.tgz#240b88575a9b0d27214aeecbd4e7686af95cfa56" + integrity sha512-ZayyQCSCrQazN50aCvuS84lJT4xc1ZAcykH5blHaBdVveSwjiFK8UGMPvao0ho54DTb0Jf7m57uRRG/YYUZ2Fg== dependencies: - async "^2.5.0" - loader-utils "^1.1.0" + data-urls "^2.0.0" + iconv-lite "^0.5.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" + source-map "^0.6.0" source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: version "0.5.3" @@ -12123,15 +11973,6 @@ space-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== -spdx-compare@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/spdx-compare/-/spdx-compare-1.0.0.tgz#2c55f117362078d7409e6d7b08ce70a857cd3ed7" - integrity sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A== - dependencies: - array-find-index "^1.0.2" - spdx-expression-parse "^3.0.0" - spdx-ranges "^2.0.0" - spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -12153,13 +11994,6 @@ spdx-expression-parse@^3.0.0: spdx-exceptions "^2.1.0" spdx-license-ids "^3.0.0" -spdx-expression-validate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-validate/-/spdx-expression-validate-2.0.0.tgz#25c9408e1c63fad94fff5517bb7101ffcd23350b" - integrity sha512-b3wydZLM+Tc6CFvaRDBOF9d76oGIHNCLYFeHbftFXUWjnfZWganmDmvtM5sm1cRwJc/VDBMLyGGrsLFd1vOxbg== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids@^3.0.0: version "3.0.5" resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" @@ -12170,20 +12004,6 @@ spdx-license-list@^2.1.0: resolved "https://registry.yarnpkg.com/spdx-license-list/-/spdx-license-list-2.1.0.tgz#3788ffb5c80b24afbe8283934e9e6684ea6a218d" integrity sha1-N4j/tcgLJK++goOTTp5mhOpqIY0= -spdx-ranges@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/spdx-ranges/-/spdx-ranges-2.1.1.tgz#87573927ba51e92b3f4550ab60bfc83dd07bac20" - integrity sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA== - -spdx-satisfies@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/spdx-satisfies/-/spdx-satisfies-5.0.0.tgz#d740b8f14caeada36fb307629dee87146970a256" - integrity sha512-/hGhwh20BeGmkA+P/lm06RvXD94JduwNxtx/oX3B5ClPt1/u/m5MCaDNo1tV3Y9laLkQr/NRde63b9lLMhlNfw== - dependencies: - spdx-compare "^1.0.0" - spdx-expression-parse "^3.0.0" - spdx-ranges "^2.0.0" - spdy-transport@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" @@ -12196,7 +12016,7 @@ spdy-transport@^3.0.0: readable-stream "^3.0.6" wbuf "^1.7.3" -spdy@^4.0.0, spdy@^4.0.1: +spdy@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.1.tgz#6f12ed1c5db7ea4f24ebb8b89ba58c87c08257f2" integrity sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA== @@ -12207,6 +12027,17 @@ spdy@^4.0.0, spdy@^4.0.1: select-hose "^2.0.0" spdy-transport "^3.0.0" +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== + dependencies: + debug "^4.1.0" + handle-thing "^2.0.0" + http-deceiver "^1.2.7" + select-hose "^2.0.0" + spdy-transport "^3.0.0" + speed-measure-webpack-plugin@1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.3.tgz#6ff894fc83e8a6310dde3af863a0329cd79da4f5" @@ -12262,14 +12093,6 @@ ssri@^6.0.0, ssri@^6.0.1: dependencies: figgy-pudding "^3.5.1" -ssri@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-7.1.0.tgz#92c241bf6de82365b5c7fb4bd76e975522e1294d" - integrity sha512-77/WrDZUWocK0mvA5NTRQyveUf+wsrIc6vyrxpS8tVvYBcX215QbafrJR3KtkpskIzoFLqqNuuYQvxaMjXJ/0g== - dependencies: - figgy-pudding "^3.5.1" - minipass "^3.1.1" - ssri@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.0.tgz#79ca74e21f8ceaeddfcb4b90143c458b8d988808" @@ -12305,11 +12128,6 @@ static-extend@^0.1.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= -stealthy-require@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" - integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks= - stream-browserify@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" @@ -12387,6 +12205,15 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: 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" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" @@ -12479,7 +12306,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.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" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -12596,13 +12423,6 @@ superstatic@^6.0.1: try-require "^1.0.0" update-notifier "^2.5.0" -supports-color@5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" - integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== - dependencies: - has-flag "^3.0.0" - supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" @@ -12669,7 +12489,7 @@ symbol-observable@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.2: +symbol-tree@^3.2.1: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== @@ -12691,6 +12511,16 @@ 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== +tar-fs@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5" + integrity sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg== + dependencies: + chownr "^1.1.1" + mkdirp-classic "^0.5.2" + pump "^3.0.0" + tar-stream "^2.0.0" + tar-stream@^1.5.0: version "1.6.2" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" @@ -12704,6 +12534,17 @@ tar-stream@^1.5.0: to-buffer "^1.1.1" xtend "^4.0.0" +tar-stream@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.2.tgz#6d5ef1a7e5783a95ff70b69b97455a5968dc1325" + integrity sha512-UaF6FoJ32WqALZGOIAApXx+OdxhekNMChu6axLJR85zMMjXKWFGjbIRe+J6P4UnRGg9rAwWvbTT0oI7hD/Un7Q== + dependencies: + bl "^4.0.1" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + tar-stream@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.0.tgz#d1aaa3661f05b38b5acc9b7020efdca5179a2cc3" @@ -12728,12 +12569,12 @@ tar@^4.3.0, tar@^4.4.10: safe-buffer "^5.1.2" yallist "^3.0.3" -tar@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.1.tgz#7b3bd6c313cb6e0153770108f8d70ac298607efa" - integrity sha512-bKhKrrz2FJJj5s7wynxy/fyxpE0CmCjmOQ1KV4KkgXFWOgoIT/NbTMnB1n+LFNrNk0SSBVGGxcK5AGsyC+pW5Q== +tar@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.2.tgz#5df17813468a6264ff14f766886c622b84ae2f39" + integrity sha512-Glo3jkRtPcvpDlAs/0+hozav78yoXKFr+c4wgw62NNMO3oo4AaJdCo21Uu7lcwr55h39W2XD1LMERc64wtbItg== dependencies: - chownr "^1.1.3" + chownr "^2.0.0" fs-minipass "^2.0.0" minipass "^3.0.0" minizlib "^2.1.0" @@ -12775,19 +12616,19 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-2.3.6.tgz#a4014b311a61f87c6a1b217ef4f5a75bd0665a69" - integrity sha512-I8IDsQwZrqjdmOicNeE8L/MhwatAap3mUrtcAKJuilsemUNcX+Hier/eAzwStVqhlCxq0aG3ni9bK/0BESXkTg== +terser-webpack-plugin@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-3.0.1.tgz#31928c9330a582fb5ec6f90805337289b85cb8fe" + integrity sha512-eFDtq8qPUEa9hXcUzTwKXTnugIVtlqc1Z/ZVhG8LmRT3lgRY13+pQTnFLY2N7ATB6TKCHuW/IGjoAnZz9wOIqw== dependencies: - cacache "^13.0.1" + cacache "^15.0.3" find-cache-dir "^3.3.1" - jest-worker "^25.4.0" + jest-worker "^26.0.0" p-limit "^2.3.0" schema-utils "^2.6.6" serialize-javascript "^3.0.0" source-map "^0.6.1" - terser "^4.6.12" + terser "^4.6.13" webpack-sources "^1.4.3" terser-webpack-plugin@^1.4.3: @@ -12805,10 +12646,10 @@ terser-webpack-plugin@^1.4.3: webpack-sources "^1.4.0" worker-farm "^1.7.0" -terser@4.6.12: - version "4.6.12" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.12.tgz#44b98aef8703fdb09a3491bf79b43faffc5b4fee" - integrity sha512-fnIwuaKjFPANG6MAixC/k1TDtnl1YlPLUlLVIxxGZUn1gfUx2+l3/zGNB72wya+lgsb50QBi2tUV75RiODwnww== +terser@4.7.0, terser@^4.6.13: + version "4.7.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.7.0.tgz#15852cf1a08e3256a80428e865a2fa893ffba006" + integrity sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -12823,15 +12664,6 @@ terser@^4.1.2: source-map "~0.6.1" source-map-support "~0.5.12" -terser@^4.6.12: - version "4.6.13" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.13.tgz#e879a7364a5e0db52ba4891ecde007422c56a916" - integrity sha512-wMvqukYgVpQlymbnNbabVZbtM6PN63AzqexpwJL8tbh/mRT9LE5o+ruVduAGL7D6Fpjl+Q+06U5I9Ul82odAhw== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -12865,7 +12697,7 @@ through2@^3.0.1: dependencies: readable-stream "2 || 3" -"through@>=2.2.7 <3", through@X.X.X, through@^2.3.6: +"through@>=2.2.7 <3", through@X.X.X, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -12974,20 +12806,12 @@ to-regex@^3.0.1, to-regex@^3.0.2: regex-not "^1.0.2" safe-regex "^1.1.0" -to-vfile@^5.0.2: - version "5.0.3" - resolved "https://registry.yarnpkg.com/to-vfile/-/to-vfile-5.0.3.tgz#61ecbd7ed207b2a30e9d2eb5d4cd9f9114300203" - integrity sha512-z1Lfx60yAMDMmr+f426Y4yECsHdl8GVEAE+LymjRF5oOIZ7T4N20IxWNAxXLMRzP9jSSll38Z0fKVAhVLsdLOw== - dependencies: - is-buffer "^2.0.0" - vfile "^3.0.0" - toidentifier@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== -tough-cookie@^2.3.3, tough-cookie@^2.5.0, tough-cookie@~2.5.0: +tough-cookie@^2.3.2, tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== @@ -13002,12 +12826,17 @@ toxic@^1.0.0: dependencies: lodash "^4.17.10" -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - integrity sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk= +tr46@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479" + integrity sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg== dependencies: - punycode "^2.1.0" + punycode "^2.1.1" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= "traverse@>=0.3.0 <0.4": version "0.3.9" @@ -13060,10 +12889,10 @@ ts-pnp@^1.1.6: resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== -tslib@1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" - integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== +tslib@2.0.0, tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" @@ -13120,11 +12949,6 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" -type-detect@^4.0.0, type-detect@^4.0.5: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - type-fest@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" @@ -13160,20 +12984,15 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.6.5: - version "3.6.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.5.tgz#dae20114a7b4ff4bd642db9c8c699f2953e8bbdb" - integrity sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ== - typescript@^3.2.2: version "3.7.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== -typescript@~3.8.3: - version "3.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== +typescript@~3.9.5: + version "3.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.5.tgz#586f0dba300cde8be52dd1ac4f7e1009c1b13f36" + integrity sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ== ua-parser-js@0.7.21: version "0.7.21" @@ -13185,14 +13004,6 @@ uberproto@^1.1.0: resolved "https://registry.yarnpkg.com/uberproto/-/uberproto-1.2.0.tgz#61d4eab024f909c4e6ea52be867c4894a4beeb76" integrity sha1-YdTqsCT5CcTm6lK+hnxIlKS+63Y= -uglify-js@3.4.x: - version "3.4.10" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.10.tgz#9ad9563d8eb3acdfb8d38597d2af1d815f6a755f" - integrity sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw== - dependencies: - commander "~2.19.0" - source-map "~0.6.1" - uglify-js@^3.0.15: version "3.7.7" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.7.7.tgz#21e52c7dccda80a53bf7cde69628a7e511aec9c9" @@ -13213,6 +13024,14 @@ unbounded@^1.2.0: dependencies: editions "^2.2.0" +unbzip2-stream@^1.3.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" + integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== + dependencies: + buffer "^5.2.1" + through "^2.3.8" + underscore@^1.9.1: version "1.9.2" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.2.tgz#0c8d6f536d6f378a5af264a72f7bec50feb7cf2f" @@ -13290,13 +13109,6 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -union@~0.4.3: - version "0.4.6" - resolved "https://registry.yarnpkg.com/union/-/union-0.4.6.tgz#198fbdaeba254e788b0efcb630bc11f24a2959e0" - integrity sha1-GY+9rrolTniLDvy2MLwR8kopWeA= - dependencies: - qs "~2.3.3" - uniq@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" @@ -13516,11 +13328,6 @@ url-join@0.0.1: resolved "https://registry.yarnpkg.com/url-join/-/url-join-0.0.1.tgz#1db48ad422d3402469a87f7d97bdebfe4fb1e3c8" integrity sha1-HbSK1CLTQCRpqH99l73r/k+x48g= -url-join@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.5.tgz#5af22f18c052a000a48d7b82c5e9c2e2feeda728" - integrity sha1-WvIvGMBSoACkjXuCxenC4v7tpyg= - url-parse-lax@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" @@ -13609,17 +13416,17 @@ uuid@3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -uuid@7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b" - integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg== +uuid@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.1.0.tgz#6f1536eb43249f473abc6bd58ff983da1ca30d8d" + integrity sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg== uuid@^2.0.1: version "2.0.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho= -uuid@^3.0.0, uuid@^3.0.1, uuid@^3.3.2: +uuid@^3.0.0, uuid@^3.3.2, uuid@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== @@ -13688,14 +13495,6 @@ vfile-message@^1.0.0: dependencies: unist-util-stringify-position "^1.1.1" -vfile-message@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" - integrity sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ== - dependencies: - "@types/unist" "^2.0.0" - unist-util-stringify-position "^2.0.0" - vfile@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a" @@ -13716,17 +13515,6 @@ vfile@^3.0.0: unist-util-stringify-position "^1.0.0" vfile-message "^1.0.0" -vfile@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.1.1.tgz#282d28cebb609183ac51703001bc18b3e3f17de9" - integrity sha512-lRjkpyDGjVlBA7cDQhQ+gNcvB1BGaTHYuSOcY3S7OhDmBtnzX95FhtZZDecSTDm6aajFymyve6S5DN4ZHGezdQ== - dependencies: - "@types/unist" "^2.0.0" - is-buffer "^2.0.0" - replace-ext "1.0.0" - unist-util-stringify-position "^2.0.0" - vfile-message "^2.0.0" - vm-browserify@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" @@ -13737,22 +13525,6 @@ void-elements@^2.0.0: resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w= -w3c-hr-time@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" - integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== - dependencies: - browser-process-hrtime "^1.0.0" - -w3c-xmlserializer@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-1.1.2.tgz#30485ca7d70a6fd052420a3d12fd90e6339ce794" - integrity sha512-p10l/ayESzrBMYWRID6xbuCKh2Fp77+sA0doRuGn4tTIMrrZVeqfpKjXHY+oDh3K4nLdPgNwMTVP6Vp4pvqbNg== - dependencies: - domexception "^1.0.1" - webidl-conversions "^4.0.2" - xml-name-validator "^3.0.0" - walkdir@^0.0.11: version "0.0.11" resolved "https://registry.yarnpkg.com/walkdir/-/walkdir-0.0.11.tgz#a16d025eb931bd03b52f308caed0f40fcebe9532" @@ -13829,11 +13601,21 @@ webdriver-manager@^12.0.6: semver "^5.3.0" xml2js "^0.4.17" -webidl-conversions@^4.0.2: +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + +webidl-conversions@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== + webpack-dev-middleware@3.7.2, webpack-dev-middleware@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3" @@ -13845,10 +13627,10 @@ webpack-dev-middleware@3.7.2, webpack-dev-middleware@^3.7.2: range-parser "^1.2.1" webpack-log "^2.0.0" -webpack-dev-server@3.10.3: - version "3.10.3" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.10.3.tgz#f35945036813e57ef582c2420ef7b470e14d3af0" - integrity sha512-e4nWev8YzEVNdOMcNzNeCN947sWJNd43E5XvsJzbAL08kGc2frm1tQ32hTJslRS+H65LCb/AaUCYU7fjHCpDeQ== +webpack-dev-server@3.11.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.0.tgz#8f154a3bce1bcfd1cc618ef4e703278855e7ff8c" + integrity sha512-PUxZ+oSTxogFQgkTtFndEtJIPNmml7ExwufBZ9L2/Xyyd5PnOL5UreWe5ZT7IU25DSdykL9p1MLQzmLh2ljSeg== dependencies: ansi-html "0.0.7" bonjour "^3.5.0" @@ -13858,31 +13640,31 @@ webpack-dev-server@3.10.3: debug "^4.1.1" del "^4.1.1" express "^4.17.1" - html-entities "^1.2.1" + html-entities "^1.3.1" http-proxy-middleware "0.19.1" import-local "^2.0.0" internal-ip "^4.3.0" ip "^1.1.5" is-absolute-url "^3.0.3" killable "^1.0.1" - loglevel "^1.6.6" + loglevel "^1.6.8" opn "^5.5.0" p-retry "^3.0.1" - portfinder "^1.0.25" + portfinder "^1.0.26" schema-utils "^1.0.0" selfsigned "^1.10.7" semver "^6.3.0" serve-index "^1.9.1" - sockjs "0.3.19" + sockjs "0.3.20" sockjs-client "1.4.0" - spdy "^4.0.1" + spdy "^4.0.2" strip-ansi "^3.0.1" supports-color "^6.1.0" url "^0.11.0" webpack-dev-middleware "^3.7.2" webpack-log "^2.0.0" ws "^6.2.1" - yargs "12.0.5" + yargs "^13.3.2" webpack-log@^2.0.0: version "2.0.0" @@ -13899,7 +13681,7 @@ webpack-merge@4.2.2: dependencies: lodash "^4.17.15" -webpack-sources@1.4.3, webpack-sources@^1.1.0, webpack-sources@^1.3.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: +webpack-sources@1.4.3, 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" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== @@ -13907,10 +13689,10 @@ webpack-sources@1.4.3, webpack-sources@^1.1.0, webpack-sources@^1.3.0, webpack-s source-list-map "^2.0.0" source-map "~0.6.1" -webpack-subresource-integrity@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.4.0.tgz#44963a64c9a214ad729158e7f46d52c2525cc88a" - integrity sha512-GB1kB/LwAWC3CxwcedGhMkxGpNZxSheCe1q+KJP1bakuieAdX/rGHEcf5zsEzhKXpqsGqokgsDoD9dIkr61VDQ== +webpack-subresource-integrity@1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.4.1.tgz#e8bf918b444277df46a66cd84542cbcdc5a6272d" + integrity sha512-XMLFInbGbB1HV7K4vHWANzc1CN0t/c4bBvnlvGxGwV45yE/S/feAXIm8dJsCkzqWtSKnmaEgTp/meyeThxG4Iw== dependencies: webpack-sources "^1.3.0" @@ -13943,6 +13725,13 @@ webpack@4.43.0: watchpack "^1.6.1" webpack-sources "^1.4.1" +websocket-driver@0.6.5: + version "0.6.5" + resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.6.5.tgz#5cb2556ceb85f4373c6d8238aa691c8454e13a36" + integrity sha1-XLJVbOuF9Dc8bYI4qmkchFThOjY= + dependencies: + websocket-extensions ">=0.1.1" + websocket-driver@>=0.5.1: version "0.7.3" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9" @@ -13957,26 +13746,34 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== -whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: +whatwg-encoding@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== dependencies: iconv-lite "0.4.24" -whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0: +whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== -whatwg-url@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" - integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== +whatwg-url@^4.3.0: + version "4.8.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" + integrity sha1-0pgaqRSMHgCkHFphMRZqtGg7vMA= + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +whatwg-url@^8.0.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.1.0.tgz#c628acdcf45b82274ce7281ee31dd3c839791771" + integrity sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw== dependencies: lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" + tr46 "^2.0.2" + webidl-conversions "^5.0.0" when@~3.6.x: version "3.6.4" @@ -14054,10 +13851,10 @@ worker-farm@^1.7.0: dependencies: errno "~0.1.7" -worker-plugin@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/worker-plugin/-/worker-plugin-4.0.2.tgz#0456dd7af1c0de64591326fd8a08c5d9f2b5b27a" - integrity sha512-V+1zSZMOOKk+uBzKyNIODLQLsx59zSIOaI75J1EMS0iR1qy+KQR3y/pQ3T0vIhvPfDFapGRMsoMvQNEL3okqSA== +worker-plugin@4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/worker-plugin/-/worker-plugin-4.0.3.tgz#7c42e600d5931ad154d3d5f187a32446df64db0f" + integrity sha512-7hFDYWiKcE3yHZvemsoM9lZis/PzurHAEX1ej8PLCu818Rt6QqUAiDdxHPCKZctzmhqzPpcFSgvMCiPbtooqAg== dependencies: loader-utils "^1.1.0" @@ -14069,7 +13866,16 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" -wrap-ansi@^6.1.0, wrap-ansi@^6.2.0: +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== + dependencies: + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" + +wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -14117,7 +13923,7 @@ ws@3.3.2: safe-buffer "~5.1.0" ultron "~1.1.0" -ws@^6.1.0, ws@^6.1.2, ws@^6.2.1: +ws@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== @@ -14129,6 +13935,11 @@ ws@^7.1.0: resolved "https://registry.yarnpkg.com/ws/-/ws-7.2.1.tgz#03ed52423cd744084b2cf42ed197c8b65a936b8e" integrity sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A== +ws@^7.2.3: + version "7.3.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd" + integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w== + ws@~3.3.1: version "3.3.3" resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" @@ -14155,10 +13966,10 @@ xdg-basedir@^3.0.0: resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= -xml-name-validator@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" - integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== +xml-name-validator@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" + integrity sha1-TYuPHszTQZqjYgYb7O9RXh5VljU= xml2js@^0.4.17: version "0.4.23" @@ -14178,11 +13989,6 @@ xmlbuilder@~11.0.0: resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== -xmlchars@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" - integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== - xmldom@0.1.19: version "0.1.19" resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.19.tgz#631fc07776efd84118bf25171b37ed4d075a0abc" @@ -14250,6 +14056,14 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^18.1.0, yargs-parser@^18.1.1: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -14265,24 +14079,6 @@ yargs-parser@^5.0.0: dependencies: camelcase "^3.0.0" -yargs@12.0.5, yargs@^12.0.5: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - 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 "^11.1.1" - yargs@15.3.0: version "15.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" @@ -14313,6 +14109,40 @@ yargs@3.32.0, yargs@^3.32.0: window-size "^0.1.4" y18n "^3.2.0" +yargs@^12.0.5: + version "12.0.5" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" + integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== + dependencies: + cliui "^4.0.0" + decamelize "^1.2.0" + find-up "^3.0.0" + get-caller-file "^1.0.1" + 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 "^11.1.1" + +yargs@^13.3.2: + version "13.3.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== + dependencies: + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.2" + yargs@^15.3.1: version "15.3.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b" @@ -14349,12 +14179,13 @@ yargs@^7.0.2: y18n "^3.2.1" yargs-parser "^5.0.0" -yauzl@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" - integrity sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU= +yauzl@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" + integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= dependencies: - fd-slicer "~1.0.1" + buffer-crc32 "~0.2.3" + fd-slicer "~1.1.0" yeast@0.1.2: version "0.1.2" diff --git a/browser-providers.conf.js b/browser-providers.conf.js index aa04858e85..a377f4fac6 100644 --- a/browser-providers.conf.js +++ b/browser-providers.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,7 +14,8 @@ var CIconfiguration = { 'Chrome': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, 'Firefox': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, - 'FirefoxESR': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, + // Set ESR as a not required browser as it fails for Ivy acceptance tests. + 'FirefoxESR': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}}, // Disabled because using the "beta" channel of Chrome can cause non-deterministic CI results. // e.g. a new chrome beta version has been released, but the Saucelabs selenium server does // not provide a chromedriver version that is compatible with the new beta. @@ -31,14 +32,23 @@ var CIconfiguration = { 'Android7': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, 'Android8': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, 'Android9': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, - 'Android10': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}}, + // Disable Android 10 tests due to infrastructure failure. + // ex: + // Chrome Mobile 74.0.3729 (Android 0.0.0) ERROR: + // Error: XHR error loading + // http://angular-ci.local:9876/base/node_modules/rxjs/internal/operators/zip.js + // + // Error loading http://angular-ci.local:9876/base/node_modules/rxjs/internal/operators/zip.js as + // "../internal/operators/zip" from + // http://angular-ci.local:9876/base/node_modules/rxjs/operators/index.js + 'Android10': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}}, // Disable all Safari and iOS tests because of incorrect results // ex: - // Mobile Safari 13.0.0 (iOS 13.0.0) styling static template only should capture static values in TStylingKey FAILED - // Expected $.content = 'dynamic' to equal '"dynamic"'. - // Mobile Safari 12.0.0 (iOS 12.0.0) styling should handle values wrapped into SafeValue FAILED - // Expected 'url("http://angular-ci.local:9876/1.png")' to contain 'url("/1.png")'.s - // Tracking in: https://github.com/angular/angular/issues/36975 + // Mobile Safari 13.0.0 (iOS 13.0.0) styling static template only should capture static values in + // TStylingKey FAILED Expected $.content = 'dynamic' to equal '"dynamic"'. Mobile Safari 12.0.0 + // (iOS 12.0.0) styling should handle values wrapped into SafeValue FAILED Expected + // 'url("http://angular-ci.local:9876/1.png")' to contain 'url("/1.png")'.s Tracking in: + // https://github.com/angular/angular/issues/36975 'Safari12': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}}, 'Safari13': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}}, 'iOS12': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}}, @@ -152,17 +162,12 @@ var sauceAliases = { return customLaunchers[item].base == 'SauceLabs'; }), 'DESKTOP': [ - 'SL_CHROME', 'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_EDGE', 'SL_SAFARI12', 'SL_SAFARI13', 'SL_FIREFOXESR' - ], - 'MOBILE': [ - 'SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10', 'SL_IOS12', 'SL_IOS13' - ], - 'ANDROID': [ - 'SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10' - ], - 'FIREFOX': [ - 'SL_FIREFOXESR' + 'SL_CHROME', 'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_EDGE', 'SL_SAFARI12', + 'SL_SAFARI13', 'SL_FIREFOXESR' ], + 'MOBILE': ['SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10', 'SL_IOS12', 'SL_IOS13'], + 'ANDROID': ['SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10'], + 'FIREFOX': ['SL_FIREFOXESR'], 'IE': ['SL_IE9', 'SL_IE10', 'SL_IE11'], 'IOS': ['SL_IOS12', 'SL_IOS13'], 'SAFARI': ['SL_SAFARI12', 'SL_SAFARI13'], @@ -177,11 +182,14 @@ var browserstackAliases = { return customLaunchers[item].base == 'BrowserStack'; }), 'DESKTOP': [ - 'BS_CHROME', 'BS_FIREFOX', 'BS_IE9', 'BS_IE10', 'BS_IE11', 'BS_EDGE', - ], - 'MOBILE': [ - 'BS_ANDROID7', 'BS_WINDOWSPHONE' + 'BS_CHROME', + 'BS_FIREFOX', + 'BS_IE9', + 'BS_IE10', + 'BS_IE11', + 'BS_EDGE', ], + 'MOBILE': ['BS_ANDROID7', 'BS_WINDOWSPHONE'], 'ANDROID': ['BS_ANDROID7'], 'IE': ['BS_IE9', 'BS_IE10', 'BS_IE11'], 'IOS': [], diff --git a/dev-infra/BUILD.bazel b/dev-infra/BUILD.bazel index 44a7a2930b..fe797aee63 100644 --- a/dev-infra/BUILD.bazel +++ b/dev-infra/BUILD.bazel @@ -10,6 +10,7 @@ ts_library( deps = [ "//dev-infra/commit-message", "//dev-infra/format", + "//dev-infra/pr", "//dev-infra/pullapprove", "//dev-infra/release", "//dev-infra/ts-circular-dependencies", @@ -36,10 +37,30 @@ genrule( pkg_npm( name = "npm_package", + srcs = [ + "BUILD.bazel", + "//dev-infra/benchmark:files", + ], + substitutions = { + # angular/angular should not consume it's own packages, so we use + # substitutions to replace these in the published version of dev-infra. + "//dev-infra/": "@npm_angular_dev_infra_private//", + "//packages/benchpress": "@npm//@angular/benchpress", + "//packages/bazel/": "@npm_angular_bazel//", + "//packages/zone.js/dist:zone.js": "@npm//:node_modules/zone.js/dist/zone.js", + "//packages/core": "@npm//@angular/core", + "//packages/platform-browser": "@npm//@angular/platform-browser", + + # This substitution is particularly verbose because we need to make sure + # that only things available via Angular Bazel are imported from + # tools/defaults.bzl. + "load\(\"//tools:defaults.bzl\", \"ng_module\"\)": "load(\"@npm_angular_bazel//:index.bzl\", \"ng_module\")", + }, visibility = ["//visibility:public"], deps = [ ":cli", ":package-json", + "//dev-infra/benchmark/driver-utilities", "//dev-infra/commit-message", "//dev-infra/ts-circular-dependencies", ], diff --git a/dev-infra/bazel/BUILD.bazel b/dev-infra/bazel/BUILD.bazel new file mode 100644 index 0000000000..ffd0fb0cdc --- /dev/null +++ b/dev-infra/bazel/BUILD.bazel @@ -0,0 +1 @@ +package(default_visibility = ["//visibility:public"]) diff --git a/dev-infra/bazel/expand_template.bzl b/dev-infra/bazel/expand_template.bzl new file mode 100644 index 0000000000..e21bd9fa1d --- /dev/null +++ b/dev-infra/bazel/expand_template.bzl @@ -0,0 +1,45 @@ +"""Implementation of the expand_template rule """ + +def expand_template_impl(ctx): + substitutions = dict() + + for k in ctx.attr.configuration_env_vars: + if k in ctx.var.keys(): + substitutions["TMPL_%s" % k] = ctx.var[k] + + for k in ctx.attr.substitutions: + substitutions[k] = ctx.expand_location(ctx.attr.substitutions[k], targets = ctx.attr.data) + + ctx.actions.expand_template( + template = ctx.file.template, + output = ctx.outputs.output_name, + substitutions = substitutions, + ) + +"""Rule that can be used to substitute variables in a given template file.""" +expand_template = rule( + implementation = expand_template_impl, + attrs = { + "configuration_env_vars": attr.string_list( + default = [], + doc = "Bazel configuration variables which should be exposed to the template.", + ), + "output_name": attr.output( + mandatory = True, + doc = "File where the substituted template is written to.", + ), + "substitutions": attr.string_dict( + mandatory = True, + doc = "Dictionary of substitutions that should be available to the template. Dictionary key represents the placeholder in the template.", + ), + "data": attr.label_list( + doc = """Data dependencies for location expansion.""", + allow_files = True, + ), + "template": attr.label( + mandatory = True, + allow_single_file = True, + doc = "File used as template.", + ), + }, +) diff --git a/dev-infra/benchmark/BUILD.bazel b/dev-infra/benchmark/BUILD.bazel new file mode 100644 index 0000000000..8a70bef317 --- /dev/null +++ b/dev-infra/benchmark/BUILD.bazel @@ -0,0 +1,12 @@ +package(default_visibility = ["//visibility:public"]) + +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]) + [ + "//dev-infra/benchmark/brotli-cli:files", + "//dev-infra/browsers:files", + "//dev-infra/benchmark/component_benchmark:files", + "//dev-infra/benchmark/ng_rollup_bundle:files", + ], +) diff --git a/dev-infra/benchmark/brotli-cli/BUILD.bazel b/dev-infra/benchmark/brotli-cli/BUILD.bazel new file mode 100644 index 0000000000..a97d1f5e19 --- /dev/null +++ b/dev-infra/benchmark/brotli-cli/BUILD.bazel @@ -0,0 +1,19 @@ +package(default_visibility = ["//visibility:public"]) + +load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") + +nodejs_binary( + name = "brotli-cli", + data = [ + "cli.js", + "@npm//brotli", + ], + entry_point = ":cli.js", + visibility = ["//visibility:public"], +) + +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]), +) diff --git a/tools/brotli-cli/cli.js b/dev-infra/benchmark/brotli-cli/cli.js similarity index 91% rename from tools/brotli-cli/cli.js rename to dev-infra/benchmark/brotli-cli/cli.js index e38a4a5c43..0c08cbf5b7 100644 --- a/tools/brotli-cli/cli.js +++ b/dev-infra/benchmark/brotli-cli/cli.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,4 +18,4 @@ function main(args) { if (require.main === module) { main(process.argv.slice(2)); -} \ No newline at end of file +} diff --git a/dev-infra/benchmark/component_benchmark/BUILD.bazel b/dev-infra/benchmark/component_benchmark/BUILD.bazel new file mode 100644 index 0000000000..4a4596f070 --- /dev/null +++ b/dev-infra/benchmark/component_benchmark/BUILD.bazel @@ -0,0 +1,12 @@ +package(default_visibility = ["//visibility:public"]) + +exports_files([ + "protractor-perf.conf.js", + "start-server.js", +]) + +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]) + ["//dev-infra/benchmark/component_benchmark/defaults:files"], +) diff --git a/modules/benchmarks/benchmark_test.bzl b/dev-infra/benchmark/component_benchmark/benchmark_test.bzl similarity index 69% rename from modules/benchmarks/benchmark_test.bzl rename to dev-infra/benchmark/component_benchmark/benchmark_test.bzl index a6d6442004..e305b9a282 100644 --- a/modules/benchmarks/benchmark_test.bzl +++ b/dev-infra/benchmark/component_benchmark/benchmark_test.bzl @@ -1,4 +1,4 @@ -load("//tools:defaults.bzl", "protractor_web_test_suite") +load("@npm_bazel_protractor//:index.bzl", "protractor_web_test_suite") """ Macro that can be used to define a benchmark test. This differentiates from @@ -10,11 +10,9 @@ load("//tools:defaults.bzl", "protractor_web_test_suite") def benchmark_test(name, server, tags = [], **kwargs): protractor_web_test_suite( name = name, - configuration = "//:protractor-perf.conf.js", - data = [ - "//packages/benchpress", - ], - on_prepare = "//modules/benchmarks:start-server.js", + browsers = ["//dev-infra/browsers:chromium"], + configuration = "//dev-infra/benchmark/component_benchmark:protractor-perf.conf.js", + on_prepare = "//dev-infra/benchmark/component_benchmark:start-server.js", server = server, # Benchmark targets should not run on CI by default. tags = tags + [ diff --git a/tools/components/component_benchmark.bzl b/dev-infra/benchmark/component_benchmark/component_benchmark.bzl similarity index 81% rename from tools/components/component_benchmark.bzl rename to dev-infra/benchmark/component_benchmark/component_benchmark.bzl index 40f8788d44..809e92d259 100644 --- a/tools/components/component_benchmark.bzl +++ b/dev-infra/benchmark/component_benchmark/component_benchmark.bzl @@ -1,17 +1,19 @@ -load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/ng_rollup_bundle:ng_rollup_bundle.bzl", "ng_rollup_bundle") +load("//tools:defaults.bzl", "ng_module") +load("@npm_bazel_typescript//:index.bzl", "ts_devserver", "ts_library") +load(":benchmark_test.bzl", "benchmark_test") def copy_default_file(origin, destination): """ - Copies a file from tools/components/defaults to the destination. + Copies a file from ./defaults to the destination. Args: - origin: The name of a file in benchpress/defaults to be copied. + origin: The name of a file in ./defaults to be copied. destination: Where the original file will be clopied to. """ native.genrule( name = "copy_default_" + origin + "_file_genrule", - srcs = ["//tools/components/defaults:" + origin], + srcs = ["//dev-infra/benchmark/component_benchmark/defaults:" + origin], outs = [destination], cmd = "cat $(SRCS) >> $@", ) @@ -23,6 +25,7 @@ def component_benchmark( driver_deps, ng_srcs, ng_deps, + ng_assets = [], assets = None, styles = None, entry_point = None, @@ -63,6 +66,7 @@ def component_benchmark( driver_deps: Driver's dependencies ng_srcs: All of the ts srcs for the angular app ng_deps: Dependencies for the angular app + ng_assets: The static assets for the angular app assets: Static files styles: Stylesheets entry_point: Main entry point for the angular app @@ -102,9 +106,11 @@ def component_benchmark( ng_module( name = app_lib, srcs = ng_srcs, + assets = ng_assets, # Creates ngFactory and ngSummary to be imported by the app's entry point. generate_ve_shims = True, deps = ng_deps, + tsconfig = "//dev-infra/benchmark/component_benchmark:tsconfig-e2e.json", ) # Bundle the application (needed by ts_devserver). @@ -117,7 +123,7 @@ def component_benchmark( # The ts_library for the driver that runs tests against the benchmark app. ts_library( name = benchmark_driver, - tsconfig = "//modules/benchmarks:tsconfig-e2e.json", + tsconfig = "//dev-infra/benchmark/component_benchmark:tsconfig-e2e.json", testonly = True, srcs = [driver], deps = driver_deps, @@ -126,11 +132,12 @@ def component_benchmark( # The server for our application. ts_devserver( name = server, - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = assets + styles, - deps = [":" + app_main + ".min_debug.es2015.js"], - additional_root_paths = ["tools/components/defaults"], + deps = [":" + app_main + ".min_debug.js"], + additional_root_paths = ["//dev-infra/benchmark/component_benchmark/defaults"], + serving_path = "/app_bundle.js", ) # Runs a protractor test that's set up to use @angular/benchpress. diff --git a/tools/components/defaults/BUILD.bazel b/dev-infra/benchmark/component_benchmark/defaults/BUILD.bazel similarity index 51% rename from tools/components/defaults/BUILD.bazel rename to dev-infra/benchmark/component_benchmark/defaults/BUILD.bazel index 3445ea83fe..0eb8038377 100644 --- a/tools/components/defaults/BUILD.bazel +++ b/dev-infra/benchmark/component_benchmark/defaults/BUILD.bazel @@ -1,5 +1,11 @@ package(default_visibility = ["//visibility:public"]) +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]), +) + exports_files([ "index.html", "index.ts", diff --git a/tools/components/defaults/index.html b/dev-infra/benchmark/component_benchmark/defaults/index.html similarity index 100% rename from tools/components/defaults/index.html rename to dev-infra/benchmark/component_benchmark/defaults/index.html diff --git a/tools/components/defaults/index.ts b/dev-infra/benchmark/component_benchmark/defaults/index.ts similarity index 91% rename from tools/components/defaults/index.ts rename to dev-infra/benchmark/component_benchmark/defaults/index.ts index 18da743e3e..4186e824e5 100644 --- a/tools/components/defaults/index.ts +++ b/dev-infra/benchmark/component_benchmark/defaults/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/components/defaults/styles.css b/dev-infra/benchmark/component_benchmark/defaults/styles.css similarity index 100% rename from tools/components/defaults/styles.css rename to dev-infra/benchmark/component_benchmark/defaults/styles.css diff --git a/protractor-perf.conf.js b/dev-infra/benchmark/component_benchmark/protractor-perf.conf.js similarity index 93% rename from protractor-perf.conf.js rename to dev-infra/benchmark/component_benchmark/protractor-perf.conf.js index fa99676cc7..8ccf197b54 100644 --- a/protractor-perf.conf.js +++ b/dev-infra/benchmark/component_benchmark/protractor-perf.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -36,7 +36,7 @@ exports.config = { showColors: true, defaultTimeoutInterval: 90000, print: function(msg) { - console.log(msg); + console.info(msg); }, }, useAllAngular2AppRoots: true diff --git a/modules/benchmarks/start-server.js b/dev-infra/benchmark/component_benchmark/start-server.js similarity index 92% rename from modules/benchmarks/start-server.js rename to dev-infra/benchmark/component_benchmark/start-server.js index c43be5f8e9..2dacb55428 100644 --- a/modules/benchmarks/start-server.js +++ b/dev-infra/benchmark/component_benchmark/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/benchmark/component_benchmark/tsconfig-e2e.json b/dev-infra/benchmark/component_benchmark/tsconfig-e2e.json new file mode 100644 index 0000000000..ec8572b587 --- /dev/null +++ b/dev-infra/benchmark/component_benchmark/tsconfig-e2e.json @@ -0,0 +1,6 @@ +{ + "compilerOptions": { + "lib": ["es2015", "dom"], + "types": ["node", "jasmine"] + } +} diff --git a/dev-infra/benchmark/driver-utilities/BUILD.bazel b/dev-infra/benchmark/driver-utilities/BUILD.bazel new file mode 100644 index 0000000000..d9086bef93 --- /dev/null +++ b/dev-infra/benchmark/driver-utilities/BUILD.bazel @@ -0,0 +1,20 @@ +package(default_visibility = ["//visibility:public"]) + +load("@npm_bazel_typescript//:index.bzl", "ts_library") + +ts_library( + name = "driver-utilities", + srcs = glob(["*.ts"]), + module_name = "@angular/dev-infra-private/benchmark/driver-utilities", + tsconfig = "//dev-infra/benchmark/component_benchmark:tsconfig-e2e.json", + deps = [ + "//packages/benchpress", + "@npm//@types/node", + "@npm//@types/selenium-webdriver", + "@npm//@types/shelljs", + "@npm//node-uuid", + "@npm//protractor", + "@npm//selenium-webdriver", + "@npm//shelljs", + ], +) diff --git a/modules/e2e_util/e2e_util.ts b/dev-infra/benchmark/driver-utilities/e2e_util.ts similarity index 97% rename from modules/e2e_util/e2e_util.ts rename to dev-infra/benchmark/driver-utilities/e2e_util.ts index f9d3ffeff5..55d21fa96c 100644 --- a/modules/e2e_util/e2e_util.ts +++ b/dev-infra/benchmark/driver-utilities/e2e_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/benchmark/driver-utilities/index.ts b/dev-infra/benchmark/driver-utilities/index.ts new file mode 100644 index 0000000000..979bdf3500 --- /dev/null +++ b/dev-infra/benchmark/driver-utilities/index.ts @@ -0,0 +1,9 @@ +/** + * @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 {openBrowser, verifyNoBrowserErrors} from './e2e_util'; +export {runBenchmark} from './perf_util'; diff --git a/modules/e2e_util/perf_util.ts b/dev-infra/benchmark/driver-utilities/perf_util.ts similarity index 93% rename from modules/e2e_util/perf_util.ts rename to dev-infra/benchmark/driver-utilities/perf_util.ts index c2970e02a8..ab27079f0c 100644 --- a/modules/e2e_util/perf_util.ts +++ b/dev-infra/benchmark/driver-utilities/perf_util.ts @@ -1,14 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {mkdir} from 'shelljs'; + export {verifyNoBrowserErrors} from './e2e_util'; const nodeUuid = require('node-uuid'); -import * as fs from 'fs-extra'; import {SeleniumWebDriverAdapter, Options, JsonFileReporter, Validator, RegressionSlopeValidator, ConsoleReporter, SizeValidator, MultiReporter, MultiMetric, Runner, StaticProvider} from '@angular/benchpress'; import {openBrowser} from './e2e_util'; @@ -22,7 +23,7 @@ const globalOptions = { const runner = createBenchpressRunner(); -export function runBenchmark(config: { +export async function runBenchmark(config: { id: string, url: string, params: {name: string, value: any}[], @@ -34,7 +35,7 @@ export function runBenchmark(config: { }): Promise { openBrowser(config); if (config.setup) { - config.setup(); + await config.setup(); } const description: {[key: string]: any} = {}; config.params.forEach((param) => description[param.name] = param.value); @@ -53,7 +54,7 @@ function createBenchpressRunner(): Runner { runId = process.env.GIT_SHA + ' ' + runId; } const resultsFolder = './dist/benchmark_results'; - fs.ensureDirSync(resultsFolder); + mkdir('-p', resultsFolder); const providers: StaticProvider[] = [ SeleniumWebDriverAdapter.PROTRACTOR_PROVIDERS, {provide: Options.FORCE_GC, useValue: globalOptions.forceGc}, diff --git a/tools/ng_rollup_bundle/BUILD.bazel b/dev-infra/benchmark/ng_rollup_bundle/BUILD.bazel similarity index 77% rename from tools/ng_rollup_bundle/BUILD.bazel rename to dev-infra/benchmark/ng_rollup_bundle/BUILD.bazel index 9c7960d932..afb8a7a695 100644 --- a/tools/ng_rollup_bundle/BUILD.bazel +++ b/dev-infra/benchmark/ng_rollup_bundle/BUILD.bazel @@ -3,7 +3,7 @@ package(default_visibility = ["//visibility:public"]) load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") exports_files([ - "rollup.config.js", + "rollup.config-tmpl.js", "terser_config.json", ]) @@ -18,3 +18,9 @@ nodejs_binary( ], entry_point = "@npm//:node_modules/rollup/dist/bin/rollup", ) + +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]), +) diff --git a/dev-infra/benchmark/ng_rollup_bundle/ng_rollup_bundle.bzl b/dev-infra/benchmark/ng_rollup_bundle/ng_rollup_bundle.bzl new file mode 100644 index 0000000000..a7eb00e66f --- /dev/null +++ b/dev-infra/benchmark/ng_rollup_bundle/ng_rollup_bundle.bzl @@ -0,0 +1,100 @@ +# 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 + +load("@build_bazel_rules_nodejs//:index.bzl", "npm_package_bin") +load("@npm_bazel_terser//:index.bzl", "terser_minified") +load("@npm_bazel_rollup//:index.bzl", "rollup_bundle") +load("//dev-infra/bazel:expand_template.bzl", "expand_template") + +def ng_rollup_bundle( + name, + entry_point, + deps = [], + license_banner = None, + build_optimizer = True, + visibility = None, + format = "iife", + globals = {}, + **kwargs): + """Rollup with Build Optimizer on target prodmode output (ESM2015). + + This provides an extension of the [rollup_bundle] rule that works better for Angular apps. + + Runs [rollup], [terser_minified] and [brotli] to produce a number of output bundles. + + es2015 : "%{name}.js" + es2015 minified : "%{name}.min.js" + es2015 minified (compressed) : "%{name}.min.js.br", + es2015 minified (debug) : "%{name}.min_debug.js" + + It registers `@angular-devkit/build-optimizer` as a rollup plugin by default. This helps + with further optimization. See https://github.com/angular/angular-cli/tree/master/packages/angular_devkit/build_optimizer. + + [rollup_bundle]: https://github.com/bazelbuild/rules_nodejs/blob/1.x/packages/rollup/src/rollup_bundle.bzl + [rollup]: https://rollupjs.org/guide/en/ + [terser_minified]: https://bazelbuild.github.io/rules_nodejs/Terser.html + [brotli]: https://brotli.org/ + """ + + config_data = [license_banner] if license_banner else [] + + expand_template( + name = "%s_rollup_config" % name, + template = "//dev-infra/benchmark/ng_rollup_bundle:rollup.config-tmpl.js", + output_name = "%s_rollup_config.js" % name, + configuration_env_vars = ["angular_ivy_enabled"], + data = config_data, + substitutions = { + "TMPL_build_optimizer": "true" if build_optimizer else "false", + "TMPL_banner_file": "\"$(execpath %s)\"" % license_banner if license_banner else "undefined", + "TMPL_external": ", ".join(["'%s'" % e for e in globals.keys()]), + "TMPL_globals": ", ".join(["'%s': '%s'" % (g, g) for g in globals]), + }, + visibility = visibility, + ) + + rollup_bundle( + name = name, + config_file = "%s_rollup_config" % name, + entry_points = { + (entry_point): name, + }, + visibility = visibility, + deps = config_data + deps + [ + "@npm//rollup-plugin-node-resolve", + "@npm//rollup-plugin-sourcemaps", + "@npm//rollup-plugin-commonjs", + "@npm//@angular-devkit/build-optimizer", + ], + silent = True, + format = format, + sourcemap = "true", + **kwargs + ) + + common_terser_options = { + "visibility": visibility, + "config_file": "//dev-infra/benchmark/ng_rollup_bundle:terser_config.json", + # TODO: Enable source maps for better debugging when `@bazel/terser` pre-declares + # JS and map outputs. Tracked with: DEV-120 + "sourcemap": False, + } + + terser_minified(name = name + ".min", src = name + ".js", **common_terser_options) + native.filegroup(name = name + ".min.js", srcs = [name + ".min"], visibility = visibility) + terser_minified(name = name + ".min_debug", src = name + ".js", debug = True, **common_terser_options) + native.filegroup(name = name + ".min_debug.js", srcs = [name + ".min_debug"], visibility = visibility) + + npm_package_bin( + name = "_%s_brotli" % name, + tool = "//dev-infra/benchmark/brotli-cli", + data = [name + ".min.js"], + outs = [name + ".min.js.br"], + args = [ + "--output=$(execpath %s.min.js.br)" % name, + "$(execpath %s.min.js)" % name, + ], + visibility = visibility, + ) diff --git a/dev-infra/benchmark/ng_rollup_bundle/rollup.config-tmpl.js b/dev-infra/benchmark/ng_rollup_bundle/rollup.config-tmpl.js new file mode 100644 index 0000000000..305d96256b --- /dev/null +++ b/dev-infra/benchmark/ng_rollup_bundle/rollup.config-tmpl.js @@ -0,0 +1,89 @@ +/** + * @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 + */ + +// Rollup configuration +// GENERATED BY Bazel + +const buildOptimizer = + require('@angular-devkit/build-optimizer/src/build-optimizer/rollup-plugin.js'); +const nodeResolve = require('rollup-plugin-node-resolve'); +const sourcemaps = require('rollup-plugin-sourcemaps'); +const commonjs = require('rollup-plugin-commonjs'); +const path = require('path'); +const fs = require('fs'); + +function log_verbose(...m) { + // This is a template file so we use __filename to output the actual filename + if (!!process.env['VERBOSE_LOGS']) console.error(`[${path.basename(__filename)}]`, ...m); +} + +// Substitutions from the `ng_rollup_bundle` macro. We want to conditionally toggle +// build optimizer, support optional banner files, and generally respect the current +// compilation mode (i.e. Ivy or View Engine) as that affects module resolution. +const useBuildOptimizer = TMPL_build_optimizer; +const bannerFile = TMPL_banner_file; +const ivyEnabled = 'TMPL_angular_ivy_enabled' === 'True'; +// `bazel_stamp_file` is a substitution that is applied by `@bazel/rollup`. +const stampDataFile = bazel_stamp_file; + +log_verbose(`running with + cwd: ${process.cwd()} + useBuildOptimizer: ${useBuildOptimizer} + bannerFile: ${bannerFile} + stampDataFile: ${stampDataFile} + ivyEnabled: ${ivyEnabled} +`); + +const plugins = [ + nodeResolve({ + // If Ivy is enabled, we need to make sure that the module resolution prioritizes ngcc + // processed entry-point fields. Ngcc adds special fields to `package.json` files of + // modules that have been processed. Prioritizing these fields matches the Angular CLIs + // behavior for supporting Ivy. We need to support ngcc because `ng_rollup_bundle` rule is + // shared with other repositories that consume Angular from NPM (w/ ngcc). + // https://github.com/angular/angular-cli/blob/1a1ceb609b9a87c4021cce3a6f0fc6d167cd09d2/packages/ngtools/webpack/src/angular_compiler_plugin.ts#L918-L920 + mainFields: ivyEnabled ? ['module_ivy_ngcc', 'main_ivy_ngcc', 'module', 'main'] : + ['module', 'main'], + }), + commonjs({ignoreGlobal: true}), + sourcemaps(), +]; + +if (useBuildOptimizer) { + plugins.unshift(buildOptimizer.default({ + sideEffectFreeModules: [], + })); +} + +module.exports = { + plugins, + external: [TMPL_external], + output: { + globals: {TMPL_globals}, + banner: extractBannerIfConfigured(), + } +}; + +/** Extracts the top-level bundle banner if specified. */ +function extractBannerIfConfigured() { + if (!bannerFile) { + return undefined; + } + let banner = fs.readFileSync(bannerFile, 'utf8'); + if (stampDataFile) { + const versionTag = fs.readFileSync(stampDataFile, 'utf8') + .split('\n') + .find(s => s.startsWith('BUILD_SCM_VERSION')); + // Don't assume BUILD_SCM_VERSION exists + if (versionTag) { + const version = versionTag.split(' ')[1].trim(); + banner = banner.replace(/0.0.0-PLACEHOLDER/, version); + } + } + return banner; +} diff --git a/dev-infra/benchmark/ng_rollup_bundle/terser_config.json b/dev-infra/benchmark/ng_rollup_bundle/terser_config.json new file mode 100644 index 0000000000..fcb6a31ad4 --- /dev/null +++ b/dev-infra/benchmark/ng_rollup_bundle/terser_config.json @@ -0,0 +1,18 @@ +{ + "output": { + "ecma": "es2015", + "comments": false, + "beautify": "bazel_debug" + }, + "compress": { + "global_defs": { + "ngDevMode": false, + "ngI18nClosureMode": false, + "ngJitMode": false + }, + "passes": 3, + "pure_getters": true + }, + "toplevel": true, + "mangle": "bazel_no_debug" +} diff --git a/tools/browsers/BUILD.bazel b/dev-infra/browsers/BUILD.bazel similarity index 90% rename from tools/browsers/BUILD.bazel rename to dev-infra/browsers/BUILD.bazel index 96aa00190d..7ad08fb96b 100644 --- a/tools/browsers/BUILD.bazel +++ b/dev-infra/browsers/BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. +# Copyright Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,6 +14,8 @@ # ################################################################################ # +package(default_visibility = ["//visibility:public"]) + load("@io_bazel_rules_webtesting//web:web.bzl", "browser", "web_test_archive") # Override of chromium web_test_archive so that the archive is selected based on platform @@ -31,7 +33,7 @@ web_test_archive( "@io_bazel_rules_webtesting//common/conditions:mac": {"CHROMIUM": "chrome-mac/Chromium.app/Contents/MacOS/chromium"}, "@io_bazel_rules_webtesting//common/conditions:windows": {"CHROMIUM": "chrome-win/chrome.exe"}, }), - visibility = ["//tools/browsers:__subpackages__"], + visibility = ["//dev-infra/browsers:__subpackages__"], ) # Override of chromedriver web_test_archive so that the archive is selected based on platform @@ -55,7 +57,7 @@ web_test_archive( "CHROMEDRIVER": "chromedriver_win32/chromedriver.exe", }, }), - visibility = ["//tools/browsers:__subpackages__"], + visibility = ["//dev-infra/browsers:__subpackages__"], ) browser( @@ -68,3 +70,9 @@ browser( "@io_bazel_rules_webtesting//go/wsl", ], ) + +# Make source files available for distribution via pkg_npm +filegroup( + name = "files", + srcs = glob(["*"]), +) diff --git a/dev-infra/browsers/README.md b/dev-infra/browsers/README.md new file mode 100644 index 0000000000..da4712b403 --- /dev/null +++ b/dev-infra/browsers/README.md @@ -0,0 +1,50 @@ +# Browser configuration and versioning for testing of Angular + +Within the Angular monorepo, we use Chrome to perform most of the local testing, and rely on Sauce Labs and BrowserStack to do cross-browser testing on our CI. + +The version of Chrome used in tests within this monorepo is configured and controlled via `rules_webtesting` and `puppeteer`. We manually keep the configuration of these two tools in sync to create a consistent testing environment across unit, e2e, and integration tests. + +## rules_webtesting + +Bazel `karma_web_test_suite` and `protractor_web_test_suite` targets will use Chromium provisioned by rules_webtesting. The version of chrome used is specified in the `dev-infra/browsers/browser_repositories.bzl` file. The process of updating the Chrome version in that file consists of several steps: + +1) Visit https://chromium.woolyss.com/ and note the version (commit position) of the latest stable version. + + For example, "Google Chrome 83.0.4103.97 (756066) • Wednesday, 3 Jun 2020". Alternately, you can look in https://omahaproxy.appspot.com/. + +1) Find the closest commit position number available for each platform in chromium-browser-snapshots: + https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html + + For example, + + * https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/756066/ + * https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/756053/ + * https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/756065/ + + You can download the Chromium for your local platform and double check that the --version matches up with + what you expect. + + For example, + +``` bash +$ ~/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium --version +Chromium 83.0.4103.0 +``` + +1) Update the chrome & chrome driver build numbers in `dev-infra/browsers/browser_repositories.bzl` and run either run `bazel query @org_chromium_chromium_amd64//...` to prompt Bazel to calculate the new sha256 for each platform binary or determine the new sha256 values manually. + + For example, with curl & shasum + +``` bash +curl https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/756066/chrome-linux.zip | shasum -a 256 +``` + +## puppeteer + +Visit https://github.com/puppeteer/puppeteer/blob/master/docs/api.md to determine which version of puppeteer corresponds to the version of Chrome desired. Then update `scripts/puppeteer-chrome-versions.js` and all of the puppeteer versions throughout the repo, + +* `package.json` +* `aio/package.json` +* `aio/tools/examples/shared/package.json` + +and their corresponding `yarn.lock` files. diff --git a/tools/browsers/browser_repositories.bzl b/dev-infra/browsers/browser_repositories.bzl similarity index 74% rename from tools/browsers/browser_repositories.bzl rename to dev-infra/browsers/browser_repositories.bzl index 244de68df3..b78b3b140d 100644 --- a/tools/browsers/browser_repositories.bzl +++ b/dev-infra/browsers/browser_repositories.bzl @@ -44,44 +44,53 @@ def platform_http_file(name, licenses, sha256, urls): def browser_repositories(): """Load pinned rules_webtesting browser versions.""" + # To update to a newer version of Chromium see instructions in + # https://github.com/angular/angular/blob/master/dev-infra/browsers/README.md. + platform_http_file( name = "org_chromium_chromium_amd64", licenses = ["notice"], # BSD 3-clause (maybe more?) - sha256 = "b1e30c4dec8a451f8fe10d1f2d3c71e491d0333425f32247fe5c80a0a354303d", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/664981/chrome-linux.zip"], + sha256 = "2cfd74ee58c79d8b7aada05c899a930967e2fd8bb0186582cde02c7340863f64", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/756066/chrome-linux.zip"], ) platform_http_file( name = "org_chromium_chromium_macos", licenses = ["notice"], # BSD 3-clause (maybe more?) - sha256 = "7c0ba93616f44a421330b1c1262e8899fbdf7916bed8b04c775e0426f6f35ec6", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/665002/chrome-mac.zip"], + sha256 = "b841ec5ad03b08422d97593fc719f1c5b038703388ad65e6cd8cc8272d58958c", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/756053/chrome-mac.zip"], ) platform_http_file( name = "org_chromium_chromium_windows", licenses = ["notice"], # BSD 3-clause (maybe more?) - sha256 = "f2facd0066270078d0e8999e684595274c359cac3946299a1ceedba2a5de1c63", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/664999/chrome-win.zip"], + sha256 = "4683d7ac88dfec4b98d1da3012ecc8e42cc8c1a560a7b95589ad4cc96bf90fcb", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/756065/chrome-win.zip"], ) platform_http_file( name = "org_chromium_chromedriver_amd64", licenses = ["reciprocal"], # BSD 3-clause, ICU, MPL 1.1, libpng (BSD/MIT-like), Academic Free License v. 2.0, BSD 2-clause, MIT - sha256 = "0ead02145854b60a3317b59031205b362fb4cfdb680fef20e95c89582e6e38be", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/664981/chromedriver_linux64.zip"], + sha256 = "95dded16000b82e31445361da7d251ed707e027a4b61e9a3ec5fbd1cc2f62bb1", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/756066/chromedriver_linux64.zip"], ) platform_http_file( name = "org_chromium_chromedriver_macos", licenses = ["reciprocal"], # BSD 3-clause, ICU, MPL 1.1, libpng (BSD/MIT-like), Academic Free License v. 2.0, BSD 2-clause, MIT - sha256 = "8dd159e27b13b16262afa6993b15321e736c3b484da363c0e03bb050d72522c9", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/665002/chromedriver_mac64.zip"], + sha256 = "17260e9b2222b0c905a1861285210192baef830f4281778903e7cebb8db683cc", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/756053/chromedriver_mac64.zip"], ) platform_http_file( name = "org_chromium_chromedriver_windows", licenses = ["reciprocal"], # BSD 3-clause, ICU, MPL 1.1, libpng (BSD/MIT-like), Academic Free License v. 2.0, BSD 2-clause, MIT - sha256 = "1cc881364974102182257a5c5c2b9cfed513689dee28924ca44df082bdf9fd60", - urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/664999/chromedriver_win32.zip"], + sha256 = "de1423b2d69f96e451e902d686e8d471610d786c345a8de59dd1a5a436e45fc2", + # 83.0.4103 + urls = ["https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/756065/chromedriver_win32.zip"], ) diff --git a/tools/browsers/chromium.json b/dev-infra/browsers/chromium.json similarity index 100% rename from tools/browsers/chromium.json rename to dev-infra/browsers/chromium.json diff --git a/dev-infra/cli.ts b/dev-infra/cli.ts index 836b90afa9..a220486865 100644 --- a/dev-infra/cli.ts +++ b/dev-infra/cli.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,12 +12,14 @@ import {buildPullapproveParser} from './pullapprove/cli'; import {buildCommitMessageParser} from './commit-message/cli'; import {buildFormatParser} from './format/cli'; import {buildReleaseParser} from './release/cli'; +import {buildPrParser} from './pr/cli'; yargs.scriptName('ng-dev') .demandCommand() .recommendCommands() .command('commit-message ', '', buildCommitMessageParser) .command('format ', '', buildFormatParser) + .command('pr ', '', buildPrParser) .command('pullapprove ', '', buildPullapproveParser) .command('release ', '', buildReleaseParser) .command('ts-circular-deps ', '', tsCircularDependenciesBuilder) diff --git a/dev-infra/commit-message/BUILD.bazel b/dev-infra/commit-message/BUILD.bazel index 152bc195b7..2c6d3be371 100644 --- a/dev-infra/commit-message/BUILD.bazel +++ b/dev-infra/commit-message/BUILD.bazel @@ -32,6 +32,7 @@ ts_library( "@npm//@types/events", "@npm//@types/jasmine", "@npm//@types/node", + "@npm//inquirer", ], ) diff --git a/dev-infra/commit-message/cli.ts b/dev-infra/commit-message/cli.ts index 6e459d19d2..f7b2cc8936 100644 --- a/dev-infra/commit-message/cli.ts +++ b/dev-infra/commit-message/cli.ts @@ -1,11 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as yargs from 'yargs'; + +import {info} from '../utils/console'; + import {validateFile} from './validate-file'; import {validateCommitRange} from './validate-range'; @@ -51,10 +54,10 @@ export function buildCommitMessageParser(localYargs: yargs.Argv) { // If on CI, and not pull request number is provided, assume the branch // being run on is an upstream branch. if (process.env['CI'] && process.env['CI_PULL_REQUEST'] === 'false') { - console.info( - `Since valid commit messages are enforced by PR linting on CI, we do not\n` + - `need to validate commit messages on CI runs on upstream branches.\n\n` + - `Skipping check of provided commit range`); + info(`Since valid commit messages are enforced by PR linting on CI, we do not`); + info(`need to validate commit messages on CI runs on upstream branches.`); + info(); + info(`Skipping check of provided commit range`); return; } validateCommitRange(argv.range); diff --git a/dev-infra/commit-message/config.ts b/dev-infra/commit-message/config.ts index 4085e809b1..7a84edc488 100644 --- a/dev-infra/commit-message/config.ts +++ b/dev-infra/commit-message/config.ts @@ -1,13 +1,31 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {assertNoErrors, getConfig, NgDevConfig} from '../utils/config'; + export interface CommitMessageConfig { maxLineLength: number; minBodyLength: number; types: string[]; scopes: string[]; } + +/** Retrieve and validate the config as `CommitMessageConfig`. */ +export function getCommitMessageConfig() { + // List of errors encountered validating the config. + const errors: string[] = []; + // The unvalidated config object. + const config: Partial> = getConfig(); + + if (config.commitMessage === undefined) { + errors.push(`No configuration defined for "commitMessage"`); + } + + assertNoErrors(errors); + return config as Required; +} diff --git a/dev-infra/commit-message/validate-file.ts b/dev-infra/commit-message/validate-file.ts index 9769caa33b..f4cd5ed830 100644 --- a/dev-infra/commit-message/validate-file.ts +++ b/dev-infra/commit-message/validate-file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import {readFileSync} from 'fs'; import {resolve} from 'path'; import {getRepoBaseDir} from '../utils/config'; +import {info} from '../utils/console'; import {validateCommitMessage} from './validate'; @@ -16,7 +17,7 @@ import {validateCommitMessage} from './validate'; export function validateFile(filePath: string) { const commitMessage = readFileSync(resolve(getRepoBaseDir(), filePath), 'utf8'); if (validateCommitMessage(commitMessage)) { - console.info('√ Valid commit message'); + info('√ Valid commit message'); return; } // If the validation did not return true, exit as a failure. diff --git a/dev-infra/commit-message/validate-range.ts b/dev-infra/commit-message/validate-range.ts index 1633aac443..485fa06b2f 100644 --- a/dev-infra/commit-message/validate-range.ts +++ b/dev-infra/commit-message/validate-range.ts @@ -1,11 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {exec} from 'shelljs'; +import {info} from '../utils/console'; +import {exec} from '../utils/shelljs'; + import {parseCommitMessage, validateCommitMessage, ValidateCommitMessageOptions} from './validate'; // Whether the provided commit is a fixup commit. @@ -23,7 +25,7 @@ export function validateCommitRange(range: string) { const gitLogFormat = `%s%n%n%b${randomValueSeparator}`; // Retrieve the commits in the provided range. - const result = exec(`git log --reverse --format=${gitLogFormat} ${range}`, {silent: true}); + const result = exec(`git log --reverse --format=${gitLogFormat} ${range}`); if (result.code) { throw new Error(`Failed to get all commits in the range: \n ${result.stderr}`); } @@ -31,7 +33,7 @@ export function validateCommitRange(range: string) { // Separate the commits from a single string into individual commits const commits = result.split(randomValueSeparator).map(l => l.trim()).filter(line => !!line); - console.info(`Examining ${commits.length} commit(s) in the provided range: ${range}`); + info(`Examining ${commits.length} commit(s) in the provided range: ${range}`); // Check each commit in the commit range. Commits are allowed to be fixup commits for other // commits in the provided commit range. @@ -46,7 +48,7 @@ export function validateCommitRange(range: string) { }); if (allCommitsInRangeValid) { - console.info('√ All commit messages in range valid.'); + info('√ All commit messages in range valid.'); } else { // Exit with a non-zero exit code if invalid commit messages have // been discovered. diff --git a/dev-infra/commit-message/validate.spec.ts b/dev-infra/commit-message/validate.spec.ts index 5017ea15f6..e745fa7158 100644 --- a/dev-infra/commit-message/validate.spec.ts +++ b/dev-infra/commit-message/validate.spec.ts @@ -1,17 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ // Imports -import * as utilConfig from '../utils/config'; - +import * as validateConfig from './config'; import {validateCommitMessage} from './validate'; - // Constants const config = { 'commitMessage': { @@ -46,7 +44,7 @@ describe('validate-commit-message.js', () => { lastError = ''; spyOn(console, 'error').and.callFake((msg: string) => lastError = msg); - spyOn(utilConfig, 'getAngularDevConfig').and.returnValue(config); + spyOn(validateConfig, 'getCommitMessageConfig').and.returnValue(config); }); describe('validateMessage()', () => { diff --git a/dev-infra/commit-message/validate.ts b/dev-infra/commit-message/validate.ts index f8a62073f6..6148f6dfe2 100644 --- a/dev-infra/commit-message/validate.ts +++ b/dev-infra/commit-message/validate.ts @@ -1,12 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {getAngularDevConfig} from '../utils/config'; -import {CommitMessageConfig} from './config'; +import {error} from '../utils/console'; + +import {getCommitMessageConfig} from './config'; /** Options for commit message validation. */ export interface ValidateCommitMessageOptions { @@ -63,8 +64,8 @@ export function parseCommitMessage(commitMsg: string) { /** Validate a commit message against using the local repo's config. */ export function validateCommitMessage( commitMsg: string, options: ValidateCommitMessageOptions = {}) { - function error(errorMessage: string) { - console.error( + function printError(errorMessage: string) { + error( `INVALID COMMIT MSG: \n` + `${'─'.repeat(40)}\n` + `${commitMsg}\n` + @@ -76,7 +77,7 @@ export function validateCommitMessage( `(): \n\n`); } - const config = getAngularDevConfig<'commitMessage', CommitMessageConfig>().commitMessage; + const config = getCommitMessageConfig().commitMessage; const commit = parseCommitMessage(commitMsg); //////////////////////////////////// @@ -92,7 +93,7 @@ export function validateCommitMessage( // the git history anyway, unless the options provided to not allow squash commits. if (commit.isSquash) { if (options.disallowSquash) { - error('The commit must be manually squashed into the target commit'); + printError('The commit must be manually squashed into the target commit'); return false; } return true; @@ -105,7 +106,7 @@ export function validateCommitMessage( // check. if (commit.isFixup) { if (options.nonFixupCommitHeaders && !options.nonFixupCommitHeaders.includes(commit.header)) { - error( + printError( 'Unable to find match for fixup commit among prior commits: ' + (options.nonFixupCommitHeaders.map(x => `\n ${x}`).join('') || '-')); return false; @@ -118,38 +119,44 @@ export function validateCommitMessage( // Checking commit header // //////////////////////////// if (commit.header.length > config.maxLineLength) { - error(`The commit message header is longer than ${config.maxLineLength} characters`); + printError(`The commit message header is longer than ${config.maxLineLength} characters`); return false; } if (!commit.type) { - error(`The commit message header does not match the expected format.`); + printError(`The commit message header does not match the expected format.`); return false; } if (!config.types.includes(commit.type)) { - error(`'${commit.type}' is not an allowed type.\n => TYPES: ${config.types.join(', ')}`); + printError(`'${commit.type}' is not an allowed type.\n => TYPES: ${config.types.join(', ')}`); return false; } if (commit.scope && !config.scopes.includes(commit.scope)) { - error(`'${commit.scope}' is not an allowed scope.\n => SCOPES: ${config.scopes.join(', ')}`); + printError( + `'${commit.scope}' is not an allowed scope.\n => SCOPES: ${config.scopes.join(', ')}`); return false; } + // Commits with the type of `release` do not require a commit body. + if (commit.type === 'release') { + return true; + } + ////////////////////////// // Checking commit body // ////////////////////////// if (commit.bodyWithoutLinking.trim().length < config.minBodyLength) { - error(`The commit message body does not meet the minimum length of ${ + printError(`The commit message body does not meet the minimum length of ${ config.minBodyLength} characters`); return false; } const bodyByLine = commit.body.split('\n'); if (bodyByLine.some(line => line.length > config.maxLineLength)) { - error( + printError( `The commit messsage body contains lines greater than ${config.maxLineLength} characters`); return false; } diff --git a/dev-infra/format/cli.ts b/dev-infra/format/cli.ts index df30064931..68ddff86e9 100644 --- a/dev-infra/format/cli.ts +++ b/dev-infra/format/cli.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,35 +34,9 @@ export function buildFormatParser(localYargs: yargs.Argv) { const executionCmd = check ? checkFiles : formatFiles; executionCmd(allChangedFilesSince(sha)); }) - .command( - 'files ', 'Run the formatter on provided files', {}, - ({check, files}) => { - const executionCmd = check ? checkFiles : formatFiles; - executionCmd(files); - }) - // TODO(josephperrott): remove this hidden command after deprecation period. - .command('deprecation-warning [originalCommand]', false, {}, ({originalCommand}) => { - console.warn(`\`yarn ${ - originalCommand}\` is deprecated in favor of running the formatter via ng-dev`); - console.warn(); - console.warn(`As a replacement of \`yarn ${originalCommand}\`, run:`); - switch (originalCommand) { - case 'bazel:format': - case 'bazel:lint-fix': - console.warn(` yarn ng-dev format all`); - break; - case 'bazel:lint': - console.warn(` yarn ng-dev format all --check`); - break; - default: - console.warn(`Error: Unrecognized previous command.`); - } - console.warn(); - console.warn(`You can find more usage information by running:`); - console.warn(` yarn ng-dev format --help`); - console.warn(); - console.warn(`For more on the rationale and effects of this deprecation visit:`); - console.warn(` https://github.com/angular/angular/pull/36842#issue-410321447`); + .command('files ', 'Run the formatter on provided files', {}, ({check, files}) => { + const executionCmd = check ? checkFiles : formatFiles; + executionCmd(files); }); } diff --git a/dev-infra/format/config.ts b/dev-infra/format/config.ts index 864f26aae2..e6713aabe9 100644 --- a/dev-infra/format/config.ts +++ b/dev-infra/format/config.ts @@ -1,13 +1,51 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 interface FormatConfig { - [keyof: string]: boolean|{ - matchers: string[]; - }; +import {assertNoErrors, getConfig, NgDevConfig} from '../utils/config'; + +interface Formatter { + matchers: string[]; +} + +export interface FormatConfig { + [keyof: string]: boolean|Formatter; +} + +/** Retrieve and validate the config as `FormatConfig`. */ +export function getFormatConfig() { + // List of errors encountered validating the config. + const errors: string[] = []; + // The unvalidated config object. + const config: Partial> = getConfig(); + + if (config.format === undefined) { + errors.push(`No configuration defined for "format"`); + } + + for (const [key, value] of Object.entries(config.format!)) { + switch (typeof value) { + case 'boolean': + break; + case 'object': + checkFormatterConfig(key, value, errors); + break; + default: + errors.push(`"format.${key}" is not a boolean or Formatter object`); + } + } + + assertNoErrors(errors); + return config as Required; +} + +/** Validate an individual Formatter config. */ +function checkFormatterConfig(key: string, config: Partial, errors: string[]) { + if (config.matchers === undefined) { + errors.push(`Missing "format.${key}.matchers" value`); + } } diff --git a/dev-infra/format/format.ts b/dev-infra/format/format.ts index 03f880134c..b7c55fbf9c 100644 --- a/dev-infra/format/format.ts +++ b/dev-infra/format/format.ts @@ -1,12 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {prompt} from 'inquirer'; + +import {error, info} from '../utils/console'; + import {runFormatterInParallel} from './run-commands-parallel'; /** @@ -17,16 +20,16 @@ export async function formatFiles(files: string[]) { let failures = await runFormatterInParallel(files, 'format'); if (failures === false) { - console.info('No files matched for formatting.'); + info('No files matched for formatting.'); process.exit(0); } // The process should exit as a failure if any of the files failed to format. if (failures.length !== 0) { - console.error(`Formatting failed, see errors above for more information.`); + error(`Formatting failed, see errors above for more information.`); process.exit(1); } - console.info(`√ Formatting complete.`); + info(`√ Formatting complete.`); process.exit(0); } @@ -38,18 +41,18 @@ export async function checkFiles(files: string[]) { const failures = await runFormatterInParallel(files, 'check'); if (failures === false) { - console.info('No files matched for formatting check.'); + info('No files matched for formatting check.'); process.exit(0); } if (failures.length) { // Provide output expressing which files are failing formatting. - console.group('\nThe following files are out of format:'); + info.group('\nThe following files are out of format:'); for (const file of failures) { - console.info(` - ${file}`); + info(` - ${file}`); } - console.groupEnd(); - console.info(); + info.groupEnd(); + info(); // If the command is run in a non-CI environment, prompt to format the files immediately. let runFormatter = false; @@ -67,13 +70,13 @@ export async function checkFiles(files: string[]) { process.exit(0); } else { // Inform user how to format files in the future. - console.info(); - console.info(`To format the failing file run the following command:`); - console.info(` yarn ng-dev format files ${failures.join(' ')}`); + info(); + info(`To format the failing file run the following command:`); + info(` yarn ng-dev format files ${failures.join(' ')}`); process.exit(1); } } else { - console.info('√ All files correctly formatted.'); + info('√ All files correctly formatted.'); process.exit(0); } } diff --git a/dev-infra/format/formatters/base-formatter.ts b/dev-infra/format/formatters/base-formatter.ts index d46a211801..8903032b94 100644 --- a/dev-infra/format/formatters/base-formatter.ts +++ b/dev-infra/format/formatters/base-formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/format/formatters/buildifier.ts b/dev-infra/format/formatters/buildifier.ts index 797920030f..8edb68a71a 100644 --- a/dev-infra/format/formatters/buildifier.ts +++ b/dev-infra/format/formatters/buildifier.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import {join} from 'path'; import {getRepoBaseDir} from '../../utils/config'; +import {error} from '../../utils/console'; import {Formatter} from './base-formatter'; @@ -35,9 +36,9 @@ export class Buildifier extends Formatter { callback: (file: string, code: number, _: string, stderr: string) => { if (code !== 0) { - console.error(`Error running buildifier on: ${file}`); - console.error(stderr); - console.error(); + error(`Error running buildifier on: ${file}`); + error(stderr); + error(); return true; } return false; diff --git a/dev-infra/format/formatters/clang-format.ts b/dev-infra/format/formatters/clang-format.ts index c3aedad384..fcd098c5f6 100644 --- a/dev-infra/format/formatters/clang-format.ts +++ b/dev-infra/format/formatters/clang-format.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import {join} from 'path'; import {getRepoBaseDir} from '../../utils/config'; +import {error} from '../../utils/console'; import {Formatter} from './base-formatter'; @@ -35,9 +36,9 @@ export class ClangFormat extends Formatter { callback: (file: string, code: number, _: string, stderr: string) => { if (code !== 0) { - console.error(`Error running clang-format on: ${file}`); - console.error(stderr); - console.error(); + error(`Error running clang-format on: ${file}`); + error(stderr); + error(); return true; } return false; diff --git a/dev-infra/format/formatters/index.ts b/dev-infra/format/formatters/index.ts index fe82cc5f07..23281974b3 100644 --- a/dev-infra/format/formatters/index.ts +++ b/dev-infra/format/formatters/index.ts @@ -1,13 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {getAngularDevConfig} from '../../utils/config'; -import {FormatConfig} from '../config'; +import {getFormatConfig} from '../config'; import {Buildifier} from './buildifier'; import {ClangFormat} from './clang-format'; @@ -16,11 +15,7 @@ import {ClangFormat} from './clang-format'; * Get all defined formatters which are active based on the current loaded config. */ export function getActiveFormatters() { - let config = {}; - try { - config = getAngularDevConfig<'format', FormatConfig>().format || {}; - } catch { - } + const config = getFormatConfig().format; return [new Buildifier(config), new ClangFormat(config)].filter( formatter => formatter.isEnabled()); } diff --git a/dev-infra/format/run-commands-parallel.ts b/dev-infra/format/run-commands-parallel.ts index b2f86cb60e..f60980d640 100644 --- a/dev-infra/format/run-commands-parallel.ts +++ b/dev-infra/format/run-commands-parallel.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,6 +11,8 @@ import * as multimatch from 'multimatch'; import {cpus} from 'os'; import {exec} from 'shelljs'; +import {info} from '../utils/console'; + import {Formatter, FormatterAction, getActiveFormatters} from './formatters'; const AVAILABLE_THREADS = Math.max(cpus().length - 1, 1); @@ -47,10 +49,10 @@ export function runFormatterInParallel(allFiles: string[], action: FormatterActi switch (action) { case 'format': - console.info(`Formatting ${pendingCommands.length} file(s)`); + info(`Formatting ${pendingCommands.length} file(s)`); break; case 'check': - console.info(`Checking format of ${pendingCommands.length} file(s)`); + info(`Checking format of ${pendingCommands.length} file(s)`); break; default: throw Error(`Invalid format action "${action}": allowed actions are "format" and "check"`); diff --git a/dev-infra/ng-dev b/dev-infra/ng-dev index 819654870a..b29c22cbb4 100755 --- a/dev-infra/ng-dev +++ b/dev-infra/ng-dev @@ -1,7 +1,7 @@ #!/usr/bin/env ts-node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/pr/BUILD.bazel b/dev-infra/pr/BUILD.bazel new file mode 100644 index 0000000000..023bbd69ac --- /dev/null +++ b/dev-infra/pr/BUILD.bazel @@ -0,0 +1,14 @@ +load("@npm_bazel_typescript//:index.bzl", "ts_library") + +ts_library( + name = "pr", + srcs = ["cli.ts"], + module_name = "@angular/dev-infra-private/pr", + visibility = ["//dev-infra:__subpackages__"], + deps = [ + "//dev-infra/pr/discover-new-conflicts", + "//dev-infra/pr/merge", + "//dev-infra/pr/rebase", + "@npm//@types/yargs", + ], +) diff --git a/dev-infra/pr/cli.ts b/dev-infra/pr/cli.ts new file mode 100644 index 0000000000..0f4d312d44 --- /dev/null +++ b/dev-infra/pr/cli.ts @@ -0,0 +1,32 @@ +/** + * @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 * as yargs from 'yargs'; + +import {buildDiscoverNewConflictsCommand, handleDiscoverNewConflictsCommand} from './discover-new-conflicts/cli'; +import {buildMergeCommand, handleMergeCommand} from './merge/cli'; +import {buildRebaseCommand, handleRebaseCommand} from './rebase/cli'; + +/** Build the parser for pull request commands. */ +export function buildPrParser(localYargs: yargs.Argv) { + return localYargs.help() + .strict() + .demandCommand() + .command('merge ', 'Merge pull requests', buildMergeCommand, handleMergeCommand) + .command( + 'discover-new-conflicts ', + 'Check if a pending PR causes new conflicts for other pending PRs', + buildDiscoverNewConflictsCommand, handleDiscoverNewConflictsCommand) + .command( + 'rebase ', 'Rebase a pending PR and push the rebased commits back to Github', + buildRebaseCommand, handleRebaseCommand); +} + +if (require.main === module) { + buildPrParser(yargs).parse(); +} diff --git a/dev-infra/pr/discover-new-conflicts/BUILD.bazel b/dev-infra/pr/discover-new-conflicts/BUILD.bazel new file mode 100644 index 0000000000..a0dbdca87a --- /dev/null +++ b/dev-infra/pr/discover-new-conflicts/BUILD.bazel @@ -0,0 +1,19 @@ +load("@npm_bazel_typescript//:index.bzl", "ts_library") + +ts_library( + name = "discover-new-conflicts", + srcs = [ + "cli.ts", + "index.ts", + ], + module_name = "@angular/dev-infra-private/pr/discover-new-conflicts", + visibility = ["//dev-infra:__subpackages__"], + deps = [ + "//dev-infra/utils", + "@npm//@types/cli-progress", + "@npm//@types/node", + "@npm//@types/shelljs", + "@npm//@types/yargs", + "@npm//typed-graphqlify", + ], +) diff --git a/dev-infra/pr/discover-new-conflicts/cli.ts b/dev-infra/pr/discover-new-conflicts/cli.ts new file mode 100644 index 0000000000..672afb3c14 --- /dev/null +++ b/dev-infra/pr/discover-new-conflicts/cli.ts @@ -0,0 +1,43 @@ +/** + * @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 {Arguments, Argv} from 'yargs'; + +import {error} from '../../utils/console'; + +import {discoverNewConflictsForPr} from './index'; + +/** Builds the discover-new-conflicts pull request command. */ +export function buildDiscoverNewConflictsCommand(yargs: Argv) { + return yargs.option('date', { + description: 'Only consider PRs updated since provided date', + defaultDescription: '30 days ago', + coerce: Date.parse, + default: getThirtyDaysAgoDate, + }); +} + +/** Handles the discover-new-conflicts pull request command. */ +export async function handleDiscoverNewConflictsCommand({prNumber, date}: Arguments) { + // If a provided date is not able to be parsed, yargs provides it as NaN. + if (isNaN(date)) { + error('Unable to parse the value provided via --date flag'); + process.exit(1); + } + await discoverNewConflictsForPr(prNumber, date); +} + +/** Gets a date object 30 days ago from today. */ +function getThirtyDaysAgoDate(): Date { + const date = new Date(); + // Set the hours, minutes and seconds to 0 to only consider date. + date.setHours(0, 0, 0, 0); + // Set the date to 30 days in the past. + date.setDate(date.getDate() - 30); + return date; +} diff --git a/dev-infra/pr/discover-new-conflicts/index.ts b/dev-infra/pr/discover-new-conflicts/index.ts new file mode 100644 index 0000000000..daa1873092 --- /dev/null +++ b/dev-infra/pr/discover-new-conflicts/index.ts @@ -0,0 +1,160 @@ +/** + * @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 {Bar} from 'cli-progress'; +import {types as graphQLTypes} from 'typed-graphqlify'; + +import {getConfig, NgDevConfig} from '../../utils/config'; +import {error, info} from '../../utils/console'; +import {GitClient} from '../../utils/git'; +import {getPendingPrs} from '../../utils/github'; +import {exec} from '../../utils/shelljs'; + + +/* GraphQL schema for the response body for each pending PR. */ +const PR_SCHEMA = { + headRef: { + name: graphQLTypes.string, + repository: { + url: graphQLTypes.string, + nameWithOwner: graphQLTypes.string, + }, + }, + baseRef: { + name: graphQLTypes.string, + repository: { + url: graphQLTypes.string, + nameWithOwner: graphQLTypes.string, + }, + }, + updatedAt: graphQLTypes.string, + number: graphQLTypes.number, + mergeable: graphQLTypes.string, + title: graphQLTypes.string, +}; + +/* Pull Request response from Github GraphQL query */ +type RawPullRequest = typeof PR_SCHEMA; + +/** Convert raw Pull Request response from Github to usable Pull Request object. */ +function processPr(pr: RawPullRequest) { + return {...pr, updatedAt: (new Date(pr.updatedAt)).getTime()}; +} + +/* Pull Request object after processing, derived from the return type of the processPr function. */ +type PullRequest = ReturnType; + +/** Name of a temporary local branch that is used for checking conflicts. **/ +const tempWorkingBranch = '__NgDevRepoBaseAfterChange__'; + +/** Checks if the provided PR will cause new conflicts in other pending PRs. */ +export async function discoverNewConflictsForPr( + newPrNumber: number, updatedAfter: number, config: Pick = getConfig()) { + const git = new GitClient(); + // If there are any local changes in the current repository state, the + // check cannot run as it needs to move between branches. + if (git.hasLocalChanges()) { + error('Cannot run with local changes. Please make sure there are no local changes.'); + process.exit(1); + } + + /** The active github branch when the run began. */ + const originalBranch = git.getCurrentBranch(); + /* Progress bar to indicate progress. */ + const progressBar = new Bar({format: `[{bar}] ETA: {eta}s | {value}/{total}`}); + /* PRs which were found to be conflicting. */ + const conflicts: Array = []; + + info(`Requesting pending PRs from Github`); + /** List of PRs from github currently known as mergable. */ + const allPendingPRs = (await getPendingPrs(PR_SCHEMA, config.github)).map(processPr); + /** The PR which is being checked against. */ + const requestedPr = allPendingPRs.find(pr => pr.number === newPrNumber); + if (requestedPr === undefined) { + error( + `The request PR, #${newPrNumber} was not found as a pending PR on github, please confirm`); + error(`the PR number is correct and is an open PR`); + process.exit(1); + } + + const pendingPrs = allPendingPRs.filter(pr => { + return ( + // PRs being merged into the same target branch as the requested PR + pr.baseRef.name === requestedPr.baseRef.name && + // PRs which either have not been processed or are determined as mergable by Github + pr.mergeable !== 'CONFLICTING' && + // PRs updated after the provided date + pr.updatedAt >= updatedAfter); + }); + info(`Retrieved ${allPendingPRs.length} total pending PRs`); + info(`Checking ${pendingPrs.length} PRs for conflicts after a merge of #${newPrNumber}`); + + // Fetch and checkout the PR being checked. + exec(`git fetch ${requestedPr.headRef.repository.url} ${requestedPr.headRef.name}`); + exec(`git checkout -B ${tempWorkingBranch} FETCH_HEAD`); + + // Rebase the PR against the PRs target branch. + exec(`git fetch ${requestedPr.baseRef.repository.url} ${requestedPr.baseRef.name}`); + const result = exec(`git rebase FETCH_HEAD`); + if (result.code) { + error('The requested PR currently has conflicts'); + cleanUpGitState(originalBranch); + process.exit(1); + } + + // Start the progress bar + progressBar.start(pendingPrs.length, 0); + + // Check each PR to determine if it can merge cleanly into the repo after the target PR. + for (const pr of pendingPrs) { + // Fetch and checkout the next PR + exec(`git fetch ${pr.headRef.repository.url} ${pr.headRef.name}`); + exec(`git checkout --detach FETCH_HEAD`); + // Check if the PR cleanly rebases into the repo after the target PR. + const result = exec(`git rebase ${tempWorkingBranch}`); + if (result.code !== 0) { + conflicts.push(pr); + } + // Abort any outstanding rebase attempt. + exec(`git rebase --abort`); + + progressBar.increment(1); + } + // End the progress bar as all PRs have been processed. + progressBar.stop(); + info(); + info(`Result:`); + + cleanUpGitState(originalBranch); + + // If no conflicts are found, exit successfully. + if (conflicts.length === 0) { + info(`No new conflicting PRs found after #${newPrNumber} merging`); + process.exit(0); + } + + // Inform about discovered conflicts, exit with failure. + error.group(`${conflicts.length} PR(s) which conflict(s) after #${newPrNumber} merges:`); + for (const pr of conflicts) { + error(` - #${pr.number}: ${pr.title}`); + } + error.groupEnd(); + process.exit(1); +} + +/** Reset git back to the provided branch. */ +export function cleanUpGitState(branch: string) { + // Ensure that any outstanding rebases are aborted. + exec(`git rebase --abort`); + // Ensure that any changes in the current repo state are cleared. + exec(`git reset --hard`); + // Checkout the original branch from before the run began. + exec(`git checkout ${branch}`); + // Delete the generated branch. + exec(`git branch -D ${tempWorkingBranch}`); +} diff --git a/dev-infra/pr/merge/BUILD.bazel b/dev-infra/pr/merge/BUILD.bazel new file mode 100644 index 0000000000..e17c742eef --- /dev/null +++ b/dev-infra/pr/merge/BUILD.bazel @@ -0,0 +1,18 @@ +load("@npm_bazel_typescript//:index.bzl", "ts_library") + +ts_library( + name = "merge", + srcs = glob(["**/*.ts"]), + module_name = "@angular/dev-infra-private/pr/merge", + visibility = ["//dev-infra:__subpackages__"], + deps = [ + "//dev-infra/commit-message", + "//dev-infra/utils", + "@npm//@octokit/rest", + "@npm//@types/inquirer", + "@npm//@types/node", + "@npm//@types/semver", + "@npm//@types/yargs", + "@npm//chalk", + ], +) diff --git a/dev-infra/pr/merge/cli.ts b/dev-infra/pr/merge/cli.ts new file mode 100644 index 0000000000..b1d30223d6 --- /dev/null +++ b/dev-infra/pr/merge/cli.ts @@ -0,0 +1,34 @@ +/** + * @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 {Arguments, Argv} from 'yargs'; + +import {error, red, yellow} from '../../utils/console'; + +import {GITHUB_TOKEN_GENERATE_URL, mergePullRequest} from './index'; + +/** Builds the options for the merge command. */ +export function buildMergeCommand(yargs: Argv) { + return yargs.help().strict().option('github-token', { + type: 'string', + description: 'Github token. If not set, token is retrieved from the environment variables.' + }); +} + +/** Handles the merge command. i.e. performs the merge of a specified pull request. */ +export async function handleMergeCommand(args: Arguments) { + const githubToken = args.githubToken || process.env.GITHUB_TOKEN || process.env.TOKEN; + if (!githubToken) { + error(red('No Github token set. Please set the `GITHUB_TOKEN` environment variable.')); + error(red('Alternatively, pass the `--github-token` command line flag.')); + error(yellow(`You can generate a token here: ${GITHUB_TOKEN_GENERATE_URL}`)); + process.exit(1); + } + + await mergePullRequest(args.prNumber, githubToken); +} diff --git a/dev-infra/pr/merge/config.ts b/dev-infra/pr/merge/config.ts new file mode 100644 index 0000000000..73222436ef --- /dev/null +++ b/dev-infra/pr/merge/config.ts @@ -0,0 +1,125 @@ +/** + * @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 {getConfig, GitClientConfig, NgDevConfig} from '../../utils/config'; + +import {GithubApiMergeStrategyConfig} from './strategies/api-merge'; + +/** + * Possible merge methods supported by the Github API. + * https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button. + */ +export type GithubApiMergeMethod = 'merge'|'squash'|'rebase'; + +/** + * Target labels represent Github pull requests labels. These labels instruct the merge + * script into which branches a given pull request should be merged to. + */ +export interface TargetLabel { + /** Pattern that matches the given target label. */ + pattern: RegExp|string; + /** + * List of branches a pull request with this target label should be merged into. + * Can also be wrapped in a function that accepts the target branch specified in the + * Github Web UI. This is useful for supporting labels like `target: development-branch`. + */ + branches: string[]|((githubTargetBranch: string) => string[]); +} + +/** + * Configuration for the merge script with all remote options specified. The + * default `MergeConfig` has does not require any of these options as defaults + * are provided by the common dev-infra github configuration. + */ +export type MergeConfigWithRemote = MergeConfig&{remote: GitClientConfig}; + +/** Configuration for the merge script. */ +export interface MergeConfig { + /** + * Configuration for the upstream remote. All of these options are optional as + * defaults are provided by the common dev-infra github configuration. + */ + remote?: GitClientConfig; + /** List of target labels. */ + labels: TargetLabel[]; + /** Required base commits for given branches. */ + requiredBaseCommits?: {[branchName: string]: string}; + /** Pattern that matches labels which imply a signed CLA. */ + claSignedLabel: string|RegExp; + /** Pattern that matches labels which imply a merge ready pull request. */ + mergeReadyLabel: string|RegExp; + /** Label that is applied when special attention from the caretaker is required. */ + caretakerNoteLabel?: string|RegExp; + /** Label which can be applied to fixup commit messages in the merge script. */ + commitMessageFixupLabel: string|RegExp; + /** + * Whether pull requests should be merged using the Github API. This can be enabled + * if projects want to have their pull requests show up as `Merged` in the Github UI. + * The downside is that fixup or squash commits no longer work as the Github API does + * not support this. + */ + githubApiMerge: false|GithubApiMergeStrategyConfig; +} + +/** + * Configuration of the merge script in the dev-infra configuration. Note that the + * merge configuration is retrieved lazily as usually these configurations rely + * on branch name computations. We don't want to run these immediately whenever + * the dev-infra configuration is loaded as that could slow-down other commands. + */ +export type DevInfraMergeConfig = NgDevConfig<{'merge': () => MergeConfig}>; + +/** Loads and validates the merge configuration. */ +export function loadAndValidateConfig(): {config?: MergeConfigWithRemote, errors?: string[]} { + const config: Partial = getConfig(); + + if (config.merge === undefined) { + return {errors: ['No merge configuration found. Set the `merge` configuration.']}; + } + + if (typeof config.merge !== 'function') { + return {errors: ['Expected merge configuration to be defined lazily through a function.']}; + } + + const mergeConfig = config.merge(); + const errors = validateMergeConfig(mergeConfig); + + if (errors.length) { + return {errors}; + } + + if (mergeConfig.remote) { + mergeConfig.remote = {...config.github, ...mergeConfig.remote}; + } else { + mergeConfig.remote = config.github; + } + + // We always set the `remote` option, so we can safely cast the + // config to `MergeConfigWithRemote`. + return {config: mergeConfig as MergeConfigWithRemote}; +} + +/** Validates the specified configuration. Returns a list of failure messages. */ +function validateMergeConfig(config: Partial): string[] { + const errors: string[] = []; + if (!config.labels) { + errors.push('No label configuration.'); + } else if (!Array.isArray(config.labels)) { + errors.push('Label configuration needs to be an array.'); + } + if (!config.claSignedLabel) { + errors.push('No CLA signed label configured.'); + } + if (!config.mergeReadyLabel) { + errors.push('No merge ready label configured.'); + } + if (config.githubApiMerge === undefined) { + errors.push('No explicit choice of merge strategy. Please set `githubApiMerge`.'); + } + return errors; +} diff --git a/dev-infra/pr/merge/determine-merge-branches.ts b/dev-infra/pr/merge/determine-merge-branches.ts new file mode 100644 index 0000000000..bf4a479caa --- /dev/null +++ b/dev-infra/pr/merge/determine-merge-branches.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 * as semver from 'semver'; +import {exec} from '../../utils/shelljs'; + +/** + * Helper function that can be used to determine merge branches based on a given + * project version. The function determines merge branches primarily through the + * specified version, but falls back to consulting the NPM registry when needed. + * + * Consulting the NPM registry for determining the patch branch may slow down merging, + * so whenever possible, the branches are determined statically based on the current + * version. In some cases, consulting the NPM registry is inevitable because for major + * pre-releases, we cannot determine the latest stable minor version from the current + * pre-release version. + */ +export function determineMergeBranches( + currentVersion: string, npmPackageName: string): {minor: string, patch: string} { + const projectVersion = semver.parse(currentVersion); + if (projectVersion === null) { + throw Error('Cannot parse version set in project "package.json" file.'); + } + const {major, minor, patch, prerelease} = projectVersion; + const isMajor = minor === 0 && patch === 0; + const isMinor = minor !== 0 && patch === 0; + + // If there is no prerelease, then we compute patch and minor branches based + // on the current version major and minor. + if (prerelease.length === 0) { + return {minor: `${major}.x`, patch: `${major}.${minor}.x`}; + } + + // If current version is set to a minor prerelease, we can compute the merge branches + // statically. e.g. if we are set to `9.3.0-next.0`, then our merge branches should + // be set to `9.x` and `9.2.x`. + if (isMinor) { + return {minor: `${major}.x`, patch: `${major}.${minor - 1}.x`}; + } else if (!isMajor) { + throw Error('Unexpected version. Cannot have prerelease for patch version.'); + } + + // If we are set to a major prerelease, we cannot statically determine the stable patch + // branch (as the latest minor segment is unknown). We determine it by looking in the NPM + // registry for the latest stable release that will tell us about the current minor segment. + // e.g. if the current major is `v10.0.0-next.0`, then we need to look for the latest release. + // Let's say this is `v9.2.6`. Our patch branch will then be called `9.2.x`. + const latestVersion = exec(`yarn -s info ${npmPackageName} dist-tags.latest`).trim(); + if (!latestVersion) { + throw Error('Could not determine version of latest release.'); + } + const expectedMajor = major - 1; + const parsedLatestVersion = semver.parse(latestVersion); + if (parsedLatestVersion === null) { + throw Error(`Could not parse latest version from NPM registry: ${latestVersion}`); + } else if (parsedLatestVersion.major !== expectedMajor) { + throw Error( + `Expected latest release to have major version: v${expectedMajor}, ` + + `but got: v${latestVersion}`); + } + + return {patch: `${expectedMajor}.${parsedLatestVersion.minor}.x`, minor: `${expectedMajor}.x`}; +} diff --git a/dev-infra/pr/merge/failures.ts b/dev-infra/pr/merge/failures.ts new file mode 100644 index 0000000000..b1ae0b70a5 --- /dev/null +++ b/dev-infra/pr/merge/failures.ts @@ -0,0 +1,79 @@ +/** + * @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 + */ + +/** + * Class that can be used to describe pull request failures. A failure + * is described through a human-readable message and a flag indicating + * whether it is non-fatal or not. + */ +export class PullRequestFailure { + constructor( + /** Human-readable message for the failure */ + public message: string, + /** Whether the failure is non-fatal and can be forcibly ignored. */ + public nonFatal = false) {} + + static claUnsigned() { + return new this(`CLA has not been signed. Please make sure the PR author has signed the CLA.`); + } + + static failingCiJobs() { + return new this(`Failing CI jobs.`, true); + } + + static pendingCiJobs() { + return new this(`Pending CI jobs.`, true); + } + + static notMergeReady() { + return new this(`Not marked as merge ready.`); + } + + static noTargetLabel() { + return new this(`No target branch could be determined. Please ensure a target label is set.`); + } + + static mismatchingTargetBranch(allowedBranches: string[]) { + return new this( + `Pull request is set to wrong base branch. Please update the PR in the Github UI ` + + `to one of the following branches: ${allowedBranches.join(', ')}.`); + } + + static unsatisfiedBaseSha() { + return new this( + `Pull request has not been rebased recently and could be bypassing CI checks. ` + + `Please rebase the PR.`); + } + + static mergeConflicts(failedBranches: string[]) { + return new this( + `Could not merge pull request into the following branches due to merge ` + + `conflicts: ${ + failedBranches.join(', ')}. Please rebase the PR or update the target label.`); + } + + static unknownMergeError() { + return new this(`Unknown merge error occurred. Please see console output above for debugging.`); + } + + static unableToFixupCommitMessageSquashOnly() { + return new this( + `Unable to fixup commit message of pull request. Commit message can only be ` + + `modified if the PR is merged using squash.`); + } + + static notFound() { + return new this(`Pull request could not be found upstream.`); + } + + static insufficientPermissionsToMerge( + message = `Insufficient Github API permissions to merge pull request. Please ensure that ` + + `your auth token has write access.`) { + return new this(message); + } +} diff --git a/dev-infra/pr/merge/index.ts b/dev-infra/pr/merge/index.ts new file mode 100644 index 0000000000..1b43aaf32b --- /dev/null +++ b/dev-infra/pr/merge/index.ts @@ -0,0 +1,134 @@ +/** + * @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 {getRepoBaseDir} from '../../utils/config'; +import {error, green, info, promptConfirm, red, yellow} from '../../utils/console'; +import {GithubApiRequestError} from '../../utils/git'; + +import {loadAndValidateConfig, MergeConfigWithRemote} from './config'; +import {MergeResult, MergeStatus, PullRequestMergeTask} from './task'; + +/** URL to the Github page where personal access tokens can be generated. */ +export const GITHUB_TOKEN_GENERATE_URL = `https://github.com/settings/tokens`; + + +/** + * Merges a given pull request based on labels configured in the given merge configuration. + * Pull requests can be merged with different strategies such as the Github API merge + * strategy, or the local autosquash strategy. Either strategy has benefits and downsides. + * More information on these strategies can be found in their dedicated strategy classes. + * + * See {@link GithubApiMergeStrategy} and {@link AutosquashMergeStrategy} + * + * @param prNumber Number of the pull request that should be merged. + * @param githubToken Github token used for merging (i.e. fetching and pushing) + * @param projectRoot Path to the local Git project that is used for merging. + * @param config Configuration for merging pull requests. + */ +export async function mergePullRequest( + prNumber: number, githubToken: string, projectRoot: string = getRepoBaseDir(), + config?: MergeConfigWithRemote) { + // If no explicit configuration has been specified, we load and validate + // the configuration from the shared dev-infra configuration. + if (config === undefined) { + const {config: _config, errors} = loadAndValidateConfig(); + if (errors) { + error(red('Invalid configuration:')); + errors.forEach(desc => error(yellow(` - ${desc}`))); + process.exit(1); + } + config = _config!; + } + + const api = new PullRequestMergeTask(projectRoot, config, githubToken); + + // Perform the merge. Force mode can be activated through a command line flag. + // Alternatively, if the merge fails with non-fatal failures, the script + // will prompt whether it should rerun in force mode. + if (!await performMerge(false)) { + process.exit(1); + } + + /** Performs the merge and returns whether it was successful or not. */ + async function performMerge(ignoreFatalErrors: boolean): Promise { + try { + const result = await api.merge(prNumber, ignoreFatalErrors); + return await handleMergeResult(result, ignoreFatalErrors); + } catch (e) { + // Catch errors to the Github API for invalid requests. We want to + // exit the script with a better explanation of the error. + if (e instanceof GithubApiRequestError && e.status === 401) { + error(red('Github API request failed. ' + e.message)); + error(yellow('Please ensure that your provided token is valid.')); + error(yellow(`You can generate a token here: ${GITHUB_TOKEN_GENERATE_URL}`)); + process.exit(1); + } + throw e; + } + } + + /** + * Prompts whether the specified pull request should be forcibly merged. If so, merges + * the specified pull request forcibly (ignoring non-critical failures). + * @returns Whether the specified pull request has been forcibly merged. + */ + async function promptAndPerformForceMerge(): Promise { + if (await promptConfirm('Do you want to forcibly proceed with merging?')) { + // Perform the merge in force mode. This means that non-fatal failures + // are ignored and the merge continues. + return performMerge(true); + } + return false; + } + + /** + * Handles the merge result by printing console messages, exiting the process + * based on the result, or by restarting the merge if force mode has been enabled. + * @returns Whether the merge completed without errors or not. + */ + async function handleMergeResult(result: MergeResult, disableForceMergePrompt = false) { + const {failure, status} = result; + const canForciblyMerge = failure && failure.nonFatal; + + switch (status) { + case MergeStatus.SUCCESS: + info(green(`Successfully merged the pull request: #${prNumber}`)); + return true; + case MergeStatus.DIRTY_WORKING_DIR: + error( + red(`Local working repository not clean. Please make sure there are ` + + `no uncommitted changes.`)); + return false; + case MergeStatus.UNKNOWN_GIT_ERROR: + error( + red('An unknown Git error has been thrown. Please check the output ' + + 'above for details.')); + return false; + case MergeStatus.GITHUB_ERROR: + error(red('An error related to interacting with Github has been discovered.')); + error(failure!.message); + return false; + case MergeStatus.USER_ABORTED: + info(`Merge of pull request has been aborted manually: #${prNumber}`); + return true; + case MergeStatus.FAILED: + error(yellow(`Could not merge the specified pull request.`)); + error(red(failure!.message)); + if (canForciblyMerge && !disableForceMergePrompt) { + info(); + info(yellow('The pull request above failed due to non-critical errors.')); + info(yellow(`This error can be forcibly ignored if desired.`)); + return await promptAndPerformForceMerge(); + } + return false; + default: + throw Error(`Unexpected merge result: ${status}`); + } + } +} diff --git a/dev-infra/pr/merge/messages.ts b/dev-infra/pr/merge/messages.ts new file mode 100644 index 0000000000..dbcb0aac66 --- /dev/null +++ b/dev-infra/pr/merge/messages.ts @@ -0,0 +1,15 @@ +/** + * @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 {red} from '../../utils/console'; + +import {PullRequest} from './pull-request'; + +export function getCaretakerNotePromptMessage(pullRequest: PullRequest): string { + return red('Pull request has a caretaker note applied. Please make sure you read it.') + + `\nQuick link to PR: ${pullRequest.url}`; +} diff --git a/dev-infra/pr/merge/pull-request.ts b/dev-infra/pr/merge/pull-request.ts new file mode 100644 index 0000000000..406105c5a4 --- /dev/null +++ b/dev-infra/pr/merge/pull-request.ts @@ -0,0 +1,120 @@ +/** + * @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 * as Octokit from '@octokit/rest'; + +import {GitClient} from '../../utils/git'; + +import {PullRequestFailure} from './failures'; +import {matchesPattern} from './string-pattern'; +import {getBranchesFromTargetLabel, getTargetLabelFromPullRequest} from './target-label'; +import {PullRequestMergeTask} from './task'; + +/** Interface that describes a pull request. */ +export interface PullRequest { + /** URL to the pull request. */ + url: string; + /** Number of the pull request. */ + prNumber: number; + /** Title of the pull request. */ + title: string; + /** Labels applied to the pull request. */ + labels: string[]; + /** List of branches this PR should be merged into. */ + targetBranches: string[]; + /** Branch that the PR targets in the Github UI. */ + githubTargetBranch: string; + /** Count of commits in this pull request. */ + commitCount: number; + /** Optional SHA that this pull request needs to be based on. */ + requiredBaseSha?: string; + /** Whether the pull request commit message fixup. */ + needsCommitMessageFixup: boolean; + /** Whether the pull request has a caretaker note. */ + hasCaretakerNote: boolean; +} + +/** + * Loads and validates the specified pull request against the given configuration. + * If the pull requests fails, a pull request failure is returned. + */ +export async function loadAndValidatePullRequest( + {git, config}: PullRequestMergeTask, prNumber: number, + ignoreNonFatalFailures = false): Promise { + const prData = await fetchPullRequestFromGithub(git, prNumber); + + if (prData === null) { + return PullRequestFailure.notFound(); + } + + const labels = prData.labels.map(l => l.name); + + if (!labels.some(name => matchesPattern(name, config.mergeReadyLabel))) { + return PullRequestFailure.notMergeReady(); + } + if (!labels.some(name => matchesPattern(name, config.claSignedLabel))) { + return PullRequestFailure.claUnsigned(); + } + + const targetLabel = getTargetLabelFromPullRequest(config, labels); + if (targetLabel === null) { + return PullRequestFailure.noTargetLabel(); + } + + const {data: {state}} = + await git.github.repos.getCombinedStatusForRef({...git.remoteParams, ref: prData.head.sha}); + + if (state === 'failure' && !ignoreNonFatalFailures) { + return PullRequestFailure.failingCiJobs(); + } + if (state === 'pending' && !ignoreNonFatalFailures) { + return PullRequestFailure.pendingCiJobs(); + } + + const githubTargetBranch = prData.base.ref; + const requiredBaseSha = + config.requiredBaseCommits && config.requiredBaseCommits[githubTargetBranch]; + const needsCommitMessageFixup = !!config.commitMessageFixupLabel && + labels.some(name => matchesPattern(name, config.commitMessageFixupLabel)); + const hasCaretakerNote = !!config.caretakerNoteLabel && + labels.some(name => matchesPattern(name, config.caretakerNoteLabel!)); + + return { + url: prData.html_url, + prNumber, + labels, + requiredBaseSha, + githubTargetBranch, + needsCommitMessageFixup, + hasCaretakerNote, + title: prData.title, + targetBranches: getBranchesFromTargetLabel(targetLabel, githubTargetBranch), + commitCount: prData.commits, + }; +} + +/** Fetches a pull request from Github. Returns null if an error occurred. */ +async function fetchPullRequestFromGithub( + git: GitClient, prNumber: number): Promise { + try { + const result = await git.github.pulls.get({...git.remoteParams, pull_number: prNumber}); + return result.data; + } catch (e) { + // If the pull request could not be found, we want to return `null` so + // that the error can be handled gracefully. + if (e.status === 404) { + return null; + } + throw e; + } +} + +/** Whether the specified value resolves to a pull request. */ +export function isPullRequest(v: PullRequestFailure|PullRequest): v is PullRequest { + return (v as PullRequest).targetBranches !== undefined; +} diff --git a/dev-infra/pr/merge/strategies/api-merge.ts b/dev-infra/pr/merge/strategies/api-merge.ts new file mode 100644 index 0000000000..36eb159d7c --- /dev/null +++ b/dev-infra/pr/merge/strategies/api-merge.ts @@ -0,0 +1,225 @@ +/** + * @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 {PullsListCommitsResponse, PullsMergeParams} from '@octokit/rest'; +import {prompt} from 'inquirer'; + +import {parseCommitMessage} from '../../../commit-message/validate'; +import {GitClient} from '../../../utils/git'; +import {GithubApiMergeMethod} from '../config'; +import {PullRequestFailure} from '../failures'; +import {PullRequest} from '../pull-request'; +import {matchesPattern} from '../string-pattern'; + +import {MergeStrategy, TEMP_PR_HEAD_BRANCH} from './strategy'; + +/** Configuration for the Github API merge strategy. */ +export interface GithubApiMergeStrategyConfig { + /** Default method used for merging pull requests */ + default: GithubApiMergeMethod; + /** Labels which specify a different merge method than the default. */ + labels?: {pattern: string, method: GithubApiMergeMethod}[]; +} + +/** Separator between commit message header and body. */ +const COMMIT_HEADER_SEPARATOR = '\n\n'; + +/** + * Merge strategy that primarily leverages the Github API. The strategy merges a given + * pull request into a target branch using the API. This ensures that Github displays + * the pull request as merged. The merged commits are then cherry-picked into the remaining + * target branches using the local Git instance. The benefit is that the Github merged state + * is properly set, but a notable downside is that PRs cannot use fixup or squash commits. + */ +export class GithubApiMergeStrategy extends MergeStrategy { + constructor(git: GitClient, private _config: GithubApiMergeStrategyConfig) { + super(git); + } + + async merge(pullRequest: PullRequest): Promise { + const {githubTargetBranch, prNumber, targetBranches, requiredBaseSha, needsCommitMessageFixup} = + pullRequest; + // If the pull request does not have its base branch set to any determined target + // branch, we cannot merge using the API. + if (targetBranches.every(t => t !== githubTargetBranch)) { + return PullRequestFailure.mismatchingTargetBranch(targetBranches); + } + + // In cases where a required base commit is specified for this pull request, check if + // the pull request contains the given commit. If not, return a pull request failure. + // This check is useful for enforcing that PRs are rebased on top of a given commit. + // e.g. a commit that changes the code ownership validation. PRs which are not rebased + // could bypass new codeowner ship rules. + if (requiredBaseSha && !this.git.hasCommit(TEMP_PR_HEAD_BRANCH, requiredBaseSha)) { + return PullRequestFailure.unsatisfiedBaseSha(); + } + + const method = this._getMergeActionFromPullRequest(pullRequest); + const cherryPickTargetBranches = targetBranches.filter(b => b !== githubTargetBranch); + + // First cherry-pick the PR into all local target branches in dry-run mode. This is + // purely for testing so that we can figure out whether the PR can be cherry-picked + // into the other target branches. We don't want to merge the PR through the API, and + // then run into cherry-pick conflicts after the initial merge already completed. + const failure = await this._checkMergability(pullRequest, cherryPickTargetBranches); + + // If the PR could not be cherry-picked into all target branches locally, we know it can't + // be done through the Github API either. We abort merging and pass-through the failure. + if (failure !== null) { + return failure; + } + + const mergeOptions: PullsMergeParams = { + pull_number: prNumber, + merge_method: method, + ...this.git.remoteParams, + }; + + if (needsCommitMessageFixup) { + // Commit message fixup does not work with other merge methods as the Github API only + // allows commit message modifications for squash merging. + if (method !== 'squash') { + return PullRequestFailure.unableToFixupCommitMessageSquashOnly(); + } + await this._promptCommitMessageEdit(pullRequest, mergeOptions); + } + + let mergeStatusCode: number; + let targetSha: string; + + try { + // Merge the pull request using the Github API into the selected base branch. + const result = await this.git.github.pulls.merge(mergeOptions); + + mergeStatusCode = result.status; + targetSha = result.data.sha; + } catch (e) { + // Note: Github usually returns `404` as status code if the API request uses a + // token with insufficient permissions. Github does this because it doesn't want + // to leak whether a repository exists or not. In our case we expect a certain + // repository to exist, so we always treat this as a permission failure. + if (e.status === 403 || e.status === 404) { + return PullRequestFailure.insufficientPermissionsToMerge(); + } + throw e; + } + + // https://developer.github.com/v3/pulls/#response-if-merge-cannot-be-performed + // Pull request cannot be merged due to merge conflicts. + if (mergeStatusCode === 405) { + return PullRequestFailure.mergeConflicts([githubTargetBranch]); + } + if (mergeStatusCode !== 200) { + return PullRequestFailure.unknownMergeError(); + } + + // If the PR does not need to be merged into any other target branches, + // we exit here as we already completed the merge. + if (!cherryPickTargetBranches.length) { + return null; + } + + // Refresh the target branch the PR has been merged into through the API. We need + // to re-fetch as otherwise we cannot cherry-pick the new commits into the remaining + // target branches. + this.fetchTargetBranches([githubTargetBranch]); + + // Number of commits that have landed in the target branch. This could vary from + // the count of commits in the PR due to squashing. + const targetCommitsCount = method === 'squash' ? 1 : pullRequest.commitCount; + + // Cherry pick the merged commits into the remaining target branches. + const failedBranches = await this.cherryPickIntoTargetBranches( + `${targetSha}~${targetCommitsCount}..${targetSha}`, cherryPickTargetBranches); + + // We already checked whether the PR can be cherry-picked into the target branches, + // but in case the cherry-pick somehow fails, we still handle the conflicts here. The + // commits created through the Github API could be different (i.e. through squash). + if (failedBranches.length) { + return PullRequestFailure.mergeConflicts(failedBranches); + } + + this.pushTargetBranchesUpstream(cherryPickTargetBranches); + return null; + } + + /** + * Prompts the user for the commit message changes. Unlike as in the autosquash merge + * strategy, we cannot start an interactive rebase because we merge using the Github API. + * The Github API only allows modifications to PR title and body for squash merges. + */ + private async _promptCommitMessageEdit(pullRequest: PullRequest, mergeOptions: PullsMergeParams) { + const commitMessage = await this._getDefaultSquashCommitMessage(pullRequest); + const {result} = await prompt<{result: string}>({ + type: 'editor', + name: 'result', + message: 'Please update the commit message', + default: commitMessage, + }); + + // Split the new message into title and message. This is necessary because the + // Github API expects title and message to be passed separately. + const [newTitle, ...newMessage] = result.split(COMMIT_HEADER_SEPARATOR); + + // Update the merge options so that the changes are reflected in there. + mergeOptions.commit_title = `${newTitle} (#${pullRequest.prNumber})`; + mergeOptions.commit_message = newMessage.join(COMMIT_HEADER_SEPARATOR); + } + + /** + * Gets a commit message for the given pull request. Github by default concatenates + * multiple commit messages if a PR is merged in squash mode. We try to replicate this + * behavior here so that we have a default commit message that can be fixed up. + */ + private async _getDefaultSquashCommitMessage(pullRequest: PullRequest): Promise { + const commits = (await this._getPullRequestCommitMessages(pullRequest)) + .map(message => ({message, parsed: parseCommitMessage(message)})); + const messageBase = `${pullRequest.title}${COMMIT_HEADER_SEPARATOR}`; + if (commits.length <= 1) { + return `${messageBase}${commits[0].parsed.body}`; + } + const joinedMessages = commits.map(c => `* ${c.message}`).join(COMMIT_HEADER_SEPARATOR); + return `${messageBase}${joinedMessages}`; + } + + /** Gets all commit messages of commits in the pull request. */ + private async _getPullRequestCommitMessages({prNumber}: PullRequest) { + const request = this.git.github.pulls.listCommits.endpoint.merge( + {...this.git.remoteParams, pull_number: prNumber}); + const allCommits: PullsListCommitsResponse = await this.git.github.paginate(request); + return allCommits.map(({commit}) => commit.message); + } + + /** + * Checks if given pull request could be merged into its target branches. + * @returns A pull request failure if it the PR could not be merged. + */ + private async _checkMergability(pullRequest: PullRequest, targetBranches: string[]): + Promise { + const revisionRange = this.getPullRequestRevisionRange(pullRequest); + const failedBranches = + this.cherryPickIntoTargetBranches(revisionRange, targetBranches, {dryRun: true}); + + if (failedBranches.length) { + return PullRequestFailure.mergeConflicts(failedBranches); + } + return null; + } + + /** Determines the merge action from the given pull request. */ + private _getMergeActionFromPullRequest({labels}: PullRequest): GithubApiMergeMethod { + if (this._config.labels) { + const matchingLabel = + this._config.labels.find(({pattern}) => labels.some(l => matchesPattern(l, pattern))); + if (matchingLabel !== undefined) { + return matchingLabel.method; + } + } + return this._config.default; + } +} diff --git a/dev-infra/pr/merge/strategies/autosquash-merge.ts b/dev-infra/pr/merge/strategies/autosquash-merge.ts new file mode 100644 index 0000000000..198eda3daf --- /dev/null +++ b/dev-infra/pr/merge/strategies/autosquash-merge.ts @@ -0,0 +1,88 @@ +/** + * @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 {join} from 'path'; +import {PullRequestFailure} from '../failures'; +import {PullRequest} from '../pull-request'; +import {MergeStrategy, TEMP_PR_HEAD_BRANCH} from './strategy'; + +/** Path to the commit message filter script. Git expects this paths to use forward slashes. */ +const MSG_FILTER_SCRIPT = join(__dirname, './commit-message-filter.js').replace(/\\/g, '/'); + +/** + * Merge strategy that does not use the Github API for merging. Instead, it fetches + * all target branches and the PR locally. The PR is then cherry-picked with autosquash + * enabled into the target branches. The benefit is the support for fixup and squash commits. + * A notable downside though is that Github does not show the PR as `Merged` due to non + * fast-forward merges + */ +export class AutosquashMergeStrategy extends MergeStrategy { + /** + * Merges the specified pull request into the target branches and pushes the target + * branches upstream. This method requires the temporary target branches to be fetched + * already as we don't want to fetch the target branches per pull request merge. This + * would causes unnecessary multiple fetch requests when multiple PRs are merged. + * @throws {GitCommandError} An unknown Git command error occurred that is not + * specific to the pull request merge. + * @returns A pull request failure or null in case of success. + */ + async merge(pullRequest: PullRequest): Promise { + const {prNumber, targetBranches, requiredBaseSha, needsCommitMessageFixup} = pullRequest; + // In case a required base is specified for this pull request, check if the pull + // request contains the given commit. If not, return a pull request failure. This + // check is useful for enforcing that PRs are rebased on top of a given commit. e.g. + // a commit that changes the codeowner ship validation. PRs which are not rebased + // could bypass new codeowner ship rules. + if (requiredBaseSha && !this.git.hasCommit(TEMP_PR_HEAD_BRANCH, requiredBaseSha)) { + return PullRequestFailure.unsatisfiedBaseSha(); + } + + // SHA for the first commit the pull request is based on. Usually we would able + // to just rely on the base revision provided by `getPullRequestBaseRevision`, but + // the revision would rely on the amount of commits in a pull request. This is not + // reliable as we rebase the PR with autosquash where the amount of commits could + // change. We work around this by parsing the base revision so that we have a fixated + // SHA before the autosquash rebase is performed. + const baseSha = + this.git.run(['rev-parse', this.getPullRequestBaseRevision(pullRequest)]).stdout.trim(); + // Git revision range that matches the pull request commits. + const revisionRange = `${baseSha}..${TEMP_PR_HEAD_BRANCH}`; + + // We always rebase the pull request so that fixup or squash commits are automatically + // collapsed. Git's autosquash functionality does only work in interactive rebases, so + // our rebase is always interactive. In reality though, unless a commit message fixup + // is desired, we set the `GIT_SEQUENCE_EDITOR` environment variable to `true` so that + // the rebase seems interactive to Git, while it's not interactive to the user. + // See: https://github.com/git/git/commit/891d4a0313edc03f7e2ecb96edec5d30dc182294. + const branchBeforeRebase = this.git.getCurrentBranch(); + const rebaseEnv = + needsCommitMessageFixup ? undefined : {...process.env, GIT_SEQUENCE_EDITOR: 'true'}; + this.git.run( + ['rebase', '--interactive', '--autosquash', baseSha, TEMP_PR_HEAD_BRANCH], + {stdio: 'inherit', env: rebaseEnv}); + + // Update pull requests commits to reference the pull request. This matches what + // Github does when pull requests are merged through the Web UI. The motivation is + // that it should be easy to determine which pull request contained a given commit. + // **Note**: The filter-branch command relies on the working tree, so we want to make + // sure that we are on the initial branch where the merge script has been run. + this.git.run(['checkout', '-f', branchBeforeRebase]); + this.git.run( + ['filter-branch', '-f', '--msg-filter', `${MSG_FILTER_SCRIPT} ${prNumber}`, revisionRange]); + + // Cherry-pick the pull request into all determined target branches. + const failedBranches = this.cherryPickIntoTargetBranches(revisionRange, targetBranches); + + if (failedBranches.length) { + return PullRequestFailure.mergeConflicts(failedBranches); + } + + this.pushTargetBranchesUpstream(targetBranches); + return null; + } +} diff --git a/dev-infra/pr/merge/strategies/commit-message-filter.js b/dev-infra/pr/merge/strategies/commit-message-filter.js new file mode 100755 index 0000000000..5503b5b1e3 --- /dev/null +++ b/dev-infra/pr/merge/strategies/commit-message-filter.js @@ -0,0 +1,45 @@ +#!/usr/bin/env node +/** + * @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 + */ + +/** + * Script that can be passed as commit message filter to `git filter-branch --msg-filter`. + * The script rewrites commit messages to contain a Github instruction to close the + * corresponding pull request. For more details. See: https://git.io/Jv64r. + */ + +if (require.main === module) { + const [prNumber] = process.argv.slice(2); + if (!prNumber) { + console.error('No pull request number specified.'); + process.exit(1); + } + + let commitMessage = ''; + process.stdin.setEncoding('utf8'); + process.stdin.on('readable', () => { + const chunk = process.stdin.read(); + if (chunk !== null) { + commitMessage += chunk; + } + }); + + process.stdin.on('end', () => { + console.info(rewriteCommitMessage(commitMessage, prNumber)); + }); +} + +function rewriteCommitMessage(message, prNumber) { + const lines = message.split(/\n/); + // Add the pull request number to the commit message title. This matches what + // Github does when PRs are merged on the web through the `Squash and Merge` button. + lines[0] += ` (#${prNumber})`; + // Push a new line that instructs Github to close the specified pull request. + lines.push(`PR Close #${prNumber}`); + return lines.join('\n'); +} diff --git a/dev-infra/pr/merge/strategies/strategy.ts b/dev-infra/pr/merge/strategies/strategy.ts new file mode 100644 index 0000000000..9c29c1b8d9 --- /dev/null +++ b/dev-infra/pr/merge/strategies/strategy.ts @@ -0,0 +1,131 @@ +/** + * @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 {GitClient} from '../../../utils/git'; +import {PullRequestFailure} from '../failures'; +import {PullRequest} from '../pull-request'; + +/** + * Name of a temporary branch that contains the head of a currently-processed PR. Note + * that a branch name should be used that most likely does not conflict with other local + * development branches. + */ +export const TEMP_PR_HEAD_BRANCH = 'merge_pr_head'; + +/** + * Base class for merge strategies. A merge strategy accepts a pull request and + * merges it into the determined target branches. + */ +export abstract class MergeStrategy { + constructor(protected git: GitClient) {} + + /** + * Prepares a merge of the given pull request. The strategy by default will + * fetch all target branches and the pull request into local temporary branches. + */ + async prepare(pullRequest: PullRequest) { + this.fetchTargetBranches( + pullRequest.targetBranches, `pull/${pullRequest.prNumber}/head:${TEMP_PR_HEAD_BRANCH}`); + } + + /** + * Performs the merge of the given pull request. This needs to be implemented + * by individual merge strategies. + */ + abstract merge(pullRequest: PullRequest): Promise; + + /** Cleans up the pull request merge. e.g. deleting temporary local branches. */ + async cleanup(pullRequest: PullRequest) { + // Delete all temporary target branches. + pullRequest.targetBranches.forEach( + branchName => this.git.run(['branch', '-D', this.getLocalTargetBranchName(branchName)])); + + // Delete temporary branch for the pull request head. + this.git.run(['branch', '-D', TEMP_PR_HEAD_BRANCH]); + } + + /** Gets the revision range for all commits in the given pull request. */ + protected getPullRequestRevisionRange(pullRequest: PullRequest): string { + return `${this.getPullRequestBaseRevision(pullRequest)}..${TEMP_PR_HEAD_BRANCH}`; + } + + /** Gets the base revision of a pull request. i.e. the commit the PR is based on. */ + protected getPullRequestBaseRevision(pullRequest: PullRequest): string { + return `${TEMP_PR_HEAD_BRANCH}~${pullRequest.commitCount}`; + } + + /** Gets a deterministic local branch name for a given branch. */ + protected getLocalTargetBranchName(targetBranch: string): string { + return `merge_pr_target_${targetBranch.replace(/\//g, '_')}`; + } + + /** + * Cherry-picks the given revision range into the specified target branches. + * @returns A list of branches for which the revisions could not be cherry-picked into. + */ + protected cherryPickIntoTargetBranches(revisionRange: string, targetBranches: string[], options: { + dryRun?: boolean + } = {}) { + const cherryPickArgs = [revisionRange]; + const failedBranches: string[] = []; + + if (options.dryRun) { + // https://git-scm.com/docs/git-cherry-pick#Documentation/git-cherry-pick.txt---no-commit + // This causes `git cherry-pick` to not generate any commits. Instead, the changes are + // applied directly in the working tree. This allow us to easily discard the changes + // for dry-run purposes. + cherryPickArgs.push('--no-commit'); + } + + // Cherry-pick the refspec into all determined target branches. + for (const branchName of targetBranches) { + const localTargetBranch = this.getLocalTargetBranchName(branchName); + // Checkout the local target branch. + this.git.run(['checkout', localTargetBranch]); + // Cherry-pick the refspec into the target branch. + if (this.git.runGraceful(['cherry-pick', ...cherryPickArgs]).status !== 0) { + // Abort the failed cherry-pick. We do this because Git persists the failed + // cherry-pick state globally in the repository. This could prevent future + // pull request merges as a Git thinks a cherry-pick is still in progress. + this.git.runGraceful(['cherry-pick', '--abort']); + failedBranches.push(branchName); + } + // If we run with dry run mode, we reset the local target branch so that all dry-run + // cherry-pick changes are discard. Changes are applied to the working tree and index. + if (options.dryRun) { + this.git.run(['reset', '--hard', 'HEAD']); + } + } + return failedBranches; + } + + /** + * Fetches the given target branches. Also accepts a list of additional refspecs that + * should be fetched. This is helpful as multiple slow fetches could be avoided. + */ + protected fetchTargetBranches(names: string[], ...extraRefspecs: string[]) { + const fetchRefspecs = names.map(targetBranch => { + const localTargetBranch = this.getLocalTargetBranchName(targetBranch); + return `refs/heads/${targetBranch}:${localTargetBranch}`; + }); + // Fetch all target branches with a single command. We don't want to fetch them + // individually as that could cause an unnecessary slow-down. + this.git.run(['fetch', '-f', this.git.repoGitUrl, ...fetchRefspecs, ...extraRefspecs]); + } + + /** Pushes the given target branches upstream. */ + protected pushTargetBranchesUpstream(names: string[]) { + const pushRefspecs = names.map(targetBranch => { + const localTargetBranch = this.getLocalTargetBranchName(targetBranch); + return `${localTargetBranch}:refs/heads/${targetBranch}`; + }); + // Push all target branches with a single command if we don't run in dry-run mode. + // We don't want to push them individually as that could cause an unnecessary slow-down. + this.git.run(['push', this.git.repoGitUrl, ...pushRefspecs]); + } +} diff --git a/dev-infra/pr/merge/string-pattern.ts b/dev-infra/pr/merge/string-pattern.ts new file mode 100644 index 0000000000..01c9c7122f --- /dev/null +++ b/dev-infra/pr/merge/string-pattern.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 + */ + +/** Checks whether the specified value matches the given pattern. */ +export function matchesPattern(value: string, pattern: RegExp|string): boolean { + return typeof pattern === 'string' ? value === pattern : pattern.test(value); +} diff --git a/dev-infra/pr/merge/target-label.ts b/dev-infra/pr/merge/target-label.ts new file mode 100644 index 0000000000..dec769b1ee --- /dev/null +++ b/dev-infra/pr/merge/target-label.ts @@ -0,0 +1,28 @@ +/** + * @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 {MergeConfig, TargetLabel} from './config'; +import {matchesPattern} from './string-pattern'; + +/** Gets the target label from the specified pull request labels. */ +export function getTargetLabelFromPullRequest(config: MergeConfig, labels: string[]): TargetLabel| + null { + for (const label of labels) { + const match = config.labels.find(({pattern}) => matchesPattern(label, pattern)); + if (match !== undefined) { + return match; + } + } + return null; +} + +/** Gets the branches from the specified target label. */ +export function getBranchesFromTargetLabel( + label: TargetLabel, githubTargetBranch: string): string[] { + return typeof label.branches === 'function' ? label.branches(githubTargetBranch) : label.branches; +} diff --git a/dev-infra/pr/merge/task.ts b/dev-infra/pr/merge/task.ts new file mode 100644 index 0000000000..e02815cbc0 --- /dev/null +++ b/dev-infra/pr/merge/task.ts @@ -0,0 +1,131 @@ +/** + * @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 {promptConfirm} from '../../utils/console'; +import {GitClient, GitCommandError} from '../../utils/git'; + +import {MergeConfigWithRemote} from './config'; +import {PullRequestFailure} from './failures'; +import {getCaretakerNotePromptMessage} from './messages'; +import {isPullRequest, loadAndValidatePullRequest,} from './pull-request'; +import {GithubApiMergeStrategy} from './strategies/api-merge'; +import {AutosquashMergeStrategy} from './strategies/autosquash-merge'; + +/** Github OAuth scopes required for the merge task. */ +const REQUIRED_SCOPES = ['repo']; + +/** Describes the status of a pull request merge. */ +export const enum MergeStatus { + UNKNOWN_GIT_ERROR, + DIRTY_WORKING_DIR, + SUCCESS, + FAILED, + USER_ABORTED, + GITHUB_ERROR, +} + +/** Result of a pull request merge. */ +export interface MergeResult { + /** Overall status of the merge. */ + status: MergeStatus; + /** List of pull request failures. */ + failure?: PullRequestFailure; +} + +/** + * Class that accepts a merge script configuration and Github token. It provides + * a programmatic interface for merging multiple pull requests based on their + * labels that have been resolved through the merge script configuration. + */ +export class PullRequestMergeTask { + /** Git client that can be used to execute Git commands. */ + git = new GitClient(this._githubToken, {github: this.config.remote}); + + constructor( + public projectRoot: string, public config: MergeConfigWithRemote, + private _githubToken: string) {} + + /** + * Merges the given pull request and pushes it upstream. + * @param prNumber Pull request that should be merged. + * @param force Whether non-critical pull request failures should be ignored. + */ + async merge(prNumber: number, force = false): Promise { + // Assert the authenticated GitClient has access on the required scopes. + const hasOauthScopes = await this.git.hasOauthScopes(...REQUIRED_SCOPES); + if (hasOauthScopes !== true) { + return { + status: MergeStatus.GITHUB_ERROR, + failure: PullRequestFailure.insufficientPermissionsToMerge(hasOauthScopes.error) + }; + } + + if (this.git.hasUncommittedChanges()) { + return {status: MergeStatus.DIRTY_WORKING_DIR}; + } + + const pullRequest = await loadAndValidatePullRequest(this, prNumber, force); + + if (!isPullRequest(pullRequest)) { + return {status: MergeStatus.FAILED, failure: pullRequest}; + } + + // If the pull request has a caretaker note applied, raise awareness by prompting + // the caretaker. The caretaker can then decide to proceed or abort the merge. + if (pullRequest.hasCaretakerNote && + !await promptConfirm( + getCaretakerNotePromptMessage(pullRequest) + `\nDo you want to proceed merging?`)) { + return {status: MergeStatus.USER_ABORTED}; + } + + const strategy = this.config.githubApiMerge ? + new GithubApiMergeStrategy(this.git, this.config.githubApiMerge) : + new AutosquashMergeStrategy(this.git); + + // Branch that is currently checked out so that we can switch back to it once + // the pull request has been merged. + let previousBranch: null|string = null; + + // The following block runs Git commands as child processes. These Git commands can fail. + // We want to capture these command errors and return an appropriate merge request status. + try { + previousBranch = this.git.getCurrentBranch(); + + // Run preparations for the merge (e.g. fetching branches). + await strategy.prepare(pullRequest); + + // Perform the merge and capture potential failures. + const failure = await strategy.merge(pullRequest); + if (failure !== null) { + return {status: MergeStatus.FAILED, failure}; + } + + // Switch back to the previous branch. We need to do this before deleting the temporary + // branches because we cannot delete branches which are currently checked out. + this.git.run(['checkout', '-f', previousBranch]); + + await strategy.cleanup(pullRequest); + + // Return a successful merge status. + return {status: MergeStatus.SUCCESS}; + } catch (e) { + // Catch all git command errors and return a merge result w/ git error status code. + // Other unknown errors which aren't caused by a git command are re-thrown. + if (e instanceof GitCommandError) { + return {status: MergeStatus.UNKNOWN_GIT_ERROR}; + } + throw e; + } finally { + // Always try to restore the branch if possible. We don't want to leave + // the repository in a different state than before. + if (previousBranch !== null) { + this.git.runGraceful(['checkout', '-f', previousBranch]); + } + } + } +} diff --git a/dev-infra/pr/rebase/BUILD.bazel b/dev-infra/pr/rebase/BUILD.bazel new file mode 100644 index 0000000000..5ee5219d5d --- /dev/null +++ b/dev-infra/pr/rebase/BUILD.bazel @@ -0,0 +1,20 @@ +load("@npm_bazel_typescript//:index.bzl", "ts_library") + +ts_library( + name = "rebase", + srcs = [ + "cli.ts", + "index.ts", + ], + module_name = "@angular/dev-infra-private/pr/rebase", + visibility = ["//dev-infra:__subpackages__"], + deps = [ + "//dev-infra/utils", + "@npm//@types/inquirer", + "@npm//@types/node", + "@npm//@types/yargs", + "@npm//inquirer", + "@npm//typed-graphqlify", + "@npm//yargs", + ], +) diff --git a/dev-infra/pr/rebase/cli.ts b/dev-infra/pr/rebase/cli.ts new file mode 100644 index 0000000000..03a369d891 --- /dev/null +++ b/dev-infra/pr/rebase/cli.ts @@ -0,0 +1,37 @@ +/** + * @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 {Arguments, Argv} from 'yargs'; + +import {error} from '../../utils/console'; + +import {rebasePr} from './index'; + +/** URL to the Github page where personal access tokens can be generated. */ +export const GITHUB_TOKEN_GENERATE_URL = `https://github.com/settings/tokens`; + +/** Builds the rebase pull request command. */ +export function buildRebaseCommand(yargs: Argv) { + return yargs.option('github-token', { + type: 'string', + description: 'Github token. If not set, token is retrieved from the environment variables.' + }); +} + +/** Handles the rebase pull request command. */ +export async function handleRebaseCommand(args: Arguments) { + const githubToken = args.githubToken || process.env.GITHUB_TOKEN || process.env.TOKEN; + if (!githubToken) { + error('No Github token set. Please set the `GITHUB_TOKEN` environment variable.'); + error('Alternatively, pass the `--github-token` command line flag.'); + error(`You can generate a token here: ${GITHUB_TOKEN_GENERATE_URL}`); + process.exit(1); + } + + await rebasePr(args.prNumber, githubToken); +} diff --git a/dev-infra/pr/rebase/index.ts b/dev-infra/pr/rebase/index.ts new file mode 100644 index 0000000000..0b9fa9fe77 --- /dev/null +++ b/dev-infra/pr/rebase/index.ts @@ -0,0 +1,149 @@ +/** + * @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 {types as graphQLTypes} from 'typed-graphqlify'; +import {URL} from 'url'; + +import {getConfig, NgDevConfig} from '../../utils/config'; +import {error, info, promptConfirm} from '../../utils/console'; +import {GitClient} from '../../utils/git'; +import {getPr} from '../../utils/github'; + +/* GraphQL schema for the response body for each pending PR. */ +const PR_SCHEMA = { + state: graphQLTypes.string, + maintainerCanModify: graphQLTypes.boolean, + viewerDidAuthor: graphQLTypes.boolean, + headRefOid: graphQLTypes.string, + headRef: { + name: graphQLTypes.string, + repository: { + url: graphQLTypes.string, + nameWithOwner: graphQLTypes.string, + }, + }, + baseRef: { + name: graphQLTypes.string, + repository: { + url: graphQLTypes.string, + nameWithOwner: graphQLTypes.string, + }, + }, +}; + +/** + * Rebase the provided PR onto its merge target branch, and push up the resulting + * commit to the PRs repository. + */ +export async function rebasePr( + prNumber: number, githubToken: string, config: Pick = getConfig()) { + const git = new GitClient(githubToken); + // TODO: Rely on a common assertNoLocalChanges function. + if (git.hasLocalChanges()) { + error('Cannot perform rebase of PR with local changes.'); + process.exit(1); + } + + /** + * The branch originally checked out before this method performs any Git + * operations that may change the working branch. + */ + const originalBranch = git.getCurrentBranch(); + /* Get the PR information from Github. */ + const pr = await getPr(PR_SCHEMA, prNumber, config.github); + + const headRefName = pr.headRef.name; + const baseRefName = pr.baseRef.name; + const fullHeadRef = `${pr.headRef.repository.nameWithOwner}:${headRefName}`; + const fullBaseRef = `${pr.baseRef.repository.nameWithOwner}:${baseRefName}`; + const headRefUrl = addAuthenticationToUrl(pr.headRef.repository.url, githubToken); + const baseRefUrl = addAuthenticationToUrl(pr.baseRef.repository.url, githubToken); + + // Note: Since we use a detached head for rebasing the PR and therefore do not have + // remote-tracking branches configured, we need to set our expected ref and SHA. This + // allows us to use `--force-with-lease` for the detached head while ensuring that we + // never accidentally override upstream changes that have been pushed in the meanwhile. + // See: + // https://git-scm.com/docs/git-push#Documentation/git-push.txt---force-with-leaseltrefnamegtltexpectgt + const forceWithLeaseFlag = `--force-with-lease=${headRefName}:${pr.headRefOid}`; + + // If the PR does not allow maintainers to modify it, exit as the rebased PR cannot + // be pushed up. + if (!pr.maintainerCanModify && !pr.viewerDidAuthor) { + error( + `Cannot rebase as you did not author the PR and the PR does not allow maintainers` + + `to modify the PR`); + process.exit(1); + } + + try { + // Fetch the branch at the commit of the PR, and check it out in a detached state. + info(`Checking out PR #${prNumber} from ${fullHeadRef}`); + git.run(['fetch', headRefUrl, headRefName]); + git.run(['checkout', '--detach', 'FETCH_HEAD']); + + // Fetch the PRs target branch and rebase onto it. + info(`Fetching ${fullBaseRef} to rebase #${prNumber} on`); + git.run(['fetch', baseRefUrl, baseRefName]); + info(`Attempting to rebase PR #${prNumber} on ${fullBaseRef}`); + const rebaseResult = git.runGraceful(['rebase', 'FETCH_HEAD']); + + // If the rebase was clean, push the rebased PR up to the authors fork. + if (rebaseResult.status === 0) { + info(`Rebase was able to complete automatically without conflicts`); + info(`Pushing rebased PR #${prNumber} to ${fullHeadRef}`); + git.run(['push', headRefUrl, `HEAD:${headRefName}`, forceWithLeaseFlag]); + info(`Rebased and updated PR #${prNumber}`); + cleanUpGitState(); + process.exit(0); + } + } catch (err) { + error(err.message); + cleanUpGitState(); + process.exit(1); + } + + // On automatic rebase failures, prompt to choose if the rebase should be continued + // manually or aborted now. + info(`Rebase was unable to complete automatically without conflicts.`); + // If the command is run in a non-CI environment, prompt to format the files immediately. + const continueRebase = + process.env['CI'] === undefined && await promptConfirm('Manually complete rebase?'); + + if (continueRebase) { + info(`After manually completing rebase, run the following command to update PR #${prNumber}:`); + info(` $ git push ${pr.headRef.repository.url} HEAD:${headRefName} ${forceWithLeaseFlag}`); + info(); + info(`To abort the rebase and return to the state of the repository before this command`); + info(`run the following command:`); + info(` $ git rebase --abort && git reset --hard && git checkout ${originalBranch}`); + process.exit(1); + } else { + info(`Cleaning up git state, and restoring previous state.`); + } + + cleanUpGitState(); + process.exit(1); + + /** Reset git back to the original branch. */ + function cleanUpGitState() { + // Ensure that any outstanding rebases are aborted. + git.runGraceful(['rebase', '--abort'], {stdio: 'ignore'}); + // Ensure that any changes in the current repo state are cleared. + git.runGraceful(['reset', '--hard'], {stdio: 'ignore'}); + // Checkout the original branch from before the run began. + git.runGraceful(['checkout', originalBranch], {stdio: 'ignore'}); + } +} + +/** Adds the provided token as username to the provided url. */ +function addAuthenticationToUrl(urlString: string, token: string) { + const url = new URL(urlString); + url.username = token; + return url.toString(); +} diff --git a/dev-infra/pullapprove/cli.ts b/dev-infra/pullapprove/cli.ts index 0557fcdfdd..483e94276a 100644 --- a/dev-infra/pullapprove/cli.ts +++ b/dev-infra/pullapprove/cli.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,11 +10,8 @@ import {verify} from './verify'; /** Build the parser for the pullapprove commands. */ export function buildPullapproveParser(localYargs: yargs.Argv) { - return localYargs.help() - .strict() - .option('verbose', {alias: ['v'], description: 'Enable verbose logging'}) - .demandCommand() - .command('verify', 'Verify the pullapprove config', {}, ({verbose}) => verify(verbose)); + return localYargs.help().strict().demandCommand().command( + 'verify', 'Verify the pullapprove config', {}, () => verify()); } if (require.main === module) { diff --git a/dev-infra/pullapprove/condition_evaluator.ts b/dev-infra/pullapprove/condition_evaluator.ts index 65939261e9..340e0b84a2 100644 --- a/dev-infra/pullapprove/condition_evaluator.ts +++ b/dev-infra/pullapprove/condition_evaluator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/pullapprove/group.ts b/dev-infra/pullapprove/group.ts index 1468f43031..a27ef876cf 100644 --- a/dev-infra/pullapprove/group.ts +++ b/dev-infra/pullapprove/group.ts @@ -1,10 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {error} from '../utils/console'; import {convertConditionToFunction} from './condition_evaluator'; import {PullApproveGroupConfig} from './parse-yaml'; @@ -58,9 +60,11 @@ export class PullApproveGroup { matchedFiles: new Set(), }); } catch (e) { - console.error(`Could not parse condition in group: ${this.groupName}`); - console.error(` - ${expression}`); - console.error(`Error:`, e.message, e.stack); + error(`Could not parse condition in group: ${this.groupName}`); + error(` - ${expression}`); + error(`Error:`); + error(e.message); + error(e.stack); process.exit(1); } }); @@ -84,7 +88,7 @@ export class PullApproveGroup { `From the [${this.groupName}] group:\n` + ` - ${expression}` + `\n\n${e.message} ${e.stack}\n\n`; - console.error(errMessage); + error(errMessage); process.exit(1); } }); diff --git a/dev-infra/pullapprove/logging.ts b/dev-infra/pullapprove/logging.ts index fdaa6f5a16..ea289b7739 100644 --- a/dev-infra/pullapprove/logging.ts +++ b/dev-infra/pullapprove/logging.ts @@ -1,23 +1,24 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {info} from '../utils/console'; import {PullApproveGroupResult} from './group'; /** Create logs for each pullapprove group result. */ -export function logGroup(group: PullApproveGroupResult, matched = true) { +export function logGroup(group: PullApproveGroupResult, matched = true, printMessageFn = info) { const conditions = matched ? group.matchedConditions : group.unmatchedConditions; - console.groupCollapsed(`[${group.groupName}]`); + printMessageFn.group(`[${group.groupName}]`); if (conditions.length) { conditions.forEach(matcher => { const count = matcher.matchedFiles.size; - console.info(`${count} ${count === 1 ? 'match' : 'matches'} - ${matcher.expression}`) + printMessageFn(`${count} ${count === 1 ? 'match' : 'matches'} - ${matcher.expression}`); }); - console.groupEnd(); + printMessageFn.groupEnd(); } } @@ -30,7 +31,7 @@ export function logHeader(...params: string[]) { const rightSpace = fillWidth - leftSpace - headerText.length; const fill = (count: number, content: string) => content.repeat(count); - console.info(`┌${fill(fillWidth, '─')}┐`); - console.info(`│${fill(leftSpace, ' ')}${headerText}${fill(rightSpace, ' ')}│`); - console.info(`└${fill(fillWidth, '─')}┘`); + info(`┌${fill(fillWidth, '─')}┐`); + info(`│${fill(leftSpace, ' ')}${headerText}${fill(rightSpace, ' ')}│`); + info(`└${fill(fillWidth, '─')}┘`); } diff --git a/dev-infra/pullapprove/parse-yaml.ts b/dev-infra/pullapprove/parse-yaml.ts index 9bc609366c..c0856d1763 100644 --- a/dev-infra/pullapprove/parse-yaml.ts +++ b/dev-infra/pullapprove/parse-yaml.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {parse as parseYaml} from 'yaml'; export interface PullApproveGroupConfig { conditions?: string[]; - reviewers: { + reviewers?: { users: string[], teams?: string[], }|{ @@ -31,5 +31,5 @@ export interface PullApproveConfig { } export function parsePullApproveYaml(rawYaml: string): PullApproveConfig { - return parseYaml(rawYaml) as PullApproveConfig; + return parseYaml(rawYaml, {merge: true}) as PullApproveConfig; } diff --git a/dev-infra/pullapprove/verify.ts b/dev-infra/pullapprove/verify.ts index 02827765dd..f349edeeef 100644 --- a/dev-infra/pullapprove/verify.ts +++ b/dev-infra/pullapprove/verify.ts @@ -1,50 +1,44 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {readFileSync} from 'fs'; -import * as path from 'path'; -import {cd, exec, set} from 'shelljs'; +import {resolve} from 'path'; import {getRepoBaseDir} from '../utils/config'; +import {debug, info} from '../utils/console'; +import {allFiles} from '../utils/repo-files'; import {PullApproveGroup} from './group'; import {logGroup, logHeader} from './logging'; import {parsePullApproveYaml} from './parse-yaml'; -export function verify(verbose = false) { - // Exit early on shelljs errors - set('-e'); - // Full path of the angular project directory - const PROJECT_DIR = getRepoBaseDir(); - // Change to the Angular project directory - cd(PROJECT_DIR); - // Full path to PullApprove config file - const PULL_APPROVE_YAML_PATH = path.resolve(PROJECT_DIR, '.pullapprove.yml'); - // All relative path file names in the git repo, this is retrieved using git rather - // that a glob so that we only get files that are checked in, ignoring things like - // node_modules, .bazelrc.user, etc - const REPO_FILES = - exec('git ls-files', {silent: true}).trim().split('\n').filter((_: string) => !!_); - // The pull approve config file. +export function verify() { + /** Full path to PullApprove config file */ + const PULL_APPROVE_YAML_PATH = resolve(getRepoBaseDir(), '.pullapprove.yml'); + /** All tracked files in the repository. */ + const REPO_FILES = allFiles(); + /** The pull approve config file. */ const pullApproveYamlRaw = readFileSync(PULL_APPROVE_YAML_PATH, 'utf8'); - // JSON representation of the pullapprove yaml file. + /** JSON representation of the pullapprove yaml file. */ const pullApprove = parsePullApproveYaml(pullApproveYamlRaw); - // All of the groups defined in the pullapprove yaml. + /** All of the groups defined in the pullapprove yaml. */ const groups = Object.entries(pullApprove.groups).map(([groupName, group]) => { return new PullApproveGroup(groupName, group); }); - // PullApprove groups without conditions. These are skipped in the verification - // as those would always be active and cause zero unmatched files. + /** + * PullApprove groups without conditions. These are skipped in the verification + * as those would always be active and cause zero unmatched files. + */ const groupsSkipped = groups.filter(group => !group.conditions.length); - // PullApprove groups with conditions. + /** PullApprove groups with conditions. */ const groupsWithConditions = groups.filter(group => !!group.conditions.length); - // Files which are matched by at least one group. + /** Files which are matched by at least one group. */ const matchedFiles: string[] = []; - // Files which are not matched by at least one group. + /** Files which are not matched by at least one group. */ const unmatchedFiles: string[] = []; // Test each file in the repo against each group for being matched. @@ -55,10 +49,12 @@ export function verify(verbose = false) { unmatchedFiles.push(file); } }); - // Results for each group + /** Results for each group */ const resultsByGroup = groupsWithConditions.map(group => group.getResults()); - // Whether all group condition lines match at least one file and all files - // are matched by at least one group. + /** + * Whether all group condition lines match at least one file and all files + * are matched by at least one group. + */ const verificationSucceeded = resultsByGroup.every(r => !r.unmatchedCount) && !unmatchedFiles.length; @@ -67,38 +63,39 @@ export function verify(verbose = false) { */ logHeader('Overall Result'); if (verificationSucceeded) { - console.info('PullApprove verification succeeded!'); + info('PullApprove verification succeeded!'); } else { - console.info(`PullApprove verification failed.\n`); - console.info(`Please update '.pullapprove.yml' to ensure that all necessary`); - console.info(`files/directories have owners and all patterns that appear in`); - console.info(`the file correspond to actual files/directories in the repo.`); + info(`PullApprove verification failed.`); + info(); + info(`Please update '.pullapprove.yml' to ensure that all necessary`); + info(`files/directories have owners and all patterns that appear in`); + info(`the file correspond to actual files/directories in the repo.`); } /** * File by file Summary */ logHeader('PullApprove results by file'); - console.groupCollapsed(`Matched Files (${matchedFiles.length} files)`); - verbose && matchedFiles.forEach(file => console.info(file)); - console.groupEnd(); - console.groupCollapsed(`Unmatched Files (${unmatchedFiles.length} files)`); - unmatchedFiles.forEach(file => console.info(file)); - console.groupEnd(); + info.group(`Matched Files (${matchedFiles.length} files)`); + matchedFiles.forEach(file => debug(file)); + info.groupEnd(); + info.group(`Unmatched Files (${unmatchedFiles.length} files)`); + unmatchedFiles.forEach(file => info(file)); + info.groupEnd(); /** * Group by group Summary */ logHeader('PullApprove results by group'); - console.groupCollapsed(`Groups skipped (${groupsSkipped.length} groups)`); - verbose && groupsSkipped.forEach(group => console.info(`${group.groupName}`)); - console.groupEnd(); + info.group(`Groups skipped (${groupsSkipped.length} groups)`); + groupsSkipped.forEach(group => debug(`${group.groupName}`)); + info.groupEnd(); const matchedGroups = resultsByGroup.filter(group => !group.unmatchedCount); - console.groupCollapsed(`Matched conditions by Group (${matchedGroups.length} groups)`); - verbose && matchedGroups.forEach(group => logGroup(group)); - console.groupEnd(); + info.group(`Matched conditions by Group (${matchedGroups.length} groups)`); + matchedGroups.forEach(group => logGroup(group, true, debug)); + info.groupEnd(); const unmatchedGroups = resultsByGroup.filter(group => group.unmatchedCount); - console.groupCollapsed(`Unmatched conditions by Group (${unmatchedGroups.length} groups)`); + info.group(`Unmatched conditions by Group (${unmatchedGroups.length} groups)`); unmatchedGroups.forEach(group => logGroup(group, false)); - console.groupEnd(); + info.groupEnd(); // Provide correct exit code based on verification success. process.exit(verificationSucceeded ? 0 : 1); diff --git a/dev-infra/release/BUILD.bazel b/dev-infra/release/BUILD.bazel index bf2ffdd6db..065521461e 100644 --- a/dev-infra/release/BUILD.bazel +++ b/dev-infra/release/BUILD.bazel @@ -8,6 +8,7 @@ ts_library( module_name = "@angular/dev-infra-private/release", visibility = ["//dev-infra:__subpackages__"], deps = [ + "//dev-infra/utils", "@npm//@types/node", "@npm//@types/shelljs", "@npm//@types/yargs", diff --git a/dev-infra/release/cli.ts b/dev-infra/release/cli.ts index 33c343c106..bd2646260e 100644 --- a/dev-infra/release/cli.ts +++ b/dev-infra/release/cli.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/release/env-stamp.ts b/dev-infra/release/env-stamp.ts index 97e0331b69..b425e5ece0 100644 --- a/dev-infra/release/env-stamp.ts +++ b/dev-infra/release/env-stamp.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {exec as _exec} from 'shelljs'; +import {exec as _exec} from '../utils/shelljs'; /** * Log the environment variables expected by bazel for stamping. @@ -30,7 +30,7 @@ export function buildEnvStamp() { /** Run the exec command and return the stdout as a trimmed string. */ function exec(cmd: string) { - return _exec(cmd, {silent: true}).toString().trim(); + return _exec(cmd).trim(); } /** Whether the repo has local changes. */ diff --git a/dev-infra/tmpl-package.json b/dev-infra/tmpl-package.json index 4d18d6ad8e..5ff632c496 100644 --- a/dev-infra/tmpl-package.json +++ b/dev-infra/tmpl-package.json @@ -9,20 +9,53 @@ "ts-circular-deps": "./ts-circular-dependencies/index.js" }, "dependencies": { + "@angular/benchpress": "0.2.0", + "@octokit/graphql": "", + "@octokit/types": "", + "brotli": "", "chalk": "", "cli-progress": "", "glob": "", "inquirer": "", "minimatch": "", "multimatch": "", + "node-uuid": "", + "semver": "", "shelljs": "", + "tslib": "", + "typed-graphqlify": "", "yaml": "", "yargs": "" }, "peerDependencies": { "@bazel/buildifier": "", "clang-format": "", - "tslib": "", + "protractor": "", + "selenium-webdriver": "", + "ts-node": "", "typescript": "" + }, + "peerDependenciesMeta": { + "@bazel/buildifier": { + "optional": true + }, + "clang-format": { + "optional": true + }, + "protractor": { + "optional": true + }, + "selenium-webdriver": { + "optional": true + }, + "ts-node": { + "optional": true + } + }, + "bazelWorkspaces": { + "npm_angular_dev_infra_private": { + "version": "0.0.0-PLACEHOLDER", + "rootPath": "." + } } } diff --git a/dev-infra/ts-circular-dependencies/analyzer.ts b/dev-infra/ts-circular-dependencies/analyzer.ts index 079602beba..a526eb622c 100644 --- a/dev-infra/ts-circular-dependencies/analyzer.ts +++ b/dev-infra/ts-circular-dependencies/analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/ts-circular-dependencies/config.ts b/dev-infra/ts-circular-dependencies/config.ts index cb06ef8171..86c7d1f1d0 100644 --- a/dev-infra/ts-circular-dependencies/config.ts +++ b/dev-infra/ts-circular-dependencies/config.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,6 +8,8 @@ import {dirname, isAbsolute, resolve} from 'path'; +import {error} from '../utils/console'; + import {ModuleResolver} from './analyzer'; @@ -18,7 +20,7 @@ export interface CircularDependenciesTestConfig { /** Path to the golden file that is used for checking and approving. */ goldenFile: string; /** Glob that resolves source files which should be checked. */ - glob: string + glob: string; /** * Optional module resolver function that can be used to resolve modules * to absolute file paths. @@ -52,8 +54,8 @@ export function loadTestConfig(configPath: string): CircularDependenciesTestConf } return config; } catch (e) { - console.error('Could not load test configuration file at: ' + configPath); - console.error(`Failed with: ${e.message}`); + error('Could not load test configuration file at: ' + configPath); + error(`Failed with: ${e.message}`); process.exit(1); } } diff --git a/dev-infra/ts-circular-dependencies/file_system.ts b/dev-infra/ts-circular-dependencies/file_system.ts index 77a4f9e00d..9f5db3199a 100644 --- a/dev-infra/ts-circular-dependencies/file_system.ts +++ b/dev-infra/ts-circular-dependencies/file_system.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/ts-circular-dependencies/golden.ts b/dev-infra/ts-circular-dependencies/golden.ts index 49c5840fbe..1c95733260 100644 --- a/dev-infra/ts-circular-dependencies/golden.ts +++ b/dev-infra/ts-circular-dependencies/golden.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/ts-circular-dependencies/index.ts b/dev-infra/ts-circular-dependencies/index.ts index 002fd707a3..df597bf6e2 100644 --- a/dev-infra/ts-circular-dependencies/index.ts +++ b/dev-infra/ts-circular-dependencies/index.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,7 +12,8 @@ import {sync as globSync} from 'glob'; import {isAbsolute, relative, resolve} from 'path'; import * as ts from 'typescript'; import * as yargs from 'yargs'; -import chalk from 'chalk'; + +import {green, info, error, red, yellow} from '../utils/console'; import {Analyzer, ReferenceChain} from './analyzer'; import {compareGoldens, convertReferenceChainToGolden, Golden} from './golden'; @@ -66,15 +67,14 @@ export function main( const actual = convertReferenceChainToGolden(cycles, baseDir); - console.info( - chalk.green(` Current number of cycles: ${chalk.yellow(cycles.length.toString())}`)); + info(green(` Current number of cycles: ${yellow(cycles.length.toString())}`)); if (approve) { writeFileSync(goldenFile, JSON.stringify(actual, null, 2)); - console.info(chalk.green('✅ Updated golden file.')); + info(green('✅ Updated golden file.')); return 0; } else if (!existsSync(goldenFile)) { - console.error(chalk.red(`❌ Could not find golden file: ${goldenFile}`)); + error(red(`❌ Could not find golden file: ${goldenFile}`)); return 1; } @@ -84,17 +84,15 @@ export function main( // it's common that third-party modules are not resolved/visited. Also generated files // from the View Engine compiler (i.e. factories, summaries) cannot be resolved. if (printWarnings && warningsCount !== 0) { - console.info(chalk.yellow('⚠ The following imports could not be resolved:')); - Array.from(analyzer.unresolvedModules) - .sort() - .forEach(specifier => console.info(` • ${specifier}`)); + info(yellow('⚠ The following imports could not be resolved:')); + Array.from(analyzer.unresolvedModules).sort().forEach(specifier => info(` • ${specifier}`)); analyzer.unresolvedFiles.forEach((value, key) => { - console.info(` • ${getRelativePath(baseDir, key)}`); - value.sort().forEach(specifier => console.info(` ${specifier}`)); + info(` • ${getRelativePath(baseDir, key)}`); + value.sort().forEach(specifier => info(` ${specifier}`)); }); } else { - console.info(chalk.yellow(`⚠ ${warningsCount} imports could not be resolved.`)); - console.info(chalk.yellow(` Please rerun with "--warnings" to inspect unresolved imports.`)); + info(yellow(`⚠ ${warningsCount} imports could not be resolved.`)); + info(yellow(` Please rerun with "--warnings" to inspect unresolved imports.`)); } const expected: Golden = JSON.parse(readFileSync(goldenFile, 'utf8')); @@ -102,25 +100,24 @@ export function main( const isMatching = fixedCircularDeps.length === 0 && newCircularDeps.length === 0; if (isMatching) { - console.info(chalk.green('✅ Golden matches current circular dependencies.')); + info(green('✅ Golden matches current circular dependencies.')); return 0; } - console.error(chalk.red('❌ Golden does not match current circular dependencies.')); + error(red('❌ Golden does not match current circular dependencies.')); if (newCircularDeps.length !== 0) { - console.error(chalk.yellow(` New circular dependencies which are not allowed:`)); - newCircularDeps.forEach(c => console.error(` • ${convertReferenceChainToString(c)}`)); - console.error(); + error(yellow(` New circular dependencies which are not allowed:`)); + newCircularDeps.forEach(c => error(` • ${convertReferenceChainToString(c)}`)); + error(); } if (fixedCircularDeps.length !== 0) { - console.error( - chalk.yellow(` Fixed circular dependencies that need to be removed from the golden:`)); - fixedCircularDeps.forEach(c => console.error(` • ${convertReferenceChainToString(c)}`)); - console.error(); + error(yellow(` Fixed circular dependencies that need to be removed from the golden:`)); + fixedCircularDeps.forEach(c => error(` • ${convertReferenceChainToString(c)}`)); + error(); if (approveCommand) { - console.info(chalk.yellow(` Please approve the new golden with: ${approveCommand}`)); + info(yellow(` Please approve the new golden with: ${approveCommand}`)); } else { - console.info(chalk.yellow( + info(yellow( ` Please update the golden. The following command can be ` + `run: yarn ts-circular-deps approve ${getRelativePath(process.cwd(), goldenFile)}.`)); } diff --git a/dev-infra/ts-circular-dependencies/parser.ts b/dev-infra/ts-circular-dependencies/parser.ts index 474f294af5..dc7b85b945 100644 --- a/dev-infra/ts-circular-dependencies/parser.ts +++ b/dev-infra/ts-circular-dependencies/parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/dev-infra/utils/BUILD.bazel b/dev-infra/utils/BUILD.bazel index 812c20ce99..f1bdc1976d 100644 --- a/dev-infra/utils/BUILD.bazel +++ b/dev-infra/utils/BUILD.bazel @@ -2,16 +2,22 @@ load("@npm_bazel_typescript//:index.bzl", "ts_library") ts_library( name = "utils", - srcs = [ - "config.ts", - "repo-files.ts", - ], + srcs = glob([ + "*.ts", + "git/*.ts", + ]), module_name = "@angular/dev-infra-private/utils", visibility = ["//dev-infra:__subpackages__"], deps = [ + "@npm//@octokit/graphql", + "@npm//@octokit/rest", + "@npm//@octokit/types", + "@npm//@types/inquirer", "@npm//@types/node", "@npm//@types/shelljs", + "@npm//chalk", "@npm//shelljs", "@npm//tslib", + "@npm//typed-graphqlify", ], ) diff --git a/dev-infra/utils/config.ts b/dev-infra/utils/config.ts index b7e0079082..bcf6a82d60 100644 --- a/dev-infra/utils/config.ts +++ b/dev-infra/utils/config.ts @@ -1,23 +1,130 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {join} from 'path'; -import {exec} from 'shelljs'; +import {existsSync} from 'fs'; +import {dirname, join} from 'path'; -// The filename expected for creating the ng-dev config, without the file -// extension to allow either a typescript or javascript file to be used. -const CONFIG_FILE_NAME = '.ng-dev-config'; +import {error} from './console'; +import {exec} from './shelljs'; +import {isTsNodeAvailable} from './ts-node'; + +/** Configuration for Git client interactions. */ +export interface GitClientConfig { + /** Owner name of the repository. */ + owner: string; + /** Name of the repository. */ + name: string; + /** If SSH protocol should be used for git interactions. */ + useSsh?: boolean; +} /** - * Gets the path of the directory for the repository base. + * Describes the Github configuration for dev-infra. This configuration is + * used for API requests, determining the upstream remote, etc. */ +export interface GithubConfig extends GitClientConfig {} + +/** The common configuration for ng-dev. */ +type CommonConfig = { + github: GithubConfig +}; + +/** + * The configuration for the specific ng-dev command, providing both the common + * ng-dev config as well as the specific config of a subcommand. + */ +export type NgDevConfig = CommonConfig&T; + +/** + * The filename expected for creating the ng-dev config, without the file + * extension to allow either a typescript or javascript file to be used. + */ +const CONFIG_FILE_PATH = '.ng-dev/config'; + +/** The configuration for ng-dev. */ +let CONFIG: {}|null = null; + +/** + * Get the configuration from the file system, returning the already loaded + * copy if it is defined. + */ +export function getConfig(): NgDevConfig { + // If the global config is not defined, load it from the file system. + if (CONFIG === null) { + // The full path to the configuration file. + const configPath = join(getRepoBaseDir(), CONFIG_FILE_PATH); + // Set the global config object. + CONFIG = readConfigFile(configPath); + } + // Return a clone of the global config to ensure that a new instance of the config is returned + // each time, preventing unexpected effects of modifications to the config object. + return validateCommonConfig({...CONFIG}); +} + +/** Validate the common configuration has been met for the ng-dev command. */ +function validateCommonConfig(config: Partial) { + const errors: string[] = []; + // Validate the github configuration. + if (config.github === undefined) { + errors.push(`Github repository not configured. Set the "github" option.`); + } else { + if (config.github.name === undefined) { + errors.push(`"github.name" is not defined`); + } + if (config.github.owner === undefined) { + errors.push(`"github.owner" is not defined`); + } + } + assertNoErrors(errors); + return config as NgDevConfig; +} + +/** Resolves and reads the specified configuration file. */ +function readConfigFile(configPath: string): object { + // If the the `.ts` extension has not been set up already, and a TypeScript based + // version of the given configuration seems to exist, set up `ts-node` if available. + if (require.extensions['.ts'] === undefined && existsSync(`${configPath}.ts`) && + isTsNodeAvailable()) { + // Ensure the module target is set to `commonjs`. This is necessary because the + // dev-infra tool runs in NodeJS which does not support ES modules by default. + // Additionally, set the `dir` option to the directory that contains the configuration + // file. This allows for custom compiler options (such as `--strict`). + require('ts-node').register( + {dir: dirname(configPath), transpileOnly: true, compilerOptions: {module: 'commonjs'}}); + } + + try { + return require(configPath); + } catch (e) { + error('Could not read configuration file.'); + error(e); + process.exit(1); + } +} + +/** + * Asserts the provided array of error messages is empty. If any errors are in the array, + * logs the errors and exit the process as a failure. + */ +export function assertNoErrors(errors: string[]) { + if (errors.length == 0) { + return; + } + error(`Errors discovered while loading configuration file:`); + for (const err of errors) { + error(` - ${err}`); + } + process.exit(1); +} + +/** Gets the path of the directory for the repository base. */ export function getRepoBaseDir() { - const baseRepoDir = exec(`git rev-parse --show-toplevel`, {silent: true}); + const baseRepoDir = exec(`git rev-parse --show-toplevel`); if (baseRepoDir.code) { throw Error( `Unable to find the path to the base directory of the repository.\n` + @@ -26,26 +133,3 @@ export function getRepoBaseDir() { } return baseRepoDir.trim(); } - -/** - * Retrieve the configuration from the .ng-dev-config.js file. - */ -export function getAngularDevConfig(supressError = false): DevInfraConfig { - const configPath = join(getRepoBaseDir(), CONFIG_FILE_NAME); - try { - return require(configPath) as DevInfraConfig; - } catch (err) { - if (!supressError) { - throw Error(`Unable to load config file at:\n ${configPath}`); - } - } - return {} as DevInfraConfig; -} - -/** - * Interface exressing the expected structure of the DevInfraConfig. - * Allows for providing a typing for a part of the config to read. - */ -export interface DevInfraConfig { - [K: string]: T; -} diff --git a/dev-infra/utils/console.ts b/dev-infra/utils/console.ts new file mode 100644 index 0000000000..63830a5e76 --- /dev/null +++ b/dev-infra/utils/console.ts @@ -0,0 +1,110 @@ +/** + * @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 chalk from 'chalk'; +import {prompt} from 'inquirer'; + + +/** Reexport of chalk colors for convenient access. */ +export const red: typeof chalk = chalk.red; +export const green: typeof chalk = chalk.green; +export const yellow: typeof chalk = chalk.yellow; + +/** Prompts the user with a confirmation question and a specified message. */ +export async function promptConfirm(message: string, defaultValue = false): Promise { + return (await prompt<{result: boolean}>({ + type: 'confirm', + name: 'result', + message: message, + default: defaultValue, + })) + .result; +} + +/** + * Supported levels for logging functions. + * + * Levels are mapped to numbers to represent a hierarchy of logging levels. + */ +export enum LOG_LEVELS { + SILENT = 0, + ERROR = 1, + WARN = 2, + LOG = 3, + INFO = 4, + DEBUG = 5, +} + +/** Default log level for the tool. */ +export const DEFAULT_LOG_LEVEL = LOG_LEVELS.INFO; + +/** Write to the console for at INFO logging level */ +export const info = buildLogLevelFunction(() => console.info, LOG_LEVELS.INFO); + +/** Write to the console for at ERROR logging level */ +export const error = buildLogLevelFunction(() => console.error, LOG_LEVELS.ERROR); + +/** Write to the console for at DEBUG logging level */ +export const debug = buildLogLevelFunction(() => console.debug, LOG_LEVELS.DEBUG); + +/** Write to the console for at LOG logging level */ +// tslint:disable-next-line: no-console +export const log = buildLogLevelFunction(() => console.log, LOG_LEVELS.LOG); + +/** Write to the console for at WARN logging level */ +export const warn = buildLogLevelFunction(() => console.warn, LOG_LEVELS.WARN); + +/** Build an instance of a logging function for the provided level. */ +function buildLogLevelFunction(loadCommand: () => Function, level: LOG_LEVELS) { + /** Write to stdout for the LOG_LEVEL. */ + const loggingFunction = (...text: string[]) => { + runConsoleCommand(loadCommand, level, ...text); + }; + + /** Start a group at the LOG_LEVEL, optionally starting it as collapsed. */ + loggingFunction.group = (text: string, collapsed = false) => { + const command = collapsed ? console.groupCollapsed : console.group; + runConsoleCommand(() => command, level, text); + }; + + /** End the group at the LOG_LEVEL. */ + loggingFunction.groupEnd = () => { + runConsoleCommand(() => console.groupEnd, level); + }; + + return loggingFunction; +} + +/** + * Run the console command provided, if the environments logging level greater than the + * provided logging level. + * + * The loadCommand takes in a function which is called to retrieve the console.* function + * to allow for jasmine spies to still work in testing. Without this method of retrieval + * the console.* function, the function is saved into the closure of the created logging + * function before jasmine can spy. + */ +function runConsoleCommand(loadCommand: () => Function, logLevel: LOG_LEVELS, ...text: string[]) { + if (getLogLevel() >= logLevel) { + loadCommand()(...text); + } +} + +/** + * Retrieve the log level from environment variables, if the value found + * based on the LOG_LEVEL environment variable is undefined, return the default + * logging level. + */ +function getLogLevel() { + const logLevelEnvValue: any = (process.env[`LOG_LEVEL`] || '').toUpperCase(); + const logLevel = LOG_LEVELS[logLevelEnvValue]; + if (logLevel === undefined) { + return DEFAULT_LOG_LEVEL; + } + return logLevel; +} diff --git a/dev-infra/utils/git/_github.ts b/dev-infra/utils/git/_github.ts new file mode 100644 index 0000000000..b467dcb9b4 --- /dev/null +++ b/dev-infra/utils/git/_github.ts @@ -0,0 +1,100 @@ +/** + * @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 + */ + +/**************************************************************************** + **************************************************************************** + ** DO NOT IMPORT THE GithubClient DIRECTLY, INSTEAD IMPORT GitClient from ** + ** ./index.ts and access the GithubClient via the `.github` member. ** + **************************************************************************** + ****************************************************************************/ + +import {graphql} from '@octokit/graphql'; +import * as Octokit from '@octokit/rest'; +import {RequestParameters} from '@octokit/types'; +import {query, types} from 'typed-graphqlify'; + +/** Error for failed Github API requests. */ +export class GithubApiRequestError extends Error { + constructor(public status: number, message: string) { + super(message); + } +} + +/** + * A Github client for interacting with the Github APIs. + * + * Additionally, provides convienience methods for actions which require multiple requests, or + * would provide value from memoized style responses. + **/ +export class _GithubClient extends Octokit { + /** The Github GraphQL (v4) API. */ + graqhql: GithubGraphqlClient; + + /** The current user based on checking against the Github API. */ + private _currentUser: string|null = null; + + constructor(token?: string) { + // Pass in authentication token to base Octokit class. + super({auth: token}); + + this.hook.error('request', error => { + // Wrap API errors in a known error class. This allows us to + // expect Github API errors better and in a non-ambiguous way. + throw new GithubApiRequestError(error.status, error.message); + }); + + // Create authenticated graphql client. + this.graqhql = new GithubGraphqlClient(token); + } + + /** Retrieve the login of the current user from Github. */ + async getCurrentUser() { + // If the current user has already been retrieved return the current user value again. + if (this._currentUser !== null) { + return this._currentUser; + } + const result = await this.graqhql.query({ + viewer: { + login: types.string, + } + }); + return this._currentUser = result.viewer.login; + } +} + +/** + * An object representation of a GraphQL Query to be used as a response type and to generate + * a GraphQL query string. + */ +type GraphQLQueryObject = Parameters[1]; + +/** + * A client for interacting with Github's GraphQL API. + * + * This class is intentionally not exported as it should always be access/used via a + * _GithubClient instance. + */ +class GithubGraphqlClient { + /** The Github GraphQL (v4) API. */ + private graqhql = graphql; + + constructor(token?: string) { + // Set the default headers to include authorization with the provided token for all + // graphQL calls. + if (token) { + this.graqhql.defaults({headers: {authorization: `token ${token}`}}); + } + } + + + /** Perform a query using Github's GraphQL API. */ + async query(queryObject: T, params: RequestParameters = {}) { + const queryString = query(queryObject); + return (await this.graqhql(queryString, params)) as T; + } +} diff --git a/dev-infra/utils/git/index.ts b/dev-infra/utils/git/index.ts new file mode 100644 index 0000000000..dbfb50c180 --- /dev/null +++ b/dev-infra/utils/git/index.ts @@ -0,0 +1,194 @@ +/** + * @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 * as Octokit from '@octokit/rest'; +import {spawnSync, SpawnSyncOptions, SpawnSyncReturns} from 'child_process'; + +import {getConfig, getRepoBaseDir, NgDevConfig} from '../config'; +import {info, yellow} from '../console'; +import {_GithubClient} from './_github'; + +// Re-export GithubApiRequestError +export {GithubApiRequestError} from './_github'; + +/** Github response type extended to include the `x-oauth-scopes` headers presence. */ +type RateLimitResponseWithOAuthScopeHeader = Octokit.Response&{ + headers: {'x-oauth-scopes': string}; +}; + +/** Error for failed Git commands. */ +export class GitCommandError extends Error { + constructor(client: GitClient, public args: string[]) { + // Errors are not guaranteed to be caught. To ensure that we don't + // accidentally leak the Github token that might be used in a command, + // we sanitize the command that will be part of the error message. + super(`Command failed: git ${client.omitGithubTokenFromMessage(args.join(' '))}`); + } +} + +/** + * Common client for performing Git interactions. + * + * Takes in two optional arguements: + * _githubToken: the token used for authentifation in github interactions, by default empty + * allowing readonly actions. + * _config: The dev-infra configuration containing GitClientConfig information, by default + * loads the config from the default location. + **/ +export class GitClient { + /** Short-hand for accessing the remote configuration. */ + remoteConfig = this._config.github; + /** Octokit request parameters object for targeting the configured remote. */ + remoteParams = {owner: this.remoteConfig.owner, repo: this.remoteConfig.name}; + /** URL that resolves to the configured repository. */ + repoGitUrl = this.remoteConfig.useSsh ? + `git@github.com:${this.remoteConfig.owner}/${this.remoteConfig.name}.git` : + `https://${this._githubToken}@github.com/${this.remoteConfig.owner}/${ + this.remoteConfig.name}.git`; + /** Instance of the authenticated Github octokit API. */ + github = new _GithubClient(this._githubToken); + + /** The file path of project's root directory. */ + private _projectRoot = getRepoBaseDir(); + /** The OAuth scopes available for the provided Github token. */ + private _oauthScopes: Promise|null = null; + /** + * Regular expression that matches the provided Github token. Used for + * sanitizing the token from Git child process output. + */ + private _githubTokenRegex: RegExp|null = null; + + constructor( + private _githubToken?: string, private _config: Pick = getConfig()) { + // If a token has been specified (and is not empty), pass it to the Octokit API and + // also create a regular expression that can be used for sanitizing Git command output + // so that it does not print the token accidentally. + if (_githubToken != null) { + this._githubTokenRegex = new RegExp(_githubToken, 'g'); + } + } + + /** Executes the given git command. Throws if the command fails. */ + run(args: string[], options?: SpawnSyncOptions): Omit, 'status'> { + const result = this.runGraceful(args, options); + if (result.status !== 0) { + throw new GitCommandError(this, args); + } + // Omit `status` from the type so that it's obvious that the status is never + // non-zero as explained in the method description. + return result as Omit, 'status'>; + } + + /** + * Spawns a given Git command process. Does not throw if the command fails. Additionally, + * if there is any stderr output, the output will be printed. This makes it easier to + * debug failed commands. + */ + runGraceful(args: string[], options: SpawnSyncOptions = {}): SpawnSyncReturns { + // To improve the debugging experience in case something fails, we print all executed + // Git commands. Note that we do not want to print the token if is contained in the + // command. It's common to share errors with others if the tool failed. + info('Executing: git', this.omitGithubTokenFromMessage(args.join(' '))); + + const result = spawnSync('git', args, { + cwd: this._projectRoot, + stdio: 'pipe', + ...options, + // Encoding is always `utf8` and not overridable. This ensures that this method + // always returns `string` as output instead of buffers. + encoding: 'utf8', + }); + + if (result.stderr !== null) { + // Git sometimes prints the command if it failed. This means that it could + // potentially leak the Github token used for accessing the remote. To avoid + // printing a token, we sanitize the string before printing the stderr output. + process.stderr.write(this.omitGithubTokenFromMessage(result.stderr)); + } + + return result; + } + + /** Whether the given branch contains the specified SHA. */ + hasCommit(branchName: string, sha: string): boolean { + return this.run(['branch', branchName, '--contains', sha]).stdout !== ''; + } + + /** Gets the currently checked out branch. */ + getCurrentBranch(): string { + return this.run(['rev-parse', '--abbrev-ref', 'HEAD']).stdout.trim(); + } + + /** Gets whether the current Git repository has uncommitted changes. */ + hasUncommittedChanges(): boolean { + return this.runGraceful(['diff-index', '--quiet', 'HEAD']).status !== 0; + } + + /** Whether the repo has any local changes. */ + hasLocalChanges(): boolean { + return this.runGraceful(['diff-index', '--quiet', 'HEAD']).status !== 0; + } + + /** Sanitizes a given message by omitting the provided Github token if present. */ + omitGithubTokenFromMessage(value: string): string { + // If no token has been defined (i.e. no token regex), we just return the + // value as is. There is no secret value that needs to be omitted. + if (this._githubTokenRegex === null) { + return value; + } + return value.replace(this._githubTokenRegex, ''); + } + + /** + * Assert the GitClient instance is using a token with permissions for the all of the + * provided OAuth scopes. + */ + async hasOauthScopes(...requestedScopes: string[]): Promise { + const missingScopes: string[] = []; + const scopes = await this.getAuthScopesForToken(); + requestedScopes.forEach(scope => { + if (!scopes.includes(scope)) { + missingScopes.push(scope); + } + }); + // If no missing scopes are found, return true to indicate all OAuth Scopes are available. + if (missingScopes.length === 0) { + return true; + } + + /** + * Preconstructed error message to log to the user, providing missing scopes and + * remediation instructions. + **/ + const error = + `The provided does not have required permissions due to missing scope(s): ` + + `${yellow(missingScopes.join(', '))}\n\n` + + `Update the token in use at:\n` + + ` https://github.com/settings/tokens\n\n` + + `Alternatively, a new token can be created at: https://github.com/settings/tokens/new\n`; + + return {error}; + } + + /** + * Retrieve the OAuth scopes for the loaded Github token. + **/ + private async getAuthScopesForToken() { + // If the OAuth scopes have already been loaded, return the Promise containing them. + if (this._oauthScopes !== null) { + return this._oauthScopes; + } + // OAuth scopes are loaded via the /rate_limit endpoint to prevent + // usage of a request against that rate_limit for this lookup. + return this._oauthScopes = this.github.rateLimit.get().then(_response => { + const response = _response as RateLimitResponseWithOAuthScopeHeader; + const scopes: string = response.headers['x-oauth-scopes'] || ''; + return scopes.split(',').map(scope => scope.trim()); + }); + } +} diff --git a/dev-infra/utils/github.ts b/dev-infra/utils/github.ts new file mode 100644 index 0000000000..04cd93ed97 --- /dev/null +++ b/dev-infra/utils/github.ts @@ -0,0 +1,111 @@ +/** + * @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 {graphql as unauthenticatedGraphql} from '@octokit/graphql'; + +import {params, query as graphqlQuery, types} from 'typed-graphqlify'; +import {NgDevConfig} from './config'; + +/** The configuration required for github interactions. */ +type GithubConfig = NgDevConfig['github']; + +/** + * Authenticated instance of Github GraphQl API service, relies on a + * personal access token being available in the TOKEN environment variable. + */ +const graphql = unauthenticatedGraphql.defaults({ + headers: { + // TODO(josephperrott): Remove reference to TOKEN environment variable as part of larger + // effort to migrate to expecting tokens via GITHUB_ACCESS_TOKEN environment variables. + authorization: `token ${process.env.TOKEN || process.env.GITHUB_ACCESS_TOKEN}`, + } +}); + +/** Get a PR from github */ +export async function getPr( + prSchema: PrSchema, prNumber: number, {owner, name}: GithubConfig) { + const PR_QUERY = params( + { + $number: 'Int!', // The PR number + $owner: 'String!', // The organization to query for + $name: 'String!', // The organization to query for + }, + { + repository: params({owner: '$owner', name: '$name'}, { + pullRequest: params({number: '$number'}, prSchema), + }) + }); + + const result = + await graphql(graphqlQuery(PR_QUERY), {number: prNumber, owner, name}) as typeof PR_QUERY; + return result.repository.pullRequest; +} + +/** Get all pending PRs from github */ +export async function getPendingPrs(prSchema: PrSchema, {owner, name}: GithubConfig) { + // The GraphQL query object to get a page of pending PRs + const PRS_QUERY = params( + { + $first: 'Int', // How many entries to get with each request + $after: 'String', // The cursor to start the page at + $owner: 'String!', // The organization to query for + $name: 'String!', // The repository to query for + }, + { + repository: params({owner: '$owner', name: '$name'}, { + pullRequests: params( + { + first: '$first', + after: '$after', + states: `OPEN`, + }, + { + nodes: [prSchema], + pageInfo: { + hasNextPage: types.boolean, + endCursor: types.string, + }, + }), + }) + }); + const query = graphqlQuery('members', PRS_QUERY); + + /** + * Gets the query and queryParams for a specific page of entries. + */ + const queryBuilder = (count: number, cursor?: string) => { + return { + query, + params: { + after: cursor || null, + first: count, + owner, + name, + }, + }; + }; + + // The current cursor + let cursor: string|undefined; + // If an additional page of members is expected + let hasNextPage = true; + // Array of pending PRs + const prs: Array = []; + + // For each page of the response, get the page and add it to the + // list of PRs + while (hasNextPage) { + const {query, params} = queryBuilder(100, cursor); + const results = await graphql(query, params) as typeof PRS_QUERY; + + prs.push(...results.repository.pullRequests.nodes); + hasNextPage = results.repository.pullRequests.pageInfo.hasNextPage; + cursor = results.repository.pullRequests.pageInfo.endCursor; + } + return prs; +} diff --git a/dev-infra/utils/repo-files.ts b/dev-infra/utils/repo-files.ts index b22e2d1859..7cfbc09ec4 100644 --- a/dev-infra/utils/repo-files.ts +++ b/dev-infra/utils/repo-files.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {exec} from 'shelljs'; import {getRepoBaseDir} from './config'; +import {exec} from './shelljs'; /** * A list of all files currently in the repo which have been modified since the provided sha. @@ -33,8 +33,5 @@ export function allFiles() { function gitOutputAsArray(cmd: string) { - return exec(cmd, {cwd: getRepoBaseDir(), silent: true}) - .split('\n') - .map(x => x.trim()) - .filter(x => !!x); + return exec(cmd, {cwd: getRepoBaseDir()}).split('\n').map(x => x.trim()).filter(x => !!x); } diff --git a/dev-infra/utils/shelljs.ts b/dev-infra/utils/shelljs.ts new file mode 100644 index 0000000000..0040b4135b --- /dev/null +++ b/dev-infra/utils/shelljs.ts @@ -0,0 +1,17 @@ +/** + * @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 {exec as _exec, ExecOptions, ShellString} from 'shelljs'; + +/** + * Runs an given command as child process. By default, child process + * output will not be printed. + */ +export function exec(cmd: string, opts?: Omit): ShellString { + return _exec(cmd, {silent: true, ...opts, async: false}); +} diff --git a/dev-infra/utils/ts-node.ts b/dev-infra/utils/ts-node.ts new file mode 100644 index 0000000000..f8bb140794 --- /dev/null +++ b/dev-infra/utils/ts-node.ts @@ -0,0 +1,17 @@ +/** + * @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 + */ + +/** Whether ts-node has been installed and is available to ng-dev. */ +export function isTsNodeAvailable(): boolean { + try { + require.resolve('ts-node'); + return true; + } catch { + return false; + } +} diff --git a/docs/COMMITTER.md b/docs/COMMITTER.md index a66ed3faa7..77b1dc8e38 100644 --- a/docs/COMMITTER.md +++ b/docs/COMMITTER.md @@ -7,7 +7,7 @@ As a contributor, see the instructions in [CONTRIBUTING.md](../CONTRIBUTING.md). # Change approvals -Change approvals in our monorepo are managed via [PullApprove](https://https://docs.pullapprove.com/) and are configured via the [`.pullapprove`](../.pullapprove) file. +Change approvals in our monorepo are managed via [PullApprove](https://docs.pullapprove.com/) and are configured via the [`.pullapprove`](../.pullapprove) file. # Merging diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index 522fbda0da..340f3194ea 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -76,7 +76,7 @@ node ./scripts/build/build-packages-dist.js ## Running Tests Locally -Bazel is used as the primary tool for building and testing Angular. Building and testing is +Bazel is used as the primary tool for building and testing Angular. Building and testing are incremental with Bazel, and it's possible to only run tests for an individual package instead of for all packages. Read more about this in the [BAZEL.md](./BAZEL.md) document. @@ -89,7 +89,9 @@ benefit from Bazel's capability to do incremental builds. All the tests are executed on our Continuous Integration infrastructure. PRs can only be merged if the code is formatted properly and all tests are passing. +
    + ## Formatting your source code Angular uses [clang-format](http://clang.llvm.org/docs/ClangFormat.html) to format the source code. @@ -188,7 +190,7 @@ a. Any transitive dependencies of the copied packages will not be automatically b. The packages need to be copied over every time `npm/yarn install` is run. c. Some package managers (such as `pnpm` or `yarn pnp`) might not work correctly. -### Publishing to GitHub repos +### Publishing to GitHub Repos You can also manually publish `*-builds` snapshots just like our CircleCI build does for upstream builds. Before being able to publish the packages, you need to build them locally by running the `./scripts/build/build-packages-dist.js` script. diff --git a/goldens/public-api/core/core.d.ts b/goldens/public-api/core/core.d.ts index ad94e2c480..48bb530ff1 100644 --- a/goldens/public-api/core/core.d.ts +++ b/goldens/public-api/core/core.d.ts @@ -163,11 +163,11 @@ export declare interface ConstructorSansProvider { export declare type ContentChild = Query; export declare interface ContentChildDecorator { - (selector: Type | Function | string, opts?: { + (selector: Type | InjectionToken | Function | string, opts?: { read?: any; static?: boolean; }): any; - new (selector: Type | Function | string, opts?: { + new (selector: Type | InjectionToken | Function | string, opts?: { read?: any; static?: boolean; }): ContentChild; @@ -176,11 +176,11 @@ export declare interface ContentChildDecorator { export declare type ContentChildren = Query; export declare interface ContentChildrenDecorator { - (selector: Type | Function | string, opts?: { + (selector: Type | InjectionToken | Function | string, opts?: { descendants?: boolean; read?: any; }): any; - new (selector: Type | Function | string, opts?: { + new (selector: Type | InjectionToken | Function | string, opts?: { descendants?: boolean; read?: any; }): Query; @@ -297,7 +297,7 @@ export declare interface DoCheck { ngDoCheck(): void; } -export declare class ElementRef { +export declare class ElementRef { nativeElement: T; constructor(nativeElement: T); } @@ -313,12 +313,18 @@ export declare class ErrorHandler { handleError(error: any): void; } -export declare class EventEmitter extends Subject { - constructor(isAsync?: boolean); +export declare interface EventEmitter extends Subject { + new (isAsync?: boolean): EventEmitter; emit(value?: T): void; subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription; } +export declare const EventEmitter: { + new (isAsync?: boolean): EventEmitter; + new (isAsync?: boolean): EventEmitter; + readonly prototype: EventEmitter; +}; + export declare interface ExistingProvider extends ExistingSansProvider { multi?: boolean; provide: any; @@ -719,12 +725,10 @@ export declare type ɵɵComponentDefWithMeta any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): typeof ɵɵcomponentHostSyntheticListener; -export declare function ɵɵcontentQuery(directiveIndex: number, predicate: Type | string[], descend: boolean, read?: any): void; +export declare function ɵɵcontentQuery(directiveIndex: number, predicate: Type | InjectionToken | string[], descend: boolean, read?: any): void; export declare function ɵɵCopyDefinitionFeature(definition: ɵDirectiveDef | ɵComponentDef): void; -export declare const ɵɵdefaultStyleSanitizer: StyleSanitizeFn; - export declare function ɵɵdefineComponent(componentDefinition: { type: Type; selectors?: ɵCssSelectorList; @@ -976,7 +980,7 @@ export declare function ɵɵresolveWindow(element: RElement & { ownerDocument: Document; }): { name: string; - target: Window | null; + target: (Window & typeof globalThis) | null; }; export declare function ɵɵrestoreView(viewToRestore: OpaqueViewState): void; @@ -1004,9 +1008,9 @@ export declare function ɵɵsetNgModuleScope(type: any, scope: { exports?: Type[] | (() => Type[]); }): void; -export declare function ɵɵstaticContentQuery(directiveIndex: number, predicate: Type | string[], descend: boolean, read?: any): void; +export declare function ɵɵstaticContentQuery(directiveIndex: number, predicate: Type | InjectionToken | string[], descend: boolean, read?: any): void; -export declare function ɵɵstaticViewQuery(predicate: Type | string[], descend: boolean, read?: any): void; +export declare function ɵɵstaticViewQuery(predicate: Type | InjectionToken | string[], descend: boolean, read?: any): void; export declare function ɵɵstyleMap(styles: { [styleName: string]: any; @@ -1050,8 +1054,6 @@ export declare function ɵɵstylePropInterpolate8(prop: string, prefix: string, export declare function ɵɵstylePropInterpolateV(prop: string, values: any[], valueSuffix?: string | null): typeof ɵɵstylePropInterpolateV; -export declare function ɵɵstyleSanitizer(sanitizer: StyleSanitizeFn | null): void; - export declare function ɵɵtemplate(index: number, templateFn: ComponentTemplate | null, decls: number, vars: number, tagName?: string | null, attrsIndex?: number | null, localRefsIndex?: number | null, localRefExtractor?: LocalRefExtractor): void; export declare function ɵɵtemplateRefExtractor(tNode: TNode, currentView: ɵangular_packages_core_core_bo): TemplateRef | null; @@ -1080,7 +1082,7 @@ export declare function ɵɵtextInterpolateV(values: any[]): typeof ɵɵtextInte export declare function ɵɵupdateSyntheticHostBinding(propName: string, value: T | ɵNO_CHANGE, sanitizer?: SanitizerFn | null): typeof ɵɵupdateSyntheticHostBinding; -export declare function ɵɵviewQuery(predicate: Type | string[], descend: boolean, read?: any): void; +export declare function ɵɵviewQuery(predicate: Type | InjectionToken | string[], descend: boolean, read?: any): void; export declare const PACKAGE_ROOT_URL: InjectionToken; @@ -1383,11 +1385,11 @@ export declare const VERSION: Version; export declare type ViewChild = Query; export declare interface ViewChildDecorator { - (selector: Type | Function | string, opts?: { + (selector: Type | InjectionToken | Function | string, opts?: { read?: any; static?: boolean; }): any; - new (selector: Type | Function | string, opts?: { + new (selector: Type | InjectionToken | Function | string, opts?: { read?: any; static?: boolean; }): ViewChild; @@ -1396,10 +1398,10 @@ export declare interface ViewChildDecorator { export declare type ViewChildren = Query; export declare interface ViewChildrenDecorator { - (selector: Type | Function | string, opts?: { + (selector: Type | InjectionToken | Function | string, opts?: { read?: any; }): any; - new (selector: Type | Function | string, opts?: { + new (selector: Type | InjectionToken | Function | string, opts?: { read?: any; }): ViewChildren; } diff --git a/goldens/public-api/platform-server/platform-server.d.ts b/goldens/public-api/platform-server/platform-server.d.ts index c7c635e5f4..7db0b77e97 100644 --- a/goldens/public-api/platform-server/platform-server.d.ts +++ b/goldens/public-api/platform-server/platform-server.d.ts @@ -5,6 +5,7 @@ export declare const INITIAL_CONFIG: InjectionToken; export declare interface PlatformConfig { document?: string; url?: string; + useAbsoluteUrl?: boolean; } export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; diff --git a/goldens/public-api/router/router.d.ts b/goldens/public-api/router/router.d.ts index 9f64ce7520..f83df4d485 100644 --- a/goldens/public-api/router/router.d.ts +++ b/goldens/public-api/router/router.d.ts @@ -380,7 +380,7 @@ export declare class RouterLink { }; queryParamsHandling: QueryParamsHandling; replaceUrl: boolean; - set routerLink(commands: any[] | string); + set routerLink(commands: any[] | string | null | undefined); skipLocationChange: boolean; state?: { [k: string]: any; @@ -398,7 +398,7 @@ export declare class RouterLinkActive implements OnChanges, OnDestroy, AfterCont routerLinkActiveOptions: { exact: boolean; }; - constructor(router: Router, element: ElementRef, renderer: Renderer2, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined); + constructor(router: Router, element: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined); ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; @@ -408,13 +408,13 @@ export declare class RouterLinkWithHref implements OnChanges, OnDestroy { fragment: string; href: string; preserveFragment: boolean; - set preserveQueryParams(value: boolean); + /** @deprecated */ set preserveQueryParams(value: boolean); queryParams: { [k: string]: any; }; queryParamsHandling: QueryParamsHandling; replaceUrl: boolean; - set routerLink(commands: any[] | string); + set routerLink(commands: any[] | string | null | undefined); skipLocationChange: boolean; state?: { [k: string]: any; diff --git a/goldens/size-tracking/aio-payloads.json b/goldens/size-tracking/aio-payloads.json index ae822a944b..3189fe1905 100755 --- a/goldens/size-tracking/aio-payloads.json +++ b/goldens/size-tracking/aio-payloads.json @@ -3,7 +3,7 @@ "master": { "uncompressed": { "runtime-es2015": 2987, - "main-es2015": 454032, + "main-es2015": 453213, "polyfills-es2015": 52685 } } @@ -12,8 +12,8 @@ "master": { "uncompressed": { "runtime-es2015": 2987, - "main-es2015": 453518, - "polyfills-es2015": 52195 + "main-es2015": 451406, + "polyfills-es2015": 52630 } } }, @@ -21,7 +21,7 @@ "master": { "uncompressed": { "runtime-es2015": 3097, - "main-es2015": 429742, + "main-es2015": 429710, "polyfills-es2015": 52195 } } diff --git a/goldens/size-tracking/integration-payloads.json b/goldens/size-tracking/integration-payloads.json index 1be3f61112..bc40e78b62 100644 --- a/goldens/size-tracking/integration-payloads.json +++ b/goldens/size-tracking/integration-payloads.json @@ -3,8 +3,8 @@ "master": { "uncompressed": { "runtime-es2015": 1485, - "main-es2015": 142794, - "polyfills-es2015": 36657 + "main-es2015": 141151, + "polyfills-es2015": 36571 } } }, @@ -13,7 +13,7 @@ "uncompressed": { "runtime-es2015": 1485, "main-es2015": 16959, - "polyfills-es2015": 36657 + "polyfills-es2015": 36938 } } }, @@ -21,8 +21,8 @@ "master": { "uncompressed": { "runtime-es2015": 1485, - "main-es2015": 148932, - "polyfills-es2015": 36657 + "main-es2015": 147314, + "polyfills-es2015": 36571 } } }, @@ -30,8 +30,8 @@ "master": { "uncompressed": { "runtime-es2015": 1485, - "main-es2015": 138343, - "polyfills-es2015": 37334 + "main-es2015": 136302, + "polyfills-es2015": 37248 } } }, @@ -39,8 +39,8 @@ "master": { "uncompressed": { "runtime-es2015": 2289, - "main-es2015": 247761, - "polyfills-es2015": 36657, + "main-es2015": 246085, + "polyfills-es2015": 36938, "5-es2015": 751 } } @@ -49,8 +49,8 @@ "master": { "uncompressed": { "runtime-es2015": 2289, - "main-es2015": 222907, - "polyfills-es2015": 36657, + "main-es2015": 221268, + "polyfills-es2015": 36938, "5-es2015": 779 } } @@ -60,7 +60,9 @@ "uncompressed": { "bundle": "TODO(i): temporarily increase the payload size limit from 105779 - this is due to a closure issue related to ESM reexports that still needs to be investigated", "bundle": "TODO(i): we should define ngDevMode to false in Closure, but --define only works in the global scope.", - "bundle": 169991 + "bundle": "TODO(i): (FW-2164) TS 3.9 new class shape seems to have broken Closure in big ways. The size went from 169991 to 252338", + "bundle": "TODO(i): after removal of tsickle from ngc-wrapped / ng_package, we had to switch to SIMPLE optimizations which increased the size from 252338 to 1198917, see PR#37221 and PR#37317 for more info", + "bundle": 1209688 } } } diff --git a/gulpfile.js b/gulpfile.js index d83869224c..0b281c445b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,29 +33,3 @@ gulp.task('changelog:zonejs', loadTask('changelog-zonejs')); gulp.task('check-env', () => {/* this is a noop because the env test ran already above */}); gulp.task('cldr:extract', loadTask('cldr', 'extract')); gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure')); - - -// TODO(josephperrott): Remove old task entries and deprecation notice after deprecation period. -/** Notify regarding `gulp format:*` deprecation. */ -function gulpFormatDeprecationNotice() { - console.info(`######################################################################`) - console.info(`gulp format is deprecated in favor of running the formatter via ng-dev`); - console.info(); - console.info(`You can find more usage information by running:`); - console.info(` yarn ng-dev format --help`); - console.info(); - console.info(`For more on the rationale and effects of this deprecation visit:`); - console.info(` https://github.com/angular/angular/pull/36726#issue-406278018`); - console.info(`######################################################################`) - process.exit(1); -} -gulp.task('format:all', gulpFormatDeprecationNotice); -gulp.task('format:all:enforce', gulpFormatDeprecationNotice); -gulp.task('format:untracked', gulpFormatDeprecationNotice); -gulp.task('format:untracked:enforce', gulpFormatDeprecationNotice); -gulp.task('format:diff', gulpFormatDeprecationNotice); -gulp.task('format:diff:enforce', gulpFormatDeprecationNotice); -gulp.task('format:changed', gulpFormatDeprecationNotice); -gulp.task('format:changed:enforce', gulpFormatDeprecationNotice); -gulp.task('format', gulpFormatDeprecationNotice); -gulp.task('lint', gulpFormatDeprecationNotice); diff --git a/integration/BUILD.bazel b/integration/BUILD.bazel index e019404df6..b352583c40 100644 --- a/integration/BUILD.bazel +++ b/integration/BUILD.bazel @@ -5,7 +5,7 @@ load(":angular_integration_test.bzl", "angular_integration_test") # # Where `ng e2e` is used we pass `ng e2e --port 0` which prompts the cli # to select a random free port for the the e2e test. The protractor.conf is -# automaticaly updated to use this port. +# automatically updated to use this port. # # Karma automatically finds a free port so no effort is needed there. # @@ -33,28 +33,24 @@ INTEGRATION_TESTS = { "no-ivy-aot", ], }, - "bazel-schematics": { - "tags": [ - # Bazel-in-bazel tests are resource intensive and should not be over-parallized - # as they will complete for the resources of other parallel tests slowing - # everything down. Ask Bazel to allocate multiple CPUs for these tests with "cpu:n" tag. - "cpu:3", - "no-ivy-aot", - ], - }, "cli-hello-world": {"commands": "payload_size_tracking"}, "cli-hello-world-ivy-compat": {"commands": "payload_size_tracking"}, "cli-hello-world-ivy-i18n": { "commands": "payload_size_tracking", - "tags": ["no-ivy-aot"], + # TODO: (FW-2165) cli-hello-world-ivy-i18n fails on a bundle size check with Ivy bundles + "tags": ["fixme-ivy-aot"], }, "cli-hello-world-ivy-minimal": {"commands": "payload_size_tracking"}, "cli-hello-world-lazy": { "commands": "payload_size_tracking", - # TODO: cli-hello-world-lazy fails on a bundle size check with Ivy bundles + # TODO: (FW-2165) cli-hello-world-lazy fails on a bundle size check with Ivy bundles + "tags": ["fixme-ivy-aot"], + }, + "cli-hello-world-lazy-rollup": { + "commands": "payload_size_tracking", + # TODO: cli-hello-world-lazy-rollup fails on a bundle size check because Ivy and VE sizes are different "tags": ["no-ivy-aot"], }, - "cli-hello-world-lazy-rollup": {"commands": "payload_size_tracking"}, "dynamic-compiler": {"tags": ["no-ivy-aot"]}, "hello_world__closure": { "commands": "payload_size_tracking", @@ -80,6 +76,12 @@ INTEGRATION_TESTS = { "service-worker-schema": {}, "side-effects": {"tags": ["no-ivy-aot"]}, "terser": {}, + "typings_test_ts39": { + # Special case for `typings_test_ts39` test as we want to pin + # `typescript` at version 3.9.x for that test and not link to the + # root @npm//typescript package. + "pinned_npm_packages": ["typescript"], + }, } [ diff --git a/integration/angular_integration_test.bzl b/integration/angular_integration_test.bzl index 646f18ccdd..b331062191 100644 --- a/integration/angular_integration_test.bzl +++ b/integration/angular_integration_test.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 @@ -12,6 +12,7 @@ load("//tools/npm_integration_test:npm_integration_test.bzl", "npm_integration_t NPM_PACKAGE_ARCHIVES = [ "check-side-effects", "core-js", + "google-closure-compiler", "jasmine", "typescript", "rxjs", diff --git a/integration/bazel-schematics/.gitignore b/integration/bazel-schematics/.gitignore deleted file mode 100644 index 9ec4012432..0000000000 --- a/integration/bazel-schematics/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/demo \ No newline at end of file diff --git a/integration/bazel-schematics/package.json b/integration/bazel-schematics/package.json deleted file mode 100644 index 2d3a64e1a9..0000000000 --- a/integration/bazel-schematics/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "bazel-schematics", - "version": "1.0.0", - "main": "index.js", - "license": "MIT", - "devDependencies": { - "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", - "@angular/animations": "file:../../dist/packages-dist/animations", - "@angular/bazel": "file:../../dist/packages-dist/bazel", - "@angular/cli": "file:../../node_modules/@angular/cli", - "@angular/common": "file:../../dist/packages-dist/common", - "@angular/compiler": "file:../../dist/packages-dist/compiler", - "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", - "@angular/core": "file:../../dist/packages-dist/core", - "@angular/forms": "file:../../dist/packages-dist/forms", - "@angular/language-service": "file:../../dist/packages-dist/language-service", - "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", - "@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic", - "@angular/router": "file:../../dist/packages-dist/router", - "@types/node": "file:../../node_modules/@types/node", - "patch-package": "^6.2.1", - "protractor": "file:../../node_modules/protractor", - "puppeteer": "file:../../node_modules/puppeteer", - "typescript": "file:../../node_modules/typescript", - "tslib": "file:../../node_modules/tslib" - }, - "//resolutions-comment": "Ensure a single version of webdriver-manager which comes from root node_modules that has already run webdriver-manager update", - "resolutions": { - "**/webdriver-manager": "file:../../node_modules/webdriver-manager" - }, - "scripts": { - "test": "./test.sh", - "postinstall": "patch-package" - } -} diff --git a/integration/bazel-schematics/patches/@angular+bazel+0.0.0.patch b/integration/bazel-schematics/patches/@angular+bazel+0.0.0.patch deleted file mode 100644 index 2d82700b1e..0000000000 --- a/integration/bazel-schematics/patches/@angular+bazel+0.0.0.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/node_modules/@angular/bazel/src/builders/files/WORKSPACE.template b/node_modules/@angular/bazel/src/builders/files/WORKSPACE.template -index 9aad043..e767dc6 100755 ---- a/node_modules/@angular/bazel/src/builders/files/WORKSPACE.template -+++ b/node_modules/@angular/bazel/src/builders/files/WORKSPACE.template -@@ -10,7 +10,7 @@ - # imports also make sense when referencing the published package. - workspace( - name = "project", -- managed_directories = {"@npm": ["node_modules"]}, -+ # managed_directories = {"@npm": ["node_modules"]}, - ) - - load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -@@ -67,6 +67,11 @@ node_repositories( - yarn_install( - name = "npm", - package_json = "//:package.json", -+ # Turn off symlink_node_modules here as it causes flakiness with missing -+ # files in node_modules. -+ # TODO: track down the root cause of the flakiness; current suspect is that -+ # it is an issue with managed_directories when resources are limited -+ symlink_node_modules = False, - yarn_lock = "//:yarn.lock", - ) - diff --git a/integration/bazel-schematics/test.sh b/integration/bazel-schematics/test.sh deleted file mode 100755 index a9292fd9aa..0000000000 --- a/integration/bazel-schematics/test.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env bash - -set -eux -o pipefail - -# sedi makes `sed -i` work on both OSX & Linux -# See https://stackoverflow.com/questions/2320564/i-need-my-sed-i-command-for-in-place-editing-to-work-with-both-gnu-sed-and-bsd -function sedi () { - case $(uname) in - Darwin*) sedi=('-i' '') ;; - *) sedi='-i' ;; - esac - - sed "${sedi[@]}" "$@" -} - -function installLocalPackages() { - # Install Angular packages that are built locally from HEAD. - # This also gets around the bug whereby yarn caches local `file://` urls. - # See https://github.com/yarnpkg/yarn/issues/2165 - readonly pwd=$(pwd) - readonly packages=( - animations common compiler core forms platform-browser - platform-browser-dynamic router bazel compiler-cli language-service - ) - local local_packages=() - for package in "${packages[@]}"; do - local_packages+=("@angular/${package}@file:${pwd}/../node_modules/@angular/${package}") - done - - # keep protractor, typescript, tslib, and @types/node versions in sync with the ones used in this repo - local_packages+=("protractor@file:${pwd}/../node_modules/protractor") - local_packages+=("typescript@file:${pwd}/../node_modules/typescript") - local_packages+=("tslib@file:${pwd}/../node_modules/tslib") - local_packages+=("@types/node@file:${pwd}/../node_modules/@types/node") - - # add protractor, puppeteer & webdriver-manager so we get the chrome & chromedriver binaries - # that have already been downloaded at the root - local_packages+=("puppeteer@file:${pwd}/../node_modules/puppeteer") - local_packages+=("webdriver-manager@file:${pwd}/../node_modules/webdriver-manager") - - yarn add --ignore-scripts --silent "${local_packages[@]}" --cache-folder ./.yarn_local_cache -} - -function patchKarmaConf() { - sedi "s#module.exports#process.env.CHROME_BIN = require\('puppeteer'\).executablePath\(\); module.exports#" ./karma.conf.js - sedi "s#browsers\: \['Chrome'\],#customLaunchers\: \{ ChromeHeadlessNoSandbox\: \{ base\: 'ChromeHeadless', flags\: \['--no-sandbox', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--hide-scrollbars', '--mute-audio'\] \} \}, browsers\: \['ChromeHeadlessNoSandbox'\],#" ./karma.conf.js -} - -function patchProtractorConf() { - sedi "s#browserName\: 'chrome'#browserName\: 'chrome', chromeOptions\: \{ binary: require\('puppeteer'\).executablePath\(\), args: \['--no-sandbox', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--hide-scrollbars', '--mute-audio'\] \},#" ./e2e/protractor.conf.js -} - -function testBazel() { - # Set up - ng version - rm -rf demo - # Create project - ng new demo --collection=@angular/bazel --routing --skip-git --skip-install --style=scss - cd demo - # Use a local yarn cache folder so we don't access the global yarn cache - mkdir .yarn_local_cache - patchKarmaConf - patchProtractorConf - installLocalPackages - ng generate component widget --style=css - ng build - ng test - ng e2e - ng e2e --prod - if [ -e 'WORKSPACE' ] || [ -e 'BUILD.bazel' ]; then - echo 'WORKSPACE / BUILD.bazel file should not exist in project' - exit 1 - fi -} - -function testNonBazel() { - # Replace angular.json that uses Bazel builder with the default generated by CLI - mv ./angular.json.bak ./angular.json - rm -rf dist src/main.dev.ts src/main.prod.ts - # disable CLI's version check (if version is 0.0.0, then no version check happens) - yarn --cwd node_modules/@angular/cli version --new-version 0.0.0 --no-git-tag-version - # re-add build-angular - yarn add --dev file:../node_modules/@angular-devkit/build-angular --cache-folder ./.yarn_local_cache - ng build --progress=false - ng test --progress=false --watch=false - ng e2e --port 0 --configuration=production --webdriver-update=false -} - -testBazel - -# this test verifies that users can undo bazel - the value of this is questionable -# because there are way too many manual steps and it would be easier for users to -# just revert the diff created by `ng add @angular/bazel` -testNonBazel diff --git a/integration/bazel-schematics/yarn.lock b/integration/bazel-schematics/yarn.lock deleted file mode 100644 index 34dd332367..0000000000 --- a/integration/bazel-schematics/yarn.lock +++ /dev/null @@ -1,8344 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@angular-devkit/architect@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.900.3.tgz#9c396733abd12fbb1d5bbc4542b2ee52418adb02" - integrity sha512-4UHc58Dlc5XHY3eiYSX9gytLyPNYixGSRwLcc/LRwuPgrmUFKPzCN3nwgB+9kc03/HN89CsJ1rS1scid6N6vxQ== - dependencies: - "@angular-devkit/core" "9.0.3" - rxjs "6.5.3" - -"@angular-devkit/build-angular@file:../../node_modules/@angular-devkit/build-angular": - version "0.900.3" - dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/build-optimizer" "0.900.3" - "@angular-devkit/build-webpack" "0.900.3" - "@angular-devkit/core" "9.0.3" - "@babel/core" "7.7.7" - "@babel/generator" "7.7.7" - "@babel/preset-env" "7.7.7" - "@ngtools/webpack" "9.0.3" - ajv "6.10.2" - autoprefixer "9.7.1" - babel-loader "8.0.6" - browserslist "4.8.3" - cacache "13.0.1" - caniuse-lite "1.0.30001020" - circular-dependency-plugin "5.2.0" - copy-webpack-plugin "5.1.1" - core-js "3.6.0" - coverage-istanbul-loader "2.0.3" - cssnano "4.1.10" - file-loader "4.2.0" - find-cache-dir "3.0.0" - glob "7.1.5" - jest-worker "24.9.0" - karma-source-map-support "1.4.0" - less "3.10.3" - less-loader "5.0.0" - license-webpack-plugin "2.1.3" - loader-utils "1.2.3" - magic-string "0.25.4" - mini-css-extract-plugin "0.8.0" - minimatch "3.0.4" - open "7.0.0" - parse5 "4.0.0" - postcss "7.0.21" - postcss-import "12.0.1" - postcss-loader "3.0.0" - raw-loader "3.1.0" - regenerator-runtime "0.13.3" - rimraf "3.0.0" - rollup "1.25.2" - rxjs "6.5.3" - sass "1.23.3" - sass-loader "8.0.0" - semver "6.3.0" - source-map "0.7.3" - source-map-loader "0.2.4" - source-map-support "0.5.16" - speed-measure-webpack-plugin "1.3.1" - style-loader "1.0.0" - stylus "0.54.7" - stylus-loader "3.0.2" - terser "4.5.1" - terser-webpack-plugin "2.3.3" - tree-kill "1.2.2" - webpack "4.41.2" - webpack-dev-middleware "3.7.2" - webpack-dev-server "3.9.0" - webpack-merge "4.2.2" - webpack-sources "1.4.3" - webpack-subresource-integrity "1.3.4" - worker-plugin "3.2.0" - -"@angular-devkit/build-optimizer@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.900.3.tgz#91f90c56affb0be9f7910dfc1d414f16c21c2c3f" - integrity sha512-VLAWtAXpOzOoYUJrN6sT90UdIdvrVIipkzGz7nfI1kscDvxUFwVZnsNNHtFinaY2SfZAunHhYQOA/B9FJ8WPdQ== - dependencies: - loader-utils "1.2.3" - source-map "0.7.3" - tslib "1.10.0" - typescript "3.6.4" - webpack-sources "1.4.3" - -"@angular-devkit/build-webpack@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.900.3.tgz#4a2fd13cebe190c091606e18397a1f7cccfab6bb" - integrity sha512-9gSTLWf7yq/XBOec0CtZcjNMsC7L8IuVDProBQHps2SvTfr982DtHfEge95J2lc9BjRbqidv+phImFsQ1J3mFA== - dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/core" "9.0.3" - rxjs "6.5.3" - -"@angular-devkit/core@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-9.0.3.tgz#a027862d2edd981afcc6245176e9f27768c631c9" - integrity sha512-3+abmv9K9d+BVgUAolYgoOqlGAA2Jb1pWo2biapSDG6KjUZHUCJdnsKigLtLorCdv0SrjTp56FFplkcqKsFQgA== - dependencies: - ajv "6.10.2" - fast-json-stable-stringify "2.0.0" - magic-string "0.25.4" - rxjs "6.5.3" - source-map "0.7.3" - -"@angular-devkit/schematics@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-9.0.3.tgz#e65fa1ce08a3d5ef0af594b623024439c1110a0d" - integrity sha512-BQnZtFQPLZZOijhuEndtzL6cOnhaE8nNxupkRHavWohOMStnLsRyvVJj6JVDkf37wvT5koqTNjHhbdMxcCRc6A== - dependencies: - "@angular-devkit/core" "9.0.3" - ora "4.0.2" - rxjs "6.5.3" - -"@angular/animations@file:../../dist/packages-dist/animations": - version "9.1.0-next.4" - -"@angular/bazel@file:../../dist/packages-dist/bazel": - version "9.1.0-next.4" - dependencies: - "@microsoft/api-extractor" "^7.3.9" - shelljs "0.8.2" - tsickle "^0.38.0" - -"@angular/cli@file:../../node_modules/@angular/cli": - version "9.0.3" - dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" - "@schematics/angular" "9.0.3" - "@schematics/update" "0.900.3" - "@yarnpkg/lockfile" "1.1.0" - ansi-colors "4.1.1" - debug "^4.1.1" - ini "1.3.5" - inquirer "7.0.0" - npm-package-arg "6.1.1" - npm-pick-manifest "3.0.2" - open "7.0.0" - pacote "9.5.8" - read-package-tree "5.3.1" - rimraf "3.0.0" - semver "6.3.0" - symbol-observable "1.2.0" - universal-analytics "^0.4.20" - uuid "^3.3.2" - -"@angular/common@file:../../dist/packages-dist/common": - version "9.1.0-next.4" - -"@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.1.0-next.4" - dependencies: - canonical-path "1.0.0" - chokidar "^3.0.0" - convert-source-map "^1.5.1" - dependency-graph "^0.7.2" - fs-extra "4.0.2" - magic-string "^0.25.0" - minimist "^1.2.0" - reflect-metadata "^0.1.2" - semver "^6.3.0" - source-map "^0.6.1" - sourcemap-codec "^1.4.8" - yargs "15.3.0" - -"@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.1.0-next.4" - -"@angular/core@file:../../dist/packages-dist/core": - version "9.1.0-next.4" - -"@angular/forms@file:../../dist/packages-dist/forms": - version "9.1.0-next.4" - -"@angular/language-service@file:../../dist/packages-dist/language-service": - version "9.1.0-next.4" - -"@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.1.0-next.4" - -"@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.1.0-next.4" - -"@angular/router@file:../../dist/packages-dist/router": - version "9.1.0-next.4" - -"@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" - integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== - dependencies: - "@babel/highlight" "^7.8.3" - -"@babel/core@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" - integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.7" - "@babel/helpers" "^7.7.4" - "@babel/parser" "^7.7.7" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/core@^7.7.5": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" - integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.8.4" - "@babel/helpers" "^7.8.4" - "@babel/parser" "^7.8.4" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.4" - "@babel/types" "^7.8.3" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.1" - json5 "^2.1.0" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/generator@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" - integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== - dependencies: - "@babel/types" "^7.7.4" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/generator@^7.7.7", "@babel/generator@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.8.4.tgz#35bbc74486956fe4251829f9f6c48330e8d0985e" - integrity sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA== - dependencies: - "@babel/types" "^7.8.3" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/helper-annotate-as-pure@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" - integrity sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" - integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== - dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-call-delegate@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692" - integrity sha512-6Q05px0Eb+N4/GTyKPPvnkig7Lylw+QzihMpws9iiZQv7ZImf84ZsZpQH7QoWN4n4tm81SnSzPgHw2qtO0Zf3A== - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-create-regexp-features-plugin@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.3.tgz#c774268c95ec07ee92476a3862b75cc2839beb79" - integrity sha512-Gcsm1OHCUr9o9TcJln57xhWHtdXbA2pgQ58S0Lxlks0WMGNXuki4+GLfX0p+L2ZkINUGZvfkz8rzoqJQSthI+Q== - dependencies: - "@babel/helper-regex" "^7.8.3" - regexpu-core "^4.6.0" - -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" - lodash "^4.17.13" - -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== - dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" - integrity sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA== - dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-get-function-arity@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" - integrity sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-member-expression-to-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" - integrity sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-imports@^7.7.4", "@babel/helper-module-imports@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" - integrity sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-transforms@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590" - integrity sha512-C7NG6B7vfBa/pwCOshpMbOYUmrYQDfCpVL/JCRu0ek8B5p8kue1+BCXpg2vOYs7w5ACB9GTOBYQ5U6NwrMg+3Q== - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - lodash "^4.17.13" - -"@babel/helper-optimise-call-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" - integrity sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" - integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== - -"@babel/helper-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" - integrity sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ== - dependencies: - lodash "^4.17.13" - -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-replace-supers@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" - integrity sha512-xOUssL6ho41U81etpLoT2RTdvdus4VfHamCuAm4AHxGr+0it5fnwoVdwUJ7GFEqCsQYzJUhcbsN9wB9apcYKFA== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-simple-access@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" - integrity sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw== - dependencies: - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-split-export-declaration@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" - integrity sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helpers@^7.7.4", "@babel/helpers@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73" - integrity sha512-VPbe7wcQ4chu4TDQjimHv/5tj73qz88o12EPkO2ValS2QiQS/1F2SsjyIGNnAD0vF/nZS6Cf9i+vW6HIlnaR8w== - dependencies: - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.4" - "@babel/types" "^7.8.3" - -"@babel/highlight@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" - integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - -"@babel/parser@^7.7.5", "@babel/parser@^7.7.7", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" - integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== - -"@babel/plugin-proposal-async-generator-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" - integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - -"@babel/plugin-proposal-dynamic-import@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - -"@babel/plugin-proposal-json-strings@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" - -"@babel/plugin-proposal-object-rest-spread@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb" - integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - -"@babel/plugin-proposal-optional-catch-binding@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - -"@babel/plugin-proposal-unicode-property-regex@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.3.tgz#b646c3adea5f98800c9ab45105ac34d06cd4a47f" - integrity sha512-1/1/rEZv2XGweRwwSkLpY+s60za9OZ1hJs4YDqFHCw0kYWYwL5IFljVY1MYBL+weT1l9pokDO2uhSTLVxzoHkQ== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-syntax-async-generators@^7.7.4", "@babel/plugin-syntax-async-generators@^7.8.0": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-dynamic-import@^7.7.4", "@babel/plugin-syntax-dynamic-import@^7.8.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" - integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-json-strings@^7.7.4", "@babel/plugin-syntax-json-strings@^7.8.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-object-rest-spread@^7.7.4", "@babel/plugin-syntax-object-rest-spread@^7.8.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.7.4", "@babel/plugin-syntax-optional-catch-binding@^7.8.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-top-level-await@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" - integrity sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-arrow-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-async-to-generator@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - -"@babel/plugin-transform-block-scoped-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-block-scoping@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - lodash "^4.17.13" - -"@babel/plugin-transform-classes@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.3.tgz#46fd7a9d2bb9ea89ce88720477979fe0d71b21b8" - integrity sha512-SjT0cwFJ+7Rbr1vQsvphAHwUHvSUPmMjMU/0P59G8U2HLFqSa082JO7zkbDNWs9kH/IUqpHI6xWNesGf8haF1w== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-destructuring@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b" - integrity sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-dotall-regex@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" - integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-duplicate-keys@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-exponentiation-operator@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-for-of@^7.7.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz#6fe8eae5d6875086ee185dd0b098a8513783b47d" - integrity sha512-iAXNlOWvcYUYoV8YIxwS7TxGRJcxyl8eQCfT+A5j8sKUzRFvJdcyjp97jL2IghWSRDaL2PU2O2tX8Cu9dTBq5A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-function-name@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-member-expression-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-modules-amd@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5" - integrity sha512-MadJiU3rLKclzT5kBH4yxdry96odTUwuqrZM+GllFI/VhxfPz+k9MshJM+MwhfkCdxxclSbSBbUGciBngR+kEQ== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - -"@babel/plugin-transform-modules-commonjs@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5" - integrity sha512-JpdMEfA15HZ/1gNuB9XEDlZM1h/gF/YOH7zaZzQu2xCFRfwc01NXBMHHSTT6hRjlXJJs5x/bfODM3LiCk94Sxg== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - -"@babel/plugin-transform-modules-systemjs@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.8.3.tgz#d8bbf222c1dbe3661f440f2f00c16e9bb7d0d420" - integrity sha512-8cESMCJjmArMYqa9AO5YuMEkE4ds28tMpZcGZB/jl3n0ZzlsxOAi3mC+SKypTfT8gjMupCnd3YiXCkMjj2jfOg== - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - -"@babel/plugin-transform-modules-umd@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.8.3.tgz#592d578ce06c52f5b98b02f913d653ffe972661a" - integrity sha512-evhTyWhbwbI3/U6dZAnx/ePoV7H6OUG+OjiJFHmhr9FPn0VShjwC2kdxqIuQ/+1P50TMrneGzMeyMTFOjKSnAw== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" - integrity sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - -"@babel/plugin-transform-new-target@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-object-super@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - -"@babel/plugin-transform-parameters@^7.7.7": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.4.tgz#1d5155de0b65db0ccf9971165745d3bb990d77d3" - integrity sha512-IsS3oTxeTsZlE5KqzTbcC2sV0P9pXdec53SU+Yxv7o/6dvGM5AkTotQKhoSffhNgZ/dftsSiOoxy7evCYJXzVA== - dependencies: - "@babel/helper-call-delegate" "^7.8.3" - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-property-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" - integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-regenerator@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.3.tgz#b31031e8059c07495bf23614c97f3d9698bc6ec8" - integrity sha512-qt/kcur/FxrQrzFR432FGZznkVAjiyFtCOANjkAKwCbt465L6ZCiUQh2oMYGU3Wo8LRFJxNDFwWn106S5wVUNA== - dependencies: - regenerator-transform "^0.14.0" - -"@babel/plugin-transform-reserved-words@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-shorthand-properties@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-spread@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-sticky-regex@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - -"@babel/plugin-transform-template-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-typeof-symbol@^7.7.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" - integrity sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-unicode-regex@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/preset-env@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.7.7.tgz#c294167b91e53e7e36d820e943ece8d0c7fe46ac" - integrity sha512-pCu0hrSSDVI7kCVUOdcMNQEbOPJ52E+LrQ14sN8uL2ALfSqePZQlKrOy+tM4uhEdYlCHi4imr8Zz2cZe9oSdIg== - dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.7.4" - "@babel/plugin-proposal-dynamic-import" "^7.7.4" - "@babel/plugin-proposal-json-strings" "^7.7.4" - "@babel/plugin-proposal-object-rest-spread" "^7.7.7" - "@babel/plugin-proposal-optional-catch-binding" "^7.7.4" - "@babel/plugin-proposal-unicode-property-regex" "^7.7.7" - "@babel/plugin-syntax-async-generators" "^7.7.4" - "@babel/plugin-syntax-dynamic-import" "^7.7.4" - "@babel/plugin-syntax-json-strings" "^7.7.4" - "@babel/plugin-syntax-object-rest-spread" "^7.7.4" - "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" - "@babel/plugin-syntax-top-level-await" "^7.7.4" - "@babel/plugin-transform-arrow-functions" "^7.7.4" - "@babel/plugin-transform-async-to-generator" "^7.7.4" - "@babel/plugin-transform-block-scoped-functions" "^7.7.4" - "@babel/plugin-transform-block-scoping" "^7.7.4" - "@babel/plugin-transform-classes" "^7.7.4" - "@babel/plugin-transform-computed-properties" "^7.7.4" - "@babel/plugin-transform-destructuring" "^7.7.4" - "@babel/plugin-transform-dotall-regex" "^7.7.7" - "@babel/plugin-transform-duplicate-keys" "^7.7.4" - "@babel/plugin-transform-exponentiation-operator" "^7.7.4" - "@babel/plugin-transform-for-of" "^7.7.4" - "@babel/plugin-transform-function-name" "^7.7.4" - "@babel/plugin-transform-literals" "^7.7.4" - "@babel/plugin-transform-member-expression-literals" "^7.7.4" - "@babel/plugin-transform-modules-amd" "^7.7.5" - "@babel/plugin-transform-modules-commonjs" "^7.7.5" - "@babel/plugin-transform-modules-systemjs" "^7.7.4" - "@babel/plugin-transform-modules-umd" "^7.7.4" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4" - "@babel/plugin-transform-new-target" "^7.7.4" - "@babel/plugin-transform-object-super" "^7.7.4" - "@babel/plugin-transform-parameters" "^7.7.7" - "@babel/plugin-transform-property-literals" "^7.7.4" - "@babel/plugin-transform-regenerator" "^7.7.5" - "@babel/plugin-transform-reserved-words" "^7.7.4" - "@babel/plugin-transform-shorthand-properties" "^7.7.4" - "@babel/plugin-transform-spread" "^7.7.4" - "@babel/plugin-transform-sticky-regex" "^7.7.4" - "@babel/plugin-transform-template-literals" "^7.7.4" - "@babel/plugin-transform-typeof-symbol" "^7.7.4" - "@babel/plugin-transform-unicode-regex" "^7.7.4" - "@babel/types" "^7.7.4" - browserslist "^4.6.0" - core-js-compat "^3.6.0" - invariant "^2.2.2" - js-levenshtein "^1.1.3" - semver "^5.5.0" - -"@babel/template@^7.7.4", "@babel/template@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" - integrity sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/parser" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/traverse@^7.7.4", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c" - integrity sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.8.4" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/parser" "^7.8.4" - "@babel/types" "^7.8.3" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" - -"@babel/types@^7.7.4", "@babel/types@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" - integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg== - dependencies: - esutils "^2.0.2" - lodash "^4.17.13" - to-fast-properties "^2.0.0" - -"@istanbuljs/schema@^0.1.2": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" - integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== - -"@microsoft/api-extractor-model@7.4.1": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.4.1.tgz#3376f72570d336960c9b7b0dd44c8a0dbbe34604" - integrity sha512-rBO/QbrOMCdL8e9qwhIu1aH4C5sKOnUO1YhEh3+kVieFzTjiRnync7ghyQOtCaCVl2VXtp4LuOIv02e82oRqUg== - dependencies: - "@microsoft/node-core-library" "3.14.2" - "@microsoft/tsdoc" "0.12.14" - "@types/node" "8.5.8" - -"@microsoft/api-extractor@^7.3.9": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.4.2.tgz#440023cf05c69840e054cdb5f85cab9680227a40" - integrity sha512-O8OEaFvsvWEuwkOcVyWegIAFDY6TBZBvSIoOKLsSQYiQZtryGf13e2ym83iewhbUN7RmuOJtyQUKlBvcJbpgQA== - dependencies: - "@microsoft/api-extractor-model" "7.4.1" - "@microsoft/node-core-library" "3.14.2" - "@microsoft/ts-command-line" "4.2.8" - "@microsoft/tsdoc" "0.12.14" - colors "~1.2.1" - lodash "~4.17.15" - resolve "1.8.1" - source-map "~0.6.1" - typescript "~3.5.3" - -"@microsoft/node-core-library@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@microsoft/node-core-library/-/node-core-library-3.14.2.tgz#255d421963f2d447a19f935e3c8eb3053e8e381b" - integrity sha512-bd8XhqhIvXsWg/SSNsZJdJxkN8Ucj7XKQkRe4cdYiKqpVdAREvW/shw8AoZIdgvjLI53029I/MO2Wn/AjGD3Jw== - dependencies: - "@types/fs-extra" "5.0.4" - "@types/jju" "~1.4.0" - "@types/node" "8.5.8" - "@types/z-schema" "3.16.31" - colors "~1.2.1" - fs-extra "~7.0.1" - jju "~1.4.0" - z-schema "~3.18.3" - -"@microsoft/ts-command-line@4.2.8": - version "4.2.8" - resolved "https://registry.yarnpkg.com/@microsoft/ts-command-line/-/ts-command-line-4.2.8.tgz#92f4c85d0a4b893090fe6605f255e272b270495e" - integrity sha512-K4sc8/OJ/y5uQPWJFACMExS2UIqF+t3vdQ2A9Mhl9tMsp70CXf0sp6Y9ENYju1K7XWwR5Clh8dkP2jO1Ntlg1g== - dependencies: - "@types/argparse" "1.0.33" - "@types/node" "8.5.8" - argparse "~1.0.9" - colors "~1.2.1" - -"@microsoft/tsdoc@0.12.14": - version "0.12.14" - resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.12.14.tgz#0e0810a0a174e50e22dfe8edb30599840712f22d" - integrity sha512-518yewjSga1jLdiLrcmpMFlaba5P+50b0TWNFUpC+SL9Yzf0kMi57qw+bMl+rQ08cGqH1vLx4eg9YFUbZXgZ0Q== - -"@ngtools/webpack@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-9.0.3.tgz#d05b5a15584909262a4db027919f03ccb074dc11" - integrity sha512-pMIXfq1IJLbvwmkPonGs7nrpuBCXrlZTf9A4OYsMBZcfU8JMn0pRdx7G2+bC9Q/f+uSw2uvPSv76xJXLBOntmA== - dependencies: - "@angular-devkit/core" "9.0.3" - enhanced-resolve "4.1.1" - rxjs "6.5.3" - webpack-sources "1.4.3" - -"@schematics/angular@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-9.0.3.tgz#8b0fb91fa18dd909001ac0d888479a96810aa640" - integrity sha512-6XSnPW4G7aoKXccg0FTpZ02y/yi9y/bj7swnSL9Z4RRPIvPVapDjB7uJPg8sm8+PTIpcMhEFQrchIqM3LXW4zA== - dependencies: - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" - -"@schematics/update@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.900.3.tgz#9141ee2e1b6356e66f6269b92c284c86e4faf065" - integrity sha512-mlRsm3/HM1f/10Wdz4xMYA+mpW3EDCB+whlV5cJ7PGMhjUMaxA9DuWvoP06h05le6XmgnjIEoxL6NJ7CgesHcA== - dependencies: - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" - "@yarnpkg/lockfile" "1.1.0" - ini "1.3.5" - npm-package-arg "^7.0.0" - pacote "9.5.8" - rxjs "6.5.3" - semver "6.3.0" - semver-intersect "1.4.0" - -"@types/argparse@1.0.33": - version "1.0.33" - resolved "https://registry.yarnpkg.com/@types/argparse/-/argparse-1.0.33.tgz#2728669427cdd74a99e53c9f457ca2866a37c52d" - integrity sha512-VQgHxyPMTj3hIlq9SY1mctqx+Jj8kpQfoLvDlVSDNOyuYs8JYfkuY3OW/4+dO657yPmNhHpePRx0/Tje5ImNVQ== - -"@types/color-name@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" - integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== - -"@types/estree@*": - version "0.0.42" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.42.tgz#8d0c1f480339efedb3e46070e22dd63e0430dd11" - integrity sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ== - -"@types/events@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" - integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== - -"@types/fs-extra@5.0.4": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.4.tgz#b971134d162cc0497d221adde3dbb67502225599" - integrity sha512-DsknoBvD8s+RFfSGjmERJ7ZOP1HI0UZRA3FSI+Zakhrc/Gy26YQsLI+m5V5DHxroHRJqCDLKJp7Hixn8zyaF7g== - dependencies: - "@types/node" "*" - -"@types/glob@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" - integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w== - dependencies: - "@types/events" "*" - "@types/minimatch" "*" - "@types/node" "*" - -"@types/jju@~1.4.0": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@types/jju/-/jju-1.4.1.tgz#0a39f5f8e84fec46150a7b9ca985c3f89ad98e9f" - integrity sha512-LFt+YA7Lv2IZROMwokZKiPNORAV5N3huMs3IKnzlE430HWhWYZ8b+78HiwJXJJP1V2IEjinyJURuRJfGoaFSIA== - -"@types/mime-types@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/mime-types/-/mime-types-2.1.0.tgz#9ca52cda363f699c69466c2a6ccdaad913ea7a73" - integrity sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM= - -"@types/minimatch@*": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" - integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== - -"@types/node@*": - version "11.9.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-11.9.4.tgz#ceb0048a546db453f6248f2d1d95e937a6f00a14" - integrity sha512-Zl8dGvAcEmadgs1tmSPcvwzO1YRsz38bVJQvH1RvRqSR9/5n61Q1ktcDL0ht3FXWR+ZpVmXVwN1LuH4Ax23NsA== - -"@types/node@8.5.8": - version "8.5.8" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.8.tgz#92509422653f10e9c0ac18d87e0610b39f9821c7" - integrity sha512-8KmlRxwbKZfjUHFIt3q8TF5S2B+/E5BaAoo/3mgc5h6FJzqxXkCK/VMetO+IRDtwtU6HUvovHMBn+XRj7SV9Qg== - -"@types/node@file:../../node_modules/@types/node": - version "12.11.1" - -"@types/q@^0.0.32": - version "0.0.32" - resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" - integrity sha1-vShOV8hPEyXacCur/IKlMoGQwMU= - -"@types/q@^1.5.1": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" - integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== - -"@types/selenium-webdriver@^3.0.0": - version "3.0.17" - resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.17.tgz#50bea0c3c2acc31c959c5b1e747798b3b3d06d4b" - integrity sha512-tGomyEuzSC1H28y2zlW6XPCaDaXFaD6soTdb4GNdmte2qfHtrKqhy0ZFs4r/1hpazCfEZqeTSRLvSasmEx89uw== - -"@types/source-list-map@*": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" - integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== - -"@types/webpack-sources@^0.1.5": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-0.1.6.tgz#3d21dfc2ec0ad0c77758e79362426a9ba7d7cbcb" - integrity sha512-FtAWR7wR5ocJ9+nP137DV81tveD/ZgB1sadnJ/axUGM3BUVfRPx8oQNMtv3JNfTeHx3VP7cXiyfR/jmtEsVHsQ== - dependencies: - "@types/node" "*" - "@types/source-list-map" "*" - source-map "^0.6.1" - -"@types/z-schema@3.16.31": - version "3.16.31" - resolved "https://registry.yarnpkg.com/@types/z-schema/-/z-schema-3.16.31.tgz#2eb1d00a5e4ec3fa58c76afde12e182b66dc5c1c" - integrity sha1-LrHQCl5Ow/pYx2r94S4YK2bcXBw= - -"@webassemblyjs/ast@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" - integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== - dependencies: - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" - -"@webassemblyjs/floating-point-hex-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" - integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== - -"@webassemblyjs/helper-api-error@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" - integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== - -"@webassemblyjs/helper-buffer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" - integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== - -"@webassemblyjs/helper-code-frame@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" - integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== - dependencies: - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/helper-fsm@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" - integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== - -"@webassemblyjs/helper-module-context@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" - integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== - dependencies: - "@webassemblyjs/ast" "1.8.5" - mamacro "^0.0.3" - -"@webassemblyjs/helper-wasm-bytecode@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" - integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== - -"@webassemblyjs/helper-wasm-section@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" - integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - -"@webassemblyjs/ieee754@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" - integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" - integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" - integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== - -"@webassemblyjs/wasm-edit@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" - integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/helper-wasm-section" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-opt" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/wasm-gen@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" - integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wasm-opt@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" - integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - -"@webassemblyjs/wasm-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" - integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wast-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" - integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/floating-point-hex-parser" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-code-frame" "1.8.5" - "@webassemblyjs/helper-fsm" "1.8.5" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/wast-printer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" - integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" - "@xtuc/long" "4.2.2" - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -"@yarnpkg/lockfile@1.1.0", "@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - -JSONStream@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: - version "1.3.7" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" - integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== - dependencies: - mime-types "~2.1.24" - negotiator "0.6.2" - -acorn@^6.2.1: - version "6.4.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784" - integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw== - -acorn@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" - integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== - -adm-zip@^0.4.9: - version "0.4.14" - resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.14.tgz#2cf312bcc9f8875df835b0f6040bd89be0a727a9" - integrity sha512-/9aQCnQHF+0IiCl0qhXoK7qs//SwYE7zX8lsr/DNk1BRAHYxeLZPL4pguwK29gUEqasYQjqPtEpDRSWEkdHn9g== - -agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" - integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg== - dependencies: - es6-promisify "^5.0.0" - -agent-base@5: - version "5.1.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c" - integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g== - -agentkeepalive@^3.4.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" - integrity sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ== - dependencies: - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0" - integrity sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== - -ajv-keywords@^3.1.0, ajv-keywords@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" - integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ== - -ajv@6.10.2: - version "6.10.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ajv@^6.1.0, ajv@^6.10.2: - version "6.11.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9" - integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA== - 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" - -ajv@^6.5.5: - version "6.10.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1" - integrity sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg== - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -alphanum-sort@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" - integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM= - -ansi-colors@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - -ansi-colors@^3.0.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== - -ansi-escapes@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.2.1.tgz#4dccdb846c3eee10f6d64dea66273eab90c37228" - integrity sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q== - dependencies: - type-fest "^0.5.2" - -ansi-html@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e" - integrity sha1-gTWEAhliqenm/QOflA0S9WynhZ4= - -ansi-regex@^2.0.0: - version "2.1.1" - 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - -ansi-regex@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= - -ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" - integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== - dependencies: - "@types/color-name" "^1.1.1" - color-convert "^2.0.1" - -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - -anymatch@~3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" - integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -argparse@^1.0.7, argparse@~1.0.9: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= - -array-flatten@^2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - -array-union@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= - dependencies: - array-uniq "^1.0.1" - -array-uniq@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= - -arrify@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= - -asap@^2.0.0, asap@~2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= - -asn1.js@^4.0.0: - version "4.10.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" - integrity sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= - -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= - -async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - -async@^2.5.0, async@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== - dependencies: - lodash "^4.17.14" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= - -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -autoprefixer@9.7.1: - version "9.7.1" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.1.tgz#9ffc44c55f5ca89253d9bb7186cefb01ef57747f" - integrity sha512-w3b5y1PXWlhYulevrTJ0lizkQ5CyqfeU6BIRDbuhsMupstHQOeb1Ur80tcB1zxSu7AwyY/qCQ7Vvqklh31ZBFw== - dependencies: - browserslist "^4.7.2" - caniuse-lite "^1.0.30001006" - chalk "^2.4.2" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^7.0.21" - postcss-value-parser "^4.0.2" - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== - -babel-loader@8.0.6: - version "8.0.6" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb" - integrity sha512-4BmWKtBOBm13uoUwd08UwjZlaw3O9GWf456R9j+5YykFZ6LUIjIKLc0zEZf+hauxPOJs96C8k6FvYD09vWzhYw== - dependencies: - find-cache-dir "^2.0.0" - loader-utils "^1.0.2" - mkdirp "^0.5.1" - pify "^4.0.1" - -babel-plugin-dynamic-import-node@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" - integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ== - dependencies: - object.assign "^4.1.0" - -balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= - -base64-js@^1.0.2: - version "1.3.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" - integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - -binary-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" - integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== - -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -blocking-proxy@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/blocking-proxy/-/blocking-proxy-1.0.1.tgz#81d6fd1fe13a4c0d6957df7f91b75e98dac40cb2" - integrity sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA== - dependencies: - minimist "^1.2.0" - -bluebird@^3.5.1, bluebird@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== - -bluebird@^3.5.5: - version "3.7.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.1.tgz#df70e302b471d7473489acf26a93d63b53f874de" - integrity sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg== - -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" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== - -body-parser@1.19.0: - version "1.19.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" - integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw== - dependencies: - bytes "3.1.0" - content-type "~1.0.4" - debug "2.6.9" - depd "~1.1.2" - http-errors "1.7.2" - iconv-lite "0.4.24" - on-finished "~2.3.0" - qs "6.7.0" - raw-body "2.4.0" - type-is "~1.6.17" - -bonjour@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - integrity sha1-jokKGD2O6aI5OzhExpGkK897yfU= - dependencies: - array-flatten "^2.1.0" - deep-equal "^1.0.1" - dns-equal "^1.0.0" - dns-txt "^2.0.2" - multicast-dns "^6.0.1" - multicast-dns-service-types "^1.1.0" - -boolbase@^1.0.0, boolbase@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^2.3.1, braces@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -brorand@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= - -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" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" - integrity sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ= - dependencies: - bn.js "^4.1.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" - integrity sha1-qk62jl17ZYuqa/alfmMMvXqT0pg= - dependencies: - bn.js "^4.1.1" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.2" - elliptic "^6.0.0" - inherits "^2.0.1" - parse-asn1 "^5.0.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - -browserslist@4.8.3: - version "4.8.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.3.tgz#65802fcd77177c878e015f0e3189f2c4f627ba44" - integrity sha512-iU43cMMknxG1ClEZ2MDKeonKE1CCrFVkQK2AqO2YWFmvIrx4JWrvQ4w4hQez6EpVI8rHTtqh/ruHHDHSOKxvUg== - dependencies: - caniuse-lite "^1.0.30001017" - electron-to-chromium "^1.3.322" - node-releases "^1.1.44" - -browserslist@^4.0.0, browserslist@^4.6.0, browserslist@^4.7.2, browserslist@^4.8.3: - version "4.8.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.7.tgz#ec8301ff415e6a42c949d0e66b405eb539c532d0" - integrity sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA== - dependencies: - caniuse-lite "^1.0.30001027" - electron-to-chromium "^1.3.349" - node-releases "^1.1.49" - -browserstack@^1.5.1: - version "1.5.3" - resolved "https://registry.yarnpkg.com/browserstack/-/browserstack-1.5.3.tgz#93ab48799a12ef99dbd074dd595410ddb196a7ac" - integrity sha512-AO+mECXsW4QcqC9bxwM29O7qWa7bJT94uBFzeb5brylIQwawuEziwq20dPYbins95GlWzOawgyDNdjYAo32EKg== - dependencies: - https-proxy-agent "^2.2.1" - -buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" - integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== - -buffer-indexof@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" - integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= - -buffer@^4.3.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= - -bytes@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" - integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== - -cacache@13.0.1, cacache@^13.0.1: - version "13.0.1" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-13.0.1.tgz#a8000c21697089082f85287a1aec6e382024a71c" - integrity sha512-5ZvAxd05HDDU+y9BVvcqYu2LLXmPnQ0hW62h32g4xBTgL/MppR4/04NHfj/ycM2y6lmTnbw6HVi+1eN0Psba6w== - dependencies: - chownr "^1.1.2" - figgy-pudding "^3.5.1" - fs-minipass "^2.0.0" - glob "^7.1.4" - graceful-fs "^4.2.2" - infer-owner "^1.0.4" - lru-cache "^5.1.1" - minipass "^3.0.0" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - p-map "^3.0.0" - promise-inflight "^1.0.1" - rimraf "^2.7.1" - ssri "^7.0.0" - unique-filename "^1.1.1" - -cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3: - version "12.0.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.3.tgz#be99abba4e1bf5df461cd5a2c1071fc432573390" - integrity sha512-kqdmfXEGFepesTuROHMs3MpFLWrPkSSpRqOw80RCflZXy/khxaArvFrQ7uJxSUduzAufc6G0g1VUCOZXxWavPw== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -caller-callsite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= - dependencies: - callsites "^2.0.0" - -caller-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= - dependencies: - caller-callsite "^2.0.0" - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= - -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -caniuse-api@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" - integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== - dependencies: - browserslist "^4.0.0" - caniuse-lite "^1.0.0" - lodash.memoize "^4.1.2" - lodash.uniq "^4.5.0" - -caniuse-lite@1.0.30001020: - version "1.0.30001020" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001020.tgz#3f04c1737500ffda78be9beb0b5c1e2070e15926" - integrity sha512-yWIvwA68wRHKanAVS1GjN8vajAv7MBFshullKCeq/eKpK7pJBVDgFFEqvgWTkcP2+wIDeQGYFRXECjKZnLkUjA== - -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001006, caniuse-lite@^1.0.30001017, caniuse-lite@^1.0.30001027: - version "1.0.30001027" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001027.tgz#283e2ef17d94889cc216a22c6f85303d78ca852d" - integrity sha512-7xvKeErvXZFtUItTHgNtLgS9RJpVnwBlWX8jSo/BO8VsF6deszemZSkJJJA1KOKrXuzZH4WALpAJdq5EyfgMLg== - -canonical-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/canonical-path/-/canonical-path-1.0.0.tgz#fcb470c23958def85081856be7a86e904f180d1d" - integrity sha512-feylzsbDxi1gPZ1IjystzIQZagYYLvfKrSuygUCgf7z6x790VEzze5QEkdSV1U58RA7Hi0+v6fv4K54atOzATg== - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= - -chalk@^1.1.1, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - -"chokidar@>=2.0.0 <4.0.0", chokidar@^3.0.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" - integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.3.0" - optionalDependencies: - fsevents "~2.1.2" - -chokidar@^2.0.2, chokidar@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" - optionalDependencies: - fsevents "^1.2.7" - -chownr@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" - integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== - -chownr@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" - integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== - -chrome-trace-event@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4" - integrity sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ== - dependencies: - tslib "^1.9.0" - -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -circular-dependency-plugin@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/circular-dependency-plugin/-/circular-dependency-plugin-5.2.0.tgz#e09dbc2dd3e2928442403e2d45b41cea06bc0a93" - integrity sha512-7p4Kn/gffhQaavNfyDFg7LS5S/UT1JAjyGd4UqR2+jzoYF02eDkj0Ec3+48TsIa4zghjLY87nQHIh/ecK9qLdw== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-spinners@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" - integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== - -cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= - -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@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" - integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== - dependencies: - string-width "^4.2.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.1, 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" - integrity sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA== - dependencies: - "@types/q" "^1.5.1" - 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" - integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0, color-convert@^1.9.1: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= - -color-name@^1.0.0, color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -color-string@^1.5.2: - version "1.5.3" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.3.tgz#c9bbc5f01b58b5492f3d6857459cb6590ce204cc" - integrity sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw== - dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" - -color@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/color/-/color-3.1.2.tgz#68148e7f85d41ad7649c5fa8c8106f098d229e10" - integrity sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg== - dependencies: - color-convert "^1.9.1" - color-string "^1.5.2" - -colors@~1.2.1: - version "1.2.5" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" - integrity sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg== - -combined-stream@^1.0.6, combined-stream@~1.0.6: - version "1.0.7" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" - integrity sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w== - dependencies: - delayed-stream "~1.0.0" - -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^2.7.1: - version "2.19.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" - integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= - -component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= - -concat-stream@1.6.2, concat-stream@^1.5.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -connect-history-api-fallback@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== - -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= - -content-disposition@0.5.3: - version "0.5.3" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" - integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== - dependencies: - safe-buffer "5.1.2" - -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - -convert-source-map@^1.5.1, 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== - dependencies: - safe-buffer "~5.1.1" - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= - -cookie@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" - integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== - -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= - -copy-webpack-plugin@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-5.1.1.tgz#5481a03dea1123d88a988c6ff8b78247214f0b88" - integrity sha512-P15M5ZC8dyCjQHWwd4Ia/dm0SgVvZJMYeykVIVYXbGyqO4dWB5oyPHp9i7wjwo5LhtlhKbiBCdS2NvM07Wlybg== - dependencies: - cacache "^12.0.3" - find-cache-dir "^2.1.0" - glob-parent "^3.1.0" - globby "^7.1.1" - is-glob "^4.0.1" - loader-utils "^1.2.3" - minimatch "^3.0.4" - normalize-path "^3.0.0" - p-limit "^2.2.1" - schema-utils "^1.0.0" - serialize-javascript "^2.1.2" - webpack-log "^2.0.0" - -core-js-compat@^3.6.0: - version "3.6.4" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17" - integrity sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA== - dependencies: - browserslist "^4.8.3" - semver "7.0.0" - -core-js@3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.0.tgz#2b854e451de1967d1e29896025cdc13a2518d9ea" - integrity sha512-AHPTNKzyB+YwgDWoSOCaid9PUSEF6781vsfiK8qUz62zRR448/XgK2NtCbpiUGizbep8Lrpt0Du19PpGGZvw3Q== - -core-util-is@1.0.2, 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" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= - -cosmiconfig@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" - integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== - dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.1" - parse-json "^4.0.0" - -coverage-istanbul-loader@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/coverage-istanbul-loader/-/coverage-istanbul-loader-2.0.3.tgz#87d42f03fa0fd3fa8743ec76945d9d67f105722a" - integrity sha512-LiGRvyIuzVYs3M1ZYK1tF0HekjH0DJ8zFdUwAZq378EJzqOgToyb1690dp3TAUlP6Y+82uu42LRjuROVeJ54CA== - dependencies: - convert-source-map "^1.7.0" - istanbul-lib-instrument "^4.0.0" - loader-utils "^1.2.3" - merge-source-map "^1.1.0" - schema-utils "^2.6.1" - -create-ecdh@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" - integrity sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw== - dependencies: - bn.js "^4.1.0" - elliptic "^6.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" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -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" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -cross-spawn@^6.0.0, cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - -css-color-names@0.0.4, css-color-names@^0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" - integrity sha1-gIrcLnnPhHOAabZGyyDsJ762KeA= - -css-declaration-sorter@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz#c198940f63a76d7e36c1e71018b001721054cb22" - integrity sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA== - dependencies: - postcss "^7.0.1" - timsort "^0.3.0" - -css-parse@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-2.0.0.tgz#a468ee667c16d81ccf05c58c38d2a97c780dbfd4" - integrity sha1-pGjuZnwW2BzPBcWMONKpfHgNv9Q= - dependencies: - css "^2.0.0" - -css-select-base-adapter@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7" - integrity sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w== - -css-select@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-2.1.0.tgz#6a34653356635934a81baca68d0255432105dbef" - integrity sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ== - dependencies: - boolbase "^1.0.0" - css-what "^3.2.1" - domutils "^1.7.0" - nth-check "^1.0.2" - -css-tree@1.0.0-alpha.37: - version "1.0.0-alpha.37" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.37.tgz#98bebd62c4c1d9f960ec340cf9f7522e30709a22" - integrity sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg== - dependencies: - mdn-data "2.0.4" - source-map "^0.6.1" - -css-unit-converter@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996" - integrity sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY= - -css-what@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.2.1.tgz#f4a8f12421064621b456755e34a03a2c22df5da1" - integrity sha512-WwOrosiQTvyms+Ti5ZC5vGEK0Vod3FTt1ca+payZqvKuGJF+dq7bG63DstxtN0dpm6FxY27a/zS3Wten+gEtGw== - -css@^2.0.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929" - integrity sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw== - dependencies: - inherits "^2.0.3" - source-map "^0.6.1" - source-map-resolve "^0.5.2" - urix "^0.1.0" - -cssesc@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703" - integrity sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg== - -cssnano-preset-default@^4.0.7: - version "4.0.7" - resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76" - integrity sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA== - dependencies: - css-declaration-sorter "^4.0.1" - cssnano-util-raw-cache "^4.0.1" - postcss "^7.0.0" - postcss-calc "^7.0.1" - postcss-colormin "^4.0.3" - postcss-convert-values "^4.0.1" - postcss-discard-comments "^4.0.2" - postcss-discard-duplicates "^4.0.2" - postcss-discard-empty "^4.0.1" - postcss-discard-overridden "^4.0.1" - postcss-merge-longhand "^4.0.11" - postcss-merge-rules "^4.0.3" - postcss-minify-font-values "^4.0.2" - postcss-minify-gradients "^4.0.2" - postcss-minify-params "^4.0.2" - postcss-minify-selectors "^4.0.2" - postcss-normalize-charset "^4.0.1" - postcss-normalize-display-values "^4.0.2" - postcss-normalize-positions "^4.0.2" - postcss-normalize-repeat-style "^4.0.2" - postcss-normalize-string "^4.0.2" - postcss-normalize-timing-functions "^4.0.2" - postcss-normalize-unicode "^4.0.1" - postcss-normalize-url "^4.0.1" - postcss-normalize-whitespace "^4.0.2" - postcss-ordered-values "^4.1.2" - postcss-reduce-initial "^4.0.3" - postcss-reduce-transforms "^4.0.2" - postcss-svgo "^4.0.2" - postcss-unique-selectors "^4.0.1" - -cssnano-util-get-arguments@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz#ed3a08299f21d75741b20f3b81f194ed49cc150f" - integrity sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8= - -cssnano-util-get-match@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz#c0e4ca07f5386bb17ec5e52250b4f5961365156d" - integrity sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0= - -cssnano-util-raw-cache@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz#b26d5fd5f72a11dfe7a7846fb4c67260f96bf282" - integrity sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA== - dependencies: - postcss "^7.0.0" - -cssnano-util-same-parent@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3" - integrity sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q== - -cssnano@4.1.10: - version "4.1.10" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-4.1.10.tgz#0ac41f0b13d13d465487e111b778d42da631b8b2" - integrity sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ== - dependencies: - cosmiconfig "^5.0.0" - cssnano-preset-default "^4.0.7" - is-resolvable "^1.0.0" - postcss "^7.0.0" - -csso@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/csso/-/csso-4.0.2.tgz#e5f81ab3a56b8eefb7f0092ce7279329f454de3d" - integrity sha512-kS7/oeNVXkHWxby5tHVxlhjizRCSv8QdU7hB2FpdAibDU8FjTAolhNjKNTiLzXtUrKT6HwClE81yXwEk1309wg== - dependencies: - css-tree "1.0.0-alpha.37" - -cyclist@~0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" - integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= - dependencies: - assert-plus "^1.0.0" - -debug@2.6.9, debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@3.1.0, debug@~3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.1.0, debug@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== - dependencies: - ms "^2.1.1" - -debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5: - version "3.2.6" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" - integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== - dependencies: - ms "^2.1.1" - -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= - -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" - integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= - -deep-equal@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" - integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== - dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - -default-gateway@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" - integrity sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA== - dependencies: - execa "^1.0.0" - ip-regex "^2.1.0" - -defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= - dependencies: - clone "^1.0.2" - -define-properties@^1.1.2, define-properties@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" - integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== - dependencies: - object-keys "^1.0.12" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -del@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" - integrity sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag= - dependencies: - globby "^5.0.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - rimraf "^2.2.8" - -del@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" - integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== - dependencies: - "@types/glob" "^7.1.1" - globby "^6.1.0" - is-path-cwd "^2.0.0" - is-path-in-cwd "^2.0.0" - p-map "^2.0.0" - pify "^4.0.1" - rimraf "^2.6.3" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= - -dependency-graph@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.7.2.tgz#91db9de6eb72699209d88aea4c1fd5221cac1c49" - integrity sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ== - -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= - -detect-node@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c" - integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw== - -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" - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -dir-glob@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= - -dns-packet@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.1.tgz#12aa426981075be500b910eedcd0b47dd7deda5a" - integrity sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg== - dependencies: - ip "^1.1.0" - safe-buffer "^5.0.1" - -dns-txt@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - integrity sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY= - dependencies: - buffer-indexof "^1.0.0" - -dom-serializer@0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51" - integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g== - dependencies: - domelementtype "^2.0.1" - entities "^2.0.0" - -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - -domelementtype@1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" - integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== - -domelementtype@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d" - integrity sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ== - -domutils@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" - integrity sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg== - dependencies: - dom-serializer "0" - domelementtype "1" - -dot-prop@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" - integrity sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A== - dependencies: - is-obj "^2.0.0" - -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - -electron-to-chromium@^1.3.322, electron-to-chromium@^1.3.349: - version "1.3.350" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.350.tgz#325654a3bf030b03b7b2bba967b44be3f13dc457" - integrity sha512-j2ge29AfeTXhlL1OyIIEuprvCEmxoW4tN52A/FiZ9PyXV427RxAQXpj2seCX9rnYExpOpuv4gbM3I9A7MM2hng== - -elliptic@^6.0.0: - version "6.5.2" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.2.tgz#05c5678d7173c049d8ca433552224a495d0e3762" - integrity sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw== - dependencies: - bn.js "^4.4.0" - brorand "^1.0.1" - hash.js "^1.0.0" - hmac-drbg "^1.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.0" - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emojis-list@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" - integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= - -encoding@^0.1.11: - version "0.1.12" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" - integrity sha1-U4tm8+5izRq1HsMjgp0flIDHS+s= - dependencies: - iconv-lite "~0.4.13" - -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" - integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q== - dependencies: - once "^1.4.0" - -enhanced-resolve@4.1.1, enhanced-resolve@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz#2937e2b8066cd0fe7ce0990a98f0d71a35189f66" - integrity sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" - -entities@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4" - integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw== - -err-code@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" - integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= - -errno@^0.1.1, errno@^0.1.3, errno@~0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" - integrity sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg== - dependencies: - prr "~1.0.1" - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -es-abstract@^1.17.0-next.1, es-abstract@^1.17.2: - version "1.17.4" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184" - integrity sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ== - dependencies: - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - is-callable "^1.1.5" - is-regex "^1.0.5" - object-inspect "^1.7.0" - object-keys "^1.1.1" - object.assign "^4.1.0" - string.prototype.trimleft "^2.1.1" - string.prototype.trimright "^2.1.1" - -es-abstract@^1.5.1: - version "1.15.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.15.0.tgz#8884928ec7e40a79e3c9bc812d37d10c8b24cc57" - integrity sha512-bhkEqWJ2t2lMeaJDuk7okMkJWI/yqgH/EoGwpcvv0XW9RWQsRspI4wt6xuyuvMvvQE3gg/D9HXppgk21w78GyQ== - dependencies: - es-to-primitive "^1.2.0" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.0" - is-callable "^1.1.4" - is-regex "^1.0.4" - object-inspect "^1.6.0" - object-keys "^1.1.1" - string.prototype.trimleft "^2.1.0" - string.prototype.trimright "^2.1.0" - -es-to-primitive@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" - integrity sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es6-promise@^4.0.3: - version "4.2.6" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.6.tgz#b685edd8258886365ea62b57d30de28fadcd974f" - integrity sha512-aRVgGdnmW2OiySVPUC9e6m+plolMAJKjZnQlCwNSuK5yQ0JN61DZSO1X1Ufd1foqWRAlig0rhduTCHe7sVtK5Q== - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM= - dependencies: - es6-promise "^4.0.3" - -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= - -escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= - -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== - dependencies: - estraverse "^4.1.0" - -estraverse@^4.1.0, estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= - -eventemitter3@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.0.tgz#d65176163887ee59f386d64c82610b696a4a74eb" - integrity sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg== - -events@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.1.0.tgz#84279af1b34cb75aa88bf5ff291f6d0bd9b31a59" - integrity sha512-Rv+u8MLHNOdMjTAFeT3nCjHn2aGlx435FP/sDHNaRhDEMwyI/aB22Kj2qIN8R0cw3z28psEQLYwxVKLsKrMgWg== - -eventsource@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.0.7.tgz#8fbc72c93fcd34088090bc0a4e64f4b5cee6d8d0" - integrity sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ== - dependencies: - original "^1.0.0" - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -express@^4.17.1: - version "4.17.1" - resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134" - integrity sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g== - dependencies: - accepts "~1.3.7" - array-flatten "1.1.1" - body-parser "1.19.0" - content-disposition "0.5.3" - content-type "~1.0.4" - cookie "0.4.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "~1.1.2" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "~1.1.2" - fresh "0.5.2" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "~2.3.0" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.5" - qs "6.7.0" - range-parser "~1.2.1" - safe-buffer "5.1.2" - send "0.17.1" - serve-static "1.14.1" - setprototypeof "1.1.1" - statuses "~1.5.0" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -external-editor@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" - integrity sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extract-zip@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.7.tgz#a840b4b8af6403264c8db57f4f1a74333ef81fe9" - integrity sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k= - dependencies: - concat-stream "1.6.2" - debug "2.6.9" - mkdirp "0.5.1" - yauzl "2.4.1" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= - -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" - integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= - -fast-deep-equal@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" - integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== - -fast-json-stable-stringify@2.0.0, 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" - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= - -faye-websocket@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" - integrity sha1-TkkvjQTftviQA1B/btvy1QHnxvQ= - dependencies: - websocket-driver ">=0.5.1" - -faye-websocket@~0.11.1: - version "0.11.3" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.3.tgz#5c0e9a8968e8912c286639fde977a8b209f2508e" - integrity sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA== - dependencies: - websocket-driver ">=0.5.1" - -fd-slicer@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" - integrity sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU= - dependencies: - pend "~1.2.0" - -figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" - integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - -figures@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.0.0.tgz#756275c964646163cc6f9197c7a0295dbfd04de9" - integrity sha512-HKri+WoWoUgr83pehn/SIgLOMZ9nAWC6dcGj26RY2R4F50u4+RTUz0RCrUlOV3nKRAICW1UGzyb+kcX2qK1S/g== - dependencies: - escape-string-regexp "^1.0.5" - -file-loader@4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-4.2.0.tgz#5fb124d2369d7075d70a9a5abecd12e60a95215e" - integrity sha512-+xZnaK5R8kBJrHK0/6HRlrKNamvVS5rjyuju+rnyxRGuwUJwpAMsVzUl5dz6rK8brkzjV6JpcFNjp6NqV0g1OQ== - dependencies: - loader-utils "^1.2.3" - schema-utils "^2.0.0" - -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -finalhandler@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "~2.3.0" - parseurl "~1.3.3" - statuses "~1.5.0" - unpipe "~1.0.0" - -find-cache-dir@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.0.0.tgz#cd4b7dd97b7185b7e17dbfe2d6e4115ee3eeb8fc" - integrity sha512-t7ulV1fmbxh5G9l/492O1p5+EBbr3uwpt6odhFTMc+nWyhmbloe+ja9BZ8pIBtqFWhOmCWVjx+pTW4zDkFoclw== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.0" - pkg-dir "^4.1.0" - -find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" - -find-cache-dir@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.2.0.tgz#e7fe44c1abc1299f516146e563108fd1006c1874" - integrity sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.0" - pkg-dir "^4.1.0" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -find-yarn-workspace-root@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-1.2.1.tgz#40eb8e6e7c2502ddfaa2577c176f221422f860db" - integrity sha512-dVtfb0WuQG+8Ag2uWkbG79hOUzEsRrhBzgfn86g2sJPkzmcpGdghbNTfUKGTxymFrY/tLIodDzLoW9nOJ4FY8Q== - dependencies: - fs-extra "^4.0.3" - micromatch "^3.1.4" - -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== - dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" - -follow-redirects@^1.0.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.10.0.tgz#01f5263aee921c6a54fb91667f08f4155ce169eb" - integrity sha512-4eyLK6s6lH32nOvLLwlIOnr9zrL8Sm+OvW4pVTJNoXeGzYIkHVf+pADQi+OJ0E67hiuSLezPVPyBcIZO50TmmQ== - dependencies: - debug "^3.0.0" - -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -forwarded@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" - integrity sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ= - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= - dependencies: - map-cache "^0.2.2" - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= - -from2@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs-extra@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" - integrity sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s= - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" - integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^7.0.1, fs-extra@~7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-minipass@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" - integrity sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ== - dependencies: - minipass "^2.2.1" - -fs-minipass@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= - -fsevents@^1.2.7: - version "1.2.11" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3" - integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - -fsevents@~2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" - integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -genfun@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" - integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== - -gensync@^1.0.0-beta.1: - version "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" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-stream@^4.0.0, get-stream@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= - dependencies: - assert-plus "^1.0.0" - -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@~5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" - integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== - dependencies: - is-glob "^4.0.1" - -glob@7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.5.tgz#6714c69bee20f3c3e64c4dd905553e532b40cdc0" - integrity sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.0, glob@^7.1.3: - version "7.1.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" - integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.3, glob@^7.0.6, glob@^7.1.2: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.1.1, glob@^7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globby@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" - integrity sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0= - dependencies: - array-union "^1.0.1" - arrify "^1.0.0" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680" - integrity sha1-+yzP+UAfhgCUXfral0QMypcrhoA= - dependencies: - array-union "^1.0.1" - dir-glob "^2.0.0" - glob "^7.1.2" - ignore "^3.3.5" - pify "^3.0.0" - slash "^1.0.0" - -graceful-fs@^4.1.11, graceful-fs@^4.2.2: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== - -graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.1.15" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" - integrity sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA== - -handle-thing@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754" - integrity sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ== - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= - -har-validator@~5.1.0, har-validator@~5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== - dependencies: - ajv "^6.5.5" - har-schema "^2.0.0" - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= - dependencies: - ansi-regex "^2.0.0" - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" - integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= - -has-symbols@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" - integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg== - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has@^1.0.0, has@^1.0.1, has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -hash-base@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" - integrity sha1-X8hoaEfs1zSZQDMZprCj8/auSRg= - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hex-color-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" - integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ== - -hmac-drbg@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -hosted-git-info@^2.1.4, hosted-git-info@^2.6.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" - integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== - -hosted-git-info@^2.7.1: - version "2.8.5" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" - integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== - -hosted-git-info@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.2.tgz#8b7e3bd114b59b51786f8bade0f39ddc80275a97" - integrity sha512-ezZMWtHXm7Eb7Rq4Mwnx2vs79WUx2QmRg3+ZqeGroKzfDO+EprOcgRPYghsOP9JuYBfK18VojmRTGCg8Ma+ktw== - dependencies: - lru-cache "^5.1.1" - -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - -hsl-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/hsl-regex/-/hsl-regex-1.0.0.tgz#d49330c789ed819e276a4c0d272dffa30b18fe6e" - integrity sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4= - -hsla-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38" - integrity sha1-wc56MWjIxmFAM6S194d/OyJfnDg= - -html-comment-regex@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7" - integrity sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ== - -html-entities@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" - integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= - -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" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== - -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= - -http-errors@1.7.2: - version "1.7.2" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" - integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.1" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.0" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-errors@~1.7.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" - integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== - dependencies: - depd "~1.1.2" - inherits "2.0.4" - setprototypeof "1.1.1" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.0" - -"http-parser-js@>=0.4.0 <0.4.11": - version "0.4.10" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4" - integrity sha1-ksnBN0w1CF912zWexWzCV8u5P6Q= - -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" - integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg== - dependencies: - agent-base "4" - debug "3.1.0" - -http-proxy-middleware@0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" - integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== - dependencies: - http-proxy "^1.17.0" - is-glob "^4.0.0" - lodash "^4.17.11" - micromatch "^3.1.10" - -http-proxy@^1.17.0: - version "1.18.0" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a" - integrity sha512-84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPpQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= - -https-proxy-agent@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" - integrity sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ== - dependencies: - agent-base "^4.1.0" - debug "^3.1.0" - -https-proxy-agent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b" - integrity sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg== - dependencies: - agent-base "5" - debug "4" - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= - dependencies: - ms "^2.0.0" - -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ieee754@^1.1.4: - version "1.1.13" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" - integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== - -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= - -ignore-walk@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" - integrity sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ== - dependencies: - minimatch "^3.0.4" - -ignore@^3.3.5: - version "3.3.10" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" - integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== - -image-size@~0.5.0: - version "0.5.5" - resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" - integrity sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w= - -immediate@~3.0.5: - version "3.0.6" - resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" - integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps= - -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" - integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= - dependencies: - caller-path "^2.0.0" - resolve-from "^3.0.0" - -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: - resolve-from "^3.0.0" - -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -indexes-of@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" - integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc= - -infer-owner@^1.0.3, infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= - -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= - -inherits@2.0.4, inherits@~2.0.1: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -ini@1.3.5, ini@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - -inquirer@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== - dependencies: - ansi-escapes "^4.2.1" - chalk "^2.4.2" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^4.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -internal-ip@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" - integrity sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg== - dependencies: - default-gateway "^4.2.0" - ipaddr.js "^1.9.0" - -interpret@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" - integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== - -invariant@^2.2.2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - 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" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= - -ip@^1.1.0, ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= - -ipaddr.js@1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65" - integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA== - -ipaddr.js@^1.9.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -is-absolute-url@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6" - integrity sha1-UFMN+4T8yap9vnhS6Do3uTufKqY= - -is-absolute-url@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" - integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== - -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" - integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - -is-arguments@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.0.4.tgz#3faf966c7cba0ff437fb31f6250082fcf0448cf3" - integrity sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA== - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= - -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= - dependencies: - binary-extensions "^1.0.0" - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-callable@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" - integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA== - -is-callable@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" - integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== - -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== - dependencies: - ci-info "^2.0.0" - -is-color-stop@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" - integrity sha1-z/9HGu5N1cnhWFmPvhKWe1za00U= - dependencies: - css-color-names "^0.0.4" - hex-color-regex "^1.1.0" - hsl-regex "^1.0.0" - hsla-regex "^1.0.0" - rgb-regex "^1.0.1" - rgba-regex "^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" - integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== - dependencies: - kind-of "^6.0.0" - -is-date-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" - integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY= - -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-interactive@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" - integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= - dependencies: - kind-of "^3.0.2" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - -is-path-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" - integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= - -is-path-cwd@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" - integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== - -is-path-in-cwd@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" - integrity sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ== - dependencies: - is-path-inside "^1.0.0" - -is-path-in-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" - integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== - dependencies: - is-path-inside "^2.1.0" - -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" - -is-path-inside@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" - integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== - dependencies: - path-is-inside "^1.0.2" - -is-plain-obj@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= - -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - -is-regex@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" - integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE= - dependencies: - has "^1.0.1" - -is-regex@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" - integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== - dependencies: - has "^1.0.3" - -is-resolvable@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" - integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== - -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - -is-svg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-3.0.0.tgz#9321dbd29c212e5ca99c4fa9794c714bcafa2f75" - integrity sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ== - dependencies: - html-comment-regex "^1.1.0" - -is-symbol@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38" - integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw== - dependencies: - has-symbols "^1.0.0" - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= - -is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - -is-wsl@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" - integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== - -isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - -isstream@~0.1.2: - version "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@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" - integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg== - -istanbul-lib-instrument@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.1.tgz#61f13ac2c96cfefb076fe7131156cc05907874e6" - integrity sha512-imIchxnodll7pvQBYOqUu88EufLCU56LMeFPZZM/fJZ1irYcYdqroaV+ACK1Ila8ls09iEYArp+nqyC6lW1Vfg== - dependencies: - "@babel/core" "^7.7.5" - "@babel/parser" "^7.7.5" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.0.0" - semver "^6.3.0" - -jasmine-core@~2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e" - integrity sha1-vMl5rh+f0FcB5F5S5l06XWPxok4= - -jasmine@2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-2.8.0.tgz#6b089c0a11576b1f16df11b80146d91d4e8b8a3e" - integrity sha1-awicChFXax8W3xG4AUbZHU6Lij4= - dependencies: - exit "^0.1.2" - glob "^7.0.6" - jasmine-core "~2.8.0" - -jasminewd2@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/jasminewd2/-/jasminewd2-2.2.0.tgz#e37cf0b17f199cce23bea71b2039395246b4ec4e" - integrity sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4= - -jest-worker@24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" - integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw== - dependencies: - merge-stream "^2.0.0" - supports-color "^6.1.0" - -jest-worker@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.1.0.tgz#75d038bad6fdf58eba0d2ec1835856c497e3907a" - integrity sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg== - dependencies: - merge-stream "^2.0.0" - supports-color "^7.0.0" - -jju@~1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" - integrity sha1-o6vicYryQaKykE+EpiWXDzia4yo= - -js-levenshtein@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" - integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@^3.13.1: - version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= - -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -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" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= - -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" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= - -json3@^3.3.2: - version "3.3.3" - resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" - integrity sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA== - -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== - dependencies: - minimist "^1.2.0" - -json5@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6" - integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ== - dependencies: - minimist "^1.2.0" - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= - optionalDependencies: - graceful-fs "^4.1.6" - -jsonparse@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= - -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - -jszip@^3.1.3: - version "3.2.2" - resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.2.2.tgz#b143816df7e106a9597a94c77493385adca5bd1d" - integrity sha512-NmKajvAFQpbg3taXQXr/ccS2wcucR1AZ+NtyWp2Nq7HHVsXhcJFR8p0Baf32C2yVvBylFWVeKf+WI2AnvlPhpA== - dependencies: - lie "~3.3.0" - pako "~1.0.2" - readable-stream "~2.3.6" - set-immediate-shim "~1.0.1" - -karma-source-map-support@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz#58526ceccf7e8730e56effd97a4de8d712ac0d6b" - integrity sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A== - dependencies: - source-map-support "^0.5.5" - -killable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" - integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -klaw-sync@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" - integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== - dependencies: - graceful-fs "^4.1.11" - -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" - -less-loader@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-5.0.0.tgz#498dde3a6c6c4f887458ee9ed3f086a12ad1b466" - integrity sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg== - dependencies: - clone "^2.1.1" - loader-utils "^1.1.0" - pify "^4.0.1" - -less@3.10.3: - version "3.10.3" - resolved "https://registry.yarnpkg.com/less/-/less-3.10.3.tgz#417a0975d5eeecc52cff4bcfa3c09d35781e6792" - integrity sha512-vz32vqfgmoxF1h3K4J+yKCtajH0PWmjkIFgbs5d78E/c/e+UQTnI+lWK+1eQRE95PXM2mC3rJlLSSP9VQHnaow== - dependencies: - clone "^2.1.2" - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - image-size "~0.5.0" - mime "^1.4.1" - mkdirp "^0.5.0" - promise "^7.1.1" - request "^2.83.0" - source-map "~0.6.0" - -license-webpack-plugin@2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.1.3.tgz#656fa6a8b2e711ee35c27ac8e1659a87240ef7f3" - integrity sha512-vTSY5r9HOq4sxR2BIxdIXWKI+9n3b+DoQkhKHedB3TdSxTfXUDRxKXdAj5iejR+qNXprXsxvEu9W+zOhgGIkAw== - dependencies: - "@types/webpack-sources" "^0.1.5" - webpack-sources "^1.2.0" - -lie@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" - integrity sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ== - dependencies: - immediate "~3.0.5" - -loader-runner@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" - integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== - -loader-utils@1.2.3, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" - integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA== - dependencies: - big.js "^5.2.2" - emojis-list "^2.0.0" - json5 "^1.0.1" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= - -lodash.get@^4.0.0: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" - integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= - -lodash.isequal@^4.0.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= - -lodash.memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= - -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= - -lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@~4.17.15: - version "4.17.15" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" - integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== - -log-symbols@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4" - integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ== - dependencies: - chalk "^2.4.2" - -loglevel@^1.6.4: - version "1.6.7" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.7.tgz#b3e034233188c68b889f5b862415306f565e2c56" - integrity sha512-cY2eLFrQSAfVPhCgH1s7JI73tMbg9YC3v3+ZHVW67sBS7UxWzNEk/ZBbSfLykBWHp33dqqtOv82gjhKEi81T/A== - -loose-envify@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -magic-string@0.25.4: - version "0.25.4" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143" - integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw== - dependencies: - sourcemap-codec "^1.4.4" - -magic-string@^0.25.0: - version "0.25.6" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.6.tgz#5586387d1242f919c6d223579cc938bf1420795e" - integrity sha512-3a5LOMSGoCTH5rbqobC2HuDNRtE2glHZ8J7pK+QZYppyWA36yuNpsX994rIY2nCuyP7CZYy7lQq/X2jygiZ89g== - dependencies: - sourcemap-codec "^1.4.4" - -make-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.2.tgz#04a1acbf22221e1d6ef43559f43e05a90dbb4392" - integrity sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w== - dependencies: - semver "^6.0.0" - -make-fetch-happen@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d" - integrity sha512-nFr/vpL1Jc60etMVKeaLOqfGjMMb3tAHFVJWxHOFCFS04Zmd7kGlMxo0l1tzfhoQje0/UPnd0X8OeGUiXXnfPA== - dependencies: - agentkeepalive "^3.4.1" - cacache "^12.0.0" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" - lru-cache "^5.1.1" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^4.0.0" - ssri "^6.0.0" - -mamacro@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" - integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== - -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" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= - dependencies: - object-visit "^1.0.0" - -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -mdn-data@2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b" - integrity sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA== - -media-typer@0.3.0: - version "0.3.0" - 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" - integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= - -merge-source-map@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646" - integrity sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw== - dependencies: - source-map "^0.6.1" - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= - -micromatch@^3.1.10, micromatch@^3.1.4: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - -mime-db@1.43.0, "mime-db@>= 1.43.0 < 2": - version "1.43.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" - integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== - -mime-db@~1.39.0: - version "1.39.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.39.0.tgz#f95a20275742f7d2ad0429acfe40f4233543780e" - integrity sha512-DTsrw/iWVvwHH+9Otxccdyy0Tgiil6TWK/xhfARJZF/QFhwOgZgOIvA2/VIGpM8U7Q8z5nDmdDWC6tuVMJNibw== - -mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.23" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.23.tgz#d4eacd87de99348a6858fe1e479aad877388d977" - integrity sha512-ROk/m+gMVSrRxTkMlaQOvFmFmYDc7sZgrjjM76abqmd2Cc5fCV7jAMA5XUccEtJ3cYiYdgixUVI+fApc2LkXlw== - dependencies: - mime-db "~1.39.0" - -mime-types@^2.1.25, mime-types@~2.1.17, mime-types@~2.1.24: - version "2.1.26" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" - integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== - dependencies: - mime-db "1.43.0" - -mime@1.6.0, mime@^1.4.1: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mime@^2.0.3, mime@^2.4.4: - version "2.4.4" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" - integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== - -mimic-fn@^2.0.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== - -mini-css-extract-plugin@0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz#81d41ec4fe58c713a96ad7c723cdb2d0bd4d70e1" - integrity sha512-MNpRGbNA52q6U92i0qbVpQNsgk7LExy41MdAlG84FeytfDOtRIf/mCHdEgG8rpTKOaNKiqUnZdlptF469hxqOw== - dependencies: - loader-utils "^1.1.0" - normalize-url "1.9.1" - schema-utils "^1.0.0" - webpack-sources "^1.1.0" - -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= - -minimatch@3.0.4, minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= - -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= - -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-pipeline@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.2.tgz#3dcb6bb4a546e32969c7ad710f2c79a86abba93a" - integrity sha512-3JS5A2DKhD2g0Gg8x3yamO0pj7YeKGwVlDS90pF++kxptwx/F+B//roxf9SqYil5tQo65bijy+dAuAFZmYOouA== - dependencies: - minipass "^3.0.0" - -minipass@^2.2.1, minipass@^2.3.5: - version "2.3.5" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" - integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^2.8.6, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.1.tgz#7607ce778472a185ad6d89082aa2070f79cedcd5" - integrity sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w== - dependencies: - yallist "^4.0.0" - -minizlib@^1.2.1: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= - dependencies: - minimist "0.0.8" - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha1-viwAX9oy4LKa8fBdfEszIUxwH5I= - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= - -ms@2.1.1, ms@^2.0.0, ms@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" - integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== - -multicast-dns-service-types@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - integrity sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE= - -multicast-dns@^6.0.1: - version "6.2.3" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" - integrity sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g== - dependencies: - dns-packet "^1.3.1" - thunky "^1.0.2" - -mute-stream@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - -nan@^2.12.1: - version "2.14.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -negotiator@0.6.2: - 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.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" - integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -node-fetch-npm@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" - integrity sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw== - dependencies: - encoding "^0.1.11" - json-parse-better-errors "^1.0.0" - safe-buffer "^5.1.1" - -node-forge@0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.9.0.tgz#d624050edbb44874adca12bb9a52ec63cb782579" - integrity sha512-7ASaDa3pD+lJ3WvXFsxekJQelBKRpne+GOVbLbtHYdd7pFspyeuJHnWfLplGf3SwKGbfs/aYl5V/JCIaHVUKKQ== - -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" - -node-releases@^1.1.44, node-releases@^1.1.49: - version "1.1.49" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.49.tgz#67ba5a3fac2319262675ef864ed56798bb33b93e" - integrity sha512-xH8t0LS0disN0mtRCh+eByxFPie+msJUBL/lJDBuap53QGiYPa9joh83K4pCZgWJ+2L4b9h88vCVdXQ60NO2bg== - dependencies: - semver "^6.3.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== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= - dependencies: - remove-trailing-separator "^1.0.1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= - -normalize-url@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c" - integrity sha1-LMDWazHqIwNkWENuNiDYWVTGbDw= - dependencies: - object-assign "^4.0.1" - prepend-http "^1.0.0" - query-string "^4.1.0" - sort-keys "^1.0.0" - -normalize-url@^3.0.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" - integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== - -npm-bundled@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" - integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== - -npm-package-arg@6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" - integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg== - dependencies: - hosted-git-info "^2.7.1" - osenv "^0.1.5" - semver "^5.6.0" - validate-npm-package-name "^3.0.0" - -npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" - integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== - dependencies: - hosted-git-info "^2.6.0" - osenv "^0.1.5" - semver "^5.5.0" - validate-npm-package-name "^3.0.0" - -npm-package-arg@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-7.0.0.tgz#52cdf08b491c0c59df687c4c925a89102ef794a5" - integrity sha512-xXxr8y5U0kl8dVkz2oK7yZjPBvqM2fwaO5l3Yg13p03v8+E3qQcD0JNhHzjL1vyGgxcKkD0cco+NLR72iuPk3g== - dependencies: - hosted-git-info "^3.0.2" - osenv "^0.1.5" - semver "^5.6.0" - validate-npm-package-name "^3.0.0" - -npm-packlist@^1.1.12: - version "1.4.0" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.0.tgz#b2c0867af2a396e0734343d2b6b3f7934db935f2" - integrity sha512-zCAmKshsFx2MhOsXdYmZd1DO2d8ts80kVASSWX6lv8654i0edCnNCoEqwVsMygl1BSroCPW6Zh5Dcw+ann775g== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - -npm-pick-manifest@3.0.2, npm-pick-manifest@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" - integrity sha512-wNprTNg+X5nf+tDi+hbjdHhM4bX+mKqv6XmPh7B5eG+QY9VARfQPfCEH013H5GqfNj6ee8Ij2fg8yk0mzps1Vw== - dependencies: - figgy-pudding "^3.5.1" - npm-package-arg "^6.0.0" - semver "^5.4.1" - -npm-registry-fetch@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.2.tgz#2b1434f93ccbe6b6385f8e45f45db93e16921d7a" - integrity sha512-Z0IFtPEozNdeZRPh3aHHxdG+ZRpzcbQaJLthsm3VhNf6DScicTFRHZzK82u8RsJUsUHkX+QH/zcB/5pmd20H4A== - dependencies: - JSONStream "^1.3.4" - bluebird "^3.5.1" - figgy-pudding "^3.4.1" - lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - npm-package-arg "^6.1.0" - safe-buffer "^5.2.0" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -nth-check@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c" - integrity sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg== - dependencies: - boolbase "~1.0.0" - -num2fraction@^1.2.2: - version "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= - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-inspect@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b" - integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ== - -object-inspect@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" - integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== - -object-is@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.2.tgz#6b80eb84fe451498f65007982f035a5b445edec4" - integrity sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ== - -object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= - dependencies: - isobject "^3.0.0" - -object.assign@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" - integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== - dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - has-symbols "^1.0.0" - object-keys "^1.0.11" - -object.getownpropertydescriptors@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" - integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY= - dependencies: - define-properties "^1.1.2" - es-abstract "^1.5.1" - -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== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" - -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" - -object.values@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e" - integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" - function-bind "^1.1.1" - has "^1.0.3" - -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= - dependencies: - ee-first "1.1.1" - -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - dependencies: - wrappy "1" - -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== - dependencies: - mimic-fn "^2.1.0" - -open@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/open/-/open-7.0.0.tgz#7e52999b14eb73f90f0f0807fe93897c4ae73ec9" - integrity sha512-K6EKzYqnwQzk+/dzJAQSBORub3xlBTxMz+ntpZpH/LyCa1o6KjXhuN+2npAaI9jaSmU3R1Q8NWf4KUWcyytGsQ== - dependencies: - is-wsl "^2.1.0" - -opn@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== - dependencies: - is-wsl "^1.1.0" - -optimist@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - -ora@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.2.tgz#0e1e68fd45b135d28648b27cf08081fa6e8a297d" - integrity sha512-YUOZbamht5mfLxPmk4M35CD/5DuOkAacxlEUbStVXpBAt4fyhBf+vZHI/HRkI++QUp3sNoeA2Gw4C+hi4eGSig== - dependencies: - chalk "^2.4.2" - cli-cursor "^3.1.0" - cli-spinners "^2.2.0" - is-interactive "^1.0.0" - log-symbols "^3.0.0" - strip-ansi "^5.2.0" - wcwidth "^1.0.1" - -original@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" - integrity sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg== - dependencies: - url-parse "^1.4.3" - -os-browserify@^0.3.0: - version "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: - 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.0.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" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - -osenv@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - 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@^2.0.0, p-limit@^2.2.0, p-limit@^2.2.1, p-limit@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== - dependencies: - p-try "^2.0.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== - dependencies: - aggregate-error "^3.0.0" - -p-retry@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" - integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== - dependencies: - retry "^0.12.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -pacote@9.5.8: - version "9.5.8" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-9.5.8.tgz#23480efdc4fa74515855c9ecf39cf64078f99786" - integrity sha512-0Tl8Oi/K0Lo4MZmH0/6IsT3gpGf9eEAznLXEQPKgPq7FscnbUOyopnVpwXlnQdIbCUaojWy1Wd7VMyqfVsRrIw== - dependencies: - bluebird "^3.5.3" - cacache "^12.0.2" - chownr "^1.1.2" - figgy-pudding "^3.5.1" - get-stream "^4.1.0" - glob "^7.1.3" - infer-owner "^1.0.4" - lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - minimatch "^3.0.4" - minipass "^2.3.5" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.1.12" - npm-pick-manifest "^3.0.0" - npm-registry-fetch "^4.0.0" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.1" - rimraf "^2.6.2" - safe-buffer "^5.1.2" - semver "^5.6.0" - ssri "^6.0.1" - tar "^4.4.10" - unique-filename "^1.1.1" - which "^1.3.1" - -pako@~1.0.2, pako@~1.0.5: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - -parallel-transform@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" - integrity sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY= - dependencies: - cyclist "~0.2.2" - inherits "^2.0.3" - readable-stream "^2.1.5" - -parse-asn1@^5.0.0: - version "5.1.5" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e" - integrity sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ== - dependencies: - asn1.js "^4.0.0" - browserify-aes "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse5@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" - integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== - -parseurl@~1.3.2, parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= - -patch-package@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.1.tgz#e3c55cf09dffd3984dd300e30d842672b604307f" - integrity sha512-dfCtQor63PPij6DDYtCzBRoO5nNAcMSg7Cmh+DLhR+s3t0OLQBdvFxJksZHBe1J2MjsSWDjTF4+oQKFbdkssIg== - dependencies: - "@yarnpkg/lockfile" "^1.1.0" - chalk "^2.4.2" - cross-spawn "^6.0.5" - find-yarn-workspace-root "^1.2.1" - fs-extra "^7.0.1" - is-ci "^2.0.0" - klaw-sync "^6.0.0" - minimist "^1.2.0" - rimraf "^2.6.3" - semver "^5.6.0" - slash "^2.0.0" - tmp "^0.0.33" - -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -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" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= - -path-is-inside@^1.0.1, path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -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" - integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== - -path-to-regexp@0.1.7: - version "0.1.7" - 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" - -pbkdf2@^3.0.3: - version "3.0.17" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" - integrity sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - -picomatch@^2.0.4, picomatch@^2.0.7: - version "2.2.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" - integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== - -pify@^2.0.0, pify@^2.3.0: - version "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" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= - -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== - dependencies: - find-up "^3.0.0" - -pkg-dir@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -portfinder@^1.0.25: - version "1.0.25" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca" - integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg== - dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.1" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= - -postcss-calc@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-7.0.1.tgz#36d77bab023b0ecbb9789d84dcb23c4941145436" - integrity sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ== - dependencies: - css-unit-converter "^1.1.1" - postcss "^7.0.5" - postcss-selector-parser "^5.0.0-rc.4" - postcss-value-parser "^3.3.1" - -postcss-colormin@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-4.0.3.tgz#ae060bce93ed794ac71264f08132d550956bd381" - integrity sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw== - dependencies: - browserslist "^4.0.0" - color "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-convert-values@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz#ca3813ed4da0f812f9d43703584e449ebe189a7f" - integrity sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ== - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-discard-comments@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033" - integrity sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg== - dependencies: - postcss "^7.0.0" - -postcss-discard-duplicates@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz#3fe133cd3c82282e550fc9b239176a9207b784eb" - integrity sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ== - dependencies: - postcss "^7.0.0" - -postcss-discard-empty@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz#c8c951e9f73ed9428019458444a02ad90bb9f765" - integrity sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w== - dependencies: - postcss "^7.0.0" - -postcss-discard-overridden@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz#652aef8a96726f029f5e3e00146ee7a4e755ff57" - integrity sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg== - dependencies: - postcss "^7.0.0" - -postcss-import@12.0.1: - version "12.0.1" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153" - integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw== - dependencies: - postcss "^7.0.1" - postcss-value-parser "^3.2.3" - read-cache "^1.0.0" - resolve "^1.1.7" - -postcss-load-config@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003" - integrity sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q== - dependencies: - cosmiconfig "^5.0.0" - import-cwd "^2.0.0" - -postcss-loader@3.0.0: - 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" - resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz#62f49a13e4a0ee04e7b98f42bb16062ca2549e24" - integrity sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw== - dependencies: - css-color-names "0.0.4" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - stylehacks "^4.0.0" - -postcss-merge-rules@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz#362bea4ff5a1f98e4075a713c6cb25aefef9a650" - integrity sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ== - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - cssnano-util-same-parent "^4.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - vendors "^1.0.0" - -postcss-minify-font-values@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz#cd4c344cce474343fac5d82206ab2cbcb8afd5a6" - integrity sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg== - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-minify-gradients@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz#93b29c2ff5099c535eecda56c4aa6e665a663471" - integrity sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q== - dependencies: - cssnano-util-get-arguments "^4.0.0" - is-color-stop "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-minify-params@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz#6b9cef030c11e35261f95f618c90036d680db874" - integrity sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg== - dependencies: - alphanum-sort "^1.0.0" - browserslist "^4.0.0" - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - uniqs "^2.0.0" - -postcss-minify-selectors@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz#e2e5eb40bfee500d0cd9243500f5f8ea4262fbd8" - integrity sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g== - dependencies: - alphanum-sort "^1.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - -postcss-normalize-charset@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4" - integrity sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g== - dependencies: - postcss "^7.0.0" - -postcss-normalize-display-values@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz#0dbe04a4ce9063d4667ed2be476bb830c825935a" - integrity sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ== - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-positions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz#05f757f84f260437378368a91f8932d4b102917f" - integrity sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA== - dependencies: - cssnano-util-get-arguments "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-repeat-style@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz#c4ebbc289f3991a028d44751cbdd11918b17910c" - integrity sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q== - dependencies: - cssnano-util-get-arguments "^4.0.0" - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-string@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz#cd44c40ab07a0c7a36dc5e99aace1eca4ec2690c" - integrity sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA== - dependencies: - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-timing-functions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz#8e009ca2a3949cdaf8ad23e6b6ab99cb5e7d28d9" - integrity sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A== - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-unicode@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz#841bd48fdcf3019ad4baa7493a3d363b52ae1cfb" - integrity sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg== - dependencies: - browserslist "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-url@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz#10e437f86bc7c7e58f7b9652ed878daaa95faae1" - integrity sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA== - dependencies: - is-absolute-url "^2.0.0" - normalize-url "^3.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-whitespace@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz#bf1d4070fe4fcea87d1348e825d8cc0c5faa7d82" - integrity sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA== - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-ordered-values@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz#0cf75c820ec7d5c4d280189559e0b571ebac0eee" - integrity sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw== - dependencies: - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-reduce-initial@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df" - integrity sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA== - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - -postcss-reduce-transforms@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz#17efa405eacc6e07be3414a5ca2d1074681d4e29" - integrity sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg== - dependencies: - cssnano-util-get-match "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-selector-parser@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz#b310f5c4c0fdaf76f94902bbaa30db6aa84f5270" - integrity sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA== - dependencies: - dot-prop "^5.2.0" - indexes-of "^1.0.1" - uniq "^1.0.1" - -postcss-selector-parser@^5.0.0-rc.4: - version "5.0.0" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz#249044356697b33b64f1a8f7c80922dddee7195c" - integrity sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ== - dependencies: - cssesc "^2.0.0" - indexes-of "^1.0.1" - uniq "^1.0.1" - -postcss-svgo@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258" - integrity sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw== - dependencies: - is-svg "^3.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - svgo "^1.0.0" - -postcss-unique-selectors@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz#9446911f3289bfd64c6d680f073c03b1f9ee4bac" - integrity sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg== - dependencies: - alphanum-sort "^1.0.0" - postcss "^7.0.0" - uniqs "^2.0.0" - -postcss-value-parser@^3.0.0, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" - integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== - -postcss-value-parser@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz#482282c09a42706d1fc9a069b73f44ec08391dc9" - integrity sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ== - -postcss@7.0.21: - version "7.0.21" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.21.tgz#06bb07824c19c2021c5d056d5b10c35b989f7e17" - integrity sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ== - dependencies: - chalk "^2.4.2" - source-map "^0.6.1" - supports-color "^6.1.0" - -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.21, postcss@^7.0.5: - version "7.0.26" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.26.tgz#5ed615cfcab35ba9bbb82414a4fa88ea10429587" - integrity sha512-IY4oRjpXWYshuTDFxMVkJDtWIk2LhsTlu8bZnbEJA4+bYT16Lvpo8Qv6EvDumhYRgzjZl489pmsY3qVgJQ08nA== - dependencies: - chalk "^2.4.2" - source-map "^0.6.1" - supports-color "^6.1.0" - -prepend-http@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - -private@^0.1.6: - version "0.1.8" - resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" - integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== - -process-nextick-args@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" - integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw== - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= - -progress@^2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= - -promise-retry@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d" - integrity sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0= - dependencies: - err-code "^1.0.0" - retry "^0.10.0" - -promise@^7.1.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" - integrity sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== - dependencies: - asap "~2.0.3" - -protoduck@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" - integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== - dependencies: - genfun "^5.0.0" - -"protractor@file:../../node_modules/protractor": - version "5.4.3" - dependencies: - "@types/q" "^0.0.32" - "@types/selenium-webdriver" "^3.0.0" - blocking-proxy "^1.0.0" - browserstack "^1.5.1" - chalk "^1.1.3" - glob "^7.0.3" - jasmine "2.8.0" - jasminewd2 "^2.1.0" - optimist "~0.6.0" - q "1.4.1" - saucelabs "^1.5.0" - selenium-webdriver "3.6.0" - source-map-support "~0.4.0" - webdriver-js-extender "2.1.0" - webdriver-manager "^12.0.6" - -proxy-addr@~2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34" - integrity sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ== - dependencies: - forwarded "~0.1.2" - ipaddr.js "1.9.0" - -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" - integrity sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4= - -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= - -psl@^1.1.24: - version "1.1.31" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" - integrity sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw== - -psl@^1.1.28: - version "1.7.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" - integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== - -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - 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" - -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= - -punycode@^1.2.4, punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - -punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -"puppeteer@file:../../node_modules/puppeteer": - version "2.1.1" - dependencies: - "@types/mime-types" "^2.1.0" - debug "^4.1.0" - extract-zip "^1.6.6" - https-proxy-agent "^4.0.0" - mime "^2.0.3" - mime-types "^2.1.25" - progress "^2.0.1" - proxy-from-env "^1.0.0" - rimraf "^2.6.1" - ws "^6.1.0" - -q@1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e" - integrity sha1-VXBbzZPF82c1MMLCy8DCs63cKG4= - -q@^1.1.2, q@^1.4.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= - -qs@6.7.0: - version "6.7.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" - integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== - -qs@~6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== - -query-string@^4.1.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" - integrity sha1-u7aTucqRXCMlFbIosaArYJBD2+s= - dependencies: - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= - -querystringify@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" - integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== - -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@^1.2.1, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332" - integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q== - dependencies: - bytes "3.1.0" - http-errors "1.7.2" - iconv-lite "0.4.24" - unpipe "1.0.0" - -raw-loader@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-3.1.0.tgz#5e9d399a5a222cc0de18f42c3bc5e49677532b3f" - integrity sha512-lzUVMuJ06HF4rYveaz9Tv0WRlUMxJ0Y1hgSkkgg+50iEdaI0TthyEDe08KIHb0XsF6rn8WYTqPCaGTZg3sX+qA== - dependencies: - loader-utils "^1.1.0" - schema-utils "^2.0.1" - -read-cache@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" - integrity sha1-5mTvMRYRZsl1HNvo28+GtftY93Q= - dependencies: - pify "^2.3.0" - -read-package-json@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5" - integrity sha512-KLhu8M1ZZNkMcrq1+0UJbR8Dii8KZUqB0Sha4mOx/bknfKI/fyrQVrG/YIt2UOtG667sD8+ee4EXMM91W9dC+A== - dependencies: - glob "^7.1.1" - json-parse-better-errors "^1.0.1" - normalize-package-data "^2.0.0" - slash "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" - -read-package-tree@5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" - integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== - dependencies: - 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.1.5, readable-stream@^2.2.2, 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" - integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.3.3: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^3.0.6: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - 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" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - -readdirp@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17" - integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ== - dependencies: - picomatch "^2.0.7" - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - -reflect-metadata@^0.1.2: - version "0.1.13" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" - integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== - -regenerate-unicode-properties@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e" - integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA== - dependencies: - regenerate "^1.4.0" - -regenerate@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" - integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== - -regenerator-runtime@0.13.3: - version "0.13.3" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== - -regenerator-transform@^0.14.0: - version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" - integrity sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ== - dependencies: - private "^0.1.6" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexp.prototype.flags@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75" - integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" - -regexpu-core@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" - integrity sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg== - dependencies: - regenerate "^1.4.0" - regenerate-unicode-properties "^8.1.0" - regjsgen "^0.5.0" - regjsparser "^0.6.0" - unicode-match-property-ecmascript "^1.0.4" - unicode-match-property-value-ecmascript "^1.1.0" - -regjsgen@^0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" - integrity sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg== - -regjsparser@^0.6.0: - version "0.6.3" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.3.tgz#74192c5805d35e9f5ebe3c1fb5b40d40a8a38460" - integrity sha512-8uZvYbnfAtEm9Ab8NTb3hdLwL4g/LQzEYP7Xs27T96abJCCE2d6r3cPZPQEsLKy0vRSGVNG+/zVGtLr86HQduA== - dependencies: - jsesc "~0.5.0" - -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= - -repeat-element@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" - integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= - -request@^2.83.0, request@^2.87.0: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -request@^2.88.0: - version "2.88.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" - integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.0" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.4.3" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -require-directory@^2.1.1: - version "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" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= - -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= - dependencies: - resolve-from "^3.0.0" - -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= - -resolve@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" - integrity sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA== - dependencies: - path-parse "^1.0.5" - -resolve@^1.1.6, resolve@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" - integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg== - dependencies: - path-parse "^1.0.6" - -resolve@^1.1.7, resolve@^1.3.2: - version "1.15.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" - integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== - dependencies: - path-parse "^1.0.6" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -retry@^0.10.0: - version "0.10.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" - integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q= - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= - -rgb-regex@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" - integrity sha1-wODWiC3w4jviVKR16O3UGRX+rrE= - -rgba-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" - integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= - -rimraf@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.0.tgz#614176d4b3010b75e5c390eb0ee96f6dc0cebb9b" - integrity sha512-NDGVxTsjqfunkds7CqsOiEnxln4Bo7Nddl3XhS4pXg5OzwkLqJ971ZVAAnB+DDLnF76N+VnDEiBHaVV8I06SUg== - dependencies: - glob "^7.1.3" - -rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.6.1, rimraf@^2.6.3, rimraf@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^2.5.4, rimraf@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - dependencies: - glob "^7.1.3" - -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -rollup@1.25.2: - version "1.25.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.25.2.tgz#739f508bd8f7ece52bb6c1fcda83466af82b7f6d" - integrity sha512-+7z6Wab/L45QCPcfpuTZKwKiB0tynj05s/+s2U3F2Bi7rOLPr9UcjUwO7/xpjlPNXA/hwnth6jBExFRGyf3tMg== - dependencies: - "@types/estree" "*" - "@types/node" "*" - acorn "^7.1.0" - -run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= - dependencies: - is-promise "^2.1.0" - -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec= - dependencies: - aproba "^1.1.1" - -rxjs@6.5.3: - version "6.5.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" - integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== - dependencies: - tslib "^1.9.0" - -rxjs@^6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504" - integrity sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw== - dependencies: - tslib "^1.9.0" - -safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@>=5.1.0, safe-buffer@^5.1.0, safe-buffer@^5.2.0, safe-buffer@~5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@^2.1.2, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -sass-loader@8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-8.0.0.tgz#e7b07a3e357f965e6b03dd45b016b0a9746af797" - integrity sha512-+qeMu563PN7rPdit2+n5uuYVR0SSVwm0JsOUsaJXzgYcClWSlmX0iHDnmeOobPkf5kUglVot3QS6SyLyaQoJ4w== - dependencies: - clone-deep "^4.0.1" - loader-utils "^1.2.3" - neo-async "^2.6.1" - schema-utils "^2.1.0" - semver "^6.3.0" - -sass@1.23.3: - version "1.23.3" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.23.3.tgz#f07503b9e8d2bcf06ef69e8beea5d085589b1620" - integrity sha512-1DKRZxJMOh4Bme16AbWTyYeJAjTlrvw2+fWshHHaepeJfGq2soFZTnt0YhWit+bohtDu4LdyPoEj6VFD4APHog== - dependencies: - chokidar ">=2.0.0 <4.0.0" - -saucelabs@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/saucelabs/-/saucelabs-1.5.0.tgz#9405a73c360d449b232839919a86c396d379fd9d" - integrity sha512-jlX3FGdWvYf4Q3LFfFWS1QvPg3IGCGWxIc8QBFdPTbpTJnt/v17FHXYVAn7C8sHf1yUXo2c7yIM0isDryfYtHQ== - dependencies: - https-proxy-agent "^2.2.1" - -sax@>=0.6.0, sax@~1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== - -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== - dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" - -schema-utils@^2.0.0, schema-utils@^2.0.1, schema-utils@^2.1.0, schema-utils@^2.6.1, schema-utils@^2.6.4: - version "2.6.4" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.6.4.tgz#a27efbf6e4e78689d91872ee3ccfa57d7bdd0f53" - integrity sha512-VNjcaUxVnEeun6B2fiiUDjXXBtD4ZSH7pdbfIu1pOFwgptDPLMo/z9jr4sUfsjFVPqDCEin/F7IYlq7/E6yDbQ== - dependencies: - ajv "^6.10.2" - ajv-keywords "^3.4.1" - -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= - -selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1: - version "3.6.0" - resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-3.6.0.tgz#2ba87a1662c020b8988c981ae62cb2a01298eafc" - integrity sha512-WH7Aldse+2P5bbFBO4Gle/nuQOdVwpHMTL6raL3uuBj/vPG07k6uzt3aiahu352ONBr5xXh0hDlM3LhtXPOC4Q== - dependencies: - jszip "^3.1.3" - rimraf "^2.5.4" - tmp "0.0.30" - xml2js "^0.4.17" - -selfsigned@^1.10.7: - version "1.10.7" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.7.tgz#da5819fd049d5574f28e88a9bcc6dbc6e6f3906b" - integrity sha512-8M3wBCzeWIJnQfl43IKwOmC4H/RAp50S8DF60znzjW5GVqTcSe2vWclt7hmYVPkKPlHWOu5EaWOMZ2Y6W8ZXTA== - dependencies: - node-forge "0.9.0" - -semver-intersect@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/semver-intersect/-/semver-intersect-1.4.0.tgz#bdd9c06bedcdd2fedb8cd352c3c43ee8c61321f3" - integrity sha512-d8fvGg5ycKAq0+I6nfWeCx6ffaWJCsBYU0H2Rq56+/zFePYfT8mXkB3tWBSjR5BerkHNZ5eTPIk1/LBYas35xQ== - dependencies: - semver "^5.0.0" - -"semver@2 || 3 || 4 || 5", semver@^5.0.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" - integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== - -semver@6.3.0, semver@^6.0.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - -semver@^5.3.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -send@0.17.1: - version "0.17.1" - resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" - integrity sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg== - dependencies: - debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "~1.7.2" - mime "1.6.0" - ms "2.1.1" - on-finished "~2.3.0" - range-parser "~1.2.1" - statuses "~1.5.0" - -serialize-javascript@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-2.1.2.tgz#ecec53b0e0317bdc95ef76ab7074b7384785fa61" - integrity sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ== - -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha1-03aNabHn2C5c4FD/9bRTvqEqkjk= - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - -serve-static@1.14.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" - integrity sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.17.1" - -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= - -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" - integrity sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E= - -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= - -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - -setprototypeof@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" - integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== - -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" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - 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" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - -shelljs@0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" - integrity sha512-pRXeNrCA2Wd9itwhvLp5LZQvPJ0wU6bcjaTMywHHGX5XWhVN2nzSu7WV0q+oUY7mGK3mgSkDDzP3MgjqdyIgbQ== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo= - dependencies: - is-arrayish "^0.3.1" - -slash@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" - integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -smart-buffer@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d" - integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw== - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -sockjs-client@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.4.0.tgz#c9f2568e19c8fd8173b4997ea3420e0bb306c7d5" - integrity sha512-5zaLyO8/nri5cua0VtOrFXBPK1jbL4+1cebT/mmKA1E1ZXOvJrII75bPu0l0k843G/+iAbhEqzyKr0w/eCCj7g== - dependencies: - debug "^3.2.5" - eventsource "^1.0.7" - faye-websocket "~0.11.1" - inherits "^2.0.3" - json3 "^3.3.2" - url-parse "^1.4.3" - -sockjs@0.3.19: - version "0.3.19" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.19.tgz#d976bbe800af7bd20ae08598d582393508993c0d" - integrity sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw== - dependencies: - faye-websocket "^0.10.0" - uuid "^3.0.1" - -socks-proxy-agent@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" - integrity sha512-Kezx6/VBguXOsEe5oU3lXYyKMi4+gva72TwJ7pQY5JfqUx2nMk7NXA6z/mpNqIlfQjWYVfeuNvQjexiTaTn6Nw== - dependencies: - agent-base "~4.2.0" - socks "~2.2.0" - -socks@~2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.2.3.tgz#7399ce11e19b2a997153c983a9ccb6306721f2dc" - integrity sha512-+2r83WaRT3PXYoO/1z+RDEBE7Z2f9YcdQnJ0K/ncXXbV5gJ6wYfNAebYFYiiUjM6E4JyXnPY8cimwyvFYHVUUA== - dependencies: - ip "^1.1.5" - smart-buffer "4.0.2" - -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0= - dependencies: - is-plain-obj "^1.0.0" - -source-list-map@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - -source-map-loader@0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.2.4.tgz#c18b0dc6e23bf66f6792437557c569a11e072271" - integrity sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ== - dependencies: - async "^2.5.0" - loader-utils "^1.1.0" - -source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== - dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@0.5.16, source-map-support@^0.5.5, source-map-support@~0.5.12: - version "0.5.16" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" - integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.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" - integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA== - dependencies: - source-map "^0.5.6" - -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" - integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= - -source-map@0.7.3, source-map@^0.7.3: - version "0.7.3" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" - integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== - -source-map@^0.5.0, source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -sourcemap-codec@^1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" - integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== - -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - -spdx-correct@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" - integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" - integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== - -spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" - integrity sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g== - -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.1.tgz#6f12ed1c5db7ea4f24ebb8b89ba58c87c08257f2" - integrity sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - -speed-measure-webpack-plugin@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.1.tgz#69840a5cdc08b4638697dac7db037f595d7f36a0" - integrity sha512-qVIkJvbtS9j/UeZumbdfz0vg+QfG/zxonAjzefZrqzkr7xOncLVXkeGbTpzd1gjCBM4PmVNkWlkeTVhgskAGSQ== - dependencies: - chalk "^2.0.1" - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.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" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= - -sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - 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" - -ssri@^6.0.0, ssri@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" - integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== - dependencies: - figgy-pudding "^3.5.1" - -ssri@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-7.1.0.tgz#92c241bf6de82365b5c7fb4bd76e975522e1294d" - integrity sha512-77/WrDZUWocK0mvA5NTRQyveUf+wsrIc6vyrxpS8tVvYBcX215QbafrJR3KtkpskIzoFLqqNuuYQvxaMjXJ/0g== - dependencies: - figgy-pudding "^3.5.1" - minipass "^3.1.1" - -stable@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" - integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= - -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - -stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= - -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= - -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@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.1.0.tgz#ba846d1daa97c3c596155308063e075ed1c99aff" - integrity sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^5.2.0" - -string-width@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" - integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" - -string.prototype.trimleft@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634" - integrity sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string.prototype.trimleft@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" - integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string.prototype.trimright@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz#669d164be9df9b6f7559fa8e89945b168a5a6c58" - integrity sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string.prototype.trimright@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9" - integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string_decoder@^1.0.0, string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -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" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - 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.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" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== - dependencies: - ansi-regex "^5.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" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -style-loader@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.0.0.tgz#1d5296f9165e8e2c85d24eee0b7caf9ec8ca1f82" - integrity sha512-B0dOCFwv7/eY31a5PCieNwMgMhVGFe9w+rh7s/Bx8kfFkrth9zfTZquoYvdw8URgiqxObQKcpW51Ugz1HjfdZw== - dependencies: - loader-utils "^1.2.3" - schema-utils "^2.0.1" - -stylehacks@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-4.0.3.tgz#6718fcaf4d1e07d8a1318690881e8d96726a71d5" - integrity sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g== - dependencies: - browserslist "^4.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - -stylus-loader@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6" - integrity sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA== - dependencies: - loader-utils "^1.0.2" - lodash.clonedeep "^4.5.0" - when "~3.6.x" - -stylus@0.54.7: - version "0.54.7" - resolved "https://registry.yarnpkg.com/stylus/-/stylus-0.54.7.tgz#c6ce4793965ee538bcebe50f31537bfc04d88cd2" - integrity sha512-Yw3WMTzVwevT6ZTrLCYNHAFmanMxdylelL3hkWNgPMeTCpMwpV3nXjpOHuBXtFv7aiO2xRuQS6OoAdgkNcSNug== - dependencies: - css-parse "~2.0.0" - debug "~3.1.0" - glob "^7.1.3" - mkdirp "~0.5.x" - safer-buffer "^2.1.2" - sax "~1.2.4" - semver "^6.0.0" - source-map "^0.7.3" - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" - integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== - dependencies: - has-flag "^4.0.0" - -svgo@^1.0.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167" - integrity sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw== - dependencies: - chalk "^2.4.1" - coa "^2.0.2" - css-select "^2.0.0" - css-select-base-adapter "^0.1.1" - css-tree "1.0.0-alpha.37" - csso "^4.0.2" - js-yaml "^3.13.1" - mkdirp "~0.5.1" - object.values "^1.1.0" - sax "~1.2.4" - stable "^0.1.8" - unquote "~1.1.1" - util.promisify "~1.0.0" - -symbol-observable@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - -tapable@^1.0.0, tapable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" - integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - -tar@^4.4.10: - version "4.4.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - -terser-webpack-plugin@2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-2.3.3.tgz#b89043168bd414153bab86f4362ac23d537b78b0" - integrity sha512-gWHkaGzGYjmDoYxksFZynWTzvXOAjQ5dd7xuTMYlv4zpWlLSb6v0QLSZjELzP5dMs1ox30O1BIPs9dgqlMHuLQ== - dependencies: - cacache "^13.0.1" - find-cache-dir "^3.2.0" - jest-worker "^25.1.0" - p-limit "^2.2.2" - schema-utils "^2.6.4" - serialize-javascript "^2.1.2" - source-map "^0.6.1" - terser "^4.4.3" - webpack-sources "^1.4.3" - -terser-webpack-plugin@^1.4.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.3.tgz#5ecaf2dbdc5fb99745fd06791f46fc9ddb1c9a7c" - integrity sha512-QMxecFz/gHQwteWwSo5nTc6UaICqN1bMedC5sMtUc7y3Ha3Q8y6ZO0iCR8pq4RJC8Hjf0FEPEHZqcMB/+DFCrA== - dependencies: - cacache "^12.0.2" - find-cache-dir "^2.1.0" - is-wsl "^1.1.0" - schema-utils "^1.0.0" - serialize-javascript "^2.1.2" - source-map "^0.6.1" - terser "^4.1.2" - webpack-sources "^1.4.0" - worker-farm "^1.7.0" - -terser@4.5.1: - version "4.5.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.5.1.tgz#63b52d6b6ce344aa6fedcd0ee06a695799eb50bd" - integrity sha512-lH9zLIbX8PRBEFCTvfHGCy0s9HEKnNso1Dx9swSopF3VUnFLB8DpQ61tHxoofovNC/sG0spajJM3EIIRSTByiQ== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -terser@^4.1.2, terser@^4.4.3: - version "4.6.3" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.3.tgz#e33aa42461ced5238d352d2df2a67f21921f8d87" - integrity sha512-Lw+ieAXmY69d09IIc/yqeBqXpEQIpDGZqT34ui1QWXIUpR2RjbqEkT8X7Lgex19hslSqcWM5iMN2kM11eMsESQ== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -"through@>=2.2.7 <3", through@^2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - -timers-browserify@^2.0.4: - version "2.0.11" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f" - integrity sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== - dependencies: - setimmediate "^1.0.4" - -timsort@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" - integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= - -tmp@0.0.30: - version "0.0.30" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.30.tgz#72419d4a8be7d6ce75148fd8b324e593a711c2ed" - integrity sha1-ckGdSovn1s51FI/YsyTlk6cRwu0= - dependencies: - os-tmpdir "~1.0.1" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= - -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" - integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -toidentifier@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" - integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== - -tough-cookie@~2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" - integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== - dependencies: - psl "^1.1.24" - punycode "^1.4.1" - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tree-kill@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -tsickle@^0.38.0: - version "0.38.0" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.38.0.tgz#89f5952c9bb3ba0b36dc384975e23cf90e584822" - integrity sha512-k7kI6afBuLd2jIrj9JR8lKhEkp99sFVRKQbHeaHQkdvDaH5AvzwqA/qX+aNj28OfuAsWryOKAZoXm24l7JelEw== - -tslib@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -tslib@^1.9.0: - version "1.9.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" - integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== - -"tslib@file:../../node_modules/tslib": - version "1.10.0" - -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= - -type-fest@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.5.2.tgz#d6ef42a0356c6cd45f49485c3b6281fc148e48a2" - integrity sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw== - -type-is@~1.6.17, type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -typescript@3.6.4: - version "3.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" - integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== - -"typescript@file:../../node_modules/typescript": - version "3.8.3" - -typescript@~3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977" - integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g== - -unicode-canonical-property-names-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" - integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ== - -unicode-match-property-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c" - integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg== - dependencies: - unicode-canonical-property-names-ecmascript "^1.0.4" - unicode-property-aliases-ecmascript "^1.0.4" - -unicode-match-property-value-ecmascript@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277" - integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g== - -unicode-property-aliases-ecmascript@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" - integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== - -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - -uniq@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" - integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8= - -uniqs@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" - integrity sha1-/+3ks2slKQaW5uFl1KWe25mOawI= - -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.1.tgz#5e9edc6d1ce8fb264db18a507ef9bd8544451ca6" - integrity sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg== - dependencies: - imurmurhash "^0.1.4" - -universal-analytics@^0.4.20: - version "0.4.20" - resolved "https://registry.yarnpkg.com/universal-analytics/-/universal-analytics-0.4.20.tgz#d6b64e5312bf74f7c368e3024a922135dbf24b03" - integrity sha512-gE91dtMvNkjO+kWsPstHRtSwHXz0l2axqptGYp5ceg4MsuurloM0PU3pdOfpb5zBXUvyjT4PwhWK2m39uczZuw== - dependencies: - debug "^3.0.0" - request "^2.88.0" - uuid "^3.0.0" - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= - -unquote@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" - integrity sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ= - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -upath@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== - -uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== - dependencies: - punycode "^2.1.0" - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= - -url-parse@^1.4.3: - version "1.4.7" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" - integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg== - dependencies: - querystringify "^2.1.1" - 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" - integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= - dependencies: - punycode "1.3.2" - querystring "0.2.0" - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - 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" - integrity sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.2" - has-symbols "^1.0.1" - object.getownpropertydescriptors "^2.1.0" - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= - -uuid@^3.0.0, uuid@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - -uuid@^3.0.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - -validate-npm-package-license@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= - dependencies: - builtins "^1.0.3" - -validator@^8.0.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/validator/-/validator-8.2.0.tgz#3c1237290e37092355344fef78c231249dab77b9" - integrity sha512-Yw5wW34fSv5spzTXNkokD6S6/Oq92d8q/t14TqsS3fAiA1RYnxSFSIZ+CY3n6PGGRCq5HhJTSepQvFUS2QUDxA== - -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= - -vendors@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e" - integrity sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w== - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -vm-browserify@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== - -watchpack@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" - integrity sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== - dependencies: - chokidar "^2.0.2" - graceful-fs "^4.1.2" - neo-async "^2.5.0" - -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - -wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= - dependencies: - defaults "^1.0.3" - -webdriver-js-extender@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz#57d7a93c00db4cc8d556e4d3db4b5db0a80c3bb7" - integrity sha512-lcUKrjbBfCK6MNsh7xaY2UAUmZwe+/ib03AjVOpFobX4O7+83BUveSrLfU0Qsyb1DaKJdQRbuU+kM9aZ6QUhiQ== - dependencies: - "@types/selenium-webdriver" "^3.0.0" - selenium-webdriver "^3.0.1" - -webdriver-manager@^12.0.6, "webdriver-manager@file:../../node_modules/webdriver-manager": - version "12.1.7" - dependencies: - adm-zip "^0.4.9" - chalk "^1.1.1" - del "^2.2.0" - glob "^7.0.3" - ini "^1.3.4" - minimist "^1.2.0" - q "^1.4.1" - request "^2.87.0" - rimraf "^2.5.2" - semver "^5.3.0" - xml2js "^0.4.17" - -webpack-dev-middleware@3.7.2, webpack-dev-middleware@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3" - integrity sha512-1xC42LxbYoqLNAhV6YzTYacicgMZQTqRd27Sim9wn5hJrX3I5nxYy1SxSd4+gjUFsz1dQFj+yEe6zEVmSkeJjw== - dependencies: - memory-fs "^0.4.1" - mime "^2.4.4" - mkdirp "^0.5.1" - range-parser "^1.2.1" - webpack-log "^2.0.0" - -webpack-dev-server@3.9.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.9.0.tgz#27c3b5d0f6b6677c4304465ac817623c8b27b89c" - integrity sha512-E6uQ4kRrTX9URN9s/lIbqTAztwEPdvzVrcmHE8EQ9YnuT9J8Es5Wrd8n9BKg1a0oZ5EgEke/EQFgUsp18dSTBw== - dependencies: - ansi-html "0.0.7" - bonjour "^3.5.0" - chokidar "^2.1.8" - compression "^1.7.4" - connect-history-api-fallback "^1.6.0" - debug "^4.1.1" - del "^4.1.1" - express "^4.17.1" - html-entities "^1.2.1" - http-proxy-middleware "0.19.1" - import-local "^2.0.0" - internal-ip "^4.3.0" - ip "^1.1.5" - is-absolute-url "^3.0.3" - killable "^1.0.1" - loglevel "^1.6.4" - opn "^5.5.0" - p-retry "^3.0.1" - portfinder "^1.0.25" - schema-utils "^1.0.0" - selfsigned "^1.10.7" - semver "^6.3.0" - serve-index "^1.9.1" - sockjs "0.3.19" - sockjs-client "1.4.0" - spdy "^4.0.1" - strip-ansi "^3.0.1" - supports-color "^6.1.0" - url "^0.11.0" - webpack-dev-middleware "^3.7.2" - webpack-log "^2.0.0" - ws "^6.2.1" - yargs "12.0.5" - -webpack-log@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f" - integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg== - dependencies: - ansi-colors "^3.0.0" - uuid "^3.3.2" - -webpack-merge@4.2.2: - 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: - lodash "^4.17.15" - -webpack-sources@1.4.3, 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" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack-subresource-integrity@1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.3.4.tgz#4554e0c622d6787f880eba009cdb73139c107bad" - integrity sha512-6XbGYzjh30cGQT/NsC+9IAkJP8IL7/t47sbwR5DLSsamiD56Rwv4/+hsgEHsviPvrEFZ0JRAQtCRN3UsR2Pw9g== - dependencies: - webpack-sources "^1.3.0" - -webpack@4.41.2: - version "4.41.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.2.tgz#c34ec76daa3a8468c9b61a50336d8e3303dce74e" - integrity sha512-Zhw69edTGfbz9/8JJoyRQ/pq8FYUoY0diOXqW0T6yhgdhCv6wr0hra5DwwWexNRns2Z2+gsnrNcbe9hbGBgk/A== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/wasm-edit" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - acorn "^6.2.1" - ajv "^6.10.2" - ajv-keywords "^3.4.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^4.1.0" - eslint-scope "^4.0.3" - json-parse-better-errors "^1.0.2" - loader-runner "^2.4.0" - loader-utils "^1.2.3" - memory-fs "^0.4.1" - micromatch "^3.1.10" - mkdirp "^0.5.1" - neo-async "^2.6.1" - node-libs-browser "^2.2.1" - schema-utils "^1.0.0" - tapable "^1.1.3" - terser-webpack-plugin "^1.4.1" - watchpack "^1.6.0" - webpack-sources "^1.4.1" - -websocket-driver@>=0.5.1: - version "0.7.3" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9" - integrity sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg== - dependencies: - http-parser-js ">=0.4.0 <0.4.11" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" - integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== - -when@~3.6.x: - version "3.6.4" - resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e" - integrity sha1-RztRfsFZ4rhQBUl6E5g/CVQS404= - -which-module@^2.0.0: - version "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.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" - -wordwrap@~0.0.2: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= - -worker-farm@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" - integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw== - dependencies: - errno "~0.1.7" - -worker-plugin@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/worker-plugin/-/worker-plugin-3.2.0.tgz#ddae9f161b76fcbaacf8f54ecd037844584e43e7" - integrity sha512-W5nRkw7+HlbsEt3qRP6MczwDDISjiRj2GYt9+bpe8A2La00TmJdwzG5bpdMXhRt1qcWmwAvl1TiKaHRa+XDS9Q== - 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@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= - -ws@^6.1.0, ws@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" - integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== - dependencies: - async-limiter "~1.0.0" - -xml2js@^0.4.17: - version "0.4.23" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== - dependencies: - sax ">=0.6.0" - xmlbuilder "~11.0.0" - -xmlbuilder@~11.0.0: - version "11.0.1" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" - integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== - -xtend@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -xtend@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" - integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68= - -"y18n@^3.2.1 || ^4.0.0", 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@^3.0.0, yallist@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" - integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== - -yallist@^3.0.3: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@^18.1.0: - version "18.1.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.0.tgz#1b0ab1118ebd41f68bb30e729f4c83df36ae84c3" - integrity sha512-o/Jr6JBOv6Yx3pL+5naWSoIA2jJ+ZkMYQG/ie9qFbukBe4uzmBatlXFOiu/tNKRWEtyf+n5w7jc/O16ufqOTdQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@12.0.5: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - 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 "^11.1.1" - -yargs@15.3.0: - version "15.3.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" - integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== - dependencies: - cliui "^6.0.0" - decamelize "^1.2.0" - find-up "^4.1.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^4.2.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^18.1.0" - -yauzl@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" - integrity sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU= - dependencies: - fd-slicer "~1.0.1" - -z-schema@~3.18.3: - version "3.18.4" - resolved "https://registry.yarnpkg.com/z-schema/-/z-schema-3.18.4.tgz#ea8132b279533ee60be2485a02f7e3e42541a9a2" - integrity sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw== - dependencies: - lodash.get "^4.0.0" - lodash.isequal "^4.0.0" - validator "^8.0.0" - optionalDependencies: - commander "^2.7.1" diff --git a/integration/bazel/.bazelrc b/integration/bazel/.bazelrc index 0101e9a988..8f7faca4cf 100644 --- a/integration/bazel/.bazelrc +++ b/integration/bazel/.bazelrc @@ -9,7 +9,8 @@ test --test_output=errors # Bazel doesn't calculate the memory ceiling correctly when running under Docker. # Limit Bazel to consuming resources that fit in CircleCI "xlarge" class # https://circleci.com/docs/2.0/configuration-reference/#resource_class -build --local_resources=14336,8.0,1.0 +build --local_ram_resources=14336 +build --local_cpu_resources=8 # Use the Angular Ivy compiler # See https://github.com/angular/angular/blob/master/docs/BAZEL.md#various-flags-used-for-tests diff --git a/integration/bazel/.bazelversion b/integration/bazel/.bazelversion index ccbccc3dc6..944880fa15 100644 --- a/integration/bazel/.bazelversion +++ b/integration/bazel/.bazelversion @@ -1 +1 @@ -2.2.0 +3.2.0 diff --git a/integration/bazel/WORKSPACE b/integration/bazel/WORKSPACE index 38cfce17a6..ff35bd1440 100644 --- a/integration/bazel/WORKSPACE +++ b/integration/bazel/WORKSPACE @@ -5,8 +5,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Fetch rules_nodejs so we can install our npm dependencies http_archive( name = "build_bazel_rules_nodejs", - sha256 = "f9e7b9f42ae202cc2d2ce6d698ccb49a9f7f7ea572a78fd451696d03ef2ee116", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.6.0/rules_nodejs-1.6.0.tar.gz"], + sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7.0/rules_nodejs-1.7.0.tar.gz"], ) # Fetch sass rules for compiling sass files diff --git a/integration/bazel/package.json b/integration/bazel/package.json index e59c045bbb..b87ab109d0 100644 --- a/integration/bazel/package.json +++ b/integration/bazel/package.json @@ -16,18 +16,18 @@ "reflect-metadata": "0.1.12", "rxjs": "file:../../node_modules/rxjs", "tslib": "file:../../node_modules/tslib", - "zone.js": "0.10.3" + "zone.js": "file:../../dist/zone.js-dist" }, "devDependencies": { "@angular/bazel": "file:../../dist/packages-dist/bazel", "@angular/compiler": "file:../../dist/packages-dist/compiler", "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", "@bazel/bazelisk": "file:../../node_modules/@bazel/bazelisk", - "@bazel/karma": "1.6.0", - "@bazel/protractor": "1.6.0", - "@bazel/rollup": "1.6.0", - "@bazel/terser": "1.6.0", - "@bazel/typescript": "1.6.0", + "@bazel/karma": "1.7.0", + "@bazel/protractor": "1.7.0", + "@bazel/rollup": "1.7.0", + "@bazel/terser": "1.7.0", + "@bazel/typescript": "1.7.0", "@types/jasmine": "2.8.8", "http-server": "0.12.0", "karma": "4.4.1", diff --git a/integration/bazel/src/BUILD.bazel b/integration/bazel/src/BUILD.bazel index 18b1c017d8..2968f24a0d 100644 --- a/integration/bazel/src/BUILD.bazel +++ b/integration/bazel/src/BUILD.bazel @@ -22,6 +22,7 @@ ng_module( "@npm//@angular/router", "@npm//@types", "@npm//rxjs", + "@npm//tslib", ], ) @@ -45,7 +46,7 @@ ts_devserver( serving_path = "/bundle.min.js", static_files = [ "index.html", - "@npm//:node_modules/zone.js/dist/zone.min.js", + "@npm//:node_modules/zone.js/bundles/zone.umd.min.js", ], deps = ["//src"], ) @@ -71,7 +72,7 @@ pkg_web( srcs = [ "index.html", ":bundle.min", - "@npm//:node_modules/zone.js/dist/zone.min.js", + "@npm//:node_modules/zone.js/bundles/zone.umd.min.js", ], ) diff --git a/integration/bazel/src/hello-world/BUILD.bazel b/integration/bazel/src/hello-world/BUILD.bazel index 0afa1133a2..5f72e67774 100644 --- a/integration/bazel/src/hello-world/BUILD.bazel +++ b/integration/bazel/src/hello-world/BUILD.bazel @@ -21,6 +21,7 @@ ng_module( deps = [ "@npm//@angular/core", "@npm//@types", + "@npm//tslib", ], ) @@ -41,13 +42,14 @@ ts_library( "@npm//@angular/platform-browser-dynamic", "@npm//@types", "@npm//jasmine", + "@npm//tslib", ], ) karma_web_test_suite( name = "test", bootstrap = [ - "@npm//:node_modules/zone.js/dist/zone-testing-bundle.js", + "@npm//:node_modules/zone.js/bundles/zone-testing-bundle.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], browsers = [ diff --git a/integration/bazel/src/index.html b/integration/bazel/src/index.html index a23562e782..c422507145 100644 --- a/integration/bazel/src/index.html +++ b/integration/bazel/src/index.html @@ -9,7 +9,7 @@ - + diff --git a/integration/bazel/src/tsconfig.json b/integration/bazel/src/tsconfig.json index 068cd10fcc..c568afaad1 100644 --- a/integration/bazel/src/tsconfig.json +++ b/integration/bazel/src/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "importHelpers": true, "experimentalDecorators": true, "lib": [ "dom", diff --git a/integration/bazel/yarn.lock b/integration/bazel/yarn.lock index 1a64234e2e..07d373b800 100644 --- a/integration/bazel/yarn.lock +++ b/integration/bazel/yarn.lock @@ -3,10 +3,10 @@ "@angular/animations@file:../../dist/packages-dist/animations": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/bazel@file:../../dist/packages-dist/bazel": - version "9.1.0-next.2" + version "10.0.0-next.5" dependencies: "@microsoft/api-extractor" "^7.3.9" shelljs "0.8.2" @@ -22,10 +22,10 @@ parse5 "^5.0.0" "@angular/common@file:../../dist/packages-dist/common": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.1.0-next.2" + version "10.0.0-next.5" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -38,16 +38,16 @@ semver "^6.3.0" source-map "^0.6.1" sourcemap-codec "^1.4.8" - yargs "13.1.0" + yargs "15.3.0" "@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/core@file:../../dist/packages-dist/core": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/forms@file:../../dist/packages-dist/forms": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/material@8.0.1": version "8.0.1" @@ -57,13 +57,13 @@ tslib "^1.7.1" "@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.1.0-next.2" + version "10.0.0-next.5" "@angular/router@file:../../dist/packages-dist/router": - version "9.1.0-next.2" + version "10.0.0-next.5" "@bazel/bazelisk@file:../../node_modules/@bazel/bazelisk": version "1.4.0" @@ -208,6 +208,11 @@ resolved "https://registry.yarnpkg.com/@types/argparse/-/argparse-1.0.33.tgz#2728669427cdd74a99e53c9f457ca2866a37c52d" integrity sha512-VQgHxyPMTj3hIlq9SY1mctqx+Jj8kpQfoLvDlVSDNOyuYs8JYfkuY3OW/4+dO657yPmNhHpePRx0/Tje5ImNVQ== +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== + "@types/estree@*", "@types/estree@0.0.39": version "0.0.39" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" @@ -300,21 +305,24 @@ 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= +ansi-styles@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + anymatch@~3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" @@ -574,19 +582,26 @@ chokidar@^3.0.0: optionalDependencies: fsevents "~2.1.1" -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== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" -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= +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== colors@^1.1.0, colors@^1.3.3: version "1.4.0" @@ -667,17 +682,6 @@ corser@^2.0.1: resolved "https://registry.yarnpkg.com/corser/-/corser-2.0.1.tgz#8eda252ecaab5840dcd975ceb90d9370c819ff87" integrity sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c= -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - custom-event@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425" @@ -806,23 +810,16 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - 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" @@ -925,19 +922,6 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.0.tgz#d65176163887ee59f386d64c82610b696a4a74eb" integrity sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg== -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -988,12 +972,13 @@ finalhandler@1.1.2: statuses "~1.5.0" unpipe "~1.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" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^3.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" flatted@^2.0.0: version "2.0.1" @@ -1059,13 +1044,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - getpass@^0.1.1: version "0.1.7" resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" @@ -1268,11 +1246,6 @@ interpret@^1.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -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== - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -1295,17 +1268,10 @@ 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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.1" @@ -1357,11 +1323,6 @@ is-regex@^1.0.4: dependencies: has "^1.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - is-symbol@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" @@ -1547,13 +1508,6 @@ karma@4.4.1: tmp "0.0.33" useragent "2.3.0" -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" - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -1561,13 +1515,12 @@ lie@~3.3.0: dependencies: immediate "~3.0.5" -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" + p-locate "^4.1.0" lodash.get@^4.0.0: version "4.4.2" @@ -1615,27 +1568,11 @@ magic-string@^0.25.0, magic-string@^0.25.2: dependencies: sourcemap-codec "^1.4.4" -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" - media-typer@0.3.0: version "0.3.0" 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" - mime-db@1.42.0: version "1.42.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" @@ -1658,11 +1595,6 @@ mime@^2.3.1: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimatch@^3.0.2, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -1707,28 +1639,11 @@ negotiator@0.6.2: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -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= - oauth-sign@~0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" @@ -1769,7 +1684,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -1789,48 +1704,24 @@ optimist@^0.6.1, optimist@~0.6.0, optimist@~0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -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.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -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@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - p-limit "^2.0.0" + p-limit "^2.2.0" p-try@^2.0.0: version "2.2.0" @@ -1866,10 +1757,10 @@ parseurl@~1.3.3: resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0: version "1.0.1" @@ -1881,11 +1772,6 @@ path-is-inside@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - 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" @@ -1982,14 +1868,6 @@ psl@^1.1.24: resolved "https://registry.yarnpkg.com/psl/-/psl-1.4.0.tgz#5dd26156cdb69fa1fdb8ab1991667d3f80ced7c2" integrity sha512-HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw== -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -2206,7 +2084,7 @@ rollup@1.27.5: acorn "^7.1.0" "rxjs@file:../../node_modules/rxjs": - version "6.5.3" + version "6.5.4" dependencies: tslib "^1.9.0" @@ -2257,7 +2135,7 @@ semver@5.6.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== -semver@^5.3.0, semver@^5.5.0: +semver@^5.3.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -2287,18 +2165,6 @@ setprototypeof@1.1.1: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - shelljs@0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" @@ -2308,11 +2174,6 @@ shelljs@0.8.2: interpret "^1.0.0" rechoir "^0.6.2" -signal-exit@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" - integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== - socket.io-adapter@~1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9" @@ -2454,31 +2315,14 @@ streamroller@^1.0.6: fs-extra "^7.0.1" lodash "^4.17.14" -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= +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.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: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" string.prototype.trimleft@^2.1.0: version "2.1.0" @@ -2503,31 +2347,19 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= 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= +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= + ansi-regex "^5.0.0" supports-color@^2.0.0: version "2.0.0" @@ -2605,7 +2437,7 @@ tslib@^1.7.1, tslib@^1.8.1, tslib@^1.9.0: integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== "tslib@file:../../node_modules/tslib": - version "1.10.0" + version "1.11.1" tsutils@2.27.2: version "2.27.2" @@ -2763,7 +2595,7 @@ 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.1, which@^1.2.9: +which@^1.2.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -2775,13 +2607,14 @@ wordwrap@~0.0.2: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= -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= +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" wrappy@1: version "1.0.2" @@ -2826,30 +2659,30 @@ yallist@^2.1.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= -yargs-parser@^13.0.0: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== +yargs-parser@^18.1.0: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== +yargs@15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" + integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== dependencies: - cliui "^4.0.0" - find-up "^3.0.0" + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" get-caller-file "^2.0.1" - os-locale "^3.1.0" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.0.0" + yargs-parser "^18.1.0" yeast@0.1.2: version "0.1.2" @@ -2867,7 +2700,5 @@ z-schema@~3.18.3: optionalDependencies: commander "^2.7.1" -zone.js@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.10.3.tgz#3e5e4da03c607c9dcd92e37dd35687a14a140c16" - integrity sha512-LXVLVEq0NNOqK/fLJo3d0kfzd4sxwn2/h67/02pjCjfKDxgx1i9QqpvtHD8CrBnSSwMw5+dy11O7FRX5mkO7Cg== +"zone.js@file:../../dist/zone.js-dist": + version "0.0.0" diff --git a/integration/dynamic-compiler/index.html b/integration/dynamic-compiler/index.html index 6c291a4a5f..5f3d20688f 100644 --- a/integration/dynamic-compiler/index.html +++ b/integration/dynamic-compiler/index.html @@ -6,7 +6,7 @@ - + diff --git a/integration/hello_world__closure/closure.conf b/integration/hello_world__closure/closure.conf index 1198d0c870..57d74ec2f7 100644 --- a/integration/hello_world__closure/closure.conf +++ b/integration/hello_world__closure/closure.conf @@ -1,5 +1,6 @@ ---compilation_level=ADVANCED_OPTIMIZATIONS ---language_out=ES5 +--compilation_level=SIMPLE +--language_in=ECMASCRIPT_2015 +--language_out=ECMASCRIPT_2015 --js_output_file=dist/bundle.js --output_manifest=dist/manifest.MF --variable_renaming_report=dist/variable_renaming_report @@ -7,24 +8,23 @@ --create_source_map=%outname%.map --warning_level=QUIET ---dependency_mode=STRICT +--dependency_mode=PRUNE --rewrite_polyfills=false ---jscomp_off=checkVars -node_modules/zone.js/dist/zone_externs.js +--module_resolution=node +--package_json_entry_names es2015,module + +node_modules/zone.js/zone_externs.js + +--js node_modules/tslib/package.json +--js node_modules/tslib/**.js --js node_modules/rxjs/package.json ---js node_modules/rxjs/_esm2015/index.js ---js node_modules/rxjs/_esm2015/internal/**.js --js node_modules/rxjs/operators/package.json ---js node_modules/rxjs/_esm2015/operators/index.js - ---js node_modules/@angular/compiler/package.json ---js node_modules/@angular/compiler/fesm2015/compiler.js +--js node_modules/rxjs/**.js --js node_modules/@angular/core/package.json --js node_modules/@angular/core/fesm2015/core.js ---js node_modules/@angular/core/src/testability/testability.externs.js --js node_modules/@angular/common/package.json --js node_modules/@angular/common/fesm2015/common.js @@ -32,9 +32,5 @@ node_modules/zone.js/dist/zone_externs.js --js node_modules/@angular/platform-browser/package.json --js node_modules/@angular/platform-browser/fesm2015/platform-browser.js ---module_resolution=node ---package_json_entry_names es2015 ---process_common_js_modules - --js built/**.js --entry_point=built/src/main diff --git a/integration/hello_world__closure/package.json b/integration/hello_world__closure/package.json index 8dcfe31af9..83cf5530dd 100644 --- a/integration/hello_world__closure/package.json +++ b/integration/hello_world__closure/package.json @@ -3,22 +3,22 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@angular/animations": "file:../../dist/packages-dist/animations", "@angular/common": "file:../../dist/packages-dist/common", "@angular/compiler": "file:../../dist/packages-dist/compiler", "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", "@angular/core": "file:../../dist/packages-dist/core", + "@angular/elements": "file:../../dist/packages-dist/elements", "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", - "@angular/platform-server": "file:../../dist/packages-dist/platform-server", - "google-closure-compiler": "20180716.0.0", "rxjs": "file:../../node_modules/rxjs", "typescript": "file:../../node_modules/typescript", + "tslib": "file:../../node_modules/tslib", "zone.js": "file:../../dist/zone.js-dist/zone.js" }, "devDependencies": { "@types/jasmine": "file:../../node_modules/@types/jasmine", "@types/jasminewd2": "file:../../node_modules/@types/jasminewd2", "concurrently": "3.4.0", + "google-closure-compiler": "file:../../node_modules/google-closure-compiler", "lite-server": "2.2.2", "protractor": "file:../../node_modules/protractor", "puppeteer": "file:../../node_modules/puppeteer", @@ -29,7 +29,7 @@ "**/webdriver-manager": "file:../../node_modules/webdriver-manager" }, "scripts": { - "closure": "java -jar node_modules/google-closure-compiler/compiler.jar --flagfile closure.conf", + "closure": "google-closure-compiler --flagfile closure.conf", "build": "cd .", "test": "ngc && yarn run closure && concurrently \"yarn run serve\" \"yarn run protractor\" --kill-others --success first", "serve": "lite-server -c e2e/browser.config.json", diff --git a/integration/hello_world__closure/src/index.html b/integration/hello_world__closure/src/index.html index ffbd2616e9..5a1c1afc2d 100644 --- a/integration/hello_world__closure/src/index.html +++ b/integration/hello_world__closure/src/index.html @@ -10,9 +10,9 @@ Loading... - + - \ No newline at end of file + diff --git a/integration/hello_world__closure/yarn.lock b/integration/hello_world__closure/yarn.lock index adb6bfa7c7..12b1350774 100644 --- a/integration/hello_world__closure/yarn.lock +++ b/integration/hello_world__closure/yarn.lock @@ -3,13 +3,13 @@ "@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" + version "10.0.0-next.5" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -21,22 +21,28 @@ reflect-metadata "^0.1.2" semver "^6.3.0" source-map "^0.6.1" - yargs "13.1.0" + sourcemap-codec "^1.4.8" + yargs "15.3.0" "@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" + version "10.0.0-next.5" dependencies: domino "^2.1.2" - xhr2 "^0.1.4" + xhr2 "^0.2.0" + +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== "@types/jasmine@*": version "3.5.2" @@ -44,10 +50,10 @@ integrity sha512-7hrdBDFWlTb4EhrXYRyC7i3L2kKCV0TqYbzuV+gwyPNF2V4SSHw2Vs223ai26W4tEg+t4e9Wfi1vW6JLubYPiw== "@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" + version "3.5.10" "@types/jasminewd2@file:../../node_modules/@types/jasminewd2": - version "2.0.6" + version "2.0.8" dependencies: "@types/jasmine" "*" @@ -66,11 +72,6 @@ resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz#50a4755f8e33edacd9c406729e9b930d2451902a" integrity sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA== -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - accepts@~1.3.4: version "1.3.7" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" @@ -111,13 +112,6 @@ ajv@^6.5.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-gray@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251" - integrity sha1-KWLPVOyXksSFEKPetSRDaGHvclE= - dependencies: - ansi-wrap "0.1.0" - ansi-regex@^0.2.0, ansi-regex@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9" @@ -128,15 +122,10 @@ 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^1.1.0: version "1.1.0" @@ -148,6 +137,14 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= +ansi-styles@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + ansi-wrap@0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" @@ -169,24 +166,11 @@ anymatch@~3.1.1: normalize-path "^3.0.0" picomatch "^2.0.4" -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - archy@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= -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" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -202,21 +186,6 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= -array-differ@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" - integrity sha1-7/UuN1gknTO+QCuLuOVkuytdQDE= - -array-each@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" - integrity sha1-p5SvDAWrF1KEbudTofIRoFugxE8= - -array-slice@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" - integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== - array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -224,7 +193,7 @@ array-union@^1.0.1: dependencies: array-uniq "^1.0.1" -array-uniq@^1.0.1, array-uniq@^1.0.2: +array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= @@ -354,11 +323,6 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -beeper@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809" - integrity sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak= - better-assert@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/better-assert/-/better-assert-1.0.2.tgz#40866b9e1b9e0b55b481894311e68faffaebc522" @@ -395,7 +359,7 @@ blocking-proxy@^1.0.0: dependencies: minimist "^1.2.0" -brace-expansion@^1.0.0, brace-expansion@^1.1.7: +brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== @@ -562,7 +526,16 @@ chalk@0.5.1: strip-ansi "^0.3.0" supports-color "^0.2.0" -chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@2.x: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -607,11 +580,6 @@ chokidar@^3.0.0: optionalDependencies: fsevents "~2.1.2" -chownr@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" - integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -631,40 +599,25 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -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== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" clone-buffer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" integrity sha1-4+JbIHrE5wGvch4staFnksrD3Fg= -clone-stats@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" - integrity sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE= - clone-stats@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" integrity sha1-s3gt/4u1R04Yuba/D9/ngvh3doA= -clone@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f" - integrity sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8= - -clone@^1.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.1: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" @@ -692,10 +645,27 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + color-support@^1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" @@ -785,11 +755,6 @@ connect@3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= - convert-source-map@^1.5.1: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" @@ -812,17 +777,6 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -835,11 +789,6 @@ date-fns@^1.23.0: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== -dateformat@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.2.0.tgz#4065e2013cf9fb916ddfd82efb506ad4c6769062" - integrity sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI= - debug@2.6.9, debug@^2.2.0, debug@^2.3.3: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -861,7 +810,7 @@ debug@=3.1.0, debug@~3.1.0: dependencies: ms "2.0.0" -debug@^3.1.0, debug@^3.2.6: +debug@^3.1.0: version "3.2.6" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== @@ -878,11 +827,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - defaults@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -930,11 +874,6 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" @@ -945,11 +884,6 @@ dependency-graph@^0.7.2: resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.7.2.tgz#91db9de6eb72699209d88aea4c1fd5221cac1c49" integrity sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ== -deprecated@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/deprecated/-/deprecated-0.0.1.tgz#f9c9af5464afa1e7a971458a8bdef2aa94d5bb19" - integrity sha1-+cmvVGSvoeepcUWKi97yqpTVuxk= - destroy@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" @@ -960,28 +894,11 @@ detect-file@^1.0.0: resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= - dev-ip@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/dev-ip/-/dev-ip-1.0.1.tgz#a76a3ed1855be7a012bb8ac16cb80f3c00dc28f0" integrity sha1-p2o+0YVb56ASu4rBbLgPPADcKPA= -domino@^2.1.2: - version "2.1.4" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.4.tgz#78922e7fab7c610f35792b6c745b7962d342e9c4" - integrity sha512-l70mlQ7IjPKC8kT7GljQXJZmt5OqFL+RE91ik5y5WWQtsd9wP8R7gpFnNu96fK5MqAAZRXfLLsnzKtkty5fWGQ== - -duplexer2@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" - integrity sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds= - dependencies: - readable-stream "~1.1.9" - easy-extender@^2.3.4: version "2.3.4" resolved "https://registry.yarnpkg.com/easy-extender/-/easy-extender-2.3.4.tgz#298789b64f9aaba62169c77a2b3b64b4c9589b8f" @@ -1009,23 +926,16 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== encodeurl@~1.0.1, encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - end-of-stream@~0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-0.1.5.tgz#8e177206c3c80837d85632e8b9359dfe8b2f6eaf" @@ -1125,7 +1035,7 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2: +escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -1140,19 +1050,6 @@ eventemitter3@1.x.x: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg= -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -1171,13 +1068,6 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= - dependencies: - homedir-polyfill "^1.0.1" - extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -1193,7 +1083,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.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== @@ -1232,16 +1122,6 @@ extsprintf@^1.2.0: resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= -fancy-log@^1.1.0: - version "1.3.3" - resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7" - integrity sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw== - dependencies: - ansi-gray "^0.1.1" - color-support "^1.1.3" - parse-node-version "^1.0.0" - time-stamp "^1.0.0" - fast-deep-equal@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" @@ -1294,11 +1174,6 @@ finalhandler@1.1.0: statuses "~1.3.1" unpipe "~1.0.0" -find-index@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4" - integrity sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ= - find-up@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" @@ -1307,12 +1182,13 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^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" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^3.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" findup-sync@^2.0.0: version "2.0.0" @@ -1329,21 +1205,8 @@ fined@^1.0.1: resolved "https://registry.yarnpkg.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b" integrity sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng== dependencies: - expand-tilde "^2.0.2" - is-plain-object "^2.0.3" - object.defaults "^1.1.0" - object.pick "^1.2.0" - parse-filepath "^1.0.1" - -first-chunk-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e" - integrity sha1-Wb+1DNkF9g18OUzT2ayqtOatk04= - -flagged-respawn@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41" - integrity sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q== + locate-path "^5.0.0" + path-exists "^4.0.0" follow-redirects@1.5.10: version "1.5.10" @@ -1352,18 +1215,11 @@ follow-redirects@1.5.10: dependencies: debug "=3.1.0" -for-in@^1.0.1, for-in@^1.0.2: +for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" - integrity sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs= - dependencies: - for-in "^1.0.1" - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -1408,13 +1264,6 @@ fs-extra@4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" -fs-minipass@^1.2.5: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -1433,20 +1282,6 @@ fsevents@~2.1.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - gaze@^0.5.1: version "0.5.2" resolved "https://registry.yarnpkg.com/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f" @@ -1464,13 +1299,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -1498,42 +1326,6 @@ glob-parent@~5.1.0: dependencies: is-glob "^4.0.1" -glob-stream@^3.1.5: - version "3.1.18" - resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-3.1.18.tgz#9170a5f12b790306fdfe598f313f8f7954fd143b" - integrity sha1-kXCl8St5Awb9/lmPMT+PeVT9FDs= - dependencies: - glob "^4.3.1" - glob2base "^0.0.12" - minimatch "^2.0.1" - ordered-read-streams "^0.1.0" - through2 "^0.6.1" - unique-stream "^1.0.0" - -glob-watcher@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/glob-watcher/-/glob-watcher-0.0.6.tgz#b95b4a8df74b39c83298b0c05c978b4d9a3b710b" - integrity sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs= - dependencies: - gaze "^0.5.1" - -glob2base@^0.0.12: - version "0.0.12" - resolved "https://registry.yarnpkg.com/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56" - integrity sha1-nUGbPijxLoOjYhZKJ3BVkiycDVY= - dependencies: - find-index "^0.1.1" - -glob@^4.3.1: - version "4.5.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-4.5.3.tgz#c6cb73d3226c1efef04de3c56d012f03377ee15f" - integrity sha1-xstz0yJsHv7wTePFbQEvAzd+4V8= - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "^2.0.1" - once "^1.3.0" - glob@^7.0.3, glob@^7.0.6, glob@^7.1.3: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" @@ -1546,35 +1338,6 @@ glob@^7.0.3, glob@^7.0.6, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@~3.1.21: - version "3.1.21" - resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd" - integrity sha1-0p4KBV3qUTj00H7UDomC6DwgZs0= - dependencies: - graceful-fs "~1.2.0" - inherits "1" - minimatch "~0.2.11" - -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - globby@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" @@ -1587,112 +1350,50 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -globule@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5" - integrity sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU= +google-closure-compiler-java@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200517.0.0.tgz#778370c22273c9085f4cf959ce063f8f112c02ac" + integrity sha512-JVZBiyyXwcYi6Yc3lO6dF2hMLJA4OzPm4/mgsem/tF1vk2HsWTnL3GTaBsPB2ENVZp0hoqsd4KgpPiG9ssNWxw== + +google-closure-compiler-js@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200517.0.0.tgz#9cb0861f764073d1c4d3b7453b74073ccb1ecfb1" + integrity sha512-dz6dOUHx5nhdIqMRXacAYS8aJfLvw4IKxGg28Hq/zeeDPHlX3P3iBK20NgFDfT8zdushThymtMqChSy7C5eyfA== + +google-closure-compiler-linux@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200517.0.0.tgz#2b9ecb634130060174aff5c52329a694ea4be68b" + integrity sha512-S5xPh6TtP+ESzZrmQLcDDqtZAsCVTbdI4VS98wQlN6IMZTd94nAnOCg9mrxQNAgop2t4sdsv/KuH0BGPUWEZ+w== + +google-closure-compiler-osx@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200517.0.0.tgz#9394e9a2fd97e3729fc3bd2abcffff6aab2cfcaa" + integrity sha512-FWIcsKqLllLjdOBZd7azijVaObydgRd0obVNi63eUfC5MX6T4qxKumGCyor2UCNY6by2ESz+PlGqCFzFhZ6b2g== + +google-closure-compiler-windows@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200517.0.0.tgz#c5cdde438c29458666a83358567b12072924ed6c" + integrity sha512-UXhjRGwS8deTkRla/riyVq3psscgMuw78lepEPtq5NgbumgJzY2+IQP9q+4MVOfJW58Rv0JUWKAFOnBBSZWcAQ== + +"google-closure-compiler@file:../../node_modules/google-closure-compiler": + version "20200517.0.0" dependencies: - glob "~3.1.21" - lodash "~1.0.1" - minimatch "~0.2.11" - -glogg@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/glogg/-/glogg-1.0.2.tgz#2d7dd702beda22eb3bffadf880696da6d846313f" - integrity sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA== - dependencies: - sparkles "^1.0.0" - -google-closure-compiler-linux@^20180716.0.0: - version "20180716.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20180716.0.0.tgz#b0dc9aa4751085b46002d6a300146df73fa87d35" - integrity sha512-Lb/z7QCd4IKLBp39BCs+yhwsM7/5P9uLwZhR4D1RulwzOrj8GIz7hg26hqRSz88m/+dJMwKRRgV2XGw53e3D4A== - -google-closure-compiler-osx@^20180716.0.0: - version "20180716.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20180716.0.0.tgz#5691c07580578dfea3205e90a6a2968d23b85bd9" - integrity sha1-VpHAdYBXjf6jIF6QpqKWjSO4W9k= - -google-closure-compiler@20180716.0.0: - version "20180716.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20180716.0.0.tgz#620e50472ae57ae3c2f30076a5bbcb117f2be3b3" - integrity sha1-Yg5QRyrleuPC8wB2pbvLEX8r47M= - dependencies: - chalk "^1.0.0" - gulp "^3.9.0" - vinyl "^2.0.1" + chalk "2.x" + google-closure-compiler-java "^20200517.0.0" + google-closure-compiler-js "^20200517.0.0" + minimist "1.x" + vinyl "2.x" vinyl-sourcemaps-apply "^0.2.0" optionalDependencies: - google-closure-compiler-linux "^20180716.0.0" - google-closure-compiler-osx "^20180716.0.0" - -graceful-fs@^3.0.0: - version "3.0.12" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.12.tgz#0034947ce9ed695ec8ab0b854bc919e82b1ffaef" - integrity sha512-J55gaCS4iTTJfTXIxSVw3EMQckcqkpdRv3IR7gu6sq0+tbC363Zx6KH/SEwXASK9JRbhyZmVjJEVJIOxYsB3Qg== - dependencies: - natives "^1.1.3" + google-closure-compiler-linux "^20200517.0.0" + google-closure-compiler-osx "^20200517.0.0" + google-closure-compiler-windows "^20200517.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.2.3" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== -graceful-fs@~1.2.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" - integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q= - -gulp-util@^3.0.0: - version "3.0.8" - resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f" - integrity sha1-AFTh50RQLifATBh8PsxQXdVLu08= - dependencies: - array-differ "^1.0.0" - array-uniq "^1.0.2" - beeper "^1.0.0" - chalk "^1.0.0" - dateformat "^2.0.0" - fancy-log "^1.1.0" - gulplog "^1.0.0" - has-gulplog "^0.1.0" - lodash._reescape "^3.0.0" - lodash._reevaluate "^3.0.0" - lodash._reinterpolate "^3.0.0" - lodash.template "^3.0.0" - minimist "^1.1.0" - multipipe "^0.1.2" - object-assign "^3.0.0" - replace-ext "0.0.1" - through2 "^2.0.0" - vinyl "^0.5.0" - -gulp@^3.9.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4" - integrity sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ= - dependencies: - archy "^1.0.0" - chalk "^1.0.0" - deprecated "^0.0.1" - gulp-util "^3.0.0" - interpret "^1.0.0" - liftoff "^2.1.0" - minimist "^1.1.0" - orchestrator "^0.3.0" - pretty-hrtime "^1.0.0" - semver "^4.1.0" - tildify "^1.0.0" - v8flags "^2.0.2" - vinyl-fs "^0.3.0" - -gulplog@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5" - integrity sha1-4oxNRdBey77YGDY86PnFkmIp/+U= - dependencies: - glogg "^1.0.0" - har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" @@ -1744,11 +1445,6 @@ has-gulplog@^0.1.0: dependencies: sparkles "^1.0.0" -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= - has-value@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" @@ -1780,13 +1476,6 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - hosted-git-info@^2.1.4: version "2.8.5" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" @@ -1846,20 +1535,13 @@ https-proxy-agent@^4.0.0: agent-base "5" debug "4" -iconv-lite@0.4.24, iconv-lite@^0.4.4: +iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" -ignore-walk@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" - integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== - dependencies: - minimatch "^3.0.4" - immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" @@ -1883,12 +1565,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b" - integrity sha1-ykMJ2t7mtUzAuNJH6NfHoJdb3Js= - -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -1898,26 +1575,16 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -interpret@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" - integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== - invert-kv@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= -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== - is-absolute@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" @@ -2025,10 +1692,10 @@ is-fullwidth-code-point@^1.0.0: 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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^3.1.0: version "3.1.0" @@ -2096,29 +1763,17 @@ is-relative@^1.0.0: dependencies: is-unc-path "^1.0.0" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= -is-unc-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" - integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== - dependencies: - unc-path-regex "^0.1.2" - is-utf8@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= -is-windows@^1.0.1, is-windows@^1.0.2: +is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== @@ -2128,11 +1783,6 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= - isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -2143,11 +1793,6 @@ isarray@2.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" @@ -2269,13 +1914,6 @@ lcid@^1.0.0: 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" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -2283,20 +1921,6 @@ lie@~3.3.0: dependencies: immediate "~3.0.5" -liftoff@^2.1.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-2.5.0.tgz#2009291bb31cea861bbf10a7c15a28caf75c31ec" - integrity sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew= - dependencies: - extend "^3.0.0" - findup-sync "^2.0.0" - fined "^1.0.1" - flagged-respawn "^1.0.0" - is-plain-object "^2.0.4" - object.map "^1.0.0" - rechoir "^0.6.2" - resolve "^1.1.7" - limiter@^1.0.5: version "1.1.5" resolved "https://registry.yarnpkg.com/limiter/-/limiter-1.1.5.tgz#8f92a25b3b16c6131293a0cc834b4a838a2aa7c2" @@ -2334,13 +1958,12 @@ localtunnel@1.9.2: openurl "1.1.1" yargs "6.6.0" -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" + p-locate "^4.1.0" lodash._basecopy@^3.0.0: version "3.0.1" @@ -2392,75 +2015,18 @@ lodash.escape@^3.0.0: resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698" integrity sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg= dependencies: - lodash._root "^3.0.0" - -lodash.isarguments@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" - integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= - -lodash.isarray@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" - integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U= + p-locate "^4.1.0" lodash.isfinite@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/lodash.isfinite/-/lodash.isfinite-3.3.2.tgz#fb89b65a9a80281833f0b7478b3a5104f898ebb3" integrity sha1-+4m2WpqAKBgz8LdHizpRBPiY67M= -lodash.keys@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" - integrity sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo= - dependencies: - lodash._getnative "^3.0.0" - lodash.isarguments "^3.0.0" - lodash.isarray "^3.0.0" - -lodash.restparam@^3.0.0: - version "3.6.1" - resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" - integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= - -lodash.template@^3.0.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f" - integrity sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8= - dependencies: - lodash._basecopy "^3.0.0" - lodash._basetostring "^3.0.0" - lodash._basevalues "^3.0.0" - lodash._isiterateecall "^3.0.0" - lodash._reinterpolate "^3.0.0" - lodash.escape "^3.0.0" - lodash.keys "^3.0.0" - lodash.restparam "^3.0.0" - lodash.templatesettings "^3.0.0" - -lodash.templatesettings@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz#fb307844753b66b9f1afa54e262c745307dba8e5" - integrity sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU= - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.escape "^3.0.0" - lodash@^4.11.1, lodash@^4.17.10, lodash@^4.5.1: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== -lodash@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551" - integrity sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE= - -lru-cache@2: - version "2.7.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" - integrity sha1-bUUk6LlV+V1PW1iFHOId1y+06VI= - magic-string@^0.25.0: version "0.25.6" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.6.tgz#5586387d1242f919c6d223579cc938bf1420795e" @@ -2475,13 +2041,6 @@ make-iterator@^1.0.0: dependencies: kind-of "^6.0.2" -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.0, map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -2494,15 +2053,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -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" - micromatch@^3.0.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" @@ -2544,11 +2094,6 @@ mime@^2.0.3: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimatch@^2.0.1: version "2.0.10" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7" @@ -2563,44 +2108,26 @@ minimatch@^3.0.2, minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@~0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a" - integrity sha1-x054BXT2PG+aCQ6Q775u9TpqdWo= - dependencies: - lru-cache "2" - sigmund "~1.0.0" - minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= -minimist@1.2.0, minimist@^1.1.0, minimist@^1.2.0: +minimist@1.2.0, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@1.x: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + minimist@~0.0.1: version "0.0.10" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.2.1: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - mitt@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.2.0.tgz#cb24e6569c806e31bd4e3995787fe38a04fdf90d" @@ -2614,7 +2141,7 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@0.5.1, mkdirp@^0.5.0: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -2636,13 +2163,6 @@ ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -multipipe@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b" - integrity sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s= - dependencies: - duplexer2 "0.0.2" - nan@^2.12.1: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" @@ -2670,49 +2190,11 @@ natives@^1.1.3: resolved "https://registry.yarnpkg.com/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" integrity sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA== -needle@^2.2.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.2.tgz#3342dea100b7160960a450dc8c22160ac712a528" - integrity sha512-DUzITvPVDUy6vczKKYTnWc/pBZ0EnjMJnQ3y+Jo5zfKFimJs7S3HFCxCRZYB9FUZcrzUQr3WsmvZgddMEIZv6w== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - negotiator@0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -node-pre-gyp@*: - version "0.14.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" - integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4.4.2" - -nopt@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= - dependencies: - abbrev "1" - osenv "^0.1.4" - normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -2735,44 +2217,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-bundled@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" - integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-packlist@^1.1.6: - version "1.4.8" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - npm-normalize-package-bin "^1.0.1" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -npmlog@^4.0.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - 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" @@ -2788,7 +2232,7 @@ object-assign@^3.0.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= -object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -2819,25 +2263,7 @@ object-visit@^1.0.0: dependencies: isobject "^3.0.0" -object.defaults@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" - integrity sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8= - dependencies: - array-each "^1.0.1" - array-slice "^1.0.0" - for-own "^1.0.0" - isobject "^3.0.0" - -object.map@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" - integrity sha1-z4Plncj8wK1fQlDh94s7gb2AHTc= - dependencies: - for-own "^1.0.0" - make-iterator "^1.0.0" - -object.pick@^1.2.0, object.pick@^1.3.0: +object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= @@ -2851,20 +2277,13 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= dependencies: wrappy "1" -once@~1.3.0: - version "1.3.3" - resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" - integrity sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA= - dependencies: - wrappy "1" - openurl@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387" @@ -2885,25 +2304,6 @@ optimist@~0.6.0: minimist "~0.0.1" wordwrap "~0.0.2" -orchestrator@^0.3.0: - version "0.3.8" - resolved "https://registry.yarnpkg.com/orchestrator/-/orchestrator-0.3.8.tgz#14e7e9e2764f7315fbac184e506c7aa6df94ad7e" - integrity sha1-FOfp4nZPcxX7rBhOUGx6pt+UrX4= - dependencies: - end-of-stream "~0.1.5" - sequencify "~0.0.7" - stream-consume "~0.1.0" - -ordered-read-streams@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz#fd565a9af8eb4473ba69b6ed8a34352cb552f126" - integrity sha1-/VZamvjrRHO6abbtijQ1LLVS8SY= - -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@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" @@ -2911,56 +2311,24 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -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.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - 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@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - p-limit "^2.0.0" + p-limit "^2.2.0" p-try@^2.0.0: version "2.2.0" @@ -2972,15 +2340,6 @@ pako@~1.0.2: resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== -parse-filepath@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" - integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE= - dependencies: - is-absolute "^1.0.0" - map-cache "^0.2.0" - path-root "^0.1.1" - parse-json@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -2988,16 +2347,6 @@ parse-json@^2.2.0: dependencies: error-ex "^1.2.0" -parse-node-version@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b" - integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA== - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= - parseqs@0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d" @@ -3034,10 +2383,10 @@ path-exists@^2.0.0: dependencies: pinkie-promise "^2.0.0" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0: version "1.0.1" @@ -3049,28 +2398,11 @@ path-is-inside@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - 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== -path-root-regex@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" - integrity sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0= - -path-root@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" - integrity sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc= - dependencies: - path-root-regex "^0.1.0" - path-type@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" @@ -3125,11 +2457,6 @@ posix-character-classes@^0.1.0: resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= -pretty-hrtime@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" - integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= - process-nextick-args@^2.0.0, process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" @@ -3169,14 +2496,6 @@ psl@^1.1.24: resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -3188,7 +2507,7 @@ punycode@^2.1.0: integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== "puppeteer@file:../../node_modules/puppeteer": - version "2.1.0" + version "2.1.1" dependencies: "@types/mime-types" "^2.1.0" debug "^4.1.0" @@ -3236,16 +2555,6 @@ raw-body@^2.3.2: iconv-lite "0.4.24" unpipe "1.0.0" -rc@^1.2.7: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -3273,7 +2582,7 @@ read-pkg@^1.0.0: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@^2.3.5, readable-stream@~2.3.6: +readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@^2.3.5, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -3286,16 +2595,6 @@ readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@~1.1.9: - version "1.1.14" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" - integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - readdirp@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" @@ -3312,13 +2611,6 @@ readdirp@~3.3.0: dependencies: picomatch "^2.0.7" -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - reflect-metadata@^0.1.2: version "0.1.13" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" @@ -3347,11 +2639,6 @@ repeat-string@^1.6.1: resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= -replace-ext@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" - integrity sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ= - replace-ext@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" @@ -3403,20 +2690,12 @@ requires-port@1.x.x: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0: +resolve@^1.10.0: version "1.15.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.0.tgz#1b7ca96073ebb52e741ffd799f6b39ea462c67f5" integrity sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw== @@ -3461,7 +2740,7 @@ rxjs@^5.5.6: symbol-observable "1.0.1" "rxjs@file:../../node_modules/rxjs": - version "6.5.3" + version "6.5.4" dependencies: tslib "^1.9.0" @@ -3494,7 +2773,7 @@ saucelabs@^1.5.0: dependencies: https-proxy-agent "^2.2.1" -sax@>=0.6.0, sax@^1.2.4: +sax@>=0.6.0: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== @@ -3509,16 +2788,11 @@ selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1: tmp "0.0.30" xml2js "^0.4.17" -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0: +"semver@2 || 3 || 4 || 5", semver@^5.3.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@^4.1.0: - version "4.3.6" - resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" - integrity sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto= - semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -3543,11 +2817,6 @@ send@0.16.2: range-parser "~1.2.0" statuses "~1.4.0" -sequencify@~0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c" - integrity sha1-kM/xnQLgcCf9dn9erT57ldHnOAw= - serve-index@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" @@ -3576,7 +2845,7 @@ server-destroy@1.0.1: resolved "https://registry.yarnpkg.com/server-destroy/-/server-destroy-1.0.1.tgz#f13bf928e42b9c3e79383e61cc3998b5d14e6cdd" integrity sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0= -set-blocking@^2.0.0, 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" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= @@ -3606,28 +2875,11 @@ setprototypeof@1.1.1: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - sigmund@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA= -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -3766,16 +3018,11 @@ source-map@^0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -sourcemap-codec@^1.4.4: +sourcemap-codec@^1.4.4, sourcemap-codec@^1.4.8: version "1.4.8" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== -sparkles@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c" - integrity sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw== - spawn-command@^0.0.2-1: version "0.0.2-1" resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" @@ -3852,11 +3099,6 @@ statuses@~1.4.0: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" integrity sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew== -stream-consume@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.1.tgz#d3bdb598c2bd0ae82b8cac7ac50b1107a7996c48" - integrity sha512-tNa3hzgkjEP7XbCkbRXe1jpg+ievoa0O4SCFlMOYEscGSS4JJsckGL8swUyAa/ApGU3Ae4t6Honor4HhL+tRyg== - stream-throttle@^0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/stream-throttle/-/stream-throttle-0.1.3.tgz#add57c8d7cc73a81630d31cd55d3961cfafba9c3" @@ -3874,22 +3116,14 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", 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== +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" string_decoder@~0.10.x: version "0.10.31" @@ -3917,19 +3151,12 @@ 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= +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" + ansi-regex "^5.0.0" strip-bom@^1.0.0: version "1.0.0" @@ -3946,16 +3173,6 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - supports-color@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" @@ -3973,24 +3190,18 @@ supports-color@^3.2.3: 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" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + symbol-observable@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ= -tar@^4.4.2: - version "4.4.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - tfunk@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/tfunk/-/tfunk-3.1.0.tgz#38e4414fc64977d87afdaa72facb6d29f82f7b5b" @@ -3999,34 +3210,6 @@ tfunk@^3.0.1: chalk "^1.1.1" object-path "^0.9.0" -through2@^0.6.1: - version "0.6.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" - integrity sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg= - dependencies: - readable-stream ">=1.0.33-1 <1.1.0-0" - xtend ">=4.0.0 <4.1.0-0" - -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -tildify@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a" - integrity sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo= - dependencies: - os-homedir "^1.0.0" - -time-stamp@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3" - integrity sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= - tmp@0.0.30: version "0.0.30" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.30.tgz#72419d4a8be7d6ce75148fd8b324e593a711c2ed" @@ -4090,13 +3273,21 @@ tree-kill@^1.1.0: integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== "tsickle@file:../../node_modules/tsickle": - version "0.38.0" + version "0.38.1" tslib@^1.9.0: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== +tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + +"tslib@file:../../node_modules/tslib": + version "2.0.0" + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -4115,7 +3306,7 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= "typescript@file:../../node_modules/typescript": - version "3.7.4" + version "3.8.3" ua-parser-js@0.7.17: version "0.7.17" @@ -4127,11 +3318,6 @@ ultron@~1.1.0: resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== -unc-path-regex@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" - integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= - union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -4142,11 +3328,6 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -unique-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b" - integrity sha1-1ZpKdUJ0R9mqbJHnAmP40mpLEEs= - universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -4187,11 +3368,6 @@ use@^3.1.0: resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== -user-home@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" - integrity sha1-K1viOjK2Onyd640PKNSFcko98ZA= - util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -4207,13 +3383,6 @@ uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -v8flags@^2.0.2: - version "2.1.1" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" - integrity sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ= - dependencies: - user-home "^1.1.1" - validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -4231,20 +3400,6 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vinyl-fs@^0.3.0: - version "0.3.14" - resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6" - integrity sha1-mmhRzhysHBzqX+hsCTHWIMLPqeY= - dependencies: - defaults "^1.0.0" - glob-stream "^3.1.5" - glob-watcher "^0.0.6" - graceful-fs "^3.0.0" - mkdirp "^0.5.0" - strip-bom "^1.0.0" - through2 "^0.6.1" - vinyl "^0.4.0" - vinyl-sourcemaps-apply@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705" @@ -4252,24 +3407,7 @@ vinyl-sourcemaps-apply@^0.2.0: dependencies: source-map "^0.5.1" -vinyl@^0.4.0: - version "0.4.6" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847" - integrity sha1-LzVsh6VQolVGHza76ypbqL94SEc= - dependencies: - clone "^0.2.0" - clone-stats "^0.0.1" - -vinyl@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.5.3.tgz#b0455b38fc5e0cf30d4325132e461970c2091cde" - integrity sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4= - dependencies: - clone "^1.0.0" - clone-stats "^0.0.1" - replace-ext "0.0.1" - -vinyl@^2.0.1: +vinyl@2.x: version "2.2.0" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86" integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg== @@ -4314,20 +3452,13 @@ 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.14, which@^1.2.9: +which@^1.2.14: 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" -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== - dependencies: - string-width "^1.0.2 || 2" - window-size@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" @@ -4346,6 +3477,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -4374,10 +3514,10 @@ ws@~6.1.0: dependencies: async-limiter "~1.0.0" -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= +xhr2@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.2.0.tgz#eddeff782f3b7551061b8d75645085269396e521" + integrity sha512-BDtiD0i2iKPK/S8OAZfpk6tyzEDnKKSjxWHcMBVmh+LuqJ8A32qXTyOx+TVOg2dKvq6zGBq2sgKPkEeRs1qTRA== xml2js@^0.4.17: version "0.4.23" @@ -4397,11 +3537,6 @@ xmlhttprequest-ssl@~1.5.4: resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4= -"xtend@>=4.0.0 <4.1.0-0", xtend@~4.0.1: - version "4.0.2" - 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" @@ -4412,15 +3547,10 @@ y18n@^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@^3.0.0, yallist@^3.0.3: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== +yargs-parser@^18.1.0: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -4432,22 +3562,22 @@ yargs-parser@^4.1.0, yargs-parser@^4.2.0: dependencies: camelcase "^3.0.0" -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== +yargs@15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" + integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== dependencies: - cliui "^4.0.0" - find-up "^3.0.0" + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" get-caller-file "^2.0.1" - os-locale "^3.1.0" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.0.0" + yargs-parser "^18.1.0" yargs@6.4.0: version "6.4.0" @@ -4502,3 +3632,5 @@ yeast@0.1.2: "zone.js@file:../../dist/zone.js-dist/zone.js": version "0.10.3" + dependencies: + tslib "^2.0.0" diff --git a/integration/hello_world__systemjs_umd/src/index.html b/integration/hello_world__systemjs_umd/src/index.html index c28b092273..c6fe3c129a 100644 --- a/integration/hello_world__systemjs_umd/src/index.html +++ b/integration/hello_world__systemjs_umd/src/index.html @@ -6,7 +6,7 @@ Hello World - + + - \ No newline at end of file + diff --git a/integration/i18n/yarn.lock b/integration/i18n/yarn.lock index 5bd6915145..61e5624ac4 100644 --- a/integration/i18n/yarn.lock +++ b/integration/i18n/yarn.lock @@ -2,14 +2,13 @@ # yarn lockfile v1 -"@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" - "@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" + version "10.0.0-next.9" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -21,25 +20,29 @@ reflect-metadata "^0.1.2" semver "^6.3.0" source-map "^0.6.1" - yargs "13.1.0" + sourcemap-codec "^1.4.8" + tslib "^2.0.0" + yargs "15.3.0" "@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" - -"@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" - -"@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" + version "10.0.0-next.9" dependencies: - domino "^2.1.2" - xhr2 "^0.1.4" + tslib "^2.0.0" + +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== "@types/jasmine@*": version "3.5.2" @@ -47,10 +50,10 @@ integrity sha512-7hrdBDFWlTb4EhrXYRyC7i3L2kKCV0TqYbzuV+gwyPNF2V4SSHw2Vs223ai26W4tEg+t4e9Wfi1vW6JLubYPiw== "@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" + version "3.5.10" "@types/jasminewd2@file:../../node_modules/@types/jasminewd2": - version "2.0.6" + version "2.0.8" dependencies: "@types/jasmine" "*" @@ -69,11 +72,6 @@ resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz#50a4755f8e33edacd9c406729e9b930d2451902a" integrity sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA== -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - accepts@~1.3.4: version "1.3.7" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" @@ -124,15 +122,10 @@ 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^1.1.0: version "1.1.0" @@ -144,6 +137,21 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -160,19 +168,6 @@ anymatch@~3.1.1: normalize-path "^3.0.0" picomatch "^2.0.4" -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -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" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -528,7 +523,16 @@ chalk@0.5.1: strip-ansi "^0.3.0" supports-color "^0.2.0" -chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@2.x: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -573,11 +577,6 @@ chokidar@^3.0.0: optionalDependencies: fsevents "~2.1.2" -chownr@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" - integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -597,14 +596,14 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -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== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" clone-buffer@^1.0.0: version "1.0.0" @@ -643,6 +642,30 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -731,11 +754,6 @@ connect@3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= - convert-source-map@^1.5.1: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" @@ -758,17 +776,6 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -802,7 +809,7 @@ debug@=3.1.0, debug@~3.1.0: dependencies: ms "2.0.0" -debug@^3.1.0, debug@^3.2.6: +debug@^3.1.0: version "3.2.6" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== @@ -819,11 +826,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - define-property@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" @@ -864,11 +866,6 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" @@ -884,21 +881,11 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= - dev-ip@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/dev-ip/-/dev-ip-1.0.1.tgz#a76a3ed1855be7a012bb8ac16cb80f3c00dc28f0" integrity sha1-p2o+0YVb56ASu4rBbLgPPADcKPA= -domino@^2.1.2: - version "2.1.4" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.4.tgz#78922e7fab7c610f35792b6c745b7962d342e9c4" - integrity sha512-l70mlQ7IjPKC8kT7GljQXJZmt5OqFL+RE91ik5y5WWQtsd9wP8R7gpFnNu96fK5MqAAZRXfLLsnzKtkty5fWGQ== - easy-extender@^2.3.4: version "2.3.4" resolved "https://registry.yarnpkg.com/easy-extender/-/easy-extender-2.3.4.tgz#298789b64f9aaba62169c77a2b3b64b4c9589b8f" @@ -926,23 +913,16 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== encodeurl@~1.0.1, encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - 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" @@ -1035,7 +1015,7 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2: +escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -1050,19 +1030,6 @@ eventemitter3@1.x.x: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg= -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -1195,12 +1162,13 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^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" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^3.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" follow-redirects@1.5.10: version "1.5.10" @@ -1258,13 +1226,6 @@ fs-extra@4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" -fs-minipass@^1.2.5: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -1283,20 +1244,6 @@ fsevents@~2.1.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.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" @@ -1307,13 +1254,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -1365,13 +1305,44 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -"google-closure-compiler@git+https://github.com/alexeagle/closure-compiler.git#packagejson.dist": - version "20170409.0.0" - resolved "git+https://github.com/alexeagle/closure-compiler.git#2af4cb7d5591fbbe067119b8e8e6a1e1345f0c04" +google-closure-compiler-java@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200517.0.0.tgz#778370c22273c9085f4cf959ce063f8f112c02ac" + integrity sha512-JVZBiyyXwcYi6Yc3lO6dF2hMLJA4OzPm4/mgsem/tF1vk2HsWTnL3GTaBsPB2ENVZp0hoqsd4KgpPiG9ssNWxw== + +google-closure-compiler-js@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200517.0.0.tgz#9cb0861f764073d1c4d3b7453b74073ccb1ecfb1" + integrity sha512-dz6dOUHx5nhdIqMRXacAYS8aJfLvw4IKxGg28Hq/zeeDPHlX3P3iBK20NgFDfT8zdushThymtMqChSy7C5eyfA== + +google-closure-compiler-linux@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200517.0.0.tgz#2b9ecb634130060174aff5c52329a694ea4be68b" + integrity sha512-S5xPh6TtP+ESzZrmQLcDDqtZAsCVTbdI4VS98wQlN6IMZTd94nAnOCg9mrxQNAgop2t4sdsv/KuH0BGPUWEZ+w== + +google-closure-compiler-osx@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200517.0.0.tgz#9394e9a2fd97e3729fc3bd2abcffff6aab2cfcaa" + integrity sha512-FWIcsKqLllLjdOBZd7azijVaObydgRd0obVNi63eUfC5MX6T4qxKumGCyor2UCNY6by2ESz+PlGqCFzFhZ6b2g== + +google-closure-compiler-windows@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200517.0.0.tgz#c5cdde438c29458666a83358567b12072924ed6c" + integrity sha512-UXhjRGwS8deTkRla/riyVq3psscgMuw78lepEPtq5NgbumgJzY2+IQP9q+4MVOfJW58Rv0JUWKAFOnBBSZWcAQ== + +"google-closure-compiler@file:../../node_modules/google-closure-compiler": + version "20200517.0.0" dependencies: - chalk "^1.0.0" - vinyl "^2.0.1" + chalk "2.x" + google-closure-compiler-java "^20200517.0.0" + google-closure-compiler-js "^20200517.0.0" + minimist "1.x" + vinyl "2.x" vinyl-sourcemaps-apply "^0.2.0" + optionalDependencies: + google-closure-compiler-linux "^20200517.0.0" + google-closure-compiler-osx "^20200517.0.0" + google-closure-compiler-windows "^20200517.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.2.3" @@ -1422,10 +1393,10 @@ has-flag@^1.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= has-value@^0.3.1: version "0.3.1" @@ -1517,20 +1488,13 @@ https-proxy-agent@^4.0.0: agent-base "5" debug "4" -iconv-lite@0.4.24, iconv-lite@^0.4.4: +iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" -ignore-walk@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" - integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== - dependencies: - minimatch "^3.0.4" - immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" @@ -1564,7 +1528,7 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== @@ -1574,11 +1538,6 @@ invert-kv@^1.0.0: resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= -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== - 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" @@ -1678,10 +1637,10 @@ is-fullwidth-code-point@^1.0.0: 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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^3.1.0: version "3.1.0" @@ -1742,11 +1701,6 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -1777,11 +1731,6 @@ isarray@2.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" @@ -1903,13 +1852,6 @@ lcid@^1.0.0: 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" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -1954,13 +1896,12 @@ localtunnel@1.9.2: openurl "1.1.1" yargs "6.6.0" -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" + p-locate "^4.1.0" lodash.isfinite@^3.3.2: version "3.3.2" @@ -1979,13 +1920,6 @@ magic-string@^0.25.0: dependencies: sourcemap-codec "^1.4.4" -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" @@ -1998,15 +1932,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -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" - micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -2048,11 +1973,6 @@ mime@^2.0.3: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimatch@^3.0.2, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -2070,26 +1990,16 @@ minimist@1.2.0, minimist@^1.2.0: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@1.x: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + minimist@~0.0.1: version "0.0.10" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.2.1: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - mitt@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.2.0.tgz#cb24e6569c806e31bd4e3995787fe38a04fdf90d" @@ -2103,7 +2013,7 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -2147,49 +2057,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" -needle@^2.2.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.2.tgz#3342dea100b7160960a450dc8c22160ac712a528" - integrity sha512-DUzITvPVDUy6vczKKYTnWc/pBZ0EnjMJnQ3y+Jo5zfKFimJs7S3HFCxCRZYB9FUZcrzUQr3WsmvZgddMEIZv6w== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - negotiator@0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -node-pre-gyp@*: - version "0.14.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" - integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4.4.2" - -nopt@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= - dependencies: - abbrev "1" - osenv "^0.1.4" - normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -2212,44 +2084,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-bundled@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" - integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-packlist@^1.1.6: - version "1.4.8" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - npm-normalize-package-bin "^1.0.1" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -npmlog@^4.0.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - 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" @@ -2260,7 +2094,7 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -2305,7 +2139,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -2332,11 +2166,6 @@ optimist@~0.6.0: minimist "~0.0.1" wordwrap "~0.0.2" -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@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" @@ -2344,56 +2173,24 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -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.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - 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@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - p-limit "^2.0.0" + p-limit "^2.2.0" p-try@^2.0.0: version "2.2.0" @@ -2448,10 +2245,10 @@ path-exists@^2.0.0: dependencies: pinkie-promise "^2.0.0" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0: version "1.0.1" @@ -2463,11 +2260,6 @@ path-is-inside@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" @@ -2566,14 +2358,6 @@ psl@^1.1.24: resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -2585,7 +2369,7 @@ punycode@^2.1.0: integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== "puppeteer@file:../../node_modules/puppeteer": - version "2.1.0" + version "2.1.1" dependencies: "@types/mime-types" "^2.1.0" debug "^4.1.0" @@ -2633,16 +2417,6 @@ raw-body@^2.3.2: iconv-lite "0.4.24" unpipe "1.0.0" -rc@^1.2.7: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -2660,7 +2434,7 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@^2.3.5, readable-stream@~2.3.6: +readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@^2.3.5, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -2818,7 +2592,7 @@ rxjs@^5.5.6: symbol-observable "1.0.1" "rxjs@file:../../node_modules/rxjs": - version "6.5.3" + version "6.5.4" dependencies: tslib "^1.9.0" @@ -2851,7 +2625,7 @@ saucelabs@^1.5.0: dependencies: https-proxy-agent "^2.2.1" -sax@>=0.6.0, sax@^1.2.4: +sax@>=0.6.0: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== @@ -2866,7 +2640,7 @@ selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1: tmp "0.0.30" xml2js "^0.4.17" -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0: +"semver@2 || 3 || 4 || 5", semver@^5.3.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -2923,7 +2697,7 @@ server-destroy@1.0.1: resolved "https://registry.yarnpkg.com/server-destroy/-/server-destroy-1.0.1.tgz#f13bf928e42b9c3e79383e61cc3998b5d14e6cdd" integrity sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0= -set-blocking@^2.0.0, 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" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= @@ -2953,23 +2727,6 @@ setprototypeof@1.1.1: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -3108,7 +2865,7 @@ source-map@^0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -sourcemap-codec@^1.4.4: +sourcemap-codec@^1.4.4, sourcemap-codec@^1.4.8: version "1.4.8" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== @@ -3206,22 +2963,14 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", 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== +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" string_decoder@~1.1.1: version "1.1.1" @@ -3244,19 +2993,12 @@ 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= +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" + ansi-regex "^5.0.0" strip-bom@^2.0.0: version "2.0.0" @@ -3265,16 +3007,6 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - supports-color@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" @@ -3292,24 +3024,18 @@ supports-color@^3.2.3: 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" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + symbol-observable@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ= -tar@^4.4.2: - version "4.4.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - tfunk@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/tfunk/-/tfunk-3.1.0.tgz#38e4414fc64977d87afdaa72facb6d29f82f7b5b" @@ -3381,13 +3107,21 @@ tree-kill@^1.1.0: integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== "tsickle@file:../../node_modules/tsickle": - version "0.38.0" + version "0.38.1" tslib@^1.9.0: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== +tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + +"tslib@file:../../node_modules/tslib": + version "2.0.0" + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -3406,7 +3140,7 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= "typescript@file:../../node_modules/typescript": - version "3.7.4" + version "3.9.2" ua-parser-js@0.7.17: version "0.7.17" @@ -3507,7 +3241,7 @@ vinyl-sourcemaps-apply@^0.2.0: dependencies: source-map "^0.5.1" -vinyl@^2.0.1: +vinyl@2.x: version "2.2.0" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86" integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg== @@ -3552,20 +3286,6 @@ 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: - 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" - -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== - dependencies: - string-width "^1.0.2 || 2" - window-size@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" @@ -3584,6 +3304,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -3612,11 +3341,6 @@ ws@~6.1.0: dependencies: async-limiter "~1.0.0" -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= - xml2js@^0.4.17: version "0.4.23" resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" @@ -3645,15 +3369,10 @@ y18n@^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@^3.0.0, yallist@^3.0.3: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== +yargs-parser@^18.1.0: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -3665,22 +3384,22 @@ yargs-parser@^4.1.0, yargs-parser@^4.2.0: dependencies: camelcase "^3.0.0" -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== +yargs@15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" + integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== dependencies: - cliui "^4.0.0" - find-up "^3.0.0" + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" get-caller-file "^2.0.1" - os-locale "^3.1.0" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.0.0" + yargs-parser "^18.1.0" yargs@6.4.0: version "6.4.0" @@ -3735,3 +3454,5 @@ yeast@0.1.2: "zone.js@file:../../dist/zone.js-dist/zone.js": version "0.10.3" + dependencies: + tslib "^2.0.0" diff --git a/integration/ivy-i18n/angular.json b/integration/ivy-i18n/angular.json index 60f063fc4c..545dfe2aec 100644 --- a/integration/ivy-i18n/angular.json +++ b/integration/ivy-i18n/angular.json @@ -13,6 +13,8 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { + "localize": false, // To prevent the CLI from doing inlining itself + "aot": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", @@ -33,7 +35,6 @@ "tsConfig": "tsconfig.view-engine.json" }, "production": { - "localize": false, // TODO: enable when CLI supports inlining the locale "fileReplacements": [ { "replace": "src/environments/environment.ts", @@ -42,10 +43,9 @@ ], "optimization": true, "outputHashing": "all", - "sourceMap": false, + "sourceMap": true, "extractCss": true, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, @@ -72,9 +72,9 @@ }, "translated-legacy": { "tsConfig": "tsconfig.legacy.json", - "optimization": true, + "optimization": false, "outputHashing": "all", - "sourceMap": false, + "sourceMap": true, "extractCss": true, "namedChunks": false, "aot": true, @@ -84,9 +84,9 @@ }, "translated-legacy-xmb": { "tsConfig": "tsconfig.legacy-xmb.json", - "optimization": true, + "optimization": false, "outputHashing": "all", - "sourceMap": false, + "sourceMap": true, "extractCss": true, "namedChunks": false, "aot": true, @@ -198,6 +198,7 @@ } } } - }}, + } + }, "defaultProject": "cli-hello-world-ivy-i18n" } diff --git a/integration/ivy-i18n/package.json b/integration/ivy-i18n/package.json index 1d8cf1a87c..71c2f9e6bf 100644 --- a/integration/ivy-i18n/package.json +++ b/integration/ivy-i18n/package.json @@ -9,9 +9,9 @@ "ng": "ng", "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points", "start": "ng serve", - "pretest": "ng version", + "pretest": "ng version && rm -fr ../tmp", "test": "ng test && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production && yarn translated:test && yarn translated:legacy-xlf:test && yarn translated:legacy-xmb:test", - "translate": "localize-translate -r \"dist/\" -s \"**/*\" -l \"en-US\" -t \"[src/locales/messages.de.json, src/locales/extra.de.json]\" [src/locales/messages.fr.json,src/locales/extra.fr.json] -o \"../tmp/translations/{{LOCALE}}\"", + "translate": "localize-translate --root \"dist/\" --source \"**/*\" --source-locale \"en-US\" --translations \"[src/locales/messages.de.json, src/locales/extra.de.json]\" [src/locales/messages.fr.json,src/locales/extra.fr.json] --outputPath \"../tmp/translations/{{LOCALE}}\"", "runtime:test": "yarn e2e --configuration=runtime-translations", "translated:test": "yarn build && yarn translate && yarn translated:fr:e2e && yarn translated:de:e2e && yarn translated:en:e2e", "translated:fr:serve": "serve ../tmp/translations/fr --listen 4200", @@ -22,36 +22,37 @@ "translated:en:e2e": "npm-run-all -p -r translated:en:serve \"ng e2e --configuration=translated-en\"", "translated:legacy:serve": "serve ../tmp/translations/legacy --listen 4200", "translated:legacy:e2e": "npm-run-all -p -r translated:legacy:serve \"ng e2e --configuration=translated-legacy\"", - "translated:legacy:translate": "localize-translate -r \"dist/\" -s \"**/*\" -o \"../tmp/translations/{{LOCALE}}\"", - "translated:legacy-xlf:test": "yarn ng xi18n && yarn translated:legacy-xlf:update-translations && yarn ng build --configuration=translated-legacy && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xlf\" && yarn translated:legacy:e2e", - "translated:legacy-xlf:update-translations": "sed -i.bak -e 's/source>/target>'/ -e 's/Hello/Bonjour/' -e 's/source-language=\"en-US\"/source-language=\"en-US\" target-language=\"legacy\"/' ../tmp/legacy-locales/messages.legacy.xlf", - "translated:legacy-xmb:test": "yarn ng xi18n --format=xmb --outFile=messages.legacy.xmb && yarn translated:legacy-xmb:update-translations && yarn ng build --configuration=translated-legacy-xmb && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xtb\" && yarn translated:legacy:e2e", - "translated:legacy-xmb:update-translations": "sed -e 's/messagebundle/translationbundle/' -e 's///' -e 's/msg/translation/' -e 's/Hello/Bonjour/' -e 's/.*<\\/source>//' ../tmp/legacy-locales/messages.legacy.xmb > ../tmp/legacy-locales/messages.legacy.xtb" + "translated:legacy:translate": "localize-translate --root \"dist/\" --source \"**/*\" --outputPath \"../tmp/translations/{{LOCALE}}\"", + "translated:legacy-xlf:test": "yarn ng build && yarn extract --format xliff --outputPath ../tmp/legacy-locales/messages.legacy.xlf && yarn translated:legacy-xlf:update-translations && yarn ng build --configuration=translated-legacy && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xlf\" && yarn translated:legacy:e2e", + "translated:legacy-xlf:update-translations": "node scripts/update-xlf-translation-file.js \"../tmp/legacy-locales/messages.legacy.xlf\"", + "translated:legacy-xmb:test": "yarn ng build && yarn extract --format xmb --outputPath ../tmp/legacy-locales/messages.legacy.xmb && yarn translated:legacy-xmb:update-translations && yarn ng build --configuration=translated-legacy-xmb && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xtb\" && yarn translated:legacy:e2e", + "translated:legacy-xmb:update-translations": "node scripts/update-xmb-translation-file.js \"../tmp/legacy-locales/messages.legacy.xmb\"", + "extract": "localize-extract --source dist/main-es2015*.js" }, "private": true, "dependencies": { - "@angular/animations": "file:../../dist/packages-dist/animations", - "@angular/common": "file:../../dist/packages-dist/common", - "@angular/compiler": "file:../../dist/packages-dist/compiler", - "@angular/core": "file:../../dist/packages-dist/core", - "@angular/forms": "file:../../dist/packages-dist/forms", - "@angular/localize": "file:../../dist/packages-dist/localize", - "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", - "@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic", - "@angular/router": "file:../../dist/packages-dist/router", - "core-js": "file:../../node_modules/core-js", - "rxjs": "file:../../node_modules/rxjs", - "tslib": "file:../../node_modules/tslib", - "zone.js": "file:../../dist/zone.js-dist/zone.js" + "@angular/animations": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/animations/npm_package_archive.tar.gz", + "@angular/common": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/common/npm_package_archive.tar.gz", + "@angular/compiler": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler/npm_package_archive.tar.gz", + "@angular/core": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/core/npm_package_archive.tar.gz", + "@angular/forms": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/forms/npm_package_archive.tar.gz", + "@angular/localize": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/localize/npm_package_archive.tar.gz", + "@angular/platform-browser": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser/npm_package_archive.tar.gz", + "@angular/platform-browser-dynamic": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser-dynamic/npm_package_archive.tar.gz", + "@angular/router": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/router/npm_package_archive.tar.gz", + "core-js": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/core-js_archive.tar.gz", + "rxjs": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/rxjs_archive.tar.gz", + "tslib": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/tslib_archive.tar.gz", + "zone.js": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/zone.js/npm_package_archive.tar.gz" }, "devDependencies": { - "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", - "@angular/cli": "file:../../node_modules/@angular/cli", - "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", - "@angular/language-service": "file:../../dist/packages-dist/language-service", - "@types/jasmine": "file:../../node_modules/@types/jasmine", - "@types/jasminewd2": "file:../../node_modules/@types/jasminewd2", - "@types/node": "file:../../node_modules/@types/node", + "@angular-devkit/build-angular": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular-devkit_build-angular_archive.tar.gz", + "@angular/cli": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular_cli_archive.tar.gz", + "@angular/compiler-cli": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler-cli/npm_package_archive.tar.gz", + "@angular/language-service": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/language-service/npm_package_archive.tar.gz", + "@types/jasmine": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasmine_archive.tar.gz", + "@types/jasminewd2": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasminewd2_archive.tar.gz", + "@types/node": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_node_archive.tar.gz", "codelyzer": "5.2.0", "jasmine-core": "3.5.0", "jasmine-spec-reporter": "4.2.1", @@ -61,15 +62,15 @@ "karma-jasmine": "2.0.1", "karma-jasmine-html-reporter": "1.4.2", "npm-run-all": "4.1.5", - "protractor": "file:../../node_modules/protractor", - "puppeteer": "file:../../node_modules/puppeteer", + "protractor": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/protractor_archive.tar.gz", + "puppeteer": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/puppeteer_archive.tar.gz", "serve": "11.2.0", "ts-node": "8.3.0", "tslint": "5.18.0", - "typescript": "file:../../node_modules/typescript" + "typescript": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/typescript_archive.tar.gz" }, "//resolutions-comment": "Ensure a single version of webdriver-manager which comes from root node_modules that has already run webdriver-manager update", "resolutions": { - "**/webdriver-manager": "file:../../node_modules/webdriver-manager" + "**/webdriver-manager": "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/webdriver-manager_archive.tar.gz" } } \ No newline at end of file diff --git a/integration/ivy-i18n/scripts/update-xlf-translation-file.js b/integration/ivy-i18n/scripts/update-xlf-translation-file.js new file mode 100644 index 0000000000..79a0001a3b --- /dev/null +++ b/integration/ivy-i18n/scripts/update-xlf-translation-file.js @@ -0,0 +1,20 @@ +/** + * This file simulates translating a generated translation file into a new locale. + * In particular it takes an English locale XLIFF 1.2 format and translates to the French locale. + */ +const fs = require('fs'); +const path = require('path'); + +// Load the file +const filePath = path.resolve(__dirname, '..', process.argv.pop()); +const contents = fs.readFileSync(filePath, 'utf8'); + +// Backup the file +fs.writeFileSync(filePath + '.bak', contents, 'utf8'); + +// Write translated file +const updated = + contents.replace(/source>/g, 'target>') + .replace(/Hello/g, 'Bonjour') + .replace(/source-language="([^"]+)"/g, 'source-language="$1" target-language="legacy"'); +fs.writeFileSync(filePath, updated, 'utf8'); diff --git a/integration/ivy-i18n/scripts/update-xmb-translation-file.js b/integration/ivy-i18n/scripts/update-xmb-translation-file.js new file mode 100644 index 0000000000..98f5da8be7 --- /dev/null +++ b/integration/ivy-i18n/scripts/update-xmb-translation-file.js @@ -0,0 +1,19 @@ +/** + * This file simulates translating a generated translation file into a new locale. + * In particular it takes an English locale XMB format and translates to a French locale XTB format. + */ +const fs = require('fs'); +const path = require('path'); + +// Load the file +const filePath = path.resolve(__dirname, '..', process.argv.pop()); +const contents = fs.readFileSync(filePath, 'utf8'); + +// Write translated file +const updatedFilePath = filePath.replace(/\.xmb$/, '.xtb'); +const updatedContents = contents.replace(/messagebundle/g, 'translationbundle>') + .replace(//g, '') + .replace(/\bmsg\b/g, 'translation') + .replace(/Hello/g, 'Bonjour') + .replace(/.*<\/source>/g, ''); +fs.writeFileSync(updatedFilePath, updatedContents, 'utf8'); diff --git a/integration/ivy-i18n/yarn.lock b/integration/ivy-i18n/yarn.lock index 45fd3a3efa..f15743a5e4 100644 --- a/integration/ivy-i18n/yarn.lock +++ b/integration/ivy-i18n/yarn.lock @@ -2,151 +2,182 @@ # yarn lockfile v1 -"@angular-devkit/architect@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.900.3.tgz#9c396733abd12fbb1d5bbc4542b2ee52418adb02" - integrity sha512-4UHc58Dlc5XHY3eiYSX9gytLyPNYixGSRwLcc/LRwuPgrmUFKPzCN3nwgB+9kc03/HN89CsJ1rS1scid6N6vxQ== +"@angular-devkit/architect@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1000.0-rc.2.tgz#a6aaef2ceed03c28817b23d0e393bf67b383a393" + integrity sha512-4Nhrr56cVEXAykIwAVcpqKNNeMXIpfoxeWF/PLWr5VTV8XR2GO1h7wGz0f1/RRrxkOy5/6EGD7GoPpNVoPQ1/A== dependencies: - "@angular-devkit/core" "9.0.3" - rxjs "6.5.3" + "@angular-devkit/core" "10.0.0-rc.2" + rxjs "6.5.5" -"@angular-devkit/build-angular@file:../../node_modules/@angular-devkit/build-angular": - version "0.900.3" +"@angular-devkit/architect@0.901.0": + version "0.901.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.901.0.tgz#c660cb76e3bd35fc294d8e8578782b83157924aa" + integrity sha512-SlqEBkPrT40zMCy5344AsUqC76pEPCaGPaAkCIvadaz2dC9vNMzQrvubCPJHViD/TumkSX1kYmLS3iYASVM9GQ== dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/build-optimizer" "0.900.3" - "@angular-devkit/build-webpack" "0.900.3" - "@angular-devkit/core" "9.0.3" - "@babel/core" "7.7.7" - "@babel/generator" "7.7.7" - "@babel/preset-env" "7.7.7" - "@ngtools/webpack" "9.0.3" - ajv "6.10.2" - autoprefixer "9.7.1" - babel-loader "8.0.6" - browserslist "4.8.3" - cacache "13.0.1" - caniuse-lite "1.0.30001020" + "@angular-devkit/core" "9.1.0" + rxjs "6.5.4" + +"@angular-devkit/build-angular@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular-devkit_build-angular_archive.tar.gz": + version "0.1000.0-rc.2" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular-devkit_build-angular_archive.tar.gz#ebf425b04d732b6bd21f2017338d80b2f9046dff" + dependencies: + "@angular-devkit/architect" "0.1000.0-rc.2" + "@angular-devkit/build-optimizer" "0.1000.0-rc.2" + "@angular-devkit/build-webpack" "0.1000.0-rc.2" + "@angular-devkit/core" "10.0.0-rc.2" + "@babel/core" "7.9.6" + "@babel/generator" "7.9.6" + "@babel/plugin-transform-runtime" "7.9.6" + "@babel/preset-env" "7.9.6" + "@babel/runtime" "7.9.6" + "@babel/template" "7.8.6" + "@jsdevtools/coverage-istanbul-loader" "3.0.3" + "@ngtools/webpack" "10.0.0-rc.2" + ajv "6.12.2" + autoprefixer "9.8.0" + babel-loader "8.1.0" + browserslist "^4.9.1" + cacache "15.0.3" + caniuse-lite "^1.0.30001032" circular-dependency-plugin "5.2.0" copy-webpack-plugin "5.1.1" - core-js "3.6.0" - coverage-istanbul-loader "2.0.3" + core-js "3.6.4" + css-loader "3.5.3" cssnano "4.1.10" - file-loader "4.2.0" - find-cache-dir "3.0.0" - glob "7.1.5" - jest-worker "24.9.0" + file-loader "6.0.0" + find-cache-dir "3.3.1" + glob "7.1.6" + jest-worker "26.0.0" karma-source-map-support "1.4.0" - less "3.10.3" - less-loader "5.0.0" - license-webpack-plugin "2.1.3" - loader-utils "1.2.3" - magic-string "0.25.4" - mini-css-extract-plugin "0.8.0" + less-loader "6.1.0" + license-webpack-plugin "2.2.0" + loader-utils "2.0.0" + mini-css-extract-plugin "0.9.0" minimatch "3.0.4" - open "7.0.0" + open "7.0.4" parse5 "4.0.0" - postcss "7.0.21" + pnp-webpack-plugin "1.6.4" + postcss "7.0.31" postcss-import "12.0.1" postcss-loader "3.0.0" - raw-loader "3.1.0" - regenerator-runtime "0.13.3" - rimraf "3.0.0" - rollup "1.25.2" - rxjs "6.5.3" - sass "1.23.3" - sass-loader "8.0.0" - semver "6.3.0" + raw-loader "4.0.1" + regenerator-runtime "0.13.5" + resolve-url-loader "3.1.1" + rimraf "3.0.2" + rollup "2.10.9" + rxjs "6.5.5" + sass "1.26.5" + sass-loader "8.0.2" + semver "7.3.2" source-map "0.7.3" - source-map-loader "0.2.4" - source-map-support "0.5.16" - speed-measure-webpack-plugin "1.3.1" - style-loader "1.0.0" + source-map-loader "1.0.0" + source-map-support "0.5.19" + speed-measure-webpack-plugin "1.3.3" + style-loader "1.2.1" stylus "0.54.7" stylus-loader "3.0.2" - terser "4.5.1" - terser-webpack-plugin "2.3.3" + terser "4.7.0" + terser-webpack-plugin "3.0.1" tree-kill "1.2.2" - webpack "4.41.2" + webpack "4.43.0" webpack-dev-middleware "3.7.2" - webpack-dev-server "3.9.0" + webpack-dev-server "3.11.0" webpack-merge "4.2.2" webpack-sources "1.4.3" - webpack-subresource-integrity "1.3.4" - worker-plugin "3.2.0" + webpack-subresource-integrity "1.4.1" + worker-plugin "4.0.3" -"@angular-devkit/build-optimizer@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.900.3.tgz#91f90c56affb0be9f7910dfc1d414f16c21c2c3f" - integrity sha512-VLAWtAXpOzOoYUJrN6sT90UdIdvrVIipkzGz7nfI1kscDvxUFwVZnsNNHtFinaY2SfZAunHhYQOA/B9FJ8WPdQ== +"@angular-devkit/build-optimizer@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.1000.0-rc.2.tgz#963043cbcc50869a3b8f6c9152388dcb2240c42a" + integrity sha512-z9lhoS9/mwsQ5zltoiWkzz3NDhqtAu1jr8WObha+nV2Lh087Un1PbgmZDGfZUKoOacve8vm39472D9+ypT5U+w== dependencies: - loader-utils "1.2.3" + loader-utils "2.0.0" source-map "0.7.3" - tslib "1.10.0" - typescript "3.6.4" + tslib "2.0.0" webpack-sources "1.4.3" -"@angular-devkit/build-webpack@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.900.3.tgz#4a2fd13cebe190c091606e18397a1f7cccfab6bb" - integrity sha512-9gSTLWf7yq/XBOec0CtZcjNMsC7L8IuVDProBQHps2SvTfr982DtHfEge95J2lc9BjRbqidv+phImFsQ1J3mFA== +"@angular-devkit/build-webpack@0.1000.0-rc.2": + version "0.1000.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.1000.0-rc.2.tgz#2d4fb96614d95aca6d825aeae71194335a79e3d0" + integrity sha512-2UCyDiGC9ymo0vNkDyc9c6u//+Z5VlU9hO7CI1fodH0/snXpjnPuP/BI74NMQFyYuK0MWQZe3AiUgybisqhnEA== dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/core" "9.0.3" - rxjs "6.5.3" + "@angular-devkit/architect" "0.1000.0-rc.2" + "@angular-devkit/core" "10.0.0-rc.2" + rxjs "6.5.5" -"@angular-devkit/core@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-9.0.3.tgz#a027862d2edd981afcc6245176e9f27768c631c9" - integrity sha512-3+abmv9K9d+BVgUAolYgoOqlGAA2Jb1pWo2biapSDG6KjUZHUCJdnsKigLtLorCdv0SrjTp56FFplkcqKsFQgA== +"@angular-devkit/core@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-10.0.0-rc.2.tgz#6bc0bea5dec4b86960ff778e2d2b0ab5384648c3" + integrity sha512-Yggx8uKCLJ31u1NpSb6USZsHcbejUHgJlBAmC8WiJeSDROO/kiDWsfPqa5q94NmKXcv3gdVwN44c8h5HA4hcEQ== dependencies: - ajv "6.10.2" - fast-json-stable-stringify "2.0.0" - magic-string "0.25.4" - rxjs "6.5.3" + ajv "6.12.2" + fast-json-stable-stringify "2.1.0" + magic-string "0.25.7" + rxjs "6.5.5" source-map "0.7.3" -"@angular-devkit/schematics@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-9.0.3.tgz#e65fa1ce08a3d5ef0af594b623024439c1110a0d" - integrity sha512-BQnZtFQPLZZOijhuEndtzL6cOnhaE8nNxupkRHavWohOMStnLsRyvVJj6JVDkf37wvT5koqTNjHhbdMxcCRc6A== +"@angular-devkit/core@9.1.0": + version "9.1.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-9.1.0.tgz#5cc89bb5d44c6fd12a3527bae0253adb60d64b07" + integrity sha512-vHTsrB4JaVUQ95FRnKrgo79Y3F6FokImrZdrmwkQmwAThpjXeXmpUEKZS+ZSTFRgesjiIysVGOFijARP4BQ7Bg== dependencies: - "@angular-devkit/core" "9.0.3" - ora "4.0.2" - rxjs "6.5.3" + ajv "6.12.0" + fast-json-stable-stringify "2.1.0" + magic-string "0.25.7" + rxjs "6.5.4" + source-map "0.7.3" -"@angular/animations@file:../../dist/packages-dist/animations": - version "10.0.0-next.2" - -"@angular/cli@file:../../node_modules/@angular/cli": - version "9.0.3" +"@angular-devkit/schematics@9.1.0": + version "9.1.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-9.1.0.tgz#f453a9ff78c34a5468cc21830ac4a46089ee1a31" + integrity sha512-cb9PSvskMwWlL54fPfCcpJoyNDWAX6Wo7CzL5qpIB2cJCPLAuyfRUYYrkO77YUST+n2HvypHz0cZ5SNGMfaaBQ== dependencies: - "@angular-devkit/architect" "0.900.3" - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" - "@schematics/angular" "9.0.3" - "@schematics/update" "0.900.3" + "@angular-devkit/core" "9.1.0" + ora "4.0.3" + rxjs "6.5.4" + +"@angular/animations@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/animations/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/animations/npm_package_archive.tar.gz#080c969d73724fbd72c36122f1a82883d74611d9" + dependencies: + tslib "^2.0.0" + +"@angular/cli@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular_cli_archive.tar.gz": + version "9.1.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/angular_cli_archive.tar.gz#011b7e1c77e111e97fb9efccbc220390213deea0" + dependencies: + "@angular-devkit/architect" "0.901.0" + "@angular-devkit/core" "9.1.0" + "@angular-devkit/schematics" "9.1.0" + "@schematics/angular" "9.1.0" + "@schematics/update" "0.901.0" "@yarnpkg/lockfile" "1.1.0" ansi-colors "4.1.1" - debug "^4.1.1" + debug "4.1.1" ini "1.3.5" - inquirer "7.0.0" - npm-package-arg "6.1.1" - npm-pick-manifest "3.0.2" - open "7.0.0" - pacote "9.5.8" + inquirer "7.1.0" + npm-package-arg "8.0.1" + npm-pick-manifest "6.0.0" + open "7.0.3" + pacote "11.1.4" read-package-tree "5.3.1" - rimraf "3.0.0" - semver "6.3.0" + rimraf "3.0.2" + semver "7.1.3" symbol-observable "1.2.0" - universal-analytics "^0.4.20" - uuid "^3.3.2" + universal-analytics "0.4.20" + uuid "7.0.2" -"@angular/common@file:../../dist/packages-dist/common": - version "10.0.0-next.2" +"@angular/common@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/common/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/common/npm_package_archive.tar.gz#9242646930ec2b7540ef4a691375386324b41265" + dependencies: + tslib "^2.0.0" -"@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "10.0.0-next.2" +"@angular/compiler-cli@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler-cli/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler-cli/npm_package_archive.tar.gz#cab4a270d5dc00d0193cea285a427b4f34774949" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -159,35 +190,56 @@ semver "^6.3.0" source-map "^0.6.1" sourcemap-codec "^1.4.8" + tslib "^2.0.0" yargs "15.3.0" -"@angular/compiler@file:../../dist/packages-dist/compiler": - version "10.0.0-next.2" +"@angular/compiler@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/compiler/npm_package_archive.tar.gz#f7bd74c6e8469dd368a350a23fb06d977e611cf0" + dependencies: + tslib "^2.0.0" -"@angular/core@file:../../dist/packages-dist/core": - version "10.0.0-next.2" +"@angular/core@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/core/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/core/npm_package_archive.tar.gz#8a876eccb8039b838f3baaf47e57ebb6d6401b3d" + dependencies: + tslib "^2.0.0" -"@angular/forms@file:../../dist/packages-dist/forms": - version "10.0.0-next.2" +"@angular/forms@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/forms/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/forms/npm_package_archive.tar.gz#7285060079740ec6affc6635a5b51a7c4121b519" + dependencies: + tslib "^2.0.0" -"@angular/language-service@file:../../dist/packages-dist/language-service": - version "10.0.0-next.2" +"@angular/language-service@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/language-service/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/language-service/npm_package_archive.tar.gz#fb441316133a05929632b0bacb20ae6a74c95069" -"@angular/localize@file:../../dist/packages-dist/localize": - version "10.0.0-next.2" +"@angular/localize@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/localize/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/localize/npm_package_archive.tar.gz#7c32dc03f3dadbae328e08a9e43f9aa9bf89b654" dependencies: "@babel/core" "7.8.3" glob "7.1.2" yargs "15.3.0" -"@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "10.0.0-next.2" +"@angular/platform-browser-dynamic@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser-dynamic/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser-dynamic/npm_package_archive.tar.gz#84f4c6e92704446ab30ea3891de31d786ebad453" + dependencies: + tslib "^2.0.0" -"@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "10.0.0-next.2" +"@angular/platform-browser@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/platform-browser/npm_package_archive.tar.gz#79bb5d589502126165c7ca7a05c5e2d1519f37b3" + dependencies: + tslib "^2.0.0" -"@angular/router@file:../../dist/packages-dist/router": - version "10.0.0-next.2" +"@angular/router@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/router/npm_package_archive.tar.gz": + version "0.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/router/npm_package_archive.tar.gz#c81f91451732b12539c436832eff6897b5c0f56e" + dependencies: + tslib "^2.0.0" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": version "7.5.5" @@ -196,6 +248,13 @@ dependencies: "@babel/highlight" "^7.0.0" +"@babel/code-frame@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== + dependencies: + "@babel/highlight" "^7.10.1" + "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -203,25 +262,14 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/core@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" - integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== +"@babel/compat-data@^7.10.1", "@babel/compat-data@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.10.1.tgz#b1085ffe72cd17bf2c0ee790fc09f9626011b2db" + integrity sha512-CHvCj7So7iCkGKPRFUfryXIkU2gSBw7VSZFYLsqVhrS47269VK2Hfi9S/YcublPMW8k1u2bQBlbDruoQEm4fgw== dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.7" - "@babel/helpers" "^7.7.4" - "@babel/parser" "^7.7.7" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" + browserslist "^4.12.0" + invariant "^2.2.4" + semver "^5.5.0" "@babel/core@7.8.3", "@babel/core@^7.7.5": version "7.8.3" @@ -244,12 +292,44 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" - integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== +"@babel/core@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" + integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== dependencies: - "@babel/types" "^7.7.4" + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.9.6" + "@babel/helper-module-transforms" "^7.9.0" + "@babel/helpers" "^7.9.6" + "@babel/parser" "^7.9.6" + "@babel/template" "^7.8.6" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/generator@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" + integrity sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ== + dependencies: + "@babel/types" "^7.9.6" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + +"@babel/generator@^7.10.1", "@babel/generator@^7.9.6": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" + integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== + dependencies: + "@babel/types" "^7.10.2" jsesc "^2.5.1" lodash "^4.17.13" source-map "^0.5.0" @@ -264,17 +344,7 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/generator@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.4.tgz#db651e2840ca9aa66f327dcec1dc5f5fa9611369" - integrity sha512-m5qo2WgdOJeyYngKImbkyQrnUN1mPceaG5BV+G0E3gWsa4l/jCSryWJdM2x8OuGAOyh+3d5pVYfZWCiNFtynxg== - dependencies: - "@babel/types" "^7.7.4" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/generator@^7.7.7", "@babel/generator@^7.8.3": +"@babel/generator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.8.3.tgz#0e22c005b0a94c1c74eafe19ef78ce53a4d45c03" integrity sha512-WjoPk8hRpDRqqzRpvaR8/gDUPkrnOOeuT2m8cNICJtZH6mwaCo3v0OKMI7Y6SM1pBtyijnLtAL0HDi41pf41ug== @@ -284,29 +354,40 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/helper-annotate-as-pure@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" - integrity sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw== +"@babel/helper-annotate-as-pure@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268" + integrity sha512-ewp3rvJEwLaHgyWGe4wQssC2vjks3E80WiUe2BpMb0KhreTjMROCbxXcEovTrbeGVdQct5VjQfrv9EgC+xMzCw== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" - integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.1.tgz#0ec7d9be8174934532661f87783eb18d72290059" + integrity sha512-cQpVq48EkYxUU0xozpGCLla3wlkdRRqLWu1ksFMXA9CM5KQmyyRpSEsYXbao7JUkOw/tAaYKCaYyZq6HOFYtyw== dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-explode-assignable-expression" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-call-delegate@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692" - integrity sha512-6Q05px0Eb+N4/GTyKPPvnkig7Lylw+QzihMpws9iiZQv7ZImf84ZsZpQH7QoWN4n4tm81SnSzPgHw2qtO0Zf3A== +"@babel/helper-compilation-targets@^7.9.6": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.2.tgz#a17d9723b6e2c750299d2a14d4637c76936d8285" + integrity sha512-hYgOhF4To2UTB4LTaZepN/4Pl9LD4gfbJx8A34mqoluT8TLbof1mhUlYuNWTEebONa8+UlCC4X0TEXu7AOUyGA== dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/compat-data" "^7.10.1" + browserslist "^4.12.0" + invariant "^2.2.4" + levenary "^1.1.1" + semver "^5.5.0" + +"@babel/helper-create-regexp-features-plugin@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.1.tgz#1b8feeab1594cbcfbf3ab5a3bbcabac0468efdbd" + integrity sha512-Rx4rHS0pVuJn5pJOqaqcZR4XSgeF9G/pO/79t+4r7380tXFJdzImFnxMU19f83wjSrmKHq6myrM10pFHTGzkUA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-regex" "^7.10.1" + regexpu-core "^4.7.0" "@babel/helper-create-regexp-features-plugin@^7.8.3": version "7.8.3" @@ -316,22 +397,22 @@ "@babel/helper-regex" "^7.8.3" regexpu-core "^4.6.0" -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== +"@babel/helper-define-map@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.1.tgz#5e69ee8308648470dd7900d159c044c10285221d" + integrity sha512-+5odWpX+OnvkD0Zmq7panrMuAGQBu6aPUgvMzuMGo4R+jUOvealEj2hiqI6WhxgKrTpFoFj0+VdsuA8KDxHBDg== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/types" "^7.10.1" lodash "^4.17.13" -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== +"@babel/helper-explode-assignable-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.10.1.tgz#e9d76305ee1162ca467357ae25df94f179af2b7e" + integrity sha512-vcUJ3cDjLjvkKzt6rHrl767FeE7pMEYfPanq5L16GRtrXIoznc0HykNW2aEYkcnP76P0isoqJ34dDMFZwzEpJg== dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" "@babel/helper-function-name@^7.1.0": version "7.1.0" @@ -342,14 +423,14 @@ "@babel/template" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-function-name@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e" - integrity sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ== +"@babel/helper-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" + integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ== dependencies: - "@babel/helper-get-function-arity" "^7.7.4" - "@babel/template" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" "@babel/helper-function-name@^7.8.3": version "7.8.3" @@ -367,12 +448,12 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/helper-get-function-arity@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" - integrity sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA== +"@babel/helper-get-function-arity@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" + integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.10.1" "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" @@ -381,26 +462,26 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== +"@babel/helper-hoist-variables@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.1.tgz#7e77c82e5dcae1ebf123174c385aaadbf787d077" + integrity sha512-vLm5srkU8rI6X3+aQ1rQJyfjvCBLXP8cAGeuw04zeAM2ItKb1e7pmVmLyHb4sDaAYnLL13RHOZPLEtcGZ5xvjg== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" -"@babel/helper-member-expression-to-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" - integrity sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA== +"@babel/helper-member-expression-to-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15" + integrity sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" -"@babel/helper-module-imports@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz#e5a92529f8888bf319a6376abfbd1cebc491ad91" - integrity sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ== +"@babel/helper-module-imports@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876" + integrity sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.10.1" "@babel/helper-module-imports@^7.8.3": version "7.8.3" @@ -409,35 +490,48 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-module-transforms@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590" - integrity sha512-C7NG6B7vfBa/pwCOshpMbOYUmrYQDfCpVL/JCRu0ek8B5p8kue1+BCXpg2vOYs7w5ACB9GTOBYQ5U6NwrMg+3Q== +"@babel/helper-module-transforms@^7.10.1", "@babel/helper-module-transforms@^7.9.0": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622" + integrity sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg== dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" lodash "^4.17.13" -"@babel/helper-optimise-call-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" - integrity sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ== +"@babel/helper-optimise-call-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" + integrity sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" "@babel/helper-plugin-utils@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== +"@babel/helper-plugin-utils@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.1.tgz#ec5a5cf0eec925b66c60580328b122c01230a127" + integrity sha512-fvoGeXt0bJc7VMWZGCAEBEMo/HAjW2mP8apF5eXK0wSqwLAVHAISCWRoLMBMUs2kqeaG77jltVqu4Hn8Egl3nA== + "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== +"@babel/helper-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.10.1.tgz#021cf1a7ba99822f993222a001cc3fec83255b96" + integrity sha512-7isHr19RsIJWWLLFn21ubFt223PjQyg1HY7CZEMRr820HttHPpVvrsIN3bUOo44DEfFV4kBXO7Abbn9KTUZV7g== + dependencies: + lodash "^4.17.13" + "@babel/helper-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" @@ -445,34 +539,41 @@ dependencies: lodash "^4.17.13" -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== +"@babel/helper-remap-async-to-generator@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.10.1.tgz#bad6aaa4ff39ce8d4b82ccaae0bfe0f7dbb5f432" + integrity sha512-RfX1P8HqsfgmJ6CwaXGKMAqbYdlleqglvVtht0HGPMSsy2V6MqLlOJVF/0Qyb/m2ZCi2z3q3+s6Pv7R/dQuZ6A== dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-wrap-function" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-replace-supers@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" - integrity sha512-xOUssL6ho41U81etpLoT2RTdvdus4VfHamCuAm4AHxGr+0it5fnwoVdwUJ7GFEqCsQYzJUhcbsN9wB9apcYKFA== +"@babel/helper-replace-supers@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" + integrity sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A== dependencies: - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-member-expression-to-functions" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-simple-access@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" - integrity sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw== +"@babel/helper-simple-access@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e" + integrity sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw== dependencies: - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helper-split-export-declaration@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" + integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g== + dependencies: + "@babel/types" "^7.10.1" "@babel/helper-split-export-declaration@^7.4.4": version "7.4.4" @@ -481,13 +582,6 @@ dependencies: "@babel/types" "^7.4.4" -"@babel/helper-split-export-declaration@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8" - integrity sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug== - dependencies: - "@babel/types" "^7.7.4" - "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" @@ -495,17 +589,22 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== -"@babel/helpers@^7.7.4", "@babel/helpers@^7.8.3": +"@babel/helper-wrap-function@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.10.1.tgz#956d1310d6696257a7afd47e4c42dfda5dfcedc9" + integrity sha512-C0MzRGteVDn+H32/ZgbAv5r56f2o1fZSA/rj/TYo8JEJNHg+9BdSmKBUND0shxWRztWhjlT2cvHYuynpPsVJwQ== + dependencies: + "@babel/helper-function-name" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helpers@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.8.3.tgz#382fbb0382ce7c4ce905945ab9641d688336ce85" integrity sha512-LmU3q9Pah/XyZU89QvBgGt+BCsTPoQa+73RxAQh8fb8qkDyIfeQnmgs+hvzhTCKTzqOyk7JTkS3MS1S8Mq5yrQ== @@ -514,6 +613,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helpers@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" + integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== + dependencies: + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/highlight@^7.0.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" @@ -523,6 +631,15 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -532,76 +649,94 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/parser@^7.10.1", "@babel/parser@^7.8.6", "@babel/parser@^7.9.6": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" + integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== + "@babel/parser@^7.4.3", "@babel/parser@^7.6.0", "@babel/parser@^7.6.2": version "7.6.2" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.6.2.tgz#205e9c95e16ba3b8b96090677a67c9d6075b70a1" integrity sha512-mdFqWrSPCmikBoaBYMuBulzTIKuXVPtEISFbRRVNwMWpCms/hmE2kRq0bblUHaNRKrjRlmVbx1sDHmjmRgD2Xg== -"@babel/parser@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.4.tgz#75ab2d7110c2cf2fa949959afb05fa346d2231bb" - integrity sha512-jIwvLO0zCL+O/LmEJQjWA75MQTWwx3c3u2JOTDK5D3/9egrWRRA0/0hk9XXywYnXZVVpzrBYeIQTmhwUaePI9g== - -"@babel/parser@^7.7.5", "@babel/parser@^7.7.7", "@babel/parser@^7.8.3": +"@babel/parser@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.3.tgz#790874091d2001c9be6ec426c2eed47bc7679081" integrity sha512-/V72F4Yp/qmHaTALizEm9Gf2eQHV3QyTL3K0cNfijwnMnb1L+LDlAubb/ZnSdGAVzVSWakujHYs1I26x66sMeQ== -"@babel/plugin-proposal-async-generator-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" - integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== +"@babel/plugin-proposal-async-generator-functions@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.1.tgz#6911af5ba2e615c4ff3c497fe2f47b35bf6d7e55" + integrity sha512-vzZE12ZTdB336POZjmpblWfNNRpMSua45EYnRigE2XsZxcXcIyly2ixnTJasJE4Zq3U7t2d8rRF7XRUuzHxbOw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-remap-async-to-generator" "^7.10.1" "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-dynamic-import@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== +"@babel/plugin-proposal-dynamic-import@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.1.tgz#e36979dc1dc3b73f6d6816fc4951da2363488ef0" + integrity sha512-Cpc2yUVHTEGPlmiQzXj026kqwjEQAD9I4ZC16uzdbgWgitg/UHKHLffKNCQZ5+y8jpIZPJcKcwsr2HwPh+w3XA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-json-strings@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== +"@babel/plugin-proposal-json-strings@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.1.tgz#b1e691ee24c651b5a5e32213222b2379734aff09" + integrity sha512-m8r5BmV+ZLpWPtMY2mOKN7wre6HIO4gfIiV+eOmsnZABNenrt/kzYBwrh+KOfgumSWpnlGs5F70J8afYMSJMBg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-object-rest-spread@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb" - integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.1.tgz#02dca21673842ff2fe763ac253777f235e9bbf78" + integrity sha512-56cI/uHYgL2C8HVuHOuvVowihhX0sxb3nnfVRzUeVHTWmRHTZrKuAh/OBIMggGU/S1g/1D2CRCXqP+3u7vX7iA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-optional-catch-binding@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== +"@babel/plugin-proposal-numeric-separator@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.1.tgz#a9a38bc34f78bdfd981e791c27c6fdcec478c123" + integrity sha512-jjfym4N9HtCiNfyyLAVD8WqPYeHUrw4ihxuAynWj6zzp2gf9Ey2f7ImhFm6ikB3CLf5Z/zmcJDri6B4+9j9RsA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-numeric-separator" "^7.10.1" + +"@babel/plugin-proposal-object-rest-spread@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.1.tgz#cba44908ac9f142650b4a65b8aa06bf3478d5fb6" + integrity sha512-Z+Qri55KiQkHh7Fc4BW6o+QBuTagbOp9txE+4U1i79u9oWlf2npkiDx+Rf3iK3lbcHBuNy9UOkwuR5wOMH3LIQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.10.1" + +"@babel/plugin-proposal-optional-catch-binding@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.10.1.tgz#c9f86d99305f9fa531b568ff5ab8c964b8b223d2" + integrity sha512-VqExgeE62YBqI3ogkGoOJp1R6u12DFZjqwJhqtKc2o5m1YTUuUWnos7bZQFBhwkxIFpWYJ7uB75U7VAPPiKETA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-unicode-property-regex@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.3.tgz#b646c3adea5f98800c9ab45105ac34d06cd4a47f" - integrity sha512-1/1/rEZv2XGweRwwSkLpY+s60za9OZ1hJs4YDqFHCw0kYWYwL5IFljVY1MYBL+weT1l9pokDO2uhSTLVxzoHkQ== +"@babel/plugin-proposal-optional-chaining@^7.9.0": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.10.1.tgz#15f5d6d22708629451a91be28f8facc55b0e818c" + integrity sha512-dqQj475q8+/avvok72CF3AOSV/SGEcH29zT5hhohqqvvZ2+boQoOr7iGldBG5YXTO2qgCgc2B3WvVLUdbeMlGA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" -"@babel/plugin-syntax-async-generators@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz#331aaf310a10c80c44a66b238b6e49132bd3c889" - integrity sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g== +"@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.1.tgz#dc04feb25e2dd70c12b05d680190e138fa2c0c6f" + integrity sha512-JjfngYRvwmPwmnbRZyNiPFI8zxCZb8euzbCG/LxyKdeTb59tVciKo9GK9bi6JYKInk1H11Dq9j/zRqIH4KigfQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-async-generators@^7.8.0": version "7.8.4" @@ -610,13 +745,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-dynamic-import@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" - integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-dynamic-import@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" @@ -624,336 +752,409 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-json-strings@^7.7.4", "@babel/plugin-syntax-json-strings@^7.8.0": +"@babel/plugin-syntax-json-strings@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-object-rest-spread@^7.7.4", "@babel/plugin-syntax-object-rest-spread@^7.8.0": +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.1", "@babel/plugin-syntax-numeric-separator@^7.8.0": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.1.tgz#25761ee7410bc8cf97327ba741ee94e4a61b7d99" + integrity sha512-uTd0OsHrpe3tH5gRPTxG8Voh99/WCU78vIm5NMRYPAqC8lR4vajt6KkCAknCHrx24vkPdd/05yfdGSB4EIY2mg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-syntax-object-rest-spread@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.7.4", "@babel/plugin-syntax-optional-catch-binding@^7.8.0": +"@babel/plugin-syntax-optional-catch-binding@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.7.4": +"@babel/plugin-syntax-optional-chaining@^7.8.0": version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" - integrity sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g== + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-transform-arrow-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== +"@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.10.1.tgz#8b8733f8c57397b3eaa47ddba8841586dcaef362" + integrity sha512-hgA5RYkmZm8FTFT3yu2N9Bx7yVVOKYT6yEdXXo6j2JTm0wNxgqaGeQVaSHRjhfnQbX91DtjFB6McRFSlcJH3xQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-async-to-generator@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== +"@babel/plugin-transform-arrow-functions@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.1.tgz#cb5ee3a36f0863c06ead0b409b4cc43a889b295b" + integrity sha512-6AZHgFJKP3DJX0eCNJj01RpytUa3SOGawIxweHkNX2L6PYikOZmoh5B0d7hIHaIgveMjX990IAa/xK7jRTN8OA== dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-block-scoped-functions@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== +"@babel/plugin-transform-async-to-generator@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.1.tgz#e5153eb1a3e028f79194ed8a7a4bf55f862b2062" + integrity sha512-XCgYjJ8TY2slj6SReBUyamJn3k2JLUIiiR5b6t1mNCMSvv7yx+jJpaewakikp0uWFQSF7ChPPoe3dHmXLpISkg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-remap-async-to-generator" "^7.10.1" -"@babel/plugin-transform-block-scoping@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== +"@babel/plugin-transform-block-scoped-functions@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.1.tgz#146856e756d54b20fff14b819456b3e01820b85d" + integrity sha512-B7K15Xp8lv0sOJrdVAoukKlxP9N59HS48V1J3U/JGj+Ad+MHq+am6xJVs85AgXrQn4LV8vaYFOB+pr/yIuzW8Q== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-block-scoping@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.10.1.tgz#47092d89ca345811451cd0dc5d91605982705d5e" + integrity sha512-8bpWG6TtF5akdhIm/uWTyjHqENpy13Fx8chg7pFH875aNLwX8JxIxqm08gmAT+Whe6AOmaTeLPe7dpLbXt+xUw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.3.tgz#46fd7a9d2bb9ea89ce88720477979fe0d71b21b8" - integrity sha512-SjT0cwFJ+7Rbr1vQsvphAHwUHvSUPmMjMU/0P59G8U2HLFqSa082JO7zkbDNWs9kH/IUqpHI6xWNesGf8haF1w== +"@babel/plugin-transform-classes@^7.9.5": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.1.tgz#6e11dd6c4dfae70f540480a4702477ed766d733f" + integrity sha512-P9V0YIh+ln/B3RStPoXpEQ/CoAxQIhRSUn7aXqQ+FZJ2u8+oCtjIXR3+X0vsSD8zv+mb56K7wZW1XiDTDGiDRQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-define-map" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== +"@babel/plugin-transform-computed-properties@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.1.tgz#59aa399064429d64dce5cf76ef9b90b7245ebd07" + integrity sha512-mqSrGjp3IefMsXIenBfGcPXxJxweQe2hEIwMQvjtiDQ9b1IBvDUjkAtV/HMXX47/vXf14qDNedXsIiNd1FmkaQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-destructuring@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b" - integrity sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ== +"@babel/plugin-transform-destructuring@^7.9.5": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.1.tgz#abd58e51337815ca3a22a336b85f62b998e71907" + integrity sha512-V/nUc4yGWG71OhaTH705pU8ZSdM6c1KmmLP8ys59oOYbT7RpMYAR3MsVOt6OHL0WzG7BlTU076va9fjJyYzJMA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-dotall-regex@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" - integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== +"@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.1.tgz#920b9fec2d78bb57ebb64a644d5c2ba67cc104ee" + integrity sha512-19VIMsD1dp02RvduFUmfzj8uknaO3uiHHF0s3E1OHnVsNj8oge8EQ5RzHRbJjGSetRnkEuBYO7TG1M5kKjGLOA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-duplicate-keys@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== +"@babel/plugin-transform-duplicate-keys@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.1.tgz#c900a793beb096bc9d4d0a9d0cde19518ffc83b9" + integrity sha512-wIEpkX4QvX8Mo9W6XF3EdGttrIPZWozHfEaDTU0WJD/TDnXMvdDh30mzUl/9qWhnf7naicYartcEfUghTCSNpA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-exponentiation-operator@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== +"@babel/plugin-transform-exponentiation-operator@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.1.tgz#279c3116756a60dd6e6f5e488ba7957db9c59eb3" + integrity sha512-lr/przdAbpEA2BUzRvjXdEDLrArGRRPwbaF9rvayuHRvdQ7lUTTkZnhZrJ4LE2jvgMRFF4f0YuPQ20vhiPYxtA== dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-for-of@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.3.tgz#15f17bce2fc95c7d59a24b299e83e81cedc22e18" - integrity sha512-ZjXznLNTxhpf4Q5q3x1NsngzGA38t9naWH8Gt+0qYZEJAcvPI9waSStSh56u19Ofjr7QmD0wUsQ8hw8s/p1VnA== +"@babel/plugin-transform-for-of@^7.9.0": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.1.tgz#ff01119784eb0ee32258e8646157ba2501fcfda5" + integrity sha512-US8KCuxfQcn0LwSCMWMma8M2R5mAjJGsmoCBVwlMygvmDUMkTCykc84IqN1M7t+agSfOmLYTInLCHJM+RUoz+w== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-function-name@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== +"@babel/plugin-transform-function-name@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.1.tgz#4ed46fd6e1d8fde2a2ec7b03c66d853d2c92427d" + integrity sha512-//bsKsKFBJfGd65qSNNh1exBy5Y9gD9ZN+DvrJ8f7HXr4avE5POW6zB7Rj6VnqHV33+0vXWUwJT0wSHubiAQkw== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== +"@babel/plugin-transform-literals@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.1.tgz#5794f8da82846b22e4e6631ea1658bce708eb46a" + integrity sha512-qi0+5qgevz1NHLZroObRm5A+8JJtibb7vdcPQF1KQE12+Y/xxl8coJ+TpPW9iRq+Mhw/NKLjm+5SHtAHCC7lAw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-member-expression-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== +"@babel/plugin-transform-member-expression-literals@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.10.1.tgz#90347cba31bca6f394b3f7bd95d2bbfd9fce2f39" + integrity sha512-UmaWhDokOFT2GcgU6MkHC11i0NQcL63iqeufXWfRy6pUOGYeCGEKhvfFO6Vz70UfYJYHwveg62GS83Rvpxn+NA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-modules-amd@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5" - integrity sha512-MadJiU3rLKclzT5kBH4yxdry96odTUwuqrZM+GllFI/VhxfPz+k9MshJM+MwhfkCdxxclSbSBbUGciBngR+kEQ== +"@babel/plugin-transform-modules-amd@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.1.tgz#65950e8e05797ebd2fe532b96e19fc5482a1d52a" + integrity sha512-31+hnWSFRI4/ACFr1qkboBbrTxoBIzj7qA69qlq8HY8p7+YCzkCT6/TvQ1a4B0z27VeWtAeJd6pr5G04dc1iHw== dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5" - integrity sha512-JpdMEfA15HZ/1gNuB9XEDlZM1h/gF/YOH7zaZzQu2xCFRfwc01NXBMHHSTT6hRjlXJJs5x/bfODM3LiCk94Sxg== +"@babel/plugin-transform-modules-commonjs@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.1.tgz#d5ff4b4413ed97ffded99961056e1fb980fb9301" + integrity sha512-AQG4fc3KOah0vdITwt7Gi6hD9BtQP/8bhem7OjbaMoRNCH5Djx42O2vYMfau7QnAzQCa+RJnhJBmFFMGpQEzrg== dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.8.3.tgz#d8bbf222c1dbe3661f440f2f00c16e9bb7d0d420" - integrity sha512-8cESMCJjmArMYqa9AO5YuMEkE4ds28tMpZcGZB/jl3n0ZzlsxOAi3mC+SKypTfT8gjMupCnd3YiXCkMjj2jfOg== +"@babel/plugin-transform-modules-systemjs@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.1.tgz#9962e4b0ac6aaf2e20431ada3d8ec72082cbffb6" + integrity sha512-ewNKcj1TQZDL3YnO85qh9zo1YF1CHgmSTlRQgHqe63oTrMI85cthKtZjAiZSsSNjPQ5NCaYo5QkbYqEw1ZBgZA== dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-hoist-variables" "^7.10.1" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.8.3.tgz#592d578ce06c52f5b98b02f913d653ffe972661a" - integrity sha512-evhTyWhbwbI3/U6dZAnx/ePoV7H6OUG+OjiJFHmhr9FPn0VShjwC2kdxqIuQ/+1P50TMrneGzMeyMTFOjKSnAw== +"@babel/plugin-transform-modules-umd@^7.9.0": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.1.tgz#ea080911ffc6eb21840a5197a39ede4ee67b1595" + integrity sha512-EIuiRNMd6GB6ulcYlETnYYfgv4AxqrswghmBRQbWLHZxN4s7mupxzglnHqk9ZiUpDI4eRWewedJJNj67PWOXKA== dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4": +"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" integrity sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.8.3" -"@babel/plugin-transform-new-target@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== +"@babel/plugin-transform-new-target@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.10.1.tgz#6ee41a5e648da7632e22b6fb54012e87f612f324" + integrity sha512-MBlzPc1nJvbmO9rPr1fQwXOM2iGut+JC92ku6PbiJMMK7SnQc1rytgpopveE3Evn47gzvGYeCdgfCDbZo0ecUw== dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-object-super@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.1.tgz#2e3016b0adbf262983bf0d5121d676a5ed9c4fde" + integrity sha512-WnnStUDN5GL+wGQrJylrnnVlFhFmeArINIR9gjhSeYyvroGhBrSAXYg/RHsnfzmsa+onJrTJrEClPzgNmmQ4Gw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + +"@babel/plugin-transform-parameters@^7.10.1", "@babel/plugin-transform-parameters@^7.9.5": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.1.tgz#b25938a3c5fae0354144a720b07b32766f683ddd" + integrity sha512-tJ1T0n6g4dXMsL45YsSzzSDZCxiHXAQp/qHrucOq5gEHncTA3xDxnd5+sZcoQp+N1ZbieAaB8r/VUCG0gqseOg== + dependencies: + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-property-literals@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.10.1.tgz#cffc7315219230ed81dc53e4625bf86815b6050d" + integrity sha512-Kr6+mgag8auNrgEpbfIWzdXYOvqDHZOF0+Bx2xh4H2EDNwcbRb9lY6nkZg8oSjsX+DH9Ebxm9hOqtKW+gRDeNA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-regenerator@^7.8.7": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.1.tgz#10e175cbe7bdb63cc9b39f9b3f823c5c7c5c5490" + integrity sha512-B3+Y2prScgJ2Bh/2l9LJxKbb8C8kRfsG4AdPT+n7ixBHIxJaIG8bi8tgjxUMege1+WqSJ+7gu1YeoMVO3gPWzw== + dependencies: + regenerator-transform "^0.14.2" + +"@babel/plugin-transform-reserved-words@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.10.1.tgz#0fc1027312b4d1c3276a57890c8ae3bcc0b64a86" + integrity sha512-qN1OMoE2nuqSPmpTqEM7OvJ1FkMEV+BjVeZZm9V9mq/x1JLKQ4pcv8riZJMNN3u2AUGl0ouOMjRr2siecvHqUQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-runtime@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" + integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== + dependencies: + "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" + resolve "^1.8.1" + semver "^5.5.1" -"@babel/plugin-transform-object-super@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== +"@babel/plugin-transform-shorthand-properties@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.1.tgz#e8b54f238a1ccbae482c4dce946180ae7b3143f3" + integrity sha512-AR0E/lZMfLstScFwztApGeyTHJ5u3JUKMjneqRItWeEqDdHWZwAOKycvQNCasCK/3r5YXsuNG25funcJDu7Y2g== dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-spread@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.10.1.tgz#0c6d618a0c4461a274418460a28c9ccf5239a7c8" + integrity sha512-8wTPym6edIrClW8FI2IoaePB91ETOtg36dOkj3bYcNe7aDMN2FXEoUa+WrmPc4xa1u2PQK46fUX2aCb+zo9rfw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-sticky-regex@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.1.tgz#90fc89b7526228bed9842cff3588270a7a393b00" + integrity sha512-j17ojftKjrL7ufX8ajKvwRilwqTok4q+BjkknmQw9VNHnItTyMP5anPFzxFJdCQs7clLcWpCV3ma+6qZWLnGMA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-regex" "^7.10.1" + +"@babel/plugin-transform-template-literals@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.1.tgz#914c7b7f4752c570ea00553b4284dad8070e8628" + integrity sha512-t7B/3MQf5M1T9hPCRG28DNGZUuxAuDqLYS03rJrIk2prj/UV7Z6FOneijhQhnv/Xa039vidXeVbvjK2SK5f7Gg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-typeof-symbol@^7.8.4": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.1.tgz#60c0239b69965d166b80a84de7315c1bc7e0bb0e" + integrity sha512-qX8KZcmbvA23zDi+lk9s6hC1FM7jgLHYIjuLgULgc8QtYnmB3tAVIYkNoKRQ75qWBeyzcoMoK8ZQmogGtC/w0g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-unicode-regex@^7.8.3": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.10.1.tgz#6b58f2aea7b68df37ac5025d9c88752443a6b43f" + integrity sha512-Y/2a2W299k0VIUdbqYm9X2qS6fE0CUBhhiPpimK6byy7OJ/kORLlIX+J6UrjgNu5awvs62k+6RSslxhcvVw2Tw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/preset-env@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" + integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== + dependencies: + "@babel/compat-data" "^7.9.6" + "@babel/helper-compilation-targets" "^7.9.6" + "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - -"@babel/plugin-transform-parameters@^7.7.7": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.3.tgz#7890576a13b17325d8b7d44cb37f21dc3bbdda59" - integrity sha512-/pqngtGb54JwMBZ6S/D3XYylQDFtGjWrnoCF4gXZOUpFV/ujbxnoNGNvDGu6doFWRPBveE72qTx/RRU44j5I/Q== - dependencies: - "@babel/helper-call-delegate" "^7.8.3" - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-property-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" - integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-regenerator@^7.7.5": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.3.tgz#b31031e8059c07495bf23614c97f3d9698bc6ec8" - integrity sha512-qt/kcur/FxrQrzFR432FGZznkVAjiyFtCOANjkAKwCbt465L6ZCiUQh2oMYGU3Wo8LRFJxNDFwWn106S5wVUNA== - dependencies: - regenerator-transform "^0.14.0" - -"@babel/plugin-transform-reserved-words@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-shorthand-properties@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-spread@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-sticky-regex@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - -"@babel/plugin-transform-template-literals@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-typeof-symbol@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.3.tgz#5cffb216fb25c8c64ba6bf5f76ce49d3ab079f4d" - integrity sha512-3TrkKd4LPqm4jHs6nPtSDI/SV9Cm5PRJkHLUgTcqRQQTMAZ44ZaAdDZJtvWFSaRcvT0a1rTmJ5ZA5tDKjleF3g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-unicode-regex@^7.7.4": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/preset-env@7.7.7": - version "7.7.7" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.7.7.tgz#c294167b91e53e7e36d820e943ece8d0c7fe46ac" - integrity sha512-pCu0hrSSDVI7kCVUOdcMNQEbOPJ52E+LrQ14sN8uL2ALfSqePZQlKrOy+tM4uhEdYlCHi4imr8Zz2cZe9oSdIg== - dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.7.4" - "@babel/plugin-proposal-dynamic-import" "^7.7.4" - "@babel/plugin-proposal-json-strings" "^7.7.4" - "@babel/plugin-proposal-object-rest-spread" "^7.7.7" - "@babel/plugin-proposal-optional-catch-binding" "^7.7.4" - "@babel/plugin-proposal-unicode-property-regex" "^7.7.7" - "@babel/plugin-syntax-async-generators" "^7.7.4" - "@babel/plugin-syntax-dynamic-import" "^7.7.4" - "@babel/plugin-syntax-json-strings" "^7.7.4" - "@babel/plugin-syntax-object-rest-spread" "^7.7.4" - "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" - "@babel/plugin-syntax-top-level-await" "^7.7.4" - "@babel/plugin-transform-arrow-functions" "^7.7.4" - "@babel/plugin-transform-async-to-generator" "^7.7.4" - "@babel/plugin-transform-block-scoped-functions" "^7.7.4" - "@babel/plugin-transform-block-scoping" "^7.7.4" - "@babel/plugin-transform-classes" "^7.7.4" - "@babel/plugin-transform-computed-properties" "^7.7.4" - "@babel/plugin-transform-destructuring" "^7.7.4" - "@babel/plugin-transform-dotall-regex" "^7.7.7" - "@babel/plugin-transform-duplicate-keys" "^7.7.4" - "@babel/plugin-transform-exponentiation-operator" "^7.7.4" - "@babel/plugin-transform-for-of" "^7.7.4" - "@babel/plugin-transform-function-name" "^7.7.4" - "@babel/plugin-transform-literals" "^7.7.4" - "@babel/plugin-transform-member-expression-literals" "^7.7.4" - "@babel/plugin-transform-modules-amd" "^7.7.5" - "@babel/plugin-transform-modules-commonjs" "^7.7.5" - "@babel/plugin-transform-modules-systemjs" "^7.7.4" - "@babel/plugin-transform-modules-umd" "^7.7.4" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4" - "@babel/plugin-transform-new-target" "^7.7.4" - "@babel/plugin-transform-object-super" "^7.7.4" - "@babel/plugin-transform-parameters" "^7.7.7" - "@babel/plugin-transform-property-literals" "^7.7.4" - "@babel/plugin-transform-regenerator" "^7.7.5" - "@babel/plugin-transform-reserved-words" "^7.7.4" - "@babel/plugin-transform-shorthand-properties" "^7.7.4" - "@babel/plugin-transform-spread" "^7.7.4" - "@babel/plugin-transform-sticky-regex" "^7.7.4" - "@babel/plugin-transform-template-literals" "^7.7.4" - "@babel/plugin-transform-typeof-symbol" "^7.7.4" - "@babel/plugin-transform-unicode-regex" "^7.7.4" - "@babel/types" "^7.7.4" - browserslist "^4.6.0" - core-js-compat "^3.6.0" + "@babel/plugin-proposal-async-generator-functions" "^7.8.3" + "@babel/plugin-proposal-dynamic-import" "^7.8.3" + "@babel/plugin-proposal-json-strings" "^7.8.3" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-proposal-numeric-separator" "^7.8.3" + "@babel/plugin-proposal-object-rest-spread" "^7.9.6" + "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" + "@babel/plugin-proposal-optional-chaining" "^7.9.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" + "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + "@babel/plugin-syntax-numeric-separator" "^7.8.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-syntax-top-level-await" "^7.8.3" + "@babel/plugin-transform-arrow-functions" "^7.8.3" + "@babel/plugin-transform-async-to-generator" "^7.8.3" + "@babel/plugin-transform-block-scoped-functions" "^7.8.3" + "@babel/plugin-transform-block-scoping" "^7.8.3" + "@babel/plugin-transform-classes" "^7.9.5" + "@babel/plugin-transform-computed-properties" "^7.8.3" + "@babel/plugin-transform-destructuring" "^7.9.5" + "@babel/plugin-transform-dotall-regex" "^7.8.3" + "@babel/plugin-transform-duplicate-keys" "^7.8.3" + "@babel/plugin-transform-exponentiation-operator" "^7.8.3" + "@babel/plugin-transform-for-of" "^7.9.0" + "@babel/plugin-transform-function-name" "^7.8.3" + "@babel/plugin-transform-literals" "^7.8.3" + "@babel/plugin-transform-member-expression-literals" "^7.8.3" + "@babel/plugin-transform-modules-amd" "^7.9.6" + "@babel/plugin-transform-modules-commonjs" "^7.9.6" + "@babel/plugin-transform-modules-systemjs" "^7.9.6" + "@babel/plugin-transform-modules-umd" "^7.9.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" + "@babel/plugin-transform-new-target" "^7.8.3" + "@babel/plugin-transform-object-super" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-transform-property-literals" "^7.8.3" + "@babel/plugin-transform-regenerator" "^7.8.7" + "@babel/plugin-transform-reserved-words" "^7.8.3" + "@babel/plugin-transform-shorthand-properties" "^7.8.3" + "@babel/plugin-transform-spread" "^7.8.3" + "@babel/plugin-transform-sticky-regex" "^7.8.3" + "@babel/plugin-transform-template-literals" "^7.8.3" + "@babel/plugin-transform-typeof-symbol" "^7.8.4" + "@babel/plugin-transform-unicode-regex" "^7.8.3" + "@babel/preset-modules" "^0.1.3" + "@babel/types" "^7.9.6" + browserslist "^4.11.1" + core-js-compat "^3.6.2" invariant "^2.2.2" - js-levenshtein "^1.1.3" + levenary "^1.1.1" semver "^5.5.0" +"@babel/preset-modules@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72" + integrity sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/runtime@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" + integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.8.4": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.2.tgz#d103f21f2602497d38348a32e008637d506db839" + integrity sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/template@7.8.6": + version "7.8.6" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b" + integrity sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/parser" "^7.8.6" + "@babel/types" "^7.8.6" + "@babel/template@^7.1.0", "@babel/template@^7.4.0": version "7.6.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.6.0.tgz#7f0159c7f5012230dad64cca42ec9bdb5c9536e6" @@ -963,14 +1164,14 @@ "@babel/parser" "^7.6.0" "@babel/types" "^7.6.0" -"@babel/template@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" - integrity sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw== +"@babel/template@^7.10.1", "@babel/template@^7.8.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" + integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig== dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/code-frame" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" "@babel/template@^7.8.3": version "7.8.3" @@ -981,6 +1182,21 @@ "@babel/parser" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/traverse@^7.10.1", "@babel/traverse@^7.9.6": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" + integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/traverse@^7.4.3": version "7.6.2" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.6.2.tgz#b0e2bfd401d339ce0e6c05690206d1e11502ce2c" @@ -996,21 +1212,6 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/traverse@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" - integrity sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.4" - "@babel/helper-function-name" "^7.7.4" - "@babel/helper-split-export-declaration" "^7.7.4" - "@babel/parser" "^7.7.4" - "@babel/types" "^7.7.4" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" - "@babel/traverse@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.3.tgz#a826215b011c9b4f73f3a893afbc05151358bf9a" @@ -1035,12 +1236,12 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@babel/types@^7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" - integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA== +"@babel/types@^7.10.1", "@babel/types@^7.10.2", "@babel/types@^7.8.6", "@babel/types@^7.9.6": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" + integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== dependencies: - esutils "^2.0.2" + "@babel/helper-validator-identifier" "^7.10.1" lodash "^4.17.13" to-fast-properties "^2.0.0" @@ -1058,49 +1259,104 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@ngtools/webpack@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-9.0.3.tgz#d05b5a15584909262a4db027919f03ccb074dc11" - integrity sha512-pMIXfq1IJLbvwmkPonGs7nrpuBCXrlZTf9A4OYsMBZcfU8JMn0pRdx7G2+bC9Q/f+uSw2uvPSv76xJXLBOntmA== +"@jsdevtools/coverage-istanbul-loader@3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/coverage-istanbul-loader/-/coverage-istanbul-loader-3.0.3.tgz#102e414b02ae2f0b3c7fd45a705601e1fd4867c5" + integrity sha512-TAdNkeGB5Fe4Og+ZkAr1Kvn9by2sfL44IAHFtxlh1BA1XJ5cLpO9iSNki5opWESv3l3vSHsZ9BNKuqFKbEbFaA== dependencies: - "@angular-devkit/core" "9.0.3" + convert-source-map "^1.7.0" + istanbul-lib-instrument "^4.0.1" + loader-utils "^1.4.0" + merge-source-map "^1.1.0" + schema-utils "^2.6.4" + +"@ngtools/webpack@10.0.0-rc.2": + version "10.0.0-rc.2" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-10.0.0-rc.2.tgz#3abecf33a7710550e8ab7a6cb39ded291f495a70" + integrity sha512-ALtsFeLmfxpJnc5XvItJRJt7zDI+ggOWF8dMeuYdNIHny8w+EXtZ57h3iB6s9AE9ig9GY/n12Ax4L9OYS4VK5A== + dependencies: + "@angular-devkit/core" "10.0.0-rc.2" enhanced-resolve "4.1.1" - rxjs "6.5.3" + rxjs "6.5.5" webpack-sources "1.4.3" -"@schematics/angular@9.0.3": - version "9.0.3" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-9.0.3.tgz#8b0fb91fa18dd909001ac0d888479a96810aa640" - integrity sha512-6XSnPW4G7aoKXccg0FTpZ02y/yi9y/bj7swnSL9Z4RRPIvPVapDjB7uJPg8sm8+PTIpcMhEFQrchIqM3LXW4zA== - dependencies: - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" +"@npmcli/ci-detect@^1.0.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-1.2.0.tgz#0df142a1ac3bba6cbf2e9da1a6994cd898e32c95" + integrity sha512-JtktVH7ASBVIWsQTFlFpeOzhBJskvoBCTfeeRhhZy7ybATcUvwiwotZ8j5rkqUUyB69lIy/AvboiiiGBjYBKBA== -"@schematics/update@0.900.3": - version "0.900.3" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.900.3.tgz#9141ee2e1b6356e66f6269b92c284c86e4faf065" - integrity sha512-mlRsm3/HM1f/10Wdz4xMYA+mpW3EDCB+whlV5cJ7PGMhjUMaxA9DuWvoP06h05le6XmgnjIEoxL6NJ7CgesHcA== +"@npmcli/git@^2.0.1": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.0.2.tgz#41d75caf59e4799c62b354a3e4eed3b0e64310c0" + integrity sha512-uv9+EuP5YWluNPgkEOL+iyB/+MVt4U5PMBCfl+I8korKluFdiSp7RxjXYzpWM/wU4wXaROAUFiOiCMmBftonjw== dependencies: - "@angular-devkit/core" "9.0.3" - "@angular-devkit/schematics" "9.0.3" + "@npmcli/promise-spawn" "^1.1.0" + lru-cache "^5.1.1" + mkdirp "^1.0.3" + npm-pick-manifest "^6.0.0" + promise-inflight "^1.0.1" + promise-retry "^1.1.1" + semver "^7.3.2" + unique-filename "^1.1.1" + which "^2.0.2" + +"@npmcli/installed-package-contents@^1.0.5": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.5.tgz#cc78565e55d9f14d46acf46a96f70934e516fa3d" + integrity sha512-aKIwguaaqb6ViwSOFytniGvLPb9SMCUm39TgM3SfUo7n0TxUMbwoXfpwyvQ4blm10lzbAwTsvjr7QZ85LvTi4A== + dependencies: + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + read-package-json-fast "^1.1.1" + readdir-scoped-modules "^1.1.0" + +"@npmcli/move-file@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.0.1.tgz#de103070dac0f48ce49cf6693c23af59c0f70464" + integrity sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw== + dependencies: + mkdirp "^1.0.4" + +"@npmcli/promise-spawn@^1.1.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.2.0.tgz#167d70b926f771c8bd8b9183bfc8b5aec29d7e45" + integrity sha512-nFtqjVETliApiRdjbYwKwhlSHx2ZMagyj5b9YbNt0BWeeOVxJd47ZVE2u16vxDHyTOZvk+YLV7INwfAE9a2uow== + dependencies: + infer-owner "^1.0.4" + +"@schematics/angular@9.1.0": + version "9.1.0" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-9.1.0.tgz#fc0ad9099d3c3be3044d6b3f260cac6eb9f3e564" + integrity sha512-qkehaITQ1S1udfnnBY5CXGWnk1iVFI8cZayjLUlRfD5w+6v9if3VIuqPssX96MqvkbjyRu1N214+ieaawzLmuA== + dependencies: + "@angular-devkit/core" "9.1.0" + "@angular-devkit/schematics" "9.1.0" + +"@schematics/update@0.901.0": + version "0.901.0" + resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.901.0.tgz#3e08231354f2c414c7d5b3bde1d9f7c08c664a74" + integrity sha512-u2VESL1dgOSGZK/wcWEz0WcCU/yv764zhzCQerCwUtbV1CISSSDZ6x+prVYDXOdxWBGtDos2MbCF3GEJJI1T+w== + dependencies: + "@angular-devkit/core" "9.1.0" + "@angular-devkit/schematics" "9.1.0" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" - npm-package-arg "^7.0.0" - pacote "9.5.8" - rxjs "6.5.3" - semver "6.3.0" + npm-package-arg "^8.0.0" + pacote "11.1.4" + rxjs "6.5.4" + semver "7.1.3" semver-intersect "1.4.0" +"@tootallnate/once@1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" + integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== -"@types/estree@*": - version "0.0.39" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - "@types/events@*": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -1120,18 +1376,20 @@ resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.4.2.tgz#49f672de24043b3c1fb919901fd3cd36f027bc93" integrity sha512-SaSSGOzwUnBEn64c+HTyVTJhRf8F1CXZLnxYx2ww3UrgGBmEEw38RSux2l3fYiT9brVLP67DU5omWA6V9OHI5Q== -"@types/jasmine@file:../../node_modules/@types/jasmine": +"@types/jasmine@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasmine_archive.tar.gz": version "3.5.10" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasmine_archive.tar.gz#ca48d30e927e65a202c112ad650224b451180394" -"@types/jasminewd2@file:../../node_modules/@types/jasminewd2": +"@types/jasminewd2@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasminewd2_archive.tar.gz": version "2.0.8" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_jasminewd2_archive.tar.gz#c85feba063048c94779ecb1532291c239861fbf2" dependencies: "@types/jasmine" "*" -"@types/mime-types@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/mime-types/-/mime-types-2.1.0.tgz#9ca52cda363f699c69466c2a6ccdaad913ea7a73" - integrity sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM= +"@types/json-schema@^7.0.4": + version "7.0.5" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd" + integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ== "@types/minimatch@*": version "3.0.3" @@ -1143,8 +1401,9 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.11.tgz#be879b52031cfb5d295b047f5462d8ef1a716446" integrity sha512-Otxmr2rrZLKRYIybtdG/sgeO+tHY20GxeDjcGmUnmmlCWyEnv2a2x1ZXBo3BTec4OiTXMQCiazB8NMBf0iRlFw== -"@types/node@file:../../node_modules/@types/node": +"@types/node@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_node_archive.tar.gz": version "12.12.34" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/types_node_archive.tar.gz#a11f7eb01f5edd2e2150c069bcf1314d591cf50d" "@types/q@^0.0.32": version "0.0.32" @@ -1175,150 +1434,156 @@ "@types/source-list-map" "*" source-map "^0.6.1" -"@webassemblyjs/ast@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" - integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== +"@types/yauzl@^2.9.1": + version "2.9.1" + resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af" + integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA== dependencies: - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" + "@types/node" "*" -"@webassemblyjs/floating-point-hex-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" - integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== - -"@webassemblyjs/helper-api-error@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" - integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== - -"@webassemblyjs/helper-buffer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" - integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== - -"@webassemblyjs/helper-code-frame@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" - integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== +"@webassemblyjs/ast@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" + integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== dependencies: - "@webassemblyjs/wast-printer" "1.8.5" + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" -"@webassemblyjs/helper-fsm@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" - integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== +"@webassemblyjs/floating-point-hex-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" + integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== -"@webassemblyjs/helper-module-context@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" - integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== +"@webassemblyjs/helper-api-error@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" + integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== + +"@webassemblyjs/helper-buffer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" + integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== + +"@webassemblyjs/helper-code-frame@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" + integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== dependencies: - "@webassemblyjs/ast" "1.8.5" - mamacro "^0.0.3" + "@webassemblyjs/wast-printer" "1.9.0" -"@webassemblyjs/helper-wasm-bytecode@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" - integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== +"@webassemblyjs/helper-fsm@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" + integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== -"@webassemblyjs/helper-wasm-section@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" - integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== +"@webassemblyjs/helper-module-context@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" + integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" + "@webassemblyjs/ast" "1.9.0" -"@webassemblyjs/ieee754@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" - integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== +"@webassemblyjs/helper-wasm-bytecode@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" + integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== + +"@webassemblyjs/helper-wasm-section@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" + integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + +"@webassemblyjs/ieee754@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" + integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" - integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== +"@webassemblyjs/leb128@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" + integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" - integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== +"@webassemblyjs/utf8@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" + integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== -"@webassemblyjs/wasm-edit@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" - integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== +"@webassemblyjs/wasm-edit@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" + integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/helper-wasm-section" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-opt" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - "@webassemblyjs/wast-printer" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/helper-wasm-section" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-opt" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + "@webassemblyjs/wast-printer" "1.9.0" -"@webassemblyjs/wasm-gen@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" - integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== +"@webassemblyjs/wasm-gen@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" + integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" -"@webassemblyjs/wasm-opt@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" - integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== +"@webassemblyjs/wasm-opt@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" + integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" -"@webassemblyjs/wasm-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" - integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== +"@webassemblyjs/wasm-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" + integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" -"@webassemblyjs/wast-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" - integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== +"@webassemblyjs/wast-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" + integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/floating-point-hex-parser" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-code-frame" "1.8.5" - "@webassemblyjs/helper-fsm" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/floating-point-hex-parser" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-code-frame" "1.9.0" + "@webassemblyjs/helper-fsm" "1.9.0" "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" - integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== +"@webassemblyjs/wast-printer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" + integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" "@xtuc/long" "4.2.2" "@xtuc/ieee754@^1.2.0": @@ -1341,13 +1606,10 @@ resolved "https://registry.yarnpkg.com/@zeit/schemas/-/schemas-2.6.0.tgz#004e8e553b4cd53d538bd38eac7bcbf58a867fe3" integrity sha512-uUrgZ8AxS+Lio0fZKAipJjAh415JyrOZowliZAzmnJSsf7piVL5w+G0+gFJ0KSu3QRhvui/7zuvpLz03YjXAhg== -JSONStream@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" +abab@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a" + integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg== abbrev@1: version "1.1.1" @@ -1362,15 +1624,21 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" -acorn@^6.2.1: - version "6.3.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e" - integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== +acorn@^6.4.1: + version "6.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474" + integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA== -acorn@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" - integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== +adjust-sourcemap-loader@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-2.0.0.tgz#6471143af75ec02334b219f54bc7970c52fb29a4" + integrity sha512-4hFsTsn58+YjrU9qKzML2JSSDqKvN8mUGQ0nNIrfPi8hmIONT4L3uUaT6MKdMsZ9AjsU6D2xDkZxCkbQPxChrA== + dependencies: + assert "1.4.1" + camelcase "5.0.0" + loader-utils "1.2.3" + object-path "0.11.4" + regex-parser "2.2.10" adm-zip@^0.4.9: version "0.4.13" @@ -1382,30 +1650,32 @@ after@0.8.2: resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8= -agent-base@4, agent-base@^4.3.0: +agent-base@5: + version "5.1.1" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c" + integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g== + +agent-base@6: + version "6.0.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.0.tgz#5d0101f19bbfaed39980b22ae866de153b93f09a" + integrity sha512-j1Q7cSCqN+AwrmDd+pzgqc0/NpC655x2bUf5ZjRIO77DcNBFmh+OgRNzF6OKdCC9RSCb19fGd99+bhXFdkRNqw== + dependencies: + debug "4" + +agent-base@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg== dependencies: es6-promisify "^5.0.0" -agent-base@5: - version "5.1.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c" - integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g== - -agent-base@~4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" - integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg== - dependencies: - es6-promisify "^5.0.0" - -agentkeepalive@^3.4.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" - integrity sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ== +agentkeepalive@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.1.3.tgz#360a09d743a1f4fde749f9ba07caa6575d08259a" + integrity sha512-wn8fw19xKZwdGPO47jivonaHRTd+nGOMP1z11sgGeQzDy2xd5FG0R67dIMcKHDE2cJ5y+YXV30XVGUBPRSY7Hg== dependencies: + debug "^4.1.0" + depd "^1.1.2" humanize-ms "^1.2.1" aggregate-error@^3.0.0: @@ -1426,12 +1696,22 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1: resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ== -ajv@6.10.2, ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5: - version "6.10.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== +ajv@6.12.0: + version "6.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7" + integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw== dependencies: - fast-deep-equal "^2.0.1" + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@6.12.2, ajv@^6.12.2: + version "6.12.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd" + integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ== + 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" @@ -1446,6 +1726,16 @@ ajv@6.5.3: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5: + version "6.10.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" + integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== + dependencies: + fast-deep-equal "^2.0.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + alphanum-sort@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" @@ -1505,14 +1795,14 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== @@ -1591,6 +1881,11 @@ aria-query@^3.0.0: ast-types-flow "0.0.7" commander "^2.11.0" +arity-n@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/arity-n/-/arity-n-1.0.4.tgz#d9e76b11733e08569c0847ae7b39b2860b30b745" + integrity sha1-2edrEXM+CFacCEeuezmyhgswt0U= + arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -1669,6 +1964,13 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= +assert@1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" + integrity sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE= + dependencies: + util "0.10.3" + assert@^1.1.1: version "1.5.0" resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" @@ -1697,7 +1999,7 @@ async-limiter@~1.0.0: resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== -async@^2.5.0, async@^2.6.2: +async@^2.6.2: version "2.6.3" resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== @@ -1714,18 +2016,18 @@ atob@^2.1.1: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@9.7.1: - version "9.7.1" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.1.tgz#9ffc44c55f5ca89253d9bb7186cefb01ef57747f" - integrity sha512-w3b5y1PXWlhYulevrTJ0lizkQ5CyqfeU6BIRDbuhsMupstHQOeb1Ur80tcB1zxSu7AwyY/qCQ7Vvqklh31ZBFw== +autoprefixer@9.8.0: + version "9.8.0" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.0.tgz#68e2d2bef7ba4c3a65436f662d0a56a741e56511" + integrity sha512-D96ZiIHXbDmU02dBaemyAg53ez+6F5yZmapmgKcjm35yEe1uVDYI8hGW3VYoGRaG290ZFf91YxHrR518vC0u/A== dependencies: - browserslist "^4.7.2" - caniuse-lite "^1.0.30001006" + browserslist "^4.12.0" + caniuse-lite "^1.0.30001061" chalk "^2.4.2" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^7.0.21" - postcss-value-parser "^4.0.2" + postcss "^7.0.30" + postcss-value-parser "^4.1.0" aws-sign2@~0.7.0: version "0.7.0" @@ -1744,20 +2046,21 @@ axobject-query@^2.0.2: dependencies: ast-types-flow "0.0.7" -babel-loader@8.0.6: - version "8.0.6" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb" - integrity sha512-4BmWKtBOBm13uoUwd08UwjZlaw3O9GWf456R9j+5YykFZ6LUIjIKLc0zEZf+hauxPOJs96C8k6FvYD09vWzhYw== +babel-loader@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.1.0.tgz#c611d5112bd5209abe8b9fa84c3e4da25275f1c3" + integrity sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw== dependencies: - find-cache-dir "^2.0.0" - loader-utils "^1.0.2" - mkdirp "^0.5.1" + find-cache-dir "^2.1.0" + loader-utils "^1.4.0" + mkdirp "^0.5.3" pify "^4.0.1" + schema-utils "^2.6.5" -babel-plugin-dynamic-import-node@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" - integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ== +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== dependencies: object.assign "^4.1.0" @@ -1833,6 +2136,15 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== +bl@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.2.tgz#52b71e9088515d0606d9dd9cc7aa48dc1f98e73a" + integrity sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + blob@0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" @@ -1845,7 +2157,7 @@ blocking-proxy@^1.0.0: dependencies: minimist "^1.2.0" -bluebird@^3.3.0, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: +bluebird@^3.3.0, bluebird@^3.5.5: version "3.7.0" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.0.tgz#56a6a886e03f6ae577cffedeb524f8f2450293cf" integrity sha512-aBQ1FxIa7kSWCcmKHlcHFlT2jt6J/l4FzC7KcPELkOJOsPOb/bccdhmIrKDfXhwFrmc7vDoDrrepFvGqjyXGJg== @@ -1996,16 +2308,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.8.3: - version "4.8.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.3.tgz#65802fcd77177c878e015f0e3189f2c4f627ba44" - integrity sha512-iU43cMMknxG1ClEZ2MDKeonKE1CCrFVkQK2AqO2YWFmvIrx4JWrvQ4w4hQez6EpVI8rHTtqh/ruHHDHSOKxvUg== - dependencies: - caniuse-lite "^1.0.30001017" - electron-to-chromium "^1.3.322" - node-releases "^1.1.44" - -browserslist@^4.0.0, browserslist@^4.8.3: +browserslist@^4.0.0: version "4.8.6" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.6.tgz#96406f3f5f0755d272e27a66f4163ca821590a7e" integrity sha512-ZHao85gf0eZ0ESxLfCp73GG9O/VTytYDIkIiZDlURppLTI9wErSM/5yAKEq6rcUdxBLjMELmrYUJGg5sxGKMHg== @@ -2014,23 +2317,15 @@ browserslist@^4.0.0, browserslist@^4.8.3: electron-to-chromium "^1.3.341" node-releases "^1.1.47" -browserslist@^4.6.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.7.0.tgz#9ee89225ffc07db03409f2fee524dc8227458a17" - integrity sha512-9rGNDtnj+HaahxiVV38Gn8n8Lr8REKsel68v1sPFfIGEK6uSXTY3h9acgiT1dZVtOOUtifo/Dn8daDQ5dUgVsA== +browserslist@^4.11.1, browserslist@^4.12.0, browserslist@^4.8.5, browserslist@^4.9.1: + version "4.12.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d" + integrity sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg== dependencies: - caniuse-lite "^1.0.30000989" - electron-to-chromium "^1.3.247" - node-releases "^1.1.29" - -browserslist@^4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.7.2.tgz#1bb984531a476b5d389cedecb195b2cd69fb1348" - integrity sha512-uZavT/gZXJd2UTi9Ov7/Z340WOSQ3+m1iBVRUknf+okKxonL9P83S3ctiBDtuRmRu8PiCHjqyueqQ9HYlJhxiw== - dependencies: - caniuse-lite "^1.0.30001004" - electron-to-chromium "^1.3.295" - node-releases "^1.1.38" + caniuse-lite "^1.0.30001043" + electron-to-chromium "^1.3.413" + node-releases "^1.1.53" + pkg-up "^2.0.0" browserstack@^1.5.1: version "1.5.3" @@ -2052,6 +2347,11 @@ buffer-alloc@^1.2.0: buffer-alloc-unsafe "^1.1.0" buffer-fill "^1.0.0" +buffer-crc32@~0.2.3: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= + buffer-fill@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" @@ -2081,6 +2381,14 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" +buffer@^5.2.1, buffer@^5.5.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" + integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" @@ -2106,31 +2414,30 @@ bytes@3.1.0: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== -cacache@13.0.1, cacache@^13.0.1: - version "13.0.1" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-13.0.1.tgz#a8000c21697089082f85287a1aec6e382024a71c" - integrity sha512-5ZvAxd05HDDU+y9BVvcqYu2LLXmPnQ0hW62h32g4xBTgL/MppR4/04NHfj/ycM2y6lmTnbw6HVi+1eN0Psba6w== +cacache@15.0.3: + version "15.0.3" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.3.tgz#2225c2d1dd8e872339950d6a39c051e0e9334392" + integrity sha512-bc3jKYjqv7k4pWh7I/ixIjfcjPul4V4jme/WbjvwGS5LzoPL/GzXr4C5EgPNLO/QEZl9Oi61iGitYEdwcrwLCQ== dependencies: - chownr "^1.1.2" - figgy-pudding "^3.5.1" + chownr "^2.0.0" fs-minipass "^2.0.0" glob "^7.1.4" - graceful-fs "^4.2.2" infer-owner "^1.0.4" lru-cache "^5.1.1" - minipass "^3.0.0" + minipass "^3.1.1" minipass-collect "^1.0.2" minipass-flush "^1.0.5" minipass-pipeline "^1.2.2" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - p-map "^3.0.0" + mkdirp "^1.0.3" + move-file "^2.0.0" + p-map "^4.0.0" promise-inflight "^1.0.1" - rimraf "^2.7.1" - ssri "^7.0.0" + rimraf "^3.0.2" + ssri "^8.0.0" + tar "^6.0.2" unique-filename "^1.1.1" -cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3: +cacache@^12.0.2: version "12.0.3" resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.3.tgz#be99abba4e1bf5df461cd5a2c1071fc432573390" integrity sha512-kqdmfXEGFepesTuROHMs3MpFLWrPkSSpRqOw80RCflZXy/khxaArvFrQ7uJxSUduzAufc6G0g1VUCOZXxWavPw== @@ -2151,6 +2458,50 @@ cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3: unique-filename "^1.1.1" y18n "^4.0.0" +cacache@^12.0.3: + version "12.0.4" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c" + integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ== + dependencies: + bluebird "^3.5.5" + chownr "^1.1.1" + figgy-pudding "^3.5.1" + glob "^7.1.4" + graceful-fs "^4.1.15" + infer-owner "^1.0.3" + lru-cache "^5.1.1" + mississippi "^3.0.0" + mkdirp "^0.5.1" + move-concurrently "^1.0.1" + promise-inflight "^1.0.1" + rimraf "^2.6.3" + ssri "^6.0.1" + unique-filename "^1.1.1" + y18n "^4.0.0" + +cacache@^15.0.0, cacache@^15.0.3: + version "15.0.4" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.4.tgz#b2c23cf4ac4f5ead004fb15a0efb0a20340741f1" + integrity sha512-YlnKQqTbD/6iyoJvEY3KJftjrdBYroCbxxYXzhOzsFLWlp6KX4BOlEf4mTx0cMUfVaTS3ENL2QtDWeRYoGLkkw== + dependencies: + "@npmcli/move-file" "^1.0.1" + chownr "^2.0.0" + fs-minipass "^2.0.0" + glob "^7.1.4" + infer-owner "^1.0.4" + lru-cache "^5.1.1" + minipass "^3.1.1" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.2" + mkdirp "^1.0.3" + p-map "^4.0.0" + promise-inflight "^1.0.1" + rimraf "^3.0.2" + ssri "^8.0.0" + tar "^6.0.2" + unique-filename "^1.1.1" + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -2190,16 +2541,21 @@ callsites@^2.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= +camelcase@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42" + integrity sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA== + +camelcase@5.3.1, camelcase@^5.0.0, camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + camelcase@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - caniuse-api@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" @@ -2210,30 +2566,15 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@1.0.30001020: - version "1.0.30001020" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001020.tgz#3f04c1737500ffda78be9beb0b5c1e2070e15926" - integrity sha512-yWIvwA68wRHKanAVS1GjN8vajAv7MBFshullKCeq/eKpK7pJBVDgFFEqvgWTkcP2+wIDeQGYFRXECjKZnLkUjA== - -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001017, caniuse-lite@^1.0.30001023: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001023: version "1.0.30001023" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001023.tgz#b82155827f3f5009077bdd2df3d8968bcbcc6fc4" integrity sha512-C5TDMiYG11EOhVOA62W1p3UsJ2z4DsHtMBQtjzp3ZsUglcQn62WOUgW0y795c7A5uZ+GCEIvzkMatLIlAsbNTA== -caniuse-lite@^1.0.30000989: - version "1.0.30000999" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000999.tgz#427253a69ad7bea4aa8d8345687b8eec51ca0e43" - integrity sha512-1CUyKyecPeksKwXZvYw0tEoaMCo/RwBlXmEtN5vVnabvO0KPd9RQLcaAuR9/1F+KDMv6esmOFWlsXuzDk+8rxg== - -caniuse-lite@^1.0.30001004: - version "1.0.30001006" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001006.tgz#5b6e8288792cfa275f007b2819a00ccad7112655" - integrity sha512-MXnUVX27aGs/QINz+QG1sWSLDr3P1A3Hq5EUWoIt0T7K24DuvMxZEnh3Y5aHlJW6Bz2aApJdSewdYLd8zQnUuw== - -caniuse-lite@^1.0.30001006: - 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== +caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001061: + version "1.0.30001083" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001083.tgz#52410c20c6f029f604f0d45eca0439a82e712442" + integrity sha512-CnYJ27awX4h7yj5glfK7r1TOI13LBytpLzEgfj0s4mY75/F8pnQcYjL+oVpmS38FB59+vU0gscQ9D8tc+lIXvA== canonical-path@1.0.0: version "1.0.0" @@ -2274,6 +2615,14 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chardet@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -2294,7 +2643,7 @@ chardet@^0.7.0: optionalDependencies: fsevents "~2.1.0" -chokidar@^2.0.2, chokidar@^2.1.8: +chokidar@^2.1.8: version "2.1.8" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== @@ -2328,11 +2677,36 @@ chokidar@^3.0.0: optionalDependencies: fsevents "~2.1.1" -chownr@^1.1.1, chownr@^1.1.2: +chokidar@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8" + integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.4.0" + optionalDependencies: + fsevents "~2.1.2" + +chownr@^1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== +chownr@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" + integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== + +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + chrome-trace-event@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4" @@ -2398,14 +2772,14 @@ clipboardy@1.2.3: arch "^2.1.0" execa "^0.8.0" -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== +cliui@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" + integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" cliui@^6.0.0: version "6.0.0" @@ -2430,7 +2804,7 @@ clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clone@^2.1.1, clone@^2.1.2: +clone@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= @@ -2574,6 +2948,13 @@ component-inherit@0.0.3: resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143" integrity sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM= +compose-function@3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/compose-function/-/compose-function-3.0.3.tgz#9ed675f13cc54501d30950a486ff6a7ba3ab185f" + integrity sha1-ntZ18TzFRQHTCVCkhv9qe6OrGF8= + dependencies: + arity-n "^1.0.4" + compressible@~2.0.14, compressible@~2.0.16: version "2.0.17" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.17.tgz#6e8c108a16ad58384a977f3a482ca20bff2f38c1" @@ -2612,7 +2993,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@1.6.2, concat-stream@^1.5.0: +concat-stream@^1.5.0: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -2671,6 +3052,18 @@ 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== +convert-source-map@1.7.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== + dependencies: + safe-buffer "~5.1.1" + +convert-source-map@^0.3.3: + version "0.3.5" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190" + integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA= + 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" @@ -2678,13 +3071,6 @@ convert-source-map@^1.5.1: dependencies: safe-buffer "~5.1.1" -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== - dependencies: - safe-buffer "~5.1.1" - cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -2735,26 +3121,27 @@ copy-webpack-plugin@5.1.1: serialize-javascript "^2.1.2" webpack-log "^2.0.0" -core-js-compat@^3.6.0: - version "3.6.4" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17" - integrity sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA== +core-js-compat@^3.6.2: + version "3.6.5" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.5.tgz#2a51d9a4e25dfd6e690251aa81f99e3c05481f1c" + integrity sha512-7ItTKOhOZbznhXAQ2g/slGg1PJV5zDO/WdkTwi7UEOJmkvsE32PWvx6mKtDjiMpjnR2CNf6BAD6sSxIlv7ptng== dependencies: - browserslist "^4.8.3" + browserslist "^4.8.5" semver "7.0.0" -core-js@3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.0.tgz#2b854e451de1967d1e29896025cdc13a2518d9ea" - integrity sha512-AHPTNKzyB+YwgDWoSOCaid9PUSEF6781vsfiK8qUz62zRR448/XgK2NtCbpiUGizbep8Lrpt0Du19PpGGZvw3Q== +core-js@3.6.4: + version "3.6.4" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.4.tgz#440a83536b458114b9cb2ac1580ba377dc470647" + integrity sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw== core-js@^3.1.3: version "3.3.3" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.3.3.tgz#b7048d3c6c1a52b5fe55a729c1d4ccdffe0891bb" integrity sha512-0xmD4vUJRY8nfLyV9zcpC17FtSie5STXzw+HyYw2t8IIvmDnbq7RJUULECCo+NstpJtwK9kx8S+898iyqgeUow== -"core-js@file:../../node_modules/core-js": +"core-js@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/core-js_archive.tar.gz": version "2.6.11" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/core-js_archive.tar.gz#eb1e4b03600cc04f9f034cefb62586b91fc2a88b" core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -2771,17 +3158,6 @@ cosmiconfig@^5.0.0: js-yaml "^3.13.1" parse-json "^4.0.0" -coverage-istanbul-loader@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/coverage-istanbul-loader/-/coverage-istanbul-loader-2.0.3.tgz#87d42f03fa0fd3fa8743ec76945d9d67f105722a" - integrity sha512-LiGRvyIuzVYs3M1ZYK1tF0HekjH0DJ8zFdUwAZq378EJzqOgToyb1690dp3TAUlP6Y+82uu42LRjuROVeJ54CA== - dependencies: - convert-source-map "^1.7.0" - istanbul-lib-instrument "^4.0.0" - loader-utils "^1.2.3" - merge-source-map "^1.1.0" - schema-utils "^2.6.1" - create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -2863,6 +3239,25 @@ css-declaration-sorter@^4.0.1: postcss "^7.0.1" timsort "^0.3.0" +css-loader@3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.5.3.tgz#95ac16468e1adcd95c844729e0bb167639eb0bcf" + integrity sha512-UEr9NH5Lmi7+dguAm+/JSPovNjYbm2k3TK58EiwQHzOHH5Jfq1Y+XoP2bQO6TMn7PptMd0opxxedAWcaSTRKHw== + dependencies: + camelcase "^5.3.1" + cssesc "^3.0.0" + icss-utils "^4.1.1" + loader-utils "^1.2.3" + normalize-path "^3.0.0" + postcss "^7.0.27" + postcss-modules-extract-imports "^2.0.0" + postcss-modules-local-by-default "^3.0.2" + postcss-modules-scope "^2.2.0" + postcss-modules-values "^3.0.0" + postcss-value-parser "^4.0.3" + schema-utils "^2.6.6" + semver "^6.3.0" + css-parse@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-2.0.0.tgz#a468ee667c16d81ccf05c58c38d2a97c780dbfd4" @@ -2939,6 +3334,11 @@ cssesc@^2.0.0: resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703" integrity sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg== +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + cssnano-preset-default@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76" @@ -3024,6 +3424,14 @@ cyclist@^1.0.1: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + damerau-levenshtein@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz#780cf7144eb2e8dbd1c3bb83ae31100ccc31a414" @@ -3036,6 +3444,15 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== + dependencies: + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" + date-format@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/date-format/-/date-format-2.1.0.tgz#31d5b5ea211cf5fd764cd38baf9d033df7e125cf" @@ -3053,14 +3470,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@3.1.0, debug@~3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.1.0, debug@^4.1.1: +debug@4, debug@4.1.1, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== @@ -3074,6 +3484,13 @@ debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6: dependencies: ms "^2.1.1" +debug@~3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== + dependencies: + ms "2.0.0" + debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -3193,7 +3610,7 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -depd@~1.1.2: +depd@^1.1.2, depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= @@ -3356,21 +3773,16 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -electron-to-chromium@^1.3.247: - version "1.3.277" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.277.tgz#38b7b297f9b3f67ea900a965c1b11a555de526ec" - integrity sha512-Czmsrgng89DOgJlIknnw9bn5431QdtnUwGp5YYiPwU1DbZQUxCLF+rc1ZC09VNAdalOPcvH6AE8BaA0H5HjI/w== - -electron-to-chromium@^1.3.295: - version "1.3.296" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.296.tgz#a1d4322d742317945285d3ba88966561b67f3ac8" - integrity sha512-s5hv+TSJSVRsxH190De66YHb50pBGTweT9XGWYu/LMR20KX6TsjFzObo36CjVAzM+PUeeKSBRtm/mISlCzeojQ== - -electron-to-chromium@^1.3.322, electron-to-chromium@^1.3.341: +electron-to-chromium@^1.3.341: version "1.3.342" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.342.tgz#138317aa7399e268735b9269fe374a8566425090" integrity sha512-An/MLhGLIG/g7lZ5vqs4lar96zv74agd3ZcADDHLpjAa16T7Y/pO/33Q31JOwpmHeyjithtHtUcn7XLuaz78lw== +electron-to-chromium@^1.3.413: + version "1.3.473" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.473.tgz#d0cd5fe391046fb70674ec98149f0f97609d29b8" + integrity sha512-smevlzzMNz3vMz6OLeeCq5HRWEj2AcgccNPYnAx4Usx0IOciq9DU36RJcICcS09hXoY7t7deRfVYKD14IrGb9A== + elliptic@^6.0.0: version "6.5.1" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b" @@ -3384,6 +3796,11 @@ elliptic@^6.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.0" +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -3394,19 +3811,24 @@ emojis-list@^2.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= +emojis-list@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" + integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== + encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -encoding@^0.1.11: +encoding@^0.1.12: version "0.1.12" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" integrity sha1-U4tm8+5izRq1HsMjgp0flIDHS+s= dependencies: iconv-lite "~0.4.13" -end-of-stream@^1.0.0, end-of-stream@^1.1.0: +end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -3542,6 +3964,24 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es5-ext@^0.10.35, es5-ext@^0.10.50: + version "0.10.53" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" + integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== + dependencies: + es6-iterator "~2.0.3" + es6-symbol "~3.1.3" + next-tick "~1.0.0" + +es6-iterator@2.0.3, es6-iterator@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" + integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + es6-promise@^4.0.3: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -3554,6 +3994,14 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" +es6-symbol@^3.1.1, es6-symbol@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -3717,6 +4165,13 @@ express@^4.17.1: utils-merge "1.0.1" vary "~1.1.2" +ext@^1.1.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244" + integrity sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A== + dependencies: + type "^2.0.0" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -3760,15 +4215,16 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -extract-zip@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.7.tgz#a840b4b8af6403264c8db57f4f1a74333ef81fe9" - integrity sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k= +extract-zip@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" + integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg== dependencies: - concat-stream "1.6.2" - debug "2.6.9" - mkdirp "0.5.1" - yauzl "2.4.1" + debug "^4.1.1" + get-stream "^5.1.0" + yauzl "^2.10.0" + optionalDependencies: + "@types/yauzl" "^2.9.1" extsprintf@1.3.0: version "1.3.0" @@ -3785,7 +4241,17 @@ fast-deep-equal@^2.0.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-json-stable-stringify@2.0.0, fast-json-stable-stringify@^2.0.0: +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +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" integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= @@ -3816,14 +4282,14 @@ faye-websocket@~0.11.1: dependencies: websocket-driver ">=0.5.1" -fd-slicer@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" - integrity sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU= +fd-slicer@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" + integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= dependencies: pend "~1.2.0" -figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: +figgy-pudding@^3.5.1: version "3.5.1" resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== @@ -3835,13 +4301,13 @@ figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" -file-loader@4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-4.2.0.tgz#5fb124d2369d7075d70a9a5abecd12e60a95215e" - integrity sha512-+xZnaK5R8kBJrHK0/6HRlrKNamvVS5rjyuju+rnyxRGuwUJwpAMsVzUl5dz6rK8brkzjV6JpcFNjp6NqV0g1OQ== +file-loader@6.0.0: + 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 "^1.2.3" - schema-utils "^2.0.0" + loader-utils "^2.0.0" + schema-utils "^2.6.5" fileset@^2.0.3: version "2.0.3" @@ -3881,16 +4347,16 @@ finalhandler@1.1.2, finalhandler@~1.1.2: statuses "~1.5.0" unpipe "~1.0.0" -find-cache-dir@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.0.0.tgz#cd4b7dd97b7185b7e17dbfe2d6e4115ee3eeb8fc" - integrity sha512-t7ulV1fmbxh5G9l/492O1p5+EBbr3uwpt6odhFTMc+nWyhmbloe+ja9BZ8pIBtqFWhOmCWVjx+pTW4zDkFoclw== +find-cache-dir@3.3.1, find-cache-dir@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.1.tgz#89b33fad4a4670daa94f855f7fbe31d6d84fe880" + integrity sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ== dependencies: commondir "^1.0.1" - make-dir "^3.0.0" + make-dir "^3.0.2" pkg-dir "^4.1.0" -find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: +find-cache-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== @@ -3899,14 +4365,12 @@ find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: make-dir "^2.0.0" pkg-dir "^3.0.0" -find-cache-dir@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.2.0.tgz#e7fe44c1abc1299f516146e563108fd1006c1874" - integrity sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg== +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: - commondir "^1.0.1" - make-dir "^3.0.0" - pkg-dir "^4.1.0" + locate-path "^2.0.0" find-up@^3.0.0: version "3.0.0" @@ -3987,6 +4451,11 @@ from2@^2.1.0: inherits "^2.0.1" readable-stream "^2.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" + integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== + fs-extra@4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" @@ -4019,6 +4488,13 @@ fs-minipass@^2.0.0: dependencies: minipass "^3.0.0" +fs-minipass@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" @@ -4052,6 +4528,11 @@ fsevents@~2.1.1: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.1.tgz#74c64e21df71721845d0c44fe54b7f56b82995a9" integrity sha512-4FRPXWETxtigtJW/gxzEDsX1LVbPAM93VleB83kZB+ellqbHMkyt2aJfuzNLRvFPnGi6bcE5SvfxgbXPeKteJw== +fsevents@~2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" + integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== + function-bind@^1.0.2, function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -4071,21 +4552,11 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" -genfun@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" - integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== - gensync@^1.0.0-beta.1: version "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" @@ -4096,13 +4567,20 @@ get-stream@^3.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= -get-stream@^4.0.0, get-stream@^4.1.0: +get-stream@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== dependencies: pump "^3.0.0" +get-stream@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" + integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + dependencies: + pump "^3.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -4142,10 +4620,10 @@ glob@7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -glob@7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.5.tgz#6714c69bee20f3c3e64c4dd905553e532b40cdc0" - integrity sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ== +glob@7.1.6, glob@^7.1.2, glob@^7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -4154,7 +4632,7 @@ glob@7.1.5: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: version "7.1.4" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== @@ -4206,7 +4684,7 @@ globby@^7.1.1: pify "^3.0.0" slash "^1.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.2: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.2.2" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02" integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q== @@ -4352,7 +4830,7 @@ hmac-drbg@^1.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: +hosted-git-info@^2.1.4: version "2.8.5" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== @@ -4389,15 +4867,15 @@ html-comment-regex@^1.1.0: resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7" integrity sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ== -html-entities@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" - integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= +html-entities@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.3.1.tgz#fb9a1a4b5b14c5daba82d3e34c6ae4fe701a0e44" + integrity sha512-rhE/4Z3hIhzHAUKbW8jVcCyuT5oJCXXqhN/6mXXVCpzTmvJnoH2HL/bt3EZ6p55jbFJBeAe1ZNpL5BugLujxNA== -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" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== +http-cache-semantics@^4.0.4: + version "4.1.0" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" + integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== http-deceiver@^1.2.7: version "1.2.7" @@ -4441,13 +4919,14 @@ http-errors@~1.7.2: resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4" integrity sha1-ksnBN0w1CF912zWexWzCV8u5P6Q= -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" - integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg== +http-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" + integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== dependencies: - agent-base "4" - debug "3.1.0" + "@tootallnate/once" "1" + agent-base "6" + debug "4" http-proxy-middleware@0.19.1: version "0.19.1" @@ -4498,6 +4977,14 @@ https-proxy-agent@^4.0.0: agent-base "5" debug "4" +https-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" + integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + dependencies: + agent-base "6" + debug "4" + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -4512,6 +4999,20 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.5.1: + version "0.5.2" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.5.2.tgz#af6d628dccfb463b7364d97f715e4b74b8c8c2b8" + integrity sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +icss-utils@^4.0.0, icss-utils@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" + integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA== + dependencies: + postcss "^7.0.14" + ieee754@^1.1.4: version "1.1.13" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" @@ -4529,6 +5030,13 @@ ignore-walk@^3.0.1: dependencies: minimatch "^3.0.4" +ignore-walk@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" + integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== + dependencies: + minimatch "^3.0.4" + ignore@^3.3.5: version "3.3.10" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" @@ -4607,7 +5115,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -4627,23 +5135,23 @@ ini@1.3.5, ini@^1.3.4, ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -inquirer@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== +inquirer@7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29" + integrity sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg== dependencies: ansi-escapes "^4.2.1" - chalk "^2.4.2" + chalk "^3.0.0" cli-cursor "^3.1.0" cli-width "^2.0.0" external-editor "^3.0.3" figures "^3.0.0" lodash "^4.17.15" mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.4.0" + run-async "^2.4.0" + rxjs "^6.5.3" string-width "^4.1.0" - strip-ansi "^5.1.0" + strip-ansi "^6.0.0" through "^2.3.6" internal-ip@^4.3.0: @@ -4654,24 +5162,19 @@ internal-ip@^4.3.0: default-gateway "^4.2.0" ipaddr.js "^1.9.0" -invariant@^2.2.2: +invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== 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" integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= -ip@^1.1.0, ip@^1.1.5: +ip@1.1.5, ip@^1.1.0, ip@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= @@ -4808,6 +5311,11 @@ is-directory@^0.3.1: resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= +is-docker@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.0.0.tgz#2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b" + integrity sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ== + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -4861,6 +5369,11 @@ is-interactive@^1.0.0: resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== +is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= + is-number@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -4928,11 +5441,6 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -4986,10 +5494,12 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= -is-wsl@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" - integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== +is-wsl@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" @@ -5079,15 +5589,12 @@ istanbul-lib-instrument@^3.3.0: istanbul-lib-coverage "^2.0.5" semver "^6.0.0" -istanbul-lib-instrument@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.0.tgz#53321a7970f076262fd3292c8f9b2e4ac544aae1" - integrity sha512-Nm4wVHdo7ZXSG30KjZ2Wl5SU/Bw7bDx1PdaiIFzEStdjs0H12mOTncn1GVYuqQSaZxpg87VGBRsVRPGD2cD1AQ== +istanbul-lib-instrument@^4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" + integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== dependencies: "@babel/core" "^7.7.5" - "@babel/parser" "^7.7.5" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" "@istanbuljs/schema" "^0.1.2" istanbul-lib-coverage "^3.0.0" semver "^6.3.0" @@ -5150,27 +5657,14 @@ jasminewd2@^2.1.0: resolved "https://registry.yarnpkg.com/jasminewd2/-/jasminewd2-2.2.0.tgz#e37cf0b17f199cce23bea71b2039395246b4ec4e" integrity sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4= -jest-worker@24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" - integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw== - dependencies: - merge-stream "^2.0.0" - supports-color "^6.1.0" - -jest-worker@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.1.0.tgz#75d038bad6fdf58eba0d2ec1835856c497e3907a" - integrity sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg== +jest-worker@26.0.0, jest-worker@^26.0.0: + version "26.0.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.0.0.tgz#4920c7714f0a96c6412464718d0c58a3df3fb066" + integrity sha512-pPaYa2+JnwmiZjK9x7p9BoZht+47ecFCDFA/CJxspHzeDvQcfVBLWzCiWyo+EGrSiQMWZtCFo9iSvMZnAAo8vw== dependencies: merge-stream "^2.0.0" supports-color "^7.0.0" -js-levenshtein@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" - integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -5199,11 +5693,16 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: version "1.0.2" 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.0.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.2.0.tgz#304d29aa54bb01156a1328c454034ff0ac8a7bf4" + integrity sha512-2tLgY7LRNZ9Hd6gmCuBG5/OjRHQpSgJQqJoYyLLOhUgn8LdOYrjaZLcxkWnDads+AD/haWWioPNziXQcgvQJ/g== + 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" @@ -5238,6 +5737,13 @@ json5@^2.1.0: dependencies: minimist "^1.2.0" +json5@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" + integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA== + dependencies: + minimist "^1.2.5" + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -5245,7 +5751,7 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" -jsonparse@^1.2.0: +jsonparse@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= @@ -5366,42 +5872,49 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== -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" - -less-loader@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-5.0.0.tgz#498dde3a6c6c4f887458ee9ed3f086a12ad1b466" - integrity sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg== - dependencies: - clone "^2.1.1" - loader-utils "^1.1.0" - pify "^4.0.1" - -less@3.10.3: - version "3.10.3" - resolved "https://registry.yarnpkg.com/less/-/less-3.10.3.tgz#417a0975d5eeecc52cff4bcfa3c09d35781e6792" - integrity sha512-vz32vqfgmoxF1h3K4J+yKCtajH0PWmjkIFgbs5d78E/c/e+UQTnI+lWK+1eQRE95PXM2mC3rJlLSSP9VQHnaow== +less-loader@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-6.1.0.tgz#59fd591df408ced89a40fce11a2aea449b005631" + integrity sha512-/jLzOwLyqJ7Kt3xg5sHHkXtOyShWwFj410K9Si9WO+/h8rmYxxkSR0A3/hFEntWudE20zZnWMtpMYnLzqTVdUA== dependencies: clone "^2.1.2" + less "^3.11.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" + +less@^3.11.1: + version "3.11.3" + resolved "https://registry.yarnpkg.com/less/-/less-3.11.3.tgz#2d853954fcfe0169a8af869620bcaa16563dcc1c" + integrity sha512-VkZiTDdtNEzXA3LgjQiC3D7/ejleBPFVvq+aRI9mIj+Zhmif5TvFPM244bT4rzkvOCvJ9q4zAztok1M7Nygagw== + dependencies: + clone "^2.1.2" + tslib "^1.10.0" optionalDependencies: errno "^0.1.1" graceful-fs "^4.1.2" image-size "~0.5.0" + make-dir "^2.1.0" mime "^1.4.1" - mkdirp "^0.5.0" promise "^7.1.1" request "^2.83.0" source-map "~0.6.0" -license-webpack-plugin@2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.1.3.tgz#656fa6a8b2e711ee35c27ac8e1659a87240ef7f3" - integrity sha512-vTSY5r9HOq4sxR2BIxdIXWKI+9n3b+DoQkhKHedB3TdSxTfXUDRxKXdAj5iejR+qNXprXsxvEu9W+zOhgGIkAw== +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +levenary@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/levenary/-/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77" + integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== + dependencies: + leven "^3.1.0" + +license-webpack-plugin@2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.2.0.tgz#5c964380d7d0e0c27c349d86a6f856c82924590e" + integrity sha512-XPsdL/0brSHf+7dXIlRqotnCQ58RX2au6otkOg4U3dm8uH+Ka/fW4iukEs95uXm+qKe/SBs+s1Ll/aQddKG+tg== dependencies: "@types/webpack-sources" "^0.1.5" webpack-sources "^1.2.0" @@ -5437,6 +5950,32 @@ loader-utils@1.2.3, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2. emojis-list "^2.0.0" json5 "^1.0.1" +loader-utils@2.0.0, loader-utils@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0" + integrity sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + +loader-utils@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" + integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^1.0.1" + +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" @@ -5462,6 +6001,11 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= + lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -5490,10 +6034,10 @@ log4js@^4.0.0: rfdc "^1.1.4" streamroller "^1.0.6" -loglevel@^1.6.4: - version "1.6.4" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.4.tgz#f408f4f006db8354d0577dcf6d33485b3cb90d56" - integrity sha512-p0b6mOGKcGa+7nnmKbpzR6qloPbrgLcnio++E+14Vo/XffOGwZtRpUhr8dTH/x2oCMmEoIU0Zwm3ZauhvYD17g== +loglevel@^1.6.8: + version "1.6.8" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171" + integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA== loose-envify@^1.0.0: version "1.4.0" @@ -5517,7 +6061,14 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" -magic-string@0.25.4, magic-string@^0.25.0: +magic-string@0.25.7: + version "0.25.7" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" + integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== + dependencies: + sourcemap-codec "^1.4.4" + +magic-string@^0.25.0: version "0.25.4" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143" integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw== @@ -5532,10 +6083,10 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801" - integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw== +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== dependencies: semver "^6.0.0" @@ -5544,34 +6095,26 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== -make-fetch-happen@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d" - integrity sha512-nFr/vpL1Jc60etMVKeaLOqfGjMMb3tAHFVJWxHOFCFS04Zmd7kGlMxo0l1tzfhoQje0/UPnd0X8OeGUiXXnfPA== +make-fetch-happen@^8.0.7: + version "8.0.7" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-8.0.7.tgz#7f98e6e75784c541833d0ffe2f82c31418a87ac2" + integrity sha512-rkDA4c1nMXVqLkfOaM5RK2dxkUndjLOCrPycTDZgbkFDzhmaCO3P1dmCW//yt1I/G1EcedJqMsSjWkV79Hh4hQ== dependencies: - agentkeepalive "^3.4.1" - cacache "^12.0.0" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" + agentkeepalive "^4.1.0" + cacache "^15.0.0" + http-cache-semantics "^4.0.4" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" lru-cache "^5.1.1" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" + minipass "^3.1.3" + minipass-collect "^1.0.2" + minipass-fetch "^1.1.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.2" promise-retry "^1.1.1" - socks-proxy-agent "^4.0.0" - ssri "^6.0.0" - -mamacro@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" - integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== - -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" + socks-proxy-agent "^5.0.0" + ssri "^8.0.0" map-cache@^0.2.2: version "0.2.2" @@ -5604,15 +6147,6 @@ media-typer@0.3.0: 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" @@ -5688,11 +6222,6 @@ mime-db@1.40.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== -mime-db@1.43.0: - version "1.43.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" - integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== - "mime-db@>= 1.40.0 < 2": version "1.42.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" @@ -5717,13 +6246,6 @@ mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24: dependencies: mime-db "1.40.0" -mime-types@^2.1.25: - version "2.1.26" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" - integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== - dependencies: - mime-db "1.43.0" - mime@1.6.0, mime@^1.4.1: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" @@ -5734,15 +6256,15 @@ mime@^2.0.3, mime@^2.3.1, mime@^2.4.4: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -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== -mini-css-extract-plugin@0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz#81d41ec4fe58c713a96ad7c723cdb2d0bd4d70e1" - integrity sha512-MNpRGbNA52q6U92i0qbVpQNsgk7LExy41MdAlG84FeytfDOtRIf/mCHdEgG8rpTKOaNKiqUnZdlptF469hxqOw== +mini-css-extract-plugin@0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.9.0.tgz#47f2cf07aa165ab35733b1fc97d4c46c0564339e" + integrity sha512-lp3GeY7ygcgAmVIcRPBVhIkf8Us7FZjA+ILpal44qLdSu11wmjKQ3d9k15lfD7pO4esu9eUIAW7qiYIBppv40A== dependencies: loader-utils "^1.1.0" normalize-url "1.9.1" @@ -5776,6 +6298,11 @@ minimist@^1.2.0: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + minimist@~0.0.1: version "0.0.10" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" @@ -5788,6 +6315,18 @@ minipass-collect@^1.0.2: dependencies: minipass "^3.0.0" +minipass-fetch@^1.1.2, minipass-fetch@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.2.1.tgz#1b97ecb559be56b09812d45b2e9509f1f59ece2f" + integrity sha512-ssHt0dkljEDaKmTgQ04DQgx2ag6G2gMPxA5hpcsoeTbfDgRf2fC2gNSRc6kISjD7ckCpHwwQvXxuTBK8402fXg== + dependencies: + minipass "^3.1.0" + minipass-pipeline "^1.2.2" + minipass-sized "^1.0.3" + minizlib "^2.0.0" + optionalDependencies: + encoding "^0.1.12" + minipass-flush@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" @@ -5795,6 +6334,14 @@ minipass-flush@^1.0.5: dependencies: minipass "^3.0.0" +minipass-json-stream@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" + integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== + dependencies: + jsonparse "^1.3.1" + minipass "^3.0.0" + minipass-pipeline@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.2.tgz#3dcb6bb4a546e32969c7ad710f2c79a86abba93a" @@ -5802,7 +6349,14 @@ minipass-pipeline@^1.2.2: dependencies: minipass "^3.0.0" -minipass@^2.3.5, minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: +minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + +minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: version "2.9.0" resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== @@ -5817,6 +6371,13 @@ minipass@^3.0.0: dependencies: yallist "^4.0.0" +minipass@^3.0.1, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.3.tgz#7d42ff1f39635482e15f9cdb53184deebd5815fd" + integrity sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg== + dependencies: + yallist "^4.0.0" + minizlib@^1.2.1: version "1.3.3" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" @@ -5824,6 +6385,14 @@ minizlib@^1.2.1: dependencies: minipass "^2.9.0" +minizlib@^2.0.0, minizlib@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.0.tgz#fd52c645301ef09a63a2c209697c294c6ce02cf3" + integrity sha512-EzTZN/fjSvifSX0SlqUERCN39o6T40AMarPbv0MrarSFtIITCBh7bi+dU8nxGFHuqs9jdIAeoYoKuQAAASsPPA== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + mississippi@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" @@ -5848,13 +6417,30 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: +mkdirp-classic@^0.5.2: + version "0.5.3" + resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" + integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== + +mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= dependencies: minimist "0.0.8" +mkdirp@^0.5.3: + version "0.5.5" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" + integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== + dependencies: + minimist "^1.2.5" + +mkdirp@^1.0.3, mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" @@ -5867,6 +6453,13 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" +move-file@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/move-file/-/move-file-2.0.0.tgz#83ffa309b5d7f69d518b28e1333e2ffadf331e3e" + integrity sha512-cdkdhNCgbP5dvS4tlGxZbD+nloio9GIimP57EjqFhwLcMjnU+XJKAZzlmg/TN/AK1LuNAdTSvm3CPPP4Xkv0iQ== + dependencies: + path-exists "^4.0.0" + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -5941,20 +6534,16 @@ neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== +next-tick@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" + integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= + nice-try@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -node-fetch-npm@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" - integrity sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw== - dependencies: - encoding "^0.1.11" - json-parse-better-errors "^1.0.0" - safe-buffer "^5.1.1" - node-forge@0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.9.0.tgz#d624050edbb44874adca12bb9a52ec63cb782579" @@ -6005,27 +6594,18 @@ node-pre-gyp@^0.12.0: semver "^5.3.0" tar "^4" -node-releases@^1.1.29: - version "1.1.35" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.35.tgz#32a74a3cd497aa77f23d509f483475fd160e4c48" - integrity sha512-JGcM/wndCN/2elJlU0IGdVEJQQnJwsLbgPCFd2pY7V0mxf17bZ0Gb/lgOtL29ZQhvEX5shnVhxQyZz3ex94N8w== - dependencies: - semver "^6.3.0" - -node-releases@^1.1.38: - version "1.1.39" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.39.tgz#c1011f30343aff5b633153b10ff691d278d08e8d" - integrity sha512-8MRC/ErwNCHOlAFycy9OPca46fQYUjbJRDcZTHVWIGXIjYLM73k70vv3WkYutVnM4cCo4hE0MqBVVZjP6vjISA== - dependencies: - semver "^6.3.0" - -node-releases@^1.1.44, node-releases@^1.1.47: +node-releases@^1.1.47: version "1.1.47" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.47.tgz#c59ef739a1fd7ecbd9f0b7cf5b7871e8a8b591e4" integrity sha512-k4xjVPx5FpwBUj0Gw7uvFOTF4Ep8Hok1I6qjwL3pLfwe7Y0REQSAqOwwv9TWBCUtMHxcXfY4PgRLRozcChvTcA== dependencies: semver "^6.3.0" +node-releases@^1.1.53: + version "1.1.58" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.58.tgz#8ee20eef30fa60e52755fcc0942def5a734fe935" + integrity sha512-NxBudgVKiRh/2aPWMgPR7bPTX0VPmGx5QBwCtdHitnqFE5/O8DeBXuIMH1nwNnw/aMo6AjOrpsHzfY3UbUJ7yg== + nopt@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" @@ -6034,7 +6614,7 @@ nopt@^4.0.1: abbrev "1" osenv "^0.1.4" -normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.4.0: +normalize-package-data@^2.0.0, normalize-package-data@^2.3.2: 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== @@ -6081,27 +6661,35 @@ npm-bundled@^1.0.1: resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== -npm-package-arg@6.1.1, npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" - integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg== +npm-bundled@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" + integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== dependencies: - hosted-git-info "^2.7.1" - osenv "^0.1.5" - semver "^5.6.0" - validate-npm-package-name "^3.0.0" + npm-normalize-package-bin "^1.0.1" -npm-package-arg@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-7.0.0.tgz#52cdf08b491c0c59df687c4c925a89102ef794a5" - integrity sha512-xXxr8y5U0kl8dVkz2oK7yZjPBvqM2fwaO5l3Yg13p03v8+E3qQcD0JNhHzjL1vyGgxcKkD0cco+NLR72iuPk3g== +npm-install-checks@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" + integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== + dependencies: + semver "^7.1.1" + +npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + +npm-package-arg@8.0.1, npm-package-arg@^8.0.0, npm-package-arg@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.0.1.tgz#9d76f8d7667b2373ffda60bb801a27ef71e3e270" + integrity sha512-/h5Fm6a/exByzFSTm7jAyHbgOqErl9qSNJDQF32Si/ZzgwT2TERVxRxn3Jurw1wflgyVVAxnFR4fRHPM7y1ClQ== dependencies: hosted-git-info "^3.0.2" - osenv "^0.1.5" - semver "^5.6.0" + semver "^7.0.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.12, npm-packlist@^1.1.6: +npm-packlist@^1.1.6: version "1.4.4" resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44" integrity sha512-zTLo8UcVYtDU3gdeaFu2Xu0n0EvelfHDGuqtNIn5RO7yQj4H1TqNdBc/yZjxnWA0PVB8D3Woyp0i5B43JwQ6Vw== @@ -6109,27 +6697,47 @@ npm-packlist@^1.1.12, npm-packlist@^1.1.6: ignore-walk "^3.0.1" npm-bundled "^1.0.1" -npm-pick-manifest@3.0.2, npm-pick-manifest@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" - integrity sha512-wNprTNg+X5nf+tDi+hbjdHhM4bX+mKqv6XmPh7B5eG+QY9VARfQPfCEH013H5GqfNj6ee8Ij2fg8yk0mzps1Vw== +npm-packlist@^2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.1.2.tgz#a3045b52aefc37e7a5e86a55e6ca8cb1e909e25a" + integrity sha512-eByPaP+wsKai0BJX5pmb58d3mfR0zUATcnyuvSxIudTEn+swCPFLxh7srCmqB4hr7i9V24/DPjjq5b2qUtbgXQ== dependencies: - figgy-pudding "^3.5.1" - npm-package-arg "^6.0.0" - semver "^5.4.1" + glob "^7.1.6" + ignore-walk "^3.0.3" + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" -npm-registry-fetch@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.2.tgz#2b1434f93ccbe6b6385f8e45f45db93e16921d7a" - integrity sha512-Z0IFtPEozNdeZRPh3aHHxdG+ZRpzcbQaJLthsm3VhNf6DScicTFRHZzK82u8RsJUsUHkX+QH/zcB/5pmd20H4A== +npm-pick-manifest@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.0.0.tgz#bfde7abe95f2670aed1629a3c18245ccb3cc2eb8" + integrity sha512-PdJpXMvjqt4nftNEDpCgjBUF8yI3Q3MyuAmVB9nemnnCg32F4BPL/JFBfdj8DubgHCYUFQhtLWmBPvdsFtjWMg== dependencies: - JSONStream "^1.3.4" - bluebird "^3.5.1" - figgy-pudding "^3.4.1" + npm-install-checks "^4.0.0" + npm-package-arg "^8.0.0" + semver "^7.0.0" + +npm-pick-manifest@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.0.tgz#2befed87b0fce956790f62d32afb56d7539c022a" + integrity sha512-ygs4k6f54ZxJXrzT0x34NybRlLeZ4+6nECAIbr2i0foTnijtS1TJiyzpqtuUAJOps/hO0tNDr8fRV5g+BtRlTw== + dependencies: + npm-install-checks "^4.0.0" + npm-package-arg "^8.0.0" + semver "^7.0.0" + +npm-registry-fetch@^8.0.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-8.1.0.tgz#1d5c229b82412414b9c63cde040b51981db76904" + integrity sha512-RkcugRDye2j6yEiHGMyAdKQoipgp8VToSIjm+TFLhVraXOkC/WU2kjE2URcYBpcJ4hs++VFBKo6+Zg4wmrS+Qw== + dependencies: + "@npmcli/ci-detect" "^1.0.0" lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - npm-package-arg "^6.1.0" - safe-buffer "^5.2.0" + make-fetch-happen "^8.0.7" + minipass "^3.1.3" + minipass-fetch "^1.1.2" + minipass-json-stream "^1.0.1" + minizlib "^2.0.0" + npm-package-arg "^8.0.0" npm-run-all@4.1.5: version "4.1.5" @@ -6224,6 +6832,11 @@ object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== +object-path@0.11.4: + version "0.11.4" + resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.11.4.tgz#370ae752fbf37de3ea70a861c23bba8915691949" + integrity sha1-NwrnUvvzfePqcKhhwju6iRVpGUk= + object-visit@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" @@ -6297,12 +6910,21 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -open@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/open/-/open-7.0.0.tgz#7e52999b14eb73f90f0f0807fe93897c4ae73ec9" - integrity sha512-K6EKzYqnwQzk+/dzJAQSBORub3xlBTxMz+ntpZpH/LyCa1o6KjXhuN+2npAaI9jaSmU3R1Q8NWf4KUWcyytGsQ== +open@7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/open/-/open-7.0.3.tgz#db551a1af9c7ab4c7af664139930826138531c48" + integrity sha512-sP2ru2v0P290WFfv49Ap8MF6PkzGNnGlAwHweB4WR4mr5d2d0woiCluUeJ218w7/+PmoBy9JmYgD5A4mLcWOFA== dependencies: - is-wsl "^2.1.0" + is-docker "^2.0.0" + is-wsl "^2.1.1" + +open@7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/open/-/open-7.0.4.tgz#c28a9d315e5c98340bf979fdcb2e58664aa10d83" + integrity sha512-brSA+/yq+b08Hsr4c8fsEW2CRzk1BmfN3SAK/5VCHQ9bdoZJ4qa/+AfR0xHjlbbZUyPkUHs1b8x1RqdyZdkVqQ== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" opn@^5.5.0: version "5.5.0" @@ -6319,17 +6941,18 @@ optimist@^0.6.1, optimist@~0.6.0: minimist "~0.0.1" wordwrap "~0.0.2" -ora@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.2.tgz#0e1e68fd45b135d28648b27cf08081fa6e8a297d" - integrity sha512-YUOZbamht5mfLxPmk4M35CD/5DuOkAacxlEUbStVXpBAt4fyhBf+vZHI/HRkI++QUp3sNoeA2Gw4C+hi4eGSig== +ora@4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.3.tgz#752a1b7b4be4825546a7a3d59256fa523b6b6d05" + integrity sha512-fnDebVFyz309A73cqCipVL1fBZewq4vwgSHfxh43vVy31mbyoQ8sCH3Oeaog/owYOs/lLlGVPCISQonTneg6Pg== dependencies: - chalk "^2.4.2" + chalk "^3.0.0" cli-cursor "^3.1.0" cli-spinners "^2.2.0" is-interactive "^1.0.0" log-symbols "^3.0.0" - strip-ansi "^5.2.0" + mute-stream "0.0.8" + strip-ansi "^6.0.0" wcwidth "^1.0.1" original@^1.0.0: @@ -6349,21 +6972,12 @@ os-homedir@^1.0.0: resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^3.0.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" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@^0.1.4, osenv@^0.1.5: +osenv@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== @@ -6371,20 +6985,17 @@ osenv@^0.1.4, 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.2.1" @@ -6393,13 +7004,20 @@ p-limit@^2.0.0, p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^2.2.1, p-limit@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== +p-limit@^2.2.1, p-limit@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== 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" @@ -6419,10 +7037,10 @@ p-map@^2.0.0: resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: aggregate-error "^3.0.0" @@ -6433,45 +7051,44 @@ 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" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -pacote@9.5.8: - version "9.5.8" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-9.5.8.tgz#23480efdc4fa74515855c9ecf39cf64078f99786" - integrity sha512-0Tl8Oi/K0Lo4MZmH0/6IsT3gpGf9eEAznLXEQPKgPq7FscnbUOyopnVpwXlnQdIbCUaojWy1Wd7VMyqfVsRrIw== +pacote@11.1.4: + version "11.1.4" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.1.4.tgz#5529a453c59881b7f059da8af6903b0f79c124b2" + integrity sha512-eUGJvSSpWFZKn3z8gig/HgnBmUl6gIWByIIaHzSyEr3tOWX0w8tFEADXtpu8HGv5E0ShCeTP6enRq8iHKCHSvw== dependencies: - bluebird "^3.5.3" - cacache "^12.0.2" - chownr "^1.1.2" - figgy-pudding "^3.5.1" - get-stream "^4.1.0" - glob "^7.1.3" + "@npmcli/git" "^2.0.1" + "@npmcli/installed-package-contents" "^1.0.5" + "@npmcli/promise-spawn" "^1.1.0" + cacache "^15.0.0" + chownr "^1.1.4" + fs-minipass "^2.1.0" infer-owner "^1.0.4" lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - minimatch "^3.0.4" - minipass "^2.3.5" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.1.12" - npm-pick-manifest "^3.0.0" - npm-registry-fetch "^4.0.0" - osenv "^0.1.5" + minipass "^3.0.1" + minipass-fetch "^1.2.1" + mkdirp "^1.0.3" + npm-package-arg "^8.0.1" + npm-packlist "^2.1.0" + npm-pick-manifest "^6.0.0" + npm-registry-fetch "^8.0.0" promise-inflight "^1.0.1" promise-retry "^1.1.1" - protoduck "^5.0.1" - rimraf "^2.6.2" - safe-buffer "^5.1.2" - semver "^5.6.0" - ssri "^6.0.1" - tar "^4.4.10" - unique-filename "^1.1.1" - which "^1.3.1" + read-package-json-fast "^1.1.3" + rimraf "^2.7.1" + semver "^7.1.3" + ssri "^8.0.0" + tar "^6.0.1" + which "^2.0.2" pako@~1.0.2, pako@~1.0.5: version "1.0.10" @@ -6619,6 +7236,11 @@ picomatch@^2.0.4: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== +picomatch@^2.2.1: + version "2.2.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== + pidtree@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.0.tgz#f6fada10fccc9f99bf50e90d0b23d72c9ebc2e6b" @@ -6665,10 +7287,24 @@ pkg-dir@^4.1.0: dependencies: find-up "^4.0.0" -portfinder@^1.0.25: - version "1.0.25" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca" - integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg== +pkg-up@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f" + integrity sha1-yBmscoBZpGHKscOImivjxJoATX8= + dependencies: + find-up "^2.1.0" + +pnp-webpack-plugin@1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz#c9711ac4dc48a685dabafc86f8b6dd9f8df84149" + integrity sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg== + dependencies: + ts-pnp "^1.1.6" + +portfinder@^1.0.26: + version "1.0.26" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" + integrity sha512-Xi7mKxJHHMI3rIUrnm/jjUgwhbYMkp/XKEcZX3aG4BrumLpq3nmoQMX+ClYnDZnZ/New7IatC1no5RX0zo1vXQ== dependencies: async "^2.6.2" debug "^3.1.1" @@ -6826,6 +7462,39 @@ postcss-minify-selectors@^4.0.2: postcss "^7.0.0" postcss-selector-parser "^3.0.0" +postcss-modules-extract-imports@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" + integrity sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ== + dependencies: + postcss "^7.0.5" + +postcss-modules-local-by-default@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.2.tgz#e8a6561be914aaf3c052876377524ca90dbb7915" + integrity sha512-jM/V8eqM4oJ/22j0gx4jrp63GSvDH6v86OqyTHHUvk4/k1vceipZsaymiZ5PvocqZOl5SFHiFJqjs3la0wnfIQ== + dependencies: + icss-utils "^4.1.1" + postcss "^7.0.16" + postcss-selector-parser "^6.0.2" + postcss-value-parser "^4.0.0" + +postcss-modules-scope@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee" + integrity sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ== + dependencies: + postcss "^7.0.6" + postcss-selector-parser "^6.0.0" + +postcss-modules-values@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10" + integrity sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg== + dependencies: + icss-utils "^4.0.0" + postcss "^7.0.6" + postcss-normalize-charset@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4" @@ -6954,6 +7623,15 @@ postcss-selector-parser@^5.0.0-rc.4: indexes-of "^1.0.1" uniq "^1.0.1" +postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c" + integrity sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg== + dependencies: + cssesc "^3.0.0" + indexes-of "^1.0.1" + uniq "^1.0.1" + postcss-svgo@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258" @@ -6978,10 +7656,10 @@ postcss-value-parser@^3.0.0, postcss-value-parser@^3.2.3, postcss-value-parser@^ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== -postcss-value-parser@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz#482282c09a42706d1fc9a069b73f44ec08391dc9" - integrity sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ== +postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.3, postcss-value-parser@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" + integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== postcss@7.0.21: version "7.0.21" @@ -6992,6 +7670,15 @@ postcss@7.0.21: source-map "^0.6.1" supports-color "^6.1.0" +postcss@7.0.31: + version "7.0.31" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.31.tgz#332af45cb73e26c0ee2614d7c7fb02dfcc2bd6dd" + integrity sha512-a937VDHE1ftkjk+8/7nj/mrjtmkn69xxzJgRETXdAUU+IgOYPQNJF17haGWbeDxSyk++HA14UA98FurvPyBJOA== + dependencies: + chalk "^2.4.2" + source-map "^0.6.1" + supports-color "^6.1.0" + postcss@^7.0.0, postcss@^7.0.1: version "7.0.18" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.18.tgz#4b9cda95ae6c069c67a4d933029eddd4838ac233" @@ -7001,10 +7688,10 @@ postcss@^7.0.0, postcss@^7.0.1: source-map "^0.6.1" supports-color "^6.1.0" -postcss@^7.0.21: - version "7.0.23" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.23.tgz#9f9759fad661b15964f3cfc3140f66f1e05eadc1" - integrity sha512-hOlMf3ouRIFXD+j2VJecwssTwbvsPGJVMzupptg+85WA+i7MwyrydmQAgY3R+m0Bc0exunhbJmijy8u8+vufuQ== +postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.27, postcss@^7.0.30, postcss@^7.0.6: + version "7.0.32" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d" + integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw== dependencies: chalk "^2.4.2" source-map "^0.6.1" @@ -7024,7 +7711,7 @@ prepend-http@^1.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= -private@^0.1.6: +private@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== @@ -7064,15 +7751,9 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -protoduck@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" - integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== - dependencies: - genfun "^5.0.0" - -"protractor@file:../../node_modules/protractor": +"protractor@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/protractor_archive.tar.gz": version "5.4.3" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/protractor_archive.tar.gz#6dcc8c321fcde8864b4919f8e053be8ab94812b0" dependencies: "@types/q" "^0.0.32" "@types/selenium-webdriver" "^3.0.0" @@ -7165,24 +7846,25 @@ punycode@^1.2.4, punycode@^1.3.2, punycode@^1.4.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= -punycode@^2.1.0: +punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -"puppeteer@file:../../node_modules/puppeteer": - version "2.1.1" +"puppeteer@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/puppeteer_archive.tar.gz": + version "3.3.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/puppeteer_archive.tar.gz#756d459464dfc545615eeb50948b71d76c2f1e1f" dependencies: - "@types/mime-types" "^2.1.0" debug "^4.1.0" - extract-zip "^1.6.6" + extract-zip "^2.0.0" https-proxy-agent "^4.0.0" mime "^2.0.3" - mime-types "^2.1.25" progress "^2.0.1" proxy-from-env "^1.0.0" - rimraf "^2.6.1" - ws "^6.1.0" + rimraf "^3.0.2" + tar-fs "^2.0.0" + unbzip2-stream "^1.3.3" + ws "^7.2.3" q@1.4.1: version "1.4.1" @@ -7232,7 +7914,7 @@ querystringify@^2.1.1: resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== @@ -7267,13 +7949,13 @@ raw-body@2.4.0: iconv-lite "0.4.24" unpipe "1.0.0" -raw-loader@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-3.1.0.tgz#5e9d399a5a222cc0de18f42c3bc5e49677532b3f" - integrity sha512-lzUVMuJ06HF4rYveaz9Tv0WRlUMxJ0Y1hgSkkgg+50iEdaI0TthyEDe08KIHb0XsF6rn8WYTqPCaGTZg3sX+qA== +raw-loader@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-4.0.1.tgz#14e1f726a359b68437e183d5a5b7d33a3eba6933" + integrity sha512-baolhQBSi3iNh1cglJjA0mYzga+wePk7vdEX//1dTFd+v4TsQlQE0jitJSNF1OIP82rdYulH7otaVmdlDaJ64A== dependencies: - loader-utils "^1.1.0" - schema-utils "^2.0.1" + loader-utils "^2.0.0" + schema-utils "^2.6.5" rc@^1.0.1, rc@^1.1.6, rc@^1.2.7: version "1.2.8" @@ -7292,6 +7974,14 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" +read-package-json-fast@^1.1.1, read-package-json-fast@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-1.1.3.tgz#3b78464ea8f3c4447f3358635390b6946dc0737e" + integrity sha512-MmFqiyfCXV2Dmm4jH24DEGhxdkUDFivJQj4oPZQPOKywxR7HWBE6WnMWDAapfFHi3wm1b+mhR+XHlUH0CL8axg== + dependencies: + json-parse-even-better-errors "^2.0.1" + npm-normalize-package-bin "^1.0.1" + read-package-json@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5" @@ -7344,7 +8034,16 @@ readable-stream@^3.0.6: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdir-scoped-modules@^1.0.0: +readable-stream@^3.1.1, readable-stream@^3.4.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdir-scoped-modules@^1.0.0, readdir-scoped-modules@^1.1.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== @@ -7377,6 +8076,13 @@ readdirp@~3.2.0: dependencies: picomatch "^2.0.4" +readdirp@~3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada" + integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ== + dependencies: + picomatch "^2.2.1" + reflect-metadata@^0.1.2: version "0.1.13" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" @@ -7389,22 +8095,30 @@ regenerate-unicode-properties@^8.1.0: dependencies: regenerate "^1.4.0" +regenerate-unicode-properties@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec" + integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA== + dependencies: + regenerate "^1.4.0" + regenerate@^1.2.1, regenerate@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@0.13.3: - version "0.13.3" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== +regenerator-runtime@0.13.5, regenerator-runtime@^0.13.4: + version "0.13.5" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" + integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== -regenerator-transform@^0.14.0: - version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" - integrity sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ== +regenerator-transform@^0.14.2: + version "0.14.4" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.4.tgz#5266857896518d1616a78a0479337a30ea974cc7" + integrity sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw== dependencies: - private "^0.1.6" + "@babel/runtime" "^7.8.4" + private "^0.1.8" regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" @@ -7414,6 +8128,11 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regex-parser@2.2.10: + version "2.2.10" + resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.10.tgz#9e66a8f73d89a107616e63b39d4deddfee912b37" + integrity sha512-8t6074A68gHfU8Neftl0Le6KTDwfGAj7IyjPIMSfikI2wJUTHDMaIq42bUsfVnj8mhx0R+45rdUXHGpN164avA== + regexp.prototype.flags@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c" @@ -7442,6 +8161,18 @@ regexpu-core@^4.6.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.1.0" +regexpu-core@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.0.tgz#fcbf458c50431b0bb7b45d6967b8192d91f3d938" + integrity sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ== + dependencies: + regenerate "^1.4.0" + regenerate-unicode-properties "^8.2.0" + regjsgen "^0.5.1" + regjsparser "^0.6.4" + unicode-match-property-ecmascript "^1.0.4" + unicode-match-property-value-ecmascript "^1.2.0" + registry-auth-token@3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" @@ -7467,6 +8198,11 @@ regjsgen@^0.5.0: resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.0.tgz#a7634dc08f89209c2049adda3525711fb97265dd" integrity sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA== +regjsgen@^0.5.1: + version "0.5.2" + resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733" + integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A== + regjsparser@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" @@ -7481,6 +8217,13 @@ regjsparser@^0.6.0: dependencies: jsesc "~0.5.0" +regjsparser@^0.6.4: + version "0.6.4" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272" + integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw== + dependencies: + jsesc "~0.5.0" + remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -7527,11 +8270,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" @@ -7554,6 +8292,22 @@ resolve-from@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" integrity sha1-six699nWiBvItuZTM17rywoYh0g= +resolve-url-loader@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.1.tgz#28931895fa1eab9be0647d3b2958c100ae3c0bf0" + integrity sha512-K1N5xUjj7v0l2j/3Sgs5b8CjrrgtC70SmdCuZiJ8tSyb5J+uk3FoeZ4b7yTnH6j7ngI+Bc5bldHJIa8hYdu2gQ== + dependencies: + adjust-sourcemap-loader "2.0.0" + camelcase "5.3.1" + compose-function "3.0.3" + convert-source-map "1.7.0" + es6-iterator "2.0.3" + loader-utils "1.2.3" + postcss "7.0.21" + rework "1.0.1" + rework-visit "1.0.0" + source-map "0.6.1" + resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" @@ -7566,6 +8320,13 @@ resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2: dependencies: path-parse "^1.0.6" +resolve@^1.8.1: + version "1.17.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== + dependencies: + path-parse "^1.0.6" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -7589,6 +8350,19 @@ retry@^0.12.0: resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= +rework-visit@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/rework-visit/-/rework-visit-1.0.0.tgz#9945b2803f219e2f7aca00adb8bc9f640f842c9a" + integrity sha1-mUWygD8hni96ygCtuLyfZA+ELJo= + +rework@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7" + integrity sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc= + dependencies: + convert-source-map "^0.3.3" + css "^2.0.0" + rfdc@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.4.tgz#ba72cc1367a0ccd9cf81a870b3b58bd3ad07f8c2" @@ -7604,14 +8378,14 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.0.tgz#614176d4b3010b75e5c390eb0ee96f6dc0cebb9b" - integrity sha512-NDGVxTsjqfunkds7CqsOiEnxln4Bo7Nddl3XhS4pXg5OzwkLqJ971ZVAAnB+DDLnF76N+VnDEiBHaVV8I06SUg== +rimraf@3.0.2, 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== dependencies: glob "^7.1.3" -rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@^2.7.1: +rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.3, rimraf@^2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -7626,21 +8400,17 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rollup@1.25.2: - version "1.25.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.25.2.tgz#739f508bd8f7ece52bb6c1fcda83466af82b7f6d" - integrity sha512-+7z6Wab/L45QCPcfpuTZKwKiB0tynj05s/+s2U3F2Bi7rOLPr9UcjUwO7/xpjlPNXA/hwnth6jBExFRGyf3tMg== - dependencies: - "@types/estree" "*" - "@types/node" "*" - acorn "^7.1.0" +rollup@2.10.9: + version "2.10.9" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.10.9.tgz#17dcc6753c619efcc1be2cf61d73a87827eebdf9" + integrity sha512-dY/EbjiWC17ZCUSyk14hkxATAMAShkMsD43XmZGWjLrgFj15M3Dw2kEkA9ns64BiLFm9PKN6vTQw8neHwK74eg== + optionalDependencies: + fsevents "~2.1.2" -run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= - dependencies: - is-promise "^2.1.0" +run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== run-queue@^1.0.0, run-queue@^1.0.3: version "1.0.3" @@ -7649,15 +8419,16 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" -rxjs@6.5.3: - version "6.5.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" - integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== +rxjs@6.5.4, "rxjs@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/rxjs_archive.tar.gz": + version "6.5.4" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/rxjs_archive.tar.gz#6b18c390755121e1fb6a7ddf070a6ec0137a3210" dependencies: tslib "^1.9.0" -rxjs@^6.4.0, "rxjs@file:../../node_modules/rxjs": - version "6.5.4" +rxjs@6.5.5, rxjs@^6.5.3: + version "6.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" + integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ== dependencies: tslib "^1.9.0" @@ -7666,7 +8437,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== @@ -7683,21 +8454,21 @@ safe-regex@^1.1.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass-loader@8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-8.0.0.tgz#e7b07a3e357f965e6b03dd45b016b0a9746af797" - integrity sha512-+qeMu563PN7rPdit2+n5uuYVR0SSVwm0JsOUsaJXzgYcClWSlmX0iHDnmeOobPkf5kUglVot3QS6SyLyaQoJ4w== +sass-loader@8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-8.0.2.tgz#debecd8c3ce243c76454f2e8290482150380090d" + integrity sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ== dependencies: clone-deep "^4.0.1" loader-utils "^1.2.3" neo-async "^2.6.1" - schema-utils "^2.1.0" + schema-utils "^2.6.1" semver "^6.3.0" -sass@1.23.3: - version "1.23.3" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.23.3.tgz#f07503b9e8d2bcf06ef69e8beea5d085589b1620" - integrity sha512-1DKRZxJMOh4Bme16AbWTyYeJAjTlrvw2+fWshHHaepeJfGq2soFZTnt0YhWit+bohtDu4LdyPoEj6VFD4APHog== +sass@1.26.5: + version "1.26.5" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.26.5.tgz#2d7aecfbbabfa298567c8f06615b6e24d2d68099" + integrity sha512-FG2swzaZUiX53YzZSjSakzvGtlds0lcbF+URuU9mxOv7WBh7NhXEVDa4kPKN4hN6fC2TkOTOKqiqp6d53N9X5Q== dependencies: chokidar ">=2.0.0 <4.0.0" @@ -7722,14 +8493,6 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -schema-utils@^2.0.0, schema-utils@^2.0.1, schema-utils@^2.1.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.4.1.tgz#e89ade5d056dc8bcaca377574bb4a9c4e1b8be56" - integrity sha512-RqYLpkPZX5Oc3fw/kHHHyP56fg5Y+XBpIpV8nCg0znIALfq3OH+Ea9Hfeac9BAMwG5IICltiZ0vxFvJQONfA5w== - dependencies: - ajv "^6.10.2" - ajv-keywords "^3.4.1" - schema-utils@^2.6.1, schema-utils@^2.6.4: version "2.6.4" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.6.4.tgz#a27efbf6e4e78689d91872ee3ccfa57d7bdd0f53" @@ -7738,6 +8501,15 @@ schema-utils@^2.6.1, schema-utils@^2.6.4: ajv "^6.10.2" ajv-keywords "^3.4.1" +schema-utils@^2.6.5, schema-utils@^2.6.6: + version "2.7.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7" + integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A== + dependencies: + "@types/json-schema" "^7.0.4" + ajv "^6.12.2" + ajv-keywords "^3.4.1" + select-hose@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" @@ -7774,21 +8546,31 @@ semver-intersect@1.4.0: dependencies: semver "^5.0.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.0.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@6.3.0, semver@^6.0.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - semver@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== +semver@7.1.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" + integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== + +semver@7.3.2, semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2: + version "7.3.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== + +semver@^6.0.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + send@0.17.1: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -7808,16 +8590,18 @@ send@0.17.1: range-parser "~1.2.1" statuses "~1.5.0" -serialize-javascript@^1.7.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb" - integrity sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A== - serialize-javascript@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-2.1.2.tgz#ecec53b0e0317bdc95ef76ab7074b7384785fa61" integrity sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ== +serialize-javascript@^3.0.0, serialize-javascript@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-3.1.0.tgz#8bf3a9170712664ef2561b44b691eafe399214ea" + integrity sha512-JIJT1DGiWmIKhzRsG91aS6Ze4sFUrYbltlkg2onR5OrnNM02Kl/hnY/T4FN2omvyeBbQmMJv+K4cPOpGzOTFBg== + dependencies: + randombytes "^2.1.0" + serve-handler@6.1.2: version "6.1.2" resolved "https://registry.yarnpkg.com/serve-handler/-/serve-handler-6.1.2.tgz#f05b0421a313fff2d257838cba00cbcc512cd2b6" @@ -7954,10 +8738,10 @@ slash@^1.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= -smart-buffer@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d" - integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw== +smart-buffer@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba" + integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw== snapdragon-node@^2.0.1: version "2.1.1" @@ -8047,29 +8831,31 @@ sockjs-client@1.4.0: json3 "^3.3.2" url-parse "^1.4.3" -sockjs@0.3.19: - version "0.3.19" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.19.tgz#d976bbe800af7bd20ae08598d582393508993c0d" - integrity sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw== +sockjs@0.3.20: + version "0.3.20" + resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.20.tgz#b26a283ec562ef8b2687b44033a4eeceac75d855" + integrity sha512-SpmVOVpdq0DJc0qArhF3E5xsxvaiqGNb73XfgBpK1y3UD5gs8DSo8aCTsuT5pX8rssdc2NDIzANwP9eCAiSdTA== dependencies: faye-websocket "^0.10.0" - uuid "^3.0.1" + uuid "^3.4.0" + websocket-driver "0.6.5" -socks-proxy-agent@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" - integrity sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg== +socks-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-5.0.0.tgz#7c0f364e7b1cf4a7a437e71253bed72e9004be60" + integrity sha512-lEpa1zsWCChxiynk+lCycKuC502RxDWLKJZoIhnxrWNjLSDGYRFflHA1/228VkRcnv9TIb8w98derGbpKxJRgA== dependencies: - agent-base "~4.2.1" - socks "~2.3.2" + agent-base "6" + debug "4" + socks "^2.3.3" -socks@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.2.tgz#ade388e9e6d87fdb11649c15746c578922a5883e" - integrity sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ== +socks@^2.3.3: + version "2.4.1" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.4.1.tgz#cea68a280a3bf7cb6333dbb40cfb243d10725e9d" + integrity sha512-8mWHeYC1OA0500qzb+sqwm0Hzi8oBpeuI1JugoBVMEJtJvxSgco8xFSK+NRnZcHeeWjTbF82KUDo5sXH22TY5A== dependencies: - ip "^1.1.5" - smart-buffer "4.0.2" + ip "1.1.5" + smart-buffer "^4.1.0" sort-keys@^1.0.0: version "1.1.2" @@ -8083,13 +8869,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== -source-map-loader@0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.2.4.tgz#c18b0dc6e23bf66f6792437557c569a11e072271" - integrity sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ== +source-map-loader@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-1.0.0.tgz#240b88575a9b0d27214aeecbd4e7686af95cfa56" + integrity sha512-ZayyQCSCrQazN50aCvuS84lJT4xc1ZAcykH5blHaBdVveSwjiFK8UGMPvao0ho54DTb0Jf7m57uRRG/YYUZ2Fg== dependencies: - async "^2.5.0" - loader-utils "^1.1.0" + data-urls "^2.0.0" + iconv-lite "^0.5.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" + source-map "^0.6.0" source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: version "0.5.2" @@ -8102,10 +8891,10 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@0.5.16: - version "0.5.16" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" - integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== +source-map-support@0.5.19: + version "0.5.19" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" + integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -8130,6 +8919,11 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= +source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + source-map@0.7.3, source-map@^0.7.3: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" @@ -8140,11 +8934,6 @@ source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - sourcemap-codec@^1.4.4: version "1.4.6" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9" @@ -8193,10 +8982,10 @@ spdy-transport@^3.0.0: readable-stream "^3.0.6" wbuf "^1.7.3" -spdy@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.1.tgz#6f12ed1c5db7ea4f24ebb8b89ba58c87c08257f2" - integrity sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA== +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== dependencies: debug "^4.1.0" handle-thing "^2.0.0" @@ -8204,10 +8993,10 @@ spdy@^4.0.1: select-hose "^2.0.0" spdy-transport "^3.0.0" -speed-measure-webpack-plugin@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.1.tgz#69840a5cdc08b4638697dac7db037f595d7f36a0" - integrity sha512-qVIkJvbtS9j/UeZumbdfz0vg+QfG/zxonAjzefZrqzkr7xOncLVXkeGbTpzd1gjCBM4PmVNkWlkeTVhgskAGSQ== +speed-measure-webpack-plugin@1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.3.tgz#6ff894fc83e8a6310dde3af863a0329cd79da4f5" + integrity sha512-2ljD4Ch/rz2zG3HsLsnPfp23osuPBS0qPuz9sGpkNXTN1Ic4M+W9xB8l8rS8ob2cO4b1L+WTJw/0AJwWYVgcxQ== dependencies: chalk "^2.0.1" @@ -8243,20 +9032,19 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" -ssri@^6.0.0, ssri@^6.0.1: +ssri@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== dependencies: figgy-pudding "^3.5.1" -ssri@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-7.0.1.tgz#b0cab7bbb11ac9ea07f003453e2011f8cbed9f34" - integrity sha512-FfndBvkXL9AHyGLNzU3r9AvYIBBZ7gm+m+kd0p8cT3/v4OliMAyipZAhLVEv1Zi/k4QFq9CstRGVd9pW/zcHFQ== +ssri@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.0.tgz#79ca74e21f8ceaeddfcb4b90143c458b8d988808" + integrity sha512-aq/pz989nxVYwn16Tsbj1TqFpD5LLrQxHf5zaHuieFV+R0Bbr4y8qUsOA45hXT/N4/9UNXTarBjnjVmjSOVaAA== dependencies: - figgy-pudding "^3.5.1" - minipass "^3.0.0" + minipass "^3.1.1" stable@^0.1.8: version "0.1.8" @@ -8341,6 +9129,15 @@ string-width@^1.0.1: 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" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + string-width@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.1.0.tgz#ba846d1daa97c3c596155308063e075ed1c99aff" @@ -8428,7 +9225,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.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" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -8457,13 +9254,13 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= -style-loader@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.0.0.tgz#1d5296f9165e8e2c85d24eee0b7caf9ec8ca1f82" - integrity sha512-B0dOCFwv7/eY31a5PCieNwMgMhVGFe9w+rh7s/Bx8kfFkrth9zfTZquoYvdw8URgiqxObQKcpW51Ugz1HjfdZw== +style-loader@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.2.1.tgz#c5cbbfbf1170d076cfdd86e0109c5bba114baa1a" + integrity sha512-ByHSTQvHLkWE9Ir5+lGbVOXhxX10fbprhLvdg96wedFZb4NDekDPxVKv5Fwmio+QcMlkkNfuK+5W1peQ5CUhZg== dependencies: - loader-utils "^1.2.3" - schema-utils "^2.0.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" stylehacks@^4.0.0: version "4.0.3" @@ -8516,7 +9313,7 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0: +supports-color@^7.0.0, supports-color@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== @@ -8552,7 +9349,28 @@ 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== -tar@^4, tar@^4.4.10: +tar-fs@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5" + integrity sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg== + dependencies: + chownr "^1.1.1" + mkdirp-classic "^0.5.2" + pump "^3.0.0" + tar-stream "^2.0.0" + +tar-stream@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.2.tgz#6d5ef1a7e5783a95ff70b69b97455a5968dc1325" + integrity sha512-UaF6FoJ32WqALZGOIAApXx+OdxhekNMChu6axLJR85zMMjXKWFGjbIRe+J6P4UnRGg9rAwWvbTT0oI7hD/Un7Q== + dependencies: + bl "^4.0.1" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + +tar@^4: version "4.4.13" resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== @@ -8565,6 +9383,18 @@ tar@^4, tar@^4.4.10: safe-buffer "^5.1.2" yallist "^3.0.3" +tar@^6.0.1, tar@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.2.tgz#5df17813468a6264ff14f766886c622b84ae2f39" + integrity sha512-Glo3jkRtPcvpDlAs/0+hozav78yoXKFr+c4wgw62NNMO3oo4AaJdCo21Uu7lcwr55h39W2XD1LMERc64wtbItg== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^3.0.0" + minizlib "^2.1.0" + mkdirp "^1.0.3" + yallist "^4.0.0" + term-size@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" @@ -8572,40 +9402,40 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-2.3.3.tgz#b89043168bd414153bab86f4362ac23d537b78b0" - integrity sha512-gWHkaGzGYjmDoYxksFZynWTzvXOAjQ5dd7xuTMYlv4zpWlLSb6v0QLSZjELzP5dMs1ox30O1BIPs9dgqlMHuLQ== +terser-webpack-plugin@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-3.0.1.tgz#31928c9330a582fb5ec6f90805337289b85cb8fe" + integrity sha512-eFDtq8qPUEa9hXcUzTwKXTnugIVtlqc1Z/ZVhG8LmRT3lgRY13+pQTnFLY2N7ATB6TKCHuW/IGjoAnZz9wOIqw== dependencies: - cacache "^13.0.1" - find-cache-dir "^3.2.0" - jest-worker "^25.1.0" - p-limit "^2.2.2" - schema-utils "^2.6.4" - serialize-javascript "^2.1.2" + cacache "^15.0.3" + find-cache-dir "^3.3.1" + jest-worker "^26.0.0" + p-limit "^2.3.0" + schema-utils "^2.6.6" + serialize-javascript "^3.0.0" source-map "^0.6.1" - terser "^4.4.3" + terser "^4.6.13" webpack-sources "^1.4.3" -terser-webpack-plugin@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4" - integrity sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== +terser-webpack-plugin@^1.4.3: + version "1.4.4" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.4.tgz#2c63544347324baafa9a56baaddf1634c8abfc2f" + integrity sha512-U4mACBHIegmfoEe5fdongHESNJWqsGU+W0S/9+BmYGVQDw1+c2Ow05TpMhxjPK1sRb7cuYq1BPl1e5YHJMTCqA== dependencies: cacache "^12.0.2" find-cache-dir "^2.1.0" is-wsl "^1.1.0" schema-utils "^1.0.0" - serialize-javascript "^1.7.0" + serialize-javascript "^3.1.0" source-map "^0.6.1" terser "^4.1.2" webpack-sources "^1.4.0" worker-farm "^1.7.0" -terser@4.5.1: - version "4.5.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.5.1.tgz#63b52d6b6ce344aa6fedcd0ee06a695799eb50bd" - integrity sha512-lH9zLIbX8PRBEFCTvfHGCy0s9HEKnNso1Dx9swSopF3VUnFLB8DpQ61tHxoofovNC/sG0spajJM3EIIRSTByiQ== +terser@4.7.0, terser@^4.6.13: + version "4.7.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.7.0.tgz#15852cf1a08e3256a80428e865a2fa893ffba006" + integrity sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -8620,15 +9450,6 @@ terser@^4.1.2: source-map "~0.6.1" source-map-support "~0.5.12" -terser@^4.4.3: - version "4.6.3" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.3.tgz#e33aa42461ced5238d352d2df2a67f21921f8d87" - integrity sha512-Lw+ieAXmY69d09IIc/yqeBqXpEQIpDGZqT34ui1QWXIUpR2RjbqEkT8X7Lgex19hslSqcWM5iMN2kM11eMsESQ== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - through2@^2.0.0: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" @@ -8637,7 +9458,7 @@ through2@^2.0.0: readable-stream "~2.3.6" xtend "~4.0.1" -"through@>=2.2.7 <3", through@X.X.X, through@^2.3.6: +through@X.X.X, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -8733,6 +9554,13 @@ tough-cookie@~2.4.3: psl "^1.1.24" punycode "^1.4.1" +tr46@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479" + integrity sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg== + dependencies: + punycode "^2.1.1" + tree-kill@1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" @@ -8749,13 +9577,29 @@ ts-node@8.3.0: source-map-support "^0.5.6" yn "^3.0.0" -tslib@1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: +ts-pnp@^1.1.6: + version "1.2.0" + resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" + integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== + +tslib@2.0.0, tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + +tslib@^1.10.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" + integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== + +tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== -"tslib@file:../../node_modules/tslib": - version "1.11.1" +"tslib@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/tslib_archive.tar.gz": + version "2.0.0" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/tslib_archive.tar.gz#10a662f835f9eee914ce6236d88a92171bc30cf1" tslint@5.18.0: version "5.18.0" @@ -8813,18 +9657,24 @@ type-is@~1.6.17, type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" +type@^1.0.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/type/-/type-2.0.0.tgz#5f16ff6ef2eb44f260494dae271033b29c09a9c3" + integrity sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow== + typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.6.4: - version "3.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" - integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== - -"typescript@file:../../node_modules/typescript": - version "3.8.3" +"typescript@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/typescript_archive.tar.gz": + version "3.9.5" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/typescript_archive.tar.gz#8123551072ef0f906ff63d920bdda3dc1cb23fb9" uglify-js@^3.1.4: version "3.6.1" @@ -8839,6 +9689,14 @@ ultron@~1.1.0: resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== +unbzip2-stream@^1.3.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" + integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== + dependencies: + buffer "^5.2.1" + through "^2.3.8" + unicode-canonical-property-names-ecmascript@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" @@ -8857,6 +9715,11 @@ unicode-match-property-value-ecmascript@^1.1.0: resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277" integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g== +unicode-match-property-value-ecmascript@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531" + integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ== + unicode-property-aliases-ecmascript@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" @@ -8896,7 +9759,7 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" -universal-analytics@^0.4.20: +universal-analytics@0.4.20: version "0.4.20" resolved "https://registry.yarnpkg.com/universal-analytics/-/universal-analytics-0.4.20.tgz#d6b64e5312bf74f7c368e3024a922135dbf24b03" integrity sha512-gE91dtMvNkjO+kWsPstHRtSwHXz0l2axqptGYp5ceg4MsuurloM0PU3pdOfpb5zBXUvyjT4PwhWK2m39uczZuw== @@ -9021,11 +9884,21 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= -uuid@^3.0.0, uuid@^3.0.1, uuid@^3.3.2: +uuid@7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.2.tgz#7ff5c203467e91f5e0d85cfcbaaf7d2ebbca9be6" + integrity sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw== + +uuid@^3.0.0, uuid@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== +uuid@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" + integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== + validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -9070,14 +9943,23 @@ void-elements@^2.0.0: resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w= -watchpack@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" - integrity sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== +watchpack-chokidar2@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz#9948a1866cbbd6cb824dea13a7ed691f6c8ddff0" + integrity sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA== + dependencies: + chokidar "^2.1.8" + +watchpack@^1.6.1: + version "1.7.2" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.2.tgz#c02e4d4d49913c3e7e122c3325365af9d331e9aa" + integrity sha512-ymVbbQP40MFTp+cNMvpyBpBtygHnPzPkHqoIwRRj/0B8KhqQwV8LaKjtbaxF2lK4vl8zN9wCxS46IFCU5K4W0g== dependencies: - chokidar "^2.0.2" graceful-fs "^4.1.2" neo-async "^2.5.0" + optionalDependencies: + chokidar "^3.4.0" + watchpack-chokidar2 "^2.0.0" wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" @@ -9101,8 +9983,9 @@ webdriver-js-extender@2.1.0: "@types/selenium-webdriver" "^3.0.0" selenium-webdriver "^3.0.1" -webdriver-manager@^12.0.6, "webdriver-manager@file:../../node_modules/webdriver-manager": +webdriver-manager@^12.0.6, "webdriver-manager@file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/webdriver-manager_archive.tar.gz": version "12.1.7" + resolved "file:/private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/npm/webdriver-manager_archive.tar.gz#f686648431b69523ae0940222ffd6e6f9ba4bfab" dependencies: adm-zip "^0.4.9" chalk "^1.1.1" @@ -9116,6 +9999,11 @@ webdriver-manager@^12.0.6, "webdriver-manager@file:../../node_modules/webdriver- semver "^5.3.0" xml2js "^0.4.17" +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== + webpack-dev-middleware@3.7.2, webpack-dev-middleware@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3" @@ -9127,10 +10015,10 @@ webpack-dev-middleware@3.7.2, webpack-dev-middleware@^3.7.2: range-parser "^1.2.1" webpack-log "^2.0.0" -webpack-dev-server@3.9.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.9.0.tgz#27c3b5d0f6b6677c4304465ac817623c8b27b89c" - integrity sha512-E6uQ4kRrTX9URN9s/lIbqTAztwEPdvzVrcmHE8EQ9YnuT9J8Es5Wrd8n9BKg1a0oZ5EgEke/EQFgUsp18dSTBw== +webpack-dev-server@3.11.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.0.tgz#8f154a3bce1bcfd1cc618ef4e703278855e7ff8c" + integrity sha512-PUxZ+oSTxogFQgkTtFndEtJIPNmml7ExwufBZ9L2/Xyyd5PnOL5UreWe5ZT7IU25DSdykL9p1MLQzmLh2ljSeg== dependencies: ansi-html "0.0.7" bonjour "^3.5.0" @@ -9140,31 +10028,31 @@ webpack-dev-server@3.9.0: debug "^4.1.1" del "^4.1.1" express "^4.17.1" - html-entities "^1.2.1" + html-entities "^1.3.1" http-proxy-middleware "0.19.1" import-local "^2.0.0" internal-ip "^4.3.0" ip "^1.1.5" is-absolute-url "^3.0.3" killable "^1.0.1" - loglevel "^1.6.4" + loglevel "^1.6.8" opn "^5.5.0" p-retry "^3.0.1" - portfinder "^1.0.25" + portfinder "^1.0.26" schema-utils "^1.0.0" selfsigned "^1.10.7" semver "^6.3.0" serve-index "^1.9.1" - sockjs "0.3.19" + sockjs "0.3.20" sockjs-client "1.4.0" - spdy "^4.0.1" + spdy "^4.0.2" strip-ansi "^3.0.1" supports-color "^6.1.0" url "^0.11.0" webpack-dev-middleware "^3.7.2" webpack-log "^2.0.0" ws "^6.2.1" - yargs "12.0.5" + yargs "^13.3.2" webpack-log@^2.0.0: version "2.0.0" @@ -9189,23 +10077,23 @@ webpack-sources@1.4.3, webpack-sources@^1.1.0, webpack-sources@^1.2.0, webpack-s source-list-map "^2.0.0" source-map "~0.6.1" -webpack-subresource-integrity@1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.3.4.tgz#4554e0c622d6787f880eba009cdb73139c107bad" - integrity sha512-6XbGYzjh30cGQT/NsC+9IAkJP8IL7/t47sbwR5DLSsamiD56Rwv4/+hsgEHsviPvrEFZ0JRAQtCRN3UsR2Pw9g== +webpack-subresource-integrity@1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.4.1.tgz#e8bf918b444277df46a66cd84542cbcdc5a6272d" + integrity sha512-XMLFInbGbB1HV7K4vHWANzc1CN0t/c4bBvnlvGxGwV45yE/S/feAXIm8dJsCkzqWtSKnmaEgTp/meyeThxG4Iw== dependencies: webpack-sources "^1.3.0" -webpack@4.41.2: - version "4.41.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.2.tgz#c34ec76daa3a8468c9b61a50336d8e3303dce74e" - integrity sha512-Zhw69edTGfbz9/8JJoyRQ/pq8FYUoY0diOXqW0T6yhgdhCv6wr0hra5DwwWexNRns2Z2+gsnrNcbe9hbGBgk/A== +webpack@4.43.0: + version "4.43.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.43.0.tgz#c48547b11d563224c561dad1172c8aa0b8a678e6" + integrity sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/wasm-edit" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - acorn "^6.2.1" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/wasm-edit" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + acorn "^6.4.1" ajv "^6.10.2" ajv-keywords "^3.4.1" chrome-trace-event "^1.0.2" @@ -9216,15 +10104,22 @@ webpack@4.41.2: loader-utils "^1.2.3" memory-fs "^0.4.1" micromatch "^3.1.10" - mkdirp "^0.5.1" + mkdirp "^0.5.3" neo-async "^2.6.1" node-libs-browser "^2.2.1" schema-utils "^1.0.0" tapable "^1.1.3" - terser-webpack-plugin "^1.4.1" - watchpack "^1.6.0" + terser-webpack-plugin "^1.4.3" + watchpack "^1.6.1" webpack-sources "^1.4.1" +websocket-driver@0.6.5: + version "0.6.5" + resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.6.5.tgz#5cb2556ceb85f4373c6d8238aa691c8454e13a36" + integrity sha1-XLJVbOuF9Dc8bYI4qmkchFThOjY= + dependencies: + websocket-extensions ">=0.1.1" + websocket-driver@>=0.5.1: version "0.7.3" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9" @@ -9239,6 +10134,20 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== +whatwg-mimetype@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" + integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== + +whatwg-url@^8.0.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.1.0.tgz#c628acdcf45b82274ce7281ee31dd3c839791771" + integrity sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw== + dependencies: + lodash.sortby "^4.7.0" + tr46 "^2.0.2" + webidl-conversions "^5.0.0" + when@~3.6.x: version "3.6.4" resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e" @@ -9249,13 +10158,20 @@ 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.1, which@^1.2.9, which@^1.3.1: +which@^1.2.1, which@^1.2.9: 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" +which@^2.0.2: + 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" + wide-align@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" @@ -9282,20 +10198,21 @@ worker-farm@^1.7.0: dependencies: errno "~0.1.7" -worker-plugin@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/worker-plugin/-/worker-plugin-3.2.0.tgz#ddae9f161b76fcbaacf8f54ecd037844584e43e7" - integrity sha512-W5nRkw7+HlbsEt3qRP6MczwDDISjiRj2GYt9+bpe8A2La00TmJdwzG5bpdMXhRt1qcWmwAvl1TiKaHRa+XDS9Q== +worker-plugin@4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/worker-plugin/-/worker-plugin-4.0.3.tgz#7c42e600d5931ad154d3d5f187a32446df64db0f" + integrity sha512-7hFDYWiKcE3yHZvemsoM9lZis/PzurHAEX1ej8PLCu818Rt6QqUAiDdxHPCKZctzmhqzPpcFSgvMCiPbtooqAg== 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= +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" wrap-ansi@^6.2.0: version "6.2.0" @@ -9311,13 +10228,18 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -ws@^6.1.0, ws@^6.2.1: +ws@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== dependencies: async-limiter "~1.0.0" +ws@^7.2.3: + version "7.3.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd" + integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w== + ws@~3.3.1: version "3.3.3" resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" @@ -9351,7 +10273,7 @@ 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 || ^4.0.0", y18n@^4.0.0: +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== @@ -9371,10 +10293,10 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -9387,24 +10309,6 @@ yargs-parser@^18.1.0: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@12.0.5: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - 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 "^11.1.1" - yargs@15.3.0: version "15.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" @@ -9422,12 +10326,29 @@ yargs@15.3.0: y18n "^4.0.0" yargs-parser "^18.1.0" -yauzl@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" - integrity sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU= +yargs@^13.3.2: + version "13.3.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== dependencies: - fd-slicer "~1.0.1" + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.2" + +yauzl@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" + integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= + dependencies: + buffer-crc32 "~0.2.3" + fd-slicer "~1.1.0" yeast@0.1.2: version "0.1.2" @@ -9439,5 +10360,8 @@ yn@^3.0.0: resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== -"zone.js@file:../../dist/zone.js-dist/zone.js": +"zone.js@file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/zone.js/npm_package_archive.tar.gz": version "0.10.3" + resolved "file:../../../../../../../../private/var/tmp/_bazel_pete/f9acfb7f019473a10a34c8c30adc55ea/execroot/angular/bazel-out/darwin-fastbuild/bin/integration/ivy-i18n_test.debug.sh.runfiles/angular/packages/zone.js/npm_package_archive.tar.gz#3834c82c35574433a110f24c3acf4417af8a08d8" + dependencies: + tslib "^2.0.0" diff --git a/integration/ng_elements/closure.conf b/integration/ng_elements/closure.conf index 1170dcdda8..ab3a391d3c 100644 --- a/integration/ng_elements/closure.conf +++ b/integration/ng_elements/closure.conf @@ -1,6 +1,6 @@ ---compilation_level=ADVANCED_OPTIMIZATIONS ---language_out=ES6 ---language_in=ES6 +--compilation_level=SIMPLE +--language_in=ECMASCRIPT_2015 +--language_out=ECMASCRIPT_2015 --js_output_file=dist/bundle.js --output_manifest=dist/manifest.MF --variable_renaming_report=dist/variable_renaming_report @@ -8,37 +8,32 @@ --create_source_map=%outname%.map --warning_level=QUIET ---dependency_mode=STRICT +--dependency_mode=PRUNE --rewrite_polyfills=false ---jscomp_off=checkVars -node_modules/zone.js/dist/zone_externs.js +--module_resolution=node +--package_json_entry_names es2015,module + +node_modules/zone.js/zone_externs.js + +--js node_modules/tslib/package.json +--js node_modules/tslib/**.js --js node_modules/rxjs/package.json ---js node_modules/rxjs/_esm2015/index.js ---js node_modules/rxjs/_esm2015/internal/**.js --js node_modules/rxjs/operators/package.json ---js node_modules/rxjs/_esm2015/operators/index.js +--js node_modules/rxjs/**.js --js node_modules/@angular/core/package.json --js node_modules/@angular/core/fesm2015/core.js ---js node_modules/@angular/core/src/testability/testability.externs.js - ---js node_modules/@angular/compiler/package.json ---js node_modules/@angular/compiler/fesm2015/compiler.js --js node_modules/@angular/common/package.json --js node_modules/@angular/common/fesm2015/common.js ---js node_modules/@angular/platform-browser/package.json ---js node_modules/@angular/platform-browser/fesm2015/platform-browser.js - --js node_modules/@angular/elements/package.json --js node_modules/@angular/elements/fesm2015/elements.js ---module_resolution=node ---package_json_entry_names es2015 ---process_common_js_modules +--js node_modules/@angular/platform-browser/package.json +--js node_modules/@angular/platform-browser/fesm2015/platform-browser.js --js built/**.js --entry_point=built/src/main diff --git a/integration/ng_elements/package.json b/integration/ng_elements/package.json index cfc580a140..783f0580f4 100644 --- a/integration/ng_elements/package.json +++ b/integration/ng_elements/package.json @@ -3,23 +3,22 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@angular/animations": "file:../../dist/packages-dist/animations", "@angular/common": "file:../../dist/packages-dist/common", "@angular/compiler": "file:../../dist/packages-dist/compiler", "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", "@angular/core": "file:../../dist/packages-dist/core", "@angular/elements": "file:../../dist/packages-dist/elements", "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", - "@angular/platform-server": "file:../../dist/packages-dist/platform-server", - "google-closure-compiler": "20180319.0.0", "rxjs": "file:../../node_modules/rxjs", "typescript": "file:../../node_modules/typescript", + "tslib": "file:../../node_modules/tslib", "zone.js": "file:../../dist/zone.js-dist/zone.js" }, "devDependencies": { "@types/jasmine": "file:../../node_modules/@types/jasmine", "@types/jasminewd2": "file:../../node_modules/@types/jasminewd2", "concurrently": "3.4.0", + "google-closure-compiler": "file:../../node_modules/google-closure-compiler", "lite-server": "2.2.2", "protractor": "file:../../node_modules/protractor", "puppeteer": "file:../../node_modules/puppeteer", @@ -30,7 +29,7 @@ "**/webdriver-manager": "file:../../node_modules/webdriver-manager" }, "scripts": { - "closure": "java -jar node_modules/google-closure-compiler/compiler.jar --flagfile closure.conf", + "closure": "google-closure-compiler --flagfile closure.conf", "test": "ngc && yarn run closure && concurrently \"yarn run serve\" \"yarn run protractor\" --kill-others --success first", "serve": "lite-server -c e2e/browser.config.json", "preprotractor": "tsc -p e2e", diff --git a/integration/ng_elements/yarn.lock b/integration/ng_elements/yarn.lock index fa26bd5864..9e4cde8848 100644 --- a/integration/ng_elements/yarn.lock +++ b/integration/ng_elements/yarn.lock @@ -2,14 +2,13 @@ # yarn lockfile v1 -"@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" - "@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" + version "10.0.0-next.9" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -21,25 +20,34 @@ reflect-metadata "^0.1.2" semver "^6.3.0" source-map "^0.6.1" - yargs "13.1.0" + sourcemap-codec "^1.4.8" + tslib "^2.0.0" + yargs "15.3.0" "@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/elements@file:../../dist/packages-dist/elements": - version "9.0.0-rc.1" + version "10.0.0-next.9" + dependencies: + tslib "^2.0.0" "@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" - -"@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" + version "10.0.0-next.9" dependencies: - domino "^2.1.2" - xhr2 "^0.1.4" + tslib "^2.0.0" + +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== "@types/jasmine@*": version "3.5.2" @@ -47,10 +55,10 @@ integrity sha512-7hrdBDFWlTb4EhrXYRyC7i3L2kKCV0TqYbzuV+gwyPNF2V4SSHw2Vs223ai26W4tEg+t4e9Wfi1vW6JLubYPiw== "@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" + version "3.5.10" "@types/jasminewd2@file:../../node_modules/@types/jasminewd2": - version "2.0.6" + version "2.0.8" dependencies: "@types/jasmine" "*" @@ -119,15 +127,10 @@ 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^1.1.0: version "1.1.0" @@ -139,6 +142,21 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -510,7 +528,16 @@ chalk@0.5.1: strip-ansi "^0.3.0" supports-color "^0.2.0" -chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@2.x: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -574,14 +601,14 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -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== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" clone-buffer@^1.0.0: version "1.0.0" @@ -620,6 +647,30 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -730,17 +781,6 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -851,11 +891,6 @@ dev-ip@^1.0.1: resolved "https://registry.yarnpkg.com/dev-ip/-/dev-ip-1.0.1.tgz#a76a3ed1855be7a012bb8ac16cb80f3c00dc28f0" integrity sha1-p2o+0YVb56ASu4rBbLgPPADcKPA= -domino@^2.1.2: - version "2.1.4" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.4.tgz#78922e7fab7c610f35792b6c745b7962d342e9c4" - integrity sha512-l70mlQ7IjPKC8kT7GljQXJZmt5OqFL+RE91ik5y5WWQtsd9wP8R7gpFnNu96fK5MqAAZRXfLLsnzKtkty5fWGQ== - easy-extender@^2.3.4: version "2.3.4" resolved "https://registry.yarnpkg.com/easy-extender/-/easy-extender-2.3.4.tgz#298789b64f9aaba62169c77a2b3b64b4c9589b8f" @@ -883,23 +918,16 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== encodeurl@~1.0.1, encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - 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" @@ -992,7 +1020,7 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2: +escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -1007,19 +1035,6 @@ eventemitter3@1.x.x: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg= -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -1152,12 +1167,13 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^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" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^3.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" follow-redirects@1.5.10: version "1.5.10" @@ -1243,13 +1259,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -1301,14 +1310,44 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -google-closure-compiler@20180319.0.0: - version "20180319.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20180319.0.0.tgz#8e281f5869079f94fa07c69b47b5f7ae9db7501a" - integrity sha1-jigfWGkHn5T6B8abR7X3rp23UBo= +google-closure-compiler-java@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200517.0.0.tgz#778370c22273c9085f4cf959ce063f8f112c02ac" + integrity sha512-JVZBiyyXwcYi6Yc3lO6dF2hMLJA4OzPm4/mgsem/tF1vk2HsWTnL3GTaBsPB2ENVZp0hoqsd4KgpPiG9ssNWxw== + +google-closure-compiler-js@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200517.0.0.tgz#9cb0861f764073d1c4d3b7453b74073ccb1ecfb1" + integrity sha512-dz6dOUHx5nhdIqMRXacAYS8aJfLvw4IKxGg28Hq/zeeDPHlX3P3iBK20NgFDfT8zdushThymtMqChSy7C5eyfA== + +google-closure-compiler-linux@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200517.0.0.tgz#2b9ecb634130060174aff5c52329a694ea4be68b" + integrity sha512-S5xPh6TtP+ESzZrmQLcDDqtZAsCVTbdI4VS98wQlN6IMZTd94nAnOCg9mrxQNAgop2t4sdsv/KuH0BGPUWEZ+w== + +google-closure-compiler-osx@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200517.0.0.tgz#9394e9a2fd97e3729fc3bd2abcffff6aab2cfcaa" + integrity sha512-FWIcsKqLllLjdOBZd7azijVaObydgRd0obVNi63eUfC5MX6T4qxKumGCyor2UCNY6by2ESz+PlGqCFzFhZ6b2g== + +google-closure-compiler-windows@^20200517.0.0: + version "20200517.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200517.0.0.tgz#c5cdde438c29458666a83358567b12072924ed6c" + integrity sha512-UXhjRGwS8deTkRla/riyVq3psscgMuw78lepEPtq5NgbumgJzY2+IQP9q+4MVOfJW58Rv0JUWKAFOnBBSZWcAQ== + +"google-closure-compiler@file:../../node_modules/google-closure-compiler": + version "20200517.0.0" dependencies: - chalk "^1.0.0" - vinyl "^2.0.1" + chalk "2.x" + google-closure-compiler-java "^20200517.0.0" + google-closure-compiler-js "^20200517.0.0" + minimist "1.x" + vinyl "2.x" vinyl-sourcemaps-apply "^0.2.0" + optionalDependencies: + google-closure-compiler-linux "^20200517.0.0" + google-closure-compiler-osx "^20200517.0.0" + google-closure-compiler-windows "^20200517.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.2.3" @@ -1359,6 +1398,11 @@ has-flag@^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" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + has-value@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" @@ -1499,11 +1543,6 @@ invert-kv@^1.0.0: resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= -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== - 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" @@ -1603,10 +1642,10 @@ is-fullwidth-code-point@^1.0.0: 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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^3.1.0: version "3.1.0" @@ -1667,11 +1706,6 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -1702,11 +1736,6 @@ isarray@2.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" @@ -1828,13 +1857,6 @@ lcid@^1.0.0: 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" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -1879,13 +1901,12 @@ localtunnel@1.9.2: openurl "1.1.1" yargs "6.6.0" -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" + p-locate "^4.1.0" lodash.isfinite@^3.3.2: version "3.3.2" @@ -1904,13 +1925,6 @@ magic-string@^0.25.0: dependencies: sourcemap-codec "^1.4.4" -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" @@ -1923,15 +1937,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -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" - micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -1973,11 +1978,6 @@ mime@^2.0.3: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimatch@^3.0.2, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -1995,6 +1995,11 @@ minimist@1.2.0, minimist@^1.2.0: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@1.x: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + minimist@~0.0.1: version "0.0.10" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" @@ -2062,11 +2067,6 @@ negotiator@0.6.2: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -2089,13 +2089,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - 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" @@ -2151,7 +2144,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -2185,48 +2178,24 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -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.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -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@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - p-limit "^2.0.0" + p-limit "^2.2.0" p-try@^2.0.0: version "2.2.0" @@ -2281,10 +2250,10 @@ path-exists@^2.0.0: dependencies: pinkie-promise "^2.0.0" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0: version "1.0.1" @@ -2296,11 +2265,6 @@ path-is-inside@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" @@ -2399,14 +2363,6 @@ psl@^1.1.24: resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -2641,7 +2597,7 @@ rxjs@^5.5.6: symbol-observable "1.0.1" "rxjs@file:../../node_modules/rxjs": - version "6.5.3" + version "6.5.4" dependencies: tslib "^1.9.0" @@ -2689,7 +2645,7 @@ selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1: tmp "0.0.30" xml2js "^0.4.17" -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0: +"semver@2 || 3 || 4 || 5", semver@^5.3.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -2776,23 +2732,6 @@ setprototypeof@1.1.1: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -2931,7 +2870,7 @@ source-map@^0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -sourcemap-codec@^1.4.4: +sourcemap-codec@^1.4.4, sourcemap-codec@^1.4.8: version "1.4.8" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== @@ -3029,22 +2968,14 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.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== +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" string_decoder@~1.1.1: version "1.1.1" @@ -3067,19 +2998,12 @@ 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= +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" + ansi-regex "^5.0.0" strip-bom@^2.0.0: version "2.0.0" @@ -3088,11 +3012,6 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - supports-color@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" @@ -3110,6 +3029,13 @@ supports-color@^3.2.3: 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" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + symbol-observable@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" @@ -3186,13 +3112,21 @@ tree-kill@^1.1.0: integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== "tsickle@file:../../node_modules/tsickle": - version "0.38.0" + version "0.38.1" tslib@^1.9.0: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== +tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + +"tslib@file:../../node_modules/tslib": + version "2.0.0" + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -3211,7 +3145,7 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= "typescript@file:../../node_modules/typescript": - version "3.7.4" + version "3.9.2" ua-parser-js@0.7.17: version "0.7.17" @@ -3312,7 +3246,7 @@ vinyl-sourcemaps-apply@^0.2.0: dependencies: source-map "^0.5.1" -vinyl@^2.0.1: +vinyl@2.x: version "2.2.0" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86" integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg== @@ -3357,13 +3291,6 @@ 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: - 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" - window-size@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" @@ -3382,6 +3309,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -3410,11 +3346,6 @@ ws@~6.1.0: dependencies: async-limiter "~1.0.0" -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= - xml2js@^0.4.17: version "0.4.23" resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" @@ -3443,10 +3374,10 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== +yargs-parser@^18.1.0: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -3458,22 +3389,22 @@ yargs-parser@^4.1.0, yargs-parser@^4.2.0: dependencies: camelcase "^3.0.0" -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== +yargs@15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" + integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== dependencies: - cliui "^4.0.0" - find-up "^3.0.0" + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" get-caller-file "^2.0.1" - os-locale "^3.1.0" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.0.0" + yargs-parser "^18.1.0" yargs@6.4.0: version "6.4.0" @@ -3528,3 +3459,5 @@ yeast@0.1.2: "zone.js@file:../../dist/zone.js-dist/zone.js": version "0.10.3" + dependencies: + tslib "^2.0.0" diff --git a/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields.ts b/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields.ts index dd81dd2187..ade71e3dfa 100644 --- a/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields.ts +++ b/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields.ts @@ -4,8 +4,10 @@ import { ElementRef, HostBinding, HostListener, + Injectable, Input, - NgModule + NgModule, + Pipe } from '@angular/core'; export class NonAngularBaseClass { @@ -76,3 +78,17 @@ export class UndecoratedPipeBase { export class WithDirectiveLifecycleHook { ngOnInit() {} } + +// This class is already decorated and should not be migrated. i.e. no TODO +// or Angular decorator should be added. `@Injectable` is sufficient. +@Injectable() +export class MyService { + ngOnDestroy() {} +} + +// This class is already decorated and should not be migrated. i.e. no TODO +// or Angular decorator should be added. `@Injectable` is sufficient. +@Pipe({name: 'my-pipe'}) +export class MyPipe { + ngOnDestroy() {} +} diff --git a/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields_expected.ts b/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields_expected.ts index 664188b826..cb6b1e3974 100644 --- a/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields_expected.ts +++ b/integration/ng_update_migrations/src/app/migration-tests/undecorated-classes-with-fields_expected.ts @@ -4,8 +4,10 @@ import { ElementRef, HostBinding, HostListener, + Injectable, Input, - NgModule + NgModule, + Pipe } from '@angular/core'; export class NonAngularBaseClass { @@ -87,3 +89,17 @@ export class UndecoratedPipeBase { export class WithDirectiveLifecycleHook { ngOnInit() {} } + +// This class is already decorated and should not be migrated. i.e. no TODO +// or Angular decorator should be added. `@Injectable` is sufficient. +@Injectable() +export class MyService { + ngOnDestroy() {} +} + +// This class is already decorated and should not be migrated. i.e. no TODO +// or Angular decorator should be added. `@Injectable` is sufficient. +@Pipe({name: 'my-pipe'}) +export class MyPipe { + ngOnDestroy() {} +} diff --git a/integration/ng_update_migrations/test.js b/integration/ng_update_migrations/test.js index 75228ab1e5..1a94825902 100644 --- a/integration/ng_update_migrations/test.js +++ b/integration/ng_update_migrations/test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/ngcc/mock-ngcc-version-marker.js b/integration/ngcc/mock-ngcc-version-marker.js index e72c998e5c..b5896f5413 100644 --- a/integration/ngcc/mock-ngcc-version-marker.js +++ b/integration/ngcc/mock-ngcc-version-marker.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/ngcc/test.sh b/integration/ngcc/test.sh index 4d77b10ec1..aea0d8ea53 100755 --- a/integration/ngcc/test.sh +++ b/integration/ngcc/test.sh @@ -119,13 +119,19 @@ assertSucceeded "Expected 'ngcc' to log 'Compiling'." assertSucceeded "Expected 'ngcc' to generate an abstract directive definition for 'MatMenuBase' in '@angular/material' (esm5)." +# TODO: This assertion is disabled because @angular/common no longer contains __decorate calls. +# We should either remove this assertion or use a syntentic JS file as input. +# Discuss with the ngcc folks. # Did it handle namespace imported decorators in UMD using `__decorate` syntax? - grep "type: i0.Injectable" node_modules/@angular/common/bundles/common.umd.js - assertSucceeded "Expected 'ngcc' to correctly handle '__decorate' syntax in '@angular/common' (umd)." + #grep "type: i0.Injectable" node_modules/@angular/common/bundles/common.umd.js + #assertSucceeded "Expected 'ngcc' to correctly handle '__decorate' syntax in '@angular/common' (umd)." +# TODO: This assertion is disabled because @angular/common no longer contains __decorate calls. +# We should either remove this assertion or use a syntentic JS file as input. +# Discuss with the ngcc folks. # (and ensure the @angular/common package is indeed using `__decorate` syntax) - grep "JsonPipe = __decorate(" node_modules/@angular/common/bundles/common.umd.js.__ivy_ngcc_bak - assertSucceeded "Expected '@angular/common' (umd) to actually use '__decorate' syntax." + #grep "JsonPipe = __decorate(" node_modules/@angular/common/bundles/common.umd.js.__ivy_ngcc_bak + #assertSucceeded "Expected '@angular/common' (umd) to actually use '__decorate' syntax." # Did it handle namespace imported decorators in UMD using static properties? diff --git a/integration/platform-server/e2e/helloworld-spec.ts b/integration/platform-server/e2e/helloworld-spec.ts index 594c9ab01a..9852665b4c 100644 --- a/integration/platform-server/e2e/helloworld-spec.ts +++ b/integration/platform-server/e2e/helloworld-spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/e2e/protractor.config.js b/integration/platform-server/e2e/protractor.config.js index 872857c721..12df9fc660 100644 --- a/integration/platform-server/e2e/protractor.config.js +++ b/integration/platform-server/e2e/protractor.config.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/e2e/transferstate-spec.ts b/integration/platform-server/e2e/transferstate-spec.ts index c7d5cc8f61..755ca44e44 100644 --- a/integration/platform-server/e2e/transferstate-spec.ts +++ b/integration/platform-server/e2e/transferstate-spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/e2e/util.ts b/integration/platform-server/e2e/util.ts index 3002af5d6b..d944d6e351 100644 --- a/integration/platform-server/e2e/util.ts +++ b/integration/platform-server/e2e/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/helloworld/app.server.ts b/integration/platform-server/src/helloworld/app.server.ts index c07d2f4837..2d87eb87a9 100644 --- a/integration/platform-server/src/helloworld/app.server.ts +++ b/integration/platform-server/src/helloworld/app.server.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/helloworld/app.ts b/integration/platform-server/src/helloworld/app.ts index 50a2898ae5..8b8b3f56c4 100644 --- a/integration/platform-server/src/helloworld/app.ts +++ b/integration/platform-server/src/helloworld/app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/helloworld/client.ts b/integration/platform-server/src/helloworld/client.ts index b2ecbecac4..f2461a9520 100644 --- a/integration/platform-server/src/helloworld/client.ts +++ b/integration/platform-server/src/helloworld/client.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 'zone.js/dist/zone.js'; +import 'zone.js/bundles/zone.umd'; import {enableProdMode} from '@angular/core'; import {platformBrowser} from '@angular/platform-browser'; diff --git a/integration/platform-server/src/helloworld/hello-world.component.ts b/integration/platform-server/src/helloworld/hello-world.component.ts index 79e99e0063..aa0a40c4d9 100644 --- a/integration/platform-server/src/helloworld/hello-world.component.ts +++ b/integration/platform-server/src/helloworld/hello-world.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/server.ts b/integration/platform-server/src/server.ts index 2acb17b592..a19d32a472 100644 --- a/integration/platform-server/src/server.ts +++ b/integration/platform-server/src/server.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ /* tslint:disable:no-console */ -require('zone.js/dist/zone-node.js'); +require('zone.js/bundles/zone-node.umd.js'); import {enableProdMode, NgModuleFactory} from '@angular/core'; import {renderModuleFactory} from '@angular/platform-server'; diff --git a/integration/platform-server/src/transferstate/app.server.ts b/integration/platform-server/src/transferstate/app.server.ts index 7cc606b576..525f24bc5d 100644 --- a/integration/platform-server/src/transferstate/app.server.ts +++ b/integration/platform-server/src/transferstate/app.server.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/transferstate/app.ts b/integration/platform-server/src/transferstate/app.ts index 576c0b1967..b435c23763 100644 --- a/integration/platform-server/src/transferstate/app.ts +++ b/integration/platform-server/src/transferstate/app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/src/transferstate/client.ts b/integration/platform-server/src/transferstate/client.ts index 1ea8affe35..5b92b45706 100644 --- a/integration/platform-server/src/transferstate/client.ts +++ b/integration/platform-server/src/transferstate/client.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 'zone.js/dist/zone.js'; +import 'zone.js/bundles/zone.umd'; import {enableProdMode} from '@angular/core'; import {platformBrowser} from '@angular/platform-browser'; diff --git a/integration/platform-server/src/transferstate/transfer-state.component.ts b/integration/platform-server/src/transferstate/transfer-state.component.ts index 1bf40a67ff..8365bbb7a9 100644 --- a/integration/platform-server/src/transferstate/transfer-state.component.ts +++ b/integration/platform-server/src/transferstate/transfer-state.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/webpack.client.config.js b/integration/platform-server/webpack.client.config.js index 05684eccb7..c31dc18bfa 100644 --- a/integration/platform-server/webpack.client.config.js +++ b/integration/platform-server/webpack.client.config.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/webpack.server.config.js b/integration/platform-server/webpack.server.config.js index 286d8df003..c5c7e1dd8a 100644 --- a/integration/platform-server/webpack.server.config.js +++ b/integration/platform-server/webpack.server.config.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/integration/platform-server/yarn.lock b/integration/platform-server/yarn.lock index 134fd16666..2102365993 100644 --- a/integration/platform-server/yarn.lock +++ b/integration/platform-server/yarn.lock @@ -3,13 +3,13 @@ "@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" + version "10.0.0-next.5" dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -21,25 +21,31 @@ reflect-metadata "^0.1.2" semver "^6.3.0" source-map "^0.6.1" - yargs "13.1.0" + sourcemap-codec "^1.4.8" + yargs "15.3.0" "@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" + version "10.0.0-next.5" "@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" + version "10.0.0-next.5" dependencies: domino "^2.1.2" - xhr2 "^0.1.4" + xhr2 "^0.2.0" + +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== "@types/jasmine@*": version "3.5.3" @@ -47,10 +53,10 @@ integrity sha512-LRJ21f/BO4QNZ3YDaMP0OEurOfE77x8mi8MfEnUsei5IKfmZL0GKl7juhABMdUIJHhVS9OCLotKHfsFNAuJ+DA== "@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" + version "3.5.10" "@types/jasminewd2@file:../../node_modules/@types/jasminewd2": - version "2.0.6" + version "2.0.8" dependencies: "@types/jasmine" "*" @@ -60,7 +66,7 @@ integrity sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM= "@types/node@file:../../node_modules/@types/node": - version "12.11.1" + version "12.12.34" "@types/q@^0.0.32": version "0.0.32" @@ -166,10 +172,10 @@ ansi-regex@^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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^1.1.0: version "1.1.0" @@ -181,6 +187,14 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= +ansi-styles@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -1135,14 +1149,14 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -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== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" co@^4.6.0: version "4.6.0" @@ -1162,6 +1176,18 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" @@ -1308,17 +1334,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -1509,10 +1524,10 @@ elliptic@^6.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.0" -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== emojis-list@^2.0.0: version "2.1.0" @@ -1524,13 +1539,6 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - enhanced-resolve@^3.3.0: version "3.4.1" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e" @@ -1605,19 +1613,6 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -1790,12 +1785,13 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^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" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^3.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" for-in@^1.0.2: version "1.0.2" @@ -1891,13 +1887,6 @@ get-caller-file@^2.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -2186,11 +2175,6 @@ invert-kv@^1.0.0: resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= -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== - ipaddr.js@1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e" @@ -2309,6 +2293,11 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + is-glob@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -2368,11 +2357,6 @@ is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -2393,11 +2377,6 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" @@ -2560,13 +2539,6 @@ lcid@^1.0.0: 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" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - lie@~3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" @@ -2600,13 +2572,12 @@ loader-utils@^0.2.16: json5 "^0.5.0" object-assign "^4.0.1" -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" + p-locate "^4.1.0" lodash.debounce@^4.0.8: version "4.0.8" @@ -2637,13 +2608,6 @@ magic-string@^0.25.0: dependencies: sourcemap-codec "^1.4.1" -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" @@ -2670,15 +2634,6 @@ media-typer@0.3.0: 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.0, memory-fs@~0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" @@ -2758,11 +2713,6 @@ mime@^2.0.3: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -2881,11 +2831,6 @@ neo-async@^2.5.0: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835" integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - node-libs-browser@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" @@ -2974,13 +2919,6 @@ npm-packlist@^1.1.6: ignore-walk "^3.0.1" npm-bundled "^1.0.1" -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - npmlog@^4.0.2: version "4.1.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" @@ -3036,7 +2974,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -3068,15 +3006,6 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -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.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -3090,34 +3019,19 @@ 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" - 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@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537" - integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg== +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - p-limit "^2.0.0" + p-limit "^2.2.0" p-try@^2.0.0: version "2.2.0" @@ -3174,10 +3088,10 @@ path-exists@^2.0.0: dependencies: pinkie-promise "^2.0.0" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: version "1.0.1" @@ -3189,11 +3103,6 @@ path-is-inside@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -3342,14 +3251,6 @@ public-encrypt@^4.0.0: randombytes "^2.0.1" safe-buffer "^5.1.2" -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" @@ -3674,7 +3575,7 @@ rx@2.3.24: integrity sha1-FPlQpCF9fjXapxu8vljv9o6ksrc= "rxjs@file:../../node_modules/rxjs": - version "6.5.3" + version "6.5.4" dependencies: tslib "^1.9.0" @@ -3722,11 +3623,6 @@ selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1: resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== -semver@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -3804,18 +3700,6 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - signal-exit@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -3899,6 +3783,11 @@ sourcemap-codec@^1.4.1: resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== +sourcemap-codec@^1.4.8: + version "1.4.8" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + spawn-default-shell@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/spawn-default-shell/-/spawn-default-shell-1.1.0.tgz#095439d44c4b7c0aff56a53929fbaab87878e7c6" @@ -3998,7 +3887,7 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.1.1: +"string-width@^1.0.2 || 2": version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -4006,14 +3895,14 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" string_decoder@^1.0.0: version "1.2.0" @@ -4055,12 +3944,12 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: - ansi-regex "^4.1.0" + ansi-regex "^5.0.0" strip-bom@^2.0.0: version "2.0.0" @@ -4069,11 +3958,6 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -4224,7 +4108,7 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= "typescript@file:../../node_modules/typescript": - version "3.7.4" + version "3.8.3" uglify-js@^2.8.27: version "2.8.29" @@ -4434,13 +4318,6 @@ 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: - 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" - wide-align@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" @@ -4471,6 +4348,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -4483,10 +4369,10 @@ ws@^6.1.0: dependencies: async-limiter "~1.0.0" -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= +xhr2@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.2.0.tgz#eddeff782f3b7551061b8d75645085269396e521" + integrity sha512-BDtiD0i2iKPK/S8OAZfpk6tyzEDnKKSjxWHcMBVmh+LuqJ8A32qXTyOx+TVOg2dKvq6zGBq2sgKPkEeRs1qTRA== xml2js@^0.4.17: version "0.4.19" @@ -4521,10 +4407,10 @@ yallist@^3.0.0, yallist@^3.0.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== +yargs-parser@^18.1.0: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -4536,22 +4422,22 @@ yargs-parser@^4.2.0: dependencies: camelcase "^3.0.0" -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== +yargs@15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" + integrity sha512-g/QCnmjgOl1YJjGsnUg2SatC7NUYEiLXJqxNOQU9qSpjzGtGXda9b+OKccr1kLTy8BN9yqEyqfq5lxlwdc13TA== dependencies: - cliui "^4.0.0" - find-up "^3.0.0" + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" get-caller-file "^2.0.1" - os-locale "^3.1.0" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.0.0" + yargs-parser "^18.1.0" yargs@^6.0.0: version "6.6.0" diff --git a/integration/typings_test_ts36/yarn.lock b/integration/typings_test_ts36/yarn.lock deleted file mode 100644 index 5d1b417ce8..0000000000 --- a/integration/typings_test_ts36/yarn.lock +++ /dev/null @@ -1,662 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" - -"@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" - -"@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" - dependencies: - canonical-path "1.0.0" - chokidar "^3.0.0" - convert-source-map "^1.5.1" - dependency-graph "^0.7.2" - fs-extra "4.0.2" - magic-string "^0.25.0" - minimist "^1.2.0" - reflect-metadata "^0.1.2" - semver "^6.3.0" - source-map "^0.6.1" - yargs "13.1.0" - -"@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" - -"@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" - -"@angular/elements@file:../../dist/packages-dist/elements": - version "9.0.0-rc.1" - -"@angular/forms@file:../../dist/packages-dist/forms": - version "9.0.0-rc.1" - -"@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.0.0-rc.1" - -"@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" - -"@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" - dependencies: - domino "^2.1.2" - xhr2 "^0.1.4" - -"@angular/platform-webworker-dynamic@file:../../dist/packages-dist/platform-webworker-dynamic": - version "9.0.0-rc.1" - -"@angular/platform-webworker@file:../../dist/packages-dist/platform-webworker": - version "9.0.0-rc.1" - -"@angular/router@file:../../dist/packages-dist/router": - version "9.0.0-rc.1" - -"@angular/service-worker@file:../../dist/packages-dist/service-worker": - version "9.0.0-rc.1" - -"@angular/upgrade@file:../../dist/packages-dist/upgrade": - version "9.0.0-rc.1" - -"@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" - -ansi-regex@^2.0.0: - version "2.1.1" - 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - -anymatch@~3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" - integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -binary-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" - integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== - -braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -canonical-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/canonical-path/-/canonical-path-1.0.0.tgz#fcb470c23958def85081856be7a86e904f180d1d" - integrity sha512-feylzsbDxi1gPZ1IjystzIQZagYYLvfKrSuygUCgf7z6x790VEzze5QEkdSV1U58RA7Hi0+v6fv4K54atOzATg== - -chokidar@^3.0.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" - integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.3.0" - optionalDependencies: - fsevents "~2.1.2" - -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" - -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= - -convert-source-map@^1.5.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" - integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - dependencies: - safe-buffer "~5.1.1" - -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= - -dependency-graph@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.7.2.tgz#91db9de6eb72699209d88aea4c1fd5221cac1c49" - integrity sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ== - -domino@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.3.tgz#0ca1ad02cbd316ebe2e99e0ac9fb0010407d4601" - integrity sha512-EwjTbUv1Q/RLQOdn9k7ClHutrQcWGsfXaRQNOnM/KgK4xDBoLFEcIRFuBSxAx13Vfa63X029gXYrNFrSy+DOSg== - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -fs-extra@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" - integrity sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s= - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fsevents@~2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" - integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== - -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" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -glob-parent@~5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" - integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== - dependencies: - is-glob "^4.0.1" - -graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== - -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== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-extglob@^2.1.1: - version "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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= - optionalDependencies: - graceful-fs "^4.1.6" - -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" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -magic-string@^0.25.0: - version "0.25.4" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143" - integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw== - dependencies: - sourcemap-codec "^1.4.4" - -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" - -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" - -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -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= - -once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - dependencies: - wrappy "1" - -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" - -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@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537" - integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg== - dependencies: - p-try "^2.0.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= - -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -picomatch@^2.0.4, picomatch@^2.0.7: - version "2.2.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" - integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -readdirp@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17" - integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ== - dependencies: - picomatch "^2.0.7" - -reflect-metadata@^0.1.2: - version "0.1.13" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" - integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= - -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" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -"rxjs@file:../../node_modules/rxjs": - version "6.5.3" - dependencies: - tslib "^1.9.0" - -safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -semver@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -source-map@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -sourcemap-codec@^1.4.4: - version "1.4.6" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9" - integrity sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg== - -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.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: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -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" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - 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.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -tslib@^1.9.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -typescript@3.6.4: - version "3.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" - integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -which-module@^2.0.0: - version "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: - 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" - -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" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= - -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= - -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== - -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== - dependencies: - cliui "^4.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - os-locale "^3.1.0" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.0.0" - -"zone.js@file:../../dist/zone.js-dist/zone.js": - version "0.10.3" diff --git a/integration/typings_test_ts37/yarn.lock b/integration/typings_test_ts37/yarn.lock deleted file mode 100644 index 22c5a59ec6..0000000000 --- a/integration/typings_test_ts37/yarn.lock +++ /dev/null @@ -1,662 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@angular/animations@file:../../dist/packages-dist/animations": - version "9.0.0-rc.1" - -"@angular/common@file:../../dist/packages-dist/common": - version "9.0.0-rc.1" - -"@angular/compiler-cli@file:../../dist/packages-dist/compiler-cli": - version "9.0.0-rc.1" - dependencies: - canonical-path "1.0.0" - chokidar "^3.0.0" - convert-source-map "^1.5.1" - dependency-graph "^0.7.2" - fs-extra "4.0.2" - magic-string "^0.25.0" - minimist "^1.2.0" - reflect-metadata "^0.1.2" - semver "^6.3.0" - source-map "^0.6.1" - yargs "13.1.0" - -"@angular/compiler@file:../../dist/packages-dist/compiler": - version "9.0.0-rc.1" - -"@angular/core@file:../../dist/packages-dist/core": - version "9.0.0-rc.1" - -"@angular/elements@file:../../dist/packages-dist/elements": - version "9.0.0-rc.1" - -"@angular/forms@file:../../dist/packages-dist/forms": - version "9.0.0-rc.1" - -"@angular/platform-browser-dynamic@file:../../dist/packages-dist/platform-browser-dynamic": - version "9.0.0-rc.1" - -"@angular/platform-browser@file:../../dist/packages-dist/platform-browser": - version "9.0.0-rc.1" - -"@angular/platform-server@file:../../dist/packages-dist/platform-server": - version "9.0.0-rc.1" - dependencies: - domino "^2.1.2" - xhr2 "^0.1.4" - -"@angular/platform-webworker-dynamic@file:../../dist/packages-dist/platform-webworker-dynamic": - version "9.0.0-rc.1" - -"@angular/platform-webworker@file:../../dist/packages-dist/platform-webworker": - version "9.0.0-rc.1" - -"@angular/router@file:../../dist/packages-dist/router": - version "9.0.0-rc.1" - -"@angular/service-worker@file:../../dist/packages-dist/service-worker": - version "9.0.0-rc.1" - -"@angular/upgrade@file:../../dist/packages-dist/upgrade": - version "9.0.0-rc.1" - -"@types/jasmine@file:../../node_modules/@types/jasmine": - version "2.8.8" - -ansi-regex@^2.0.0: - version "2.1.1" - 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" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - -anymatch@~3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" - integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -binary-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" - integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== - -braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -canonical-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/canonical-path/-/canonical-path-1.0.0.tgz#fcb470c23958def85081856be7a86e904f180d1d" - integrity sha512-feylzsbDxi1gPZ1IjystzIQZagYYLvfKrSuygUCgf7z6x790VEzze5QEkdSV1U58RA7Hi0+v6fv4K54atOzATg== - -chokidar@^3.0.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" - integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.3.0" - optionalDependencies: - fsevents "~2.1.2" - -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" - -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= - -convert-source-map@^1.5.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" - integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - dependencies: - safe-buffer "~5.1.1" - -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= - -dependency-graph@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.7.2.tgz#91db9de6eb72699209d88aea4c1fd5221cac1c49" - integrity sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ== - -domino@^2.1.2: - version "2.1.4" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.4.tgz#78922e7fab7c610f35792b6c745b7962d342e9c4" - integrity sha512-l70mlQ7IjPKC8kT7GljQXJZmt5OqFL+RE91ik5y5WWQtsd9wP8R7gpFnNu96fK5MqAAZRXfLLsnzKtkty5fWGQ== - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.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" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -fs-extra@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" - integrity sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s= - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fsevents@~2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" - integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== - -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" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -glob-parent@~5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" - integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== - dependencies: - is-glob "^4.0.1" - -graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== - -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== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-extglob@^2.1.1: - version "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" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= - optionalDependencies: - graceful-fs "^4.1.6" - -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" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -magic-string@^0.25.0: - version "0.25.5" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.5.tgz#694fa8c6b9a51d83cc4a72c5b6883a7cfa890e40" - integrity sha512-vIO/BOm9odBHBAGwv0gZPLJeO9IpwliiIc0uPeAW93rrFMJ/R3M665IAEfOU/IW3kD4S9AtEn76lfTn1Yif+9A== - dependencies: - sourcemap-codec "^1.4.4" - -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" - -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" - -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -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= - -once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - dependencies: - wrappy "1" - -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" - -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@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== - dependencies: - p-try "^2.0.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= - -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" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -picomatch@^2.0.4, picomatch@^2.0.7: - version "2.2.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" - integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -readdirp@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17" - integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ== - dependencies: - picomatch "^2.0.7" - -reflect-metadata@^0.1.2: - version "0.1.13" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" - integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= - -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" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -"rxjs@file:../../node_modules/rxjs": - version "6.5.3" - dependencies: - tslib "^1.9.0" - -safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -semver@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.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= - -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -source-map@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -sourcemap-codec@^1.4.4: - version "1.4.7" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.7.tgz#5b2cd184e3fe51fd30ba049f7f62bf499b4f73ae" - integrity sha512-RuN23NzhAOuUtaivhcrjXx1OPXsFeH9m5sI373/U7+tGLKihjUyboZAzOadytMjnqHp1f45RGk1IzDKCpDpSYA== - -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.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: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -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" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - 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.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -tslib@^1.9.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -typescript@3.7.4: - version "3.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.4.tgz#1743a5ec5fef6a1fa9f3e4708e33c81c73876c19" - integrity sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw== - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -which-module@^2.0.0: - version "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: - 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" - -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" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= - -xhr2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" - integrity sha1-f4dliEdxbbUCYyOBL4GMras4el8= - -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== - -yargs-parser@^13.0.0: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.1.0.tgz#b2729ce4bfc0c584939719514099d8a916ad2301" - integrity sha512-1UhJbXfzHiPqkfXNHYhiz79qM/kZqjTE8yGlEjZa85Q+3+OwcV6NRkV7XOV1W2Eom2bzILeUn55pQYffjVOLAg== - dependencies: - cliui "^4.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - os-locale "^3.1.0" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.0.0" - -"zone.js@file:../../dist/zone.js-dist/zone.js": - version "0.10.3" diff --git a/integration/typings_test_ts38/include-all.ts b/integration/typings_test_ts39/include-all.ts similarity index 90% rename from integration/typings_test_ts38/include-all.ts rename to integration/typings_test_ts39/include-all.ts index 208956127d..934b702e29 100644 --- a/integration/typings_test_ts38/include-all.ts +++ b/integration/typings_test_ts39/include-all.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,9 +20,6 @@ import * as core from '@angular/core'; import * as coreTesting from '@angular/core/testing'; import * as elements from '@angular/elements'; import * as forms from '@angular/forms'; -// Current plan for Angular 8 is to stop building the @angular/http package -// import * as http from '@angular/http'; -// import * as httpTesting from '@angular/http/testing'; import * as platformBrowser from '@angular/platform-browser'; import * as platformBrowserDynamic from '@angular/platform-browser-dynamic'; import * as platformBrowserDynamicTesting from '@angular/platform-browser-dynamic/testing'; @@ -54,9 +51,6 @@ export default { coreTesting, elements, forms, - // See above - // http, - // httpTesting, platformBrowser, platformBrowserTesting, platformBrowserDynamic, diff --git a/integration/typings_test_ts38/package.json b/integration/typings_test_ts39/package.json similarity index 94% rename from integration/typings_test_ts38/package.json rename to integration/typings_test_ts39/package.json index 6ed850c34d..c3d79ae043 100644 --- a/integration/typings_test_ts38/package.json +++ b/integration/typings_test_ts39/package.json @@ -1,6 +1,6 @@ { "name": "angular-integration", - "description": "Assert that users with TypeScript 3.8 can type-check an Angular application", + "description": "Assert that users with TypeScript 3.9 can type-check an Angular application", "version": "0.0.0", "license": "MIT", "dependencies": { @@ -21,7 +21,7 @@ "@angular/upgrade": "file:../../dist/packages-dist/upgrade", "@types/jasmine": "file:../../node_modules/@types/jasmine", "rxjs": "file:../../node_modules/rxjs", - "typescript": "3.8.3", + "typescript": "~3.9.5", "zone.js": "file:../../dist/zone.js-dist/zone.js" }, "scripts": { diff --git a/integration/typings_test_ts38/tsconfig.json b/integration/typings_test_ts39/tsconfig.json similarity index 79% rename from integration/typings_test_ts38/tsconfig.json rename to integration/typings_test_ts39/tsconfig.json index ee0f548617..30e25c2209 100644 --- a/integration/typings_test_ts38/tsconfig.json +++ b/integration/typings_test_ts39/tsconfig.json @@ -1,8 +1,9 @@ { "compilerOptions": { + "forceConsistentCasingInFileNames": true, "strict": true, - "skipLibCheck": false, - "emitDecoratorMetadata": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, "experimentalDecorators": true, "module": "commonjs", "moduleResolution": "node", diff --git a/integration/typings_test_ts38/yarn.lock b/integration/typings_test_ts39/yarn.lock similarity index 100% rename from integration/typings_test_ts38/yarn.lock rename to integration/typings_test_ts39/yarn.lock diff --git a/karma-js.conf.js b/karma-js.conf.js index 8f368e474a..ce31b84a83 100644 --- a/karma-js.conf.js +++ b/karma-js.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -36,9 +36,10 @@ module.exports = function(config) { {pattern: 'node_modules/angular-mocks/angular-mocks.js', included: false, watched: false}, 'node_modules/core-js/client/core.js', - 'dist/bin/packages/zone.js/npm_package/dist/zone.js', - 'dist/bin/packages/zone.js/npm_package/dist/zone-testing.js', - 'dist/bin/packages/zone.js/npm_package/dist/task-tracking.js', + 'node_modules/jasmine-ajax/lib/mock-ajax.js', + 'dist/bin/packages/zone.js/npm_package/bundles/zone.umd.js', + 'dist/bin/packages/zone.js/npm_package/bundles/zone-testing.umd.js', + 'dist/bin/packages/zone.js/npm_package/bundles/task-tracking.umd.js', // Including systemjs because it defines `__eval`, which produces correct stack traces. 'test-events.js', diff --git a/modules/benchmarks/BUILD.bazel b/modules/benchmarks/BUILD.bazel index 7159d1f14b..609b2f207c 100644 --- a/modules/benchmarks/BUILD.bazel +++ b/modules/benchmarks/BUILD.bazel @@ -3,5 +3,4 @@ package(default_visibility = ["//visibility:public"]) exports_files([ "tsconfig-build.json", "tsconfig-e2e.json", - "start-server.js", ]) diff --git a/modules/benchmarks/e2e_test.bzl b/modules/benchmarks/e2e_test.bzl index 0f405654dc..bbcad88335 100644 --- a/modules/benchmarks/e2e_test.bzl +++ b/modules/benchmarks/e2e_test.bzl @@ -9,7 +9,7 @@ load("//tools:defaults.bzl", "protractor_web_test_suite") def e2e_test(name, server, **kwargs): protractor_web_test_suite( name = name, - on_prepare = "//modules/benchmarks:start-server.js", + on_prepare = "//dev-infra/benchmark/component_benchmark:start-server.js", server = server, **kwargs ) diff --git a/modules/benchmarks/src/bootstrap_ng2.ts b/modules/benchmarks/src/bootstrap_ng2.ts index d0ae4cc50e..370d58295a 100644 --- a/modules/benchmarks/src/bootstrap_ng2.ts +++ b/modules/benchmarks/src/bootstrap_ng2.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/bootstrap_plain.ts b/modules/benchmarks/src/bootstrap_plain.ts index dcc711f932..cfbbbc0b2d 100644 --- a/modules/benchmarks/src/bootstrap_plain.ts +++ b/modules/benchmarks/src/bootstrap_plain.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/change_detection/BUILD.bazel b/modules/benchmarks/src/change_detection/BUILD.bazel index ccf0bdbe59..4b2449f7f9 100644 --- a/modules/benchmarks/src/change_detection/BUILD.bazel +++ b/modules/benchmarks/src/change_detection/BUILD.bazel @@ -15,7 +15,7 @@ ts_library( srcs = ["change_detection.perf-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) @@ -26,7 +26,7 @@ ts_library( srcs = ["change_detection.e2e-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/change_detection/change_detection.e2e-spec.ts b/modules/benchmarks/src/change_detection/change_detection.e2e-spec.ts index 0407b31aaf..b8e8a76bc6 100644 --- a/modules/benchmarks/src/change_detection/change_detection.e2e-spec.ts +++ b/modules/benchmarks/src/change_detection/change_detection.e2e-spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {$} from 'protractor'; -import {openBrowser, verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {openBrowser, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('change detection benchmark', () => { afterEach(verifyNoBrowserErrors); diff --git a/modules/benchmarks/src/change_detection/change_detection.perf-spec.ts b/modules/benchmarks/src/change_detection/change_detection.perf-spec.ts index 6abf5d03ba..b4de37b70c 100644 --- a/modules/benchmarks/src/change_detection/change_detection.perf-spec.ts +++ b/modules/benchmarks/src/change_detection/change_detection.perf-spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$} from 'protractor'; -import {runBenchmark, verifyNoBrowserErrors} from '../../../e2e_util/perf_util'; +import {runBenchmark, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; interface Worker { id: string; diff --git a/modules/benchmarks/src/change_detection/transplanted_views/BUILD.bazel b/modules/benchmarks/src/change_detection/transplanted_views/BUILD.bazel index 2ddcf16392..9b46290126 100644 --- a/modules/benchmarks/src/change_detection/transplanted_views/BUILD.bazel +++ b/modules/benchmarks/src/change_detection/transplanted_views/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -29,10 +29,10 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = ["index.html"], - deps = [":bundle.min_debug.es2015.js"], + deps = [":bundle.min_debug.js"], ) benchmark_test( diff --git a/modules/benchmarks/src/change_detection/transplanted_views/index.ts b/modules/benchmarks/src/change_detection/transplanted_views/index.ts index a2d3333ada..8b049460ef 100644 --- a/modules/benchmarks/src/change_detection/transplanted_views/index.ts +++ b/modules/benchmarks/src/change_detection/transplanted_views/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/change_detection/transplanted_views/index_aot.ts b/modules/benchmarks/src/change_detection/transplanted_views/index_aot.ts index f59c382834..1942d7728d 100644 --- a/modules/benchmarks/src/change_detection/transplanted_views/index_aot.ts +++ b/modules/benchmarks/src/change_detection/transplanted_views/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/change_detection/transplanted_views/init.ts b/modules/benchmarks/src/change_detection/transplanted_views/init.ts index 9300bbcec4..df6a1e0fd4 100644 --- a/modules/benchmarks/src/change_detection/transplanted_views/init.ts +++ b/modules/benchmarks/src/change_detection/transplanted_views/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/change_detection/transplanted_views/transplanted_views.ts b/modules/benchmarks/src/change_detection/transplanted_views/transplanted_views.ts index 22360dc401..44550a2d3b 100644 --- a/modules/benchmarks/src/change_detection/transplanted_views/transplanted_views.ts +++ b/modules/benchmarks/src/change_detection/transplanted_views/transplanted_views.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/change_detection/util.ts b/modules/benchmarks/src/change_detection/util.ts index 25944f727c..1e7bf63b24 100644 --- a/modules/benchmarks/src/change_detection/util.ts +++ b/modules/benchmarks/src/change_detection/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/class_bindings/BUILD.bazel b/modules/benchmarks/src/class_bindings/BUILD.bazel index dbf1d0b038..48c3cdec70 100644 --- a/modules/benchmarks/src/class_bindings/BUILD.bazel +++ b/modules/benchmarks/src/class_bindings/BUILD.bazel @@ -1,7 +1,7 @@ package(default_visibility = ["//modules/benchmarks:__subpackages__"]) load("@io_bazel_rules_sass//sass:sass.bzl", "sass_binary") -load("//tools/components:component_benchmark.bzl", "component_benchmark") +load("//dev-infra/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark") sass_binary( name = "class_bindings_styles", @@ -12,7 +12,8 @@ component_benchmark( name = "benchmark", driver = ":class_bindings.perf-spec.ts", driver_deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", + "@npm//@types/jasmine", "@npm//protractor", ], ng_deps = [ diff --git a/modules/benchmarks/src/class_bindings/app.component.ts b/modules/benchmarks/src/class_bindings/app.component.ts index 27aa5e20f9..7f9b9490c9 100644 --- a/modules/benchmarks/src/class_bindings/app.component.ts +++ b/modules/benchmarks/src/class_bindings/app.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/class_bindings/app.module.ts b/modules/benchmarks/src/class_bindings/app.module.ts index b0af65ad2f..2c7e60c20d 100644 --- a/modules/benchmarks/src/class_bindings/app.module.ts +++ b/modules/benchmarks/src/class_bindings/app.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,4 +18,4 @@ import {ClassBindingsComponent} from './class_bindings.component'; bootstrap: [AppComponent] }) export class AppModule { -} \ No newline at end of file +} diff --git a/modules/benchmarks/src/class_bindings/class_bindings.component.ts b/modules/benchmarks/src/class_bindings/class_bindings.component.ts index 3aa00a6753..db453811bc 100644 --- a/modules/benchmarks/src/class_bindings/class_bindings.component.ts +++ b/modules/benchmarks/src/class_bindings/class_bindings.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,4 +33,4 @@ import {Component, Input} from '@angular/core'; export class ClassBindingsComponent { @Input() msg: string = ''; @Input() list: string[]|null = null; -} \ No newline at end of file +} diff --git a/modules/benchmarks/src/class_bindings/class_bindings.perf-spec.ts b/modules/benchmarks/src/class_bindings/class_bindings.perf-spec.ts index e21d27dadf..39814c2af3 100644 --- a/modules/benchmarks/src/class_bindings/class_bindings.perf-spec.ts +++ b/modules/benchmarks/src/class_bindings/class_bindings.perf-spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$, browser} from 'protractor'; -import {runBenchmark} from '../../../e2e_util/perf_util'; +import {runBenchmark} from '../../../../dev-infra/benchmark/driver-utilities'; describe('class bindings perf', () => { it('should work for update', async () => { diff --git a/modules/benchmarks/src/expanding_rows/BUILD.bazel b/modules/benchmarks/src/expanding_rows/BUILD.bazel index 1969ca038b..05aef08aeb 100644 --- a/modules/benchmarks/src/expanding_rows/BUILD.bazel +++ b/modules/benchmarks/src/expanding_rows/BUILD.bazel @@ -1,7 +1,7 @@ package(default_visibility = ["//modules/benchmarks:__subpackages__"]) load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") ng_module( name = "application_lib", @@ -26,7 +26,7 @@ ts_library( srcs = ["expanding_rows.perf-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) @@ -42,15 +42,15 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = ["index.html"], - deps = [":bundle.min_debug.es2015.js"], + deps = [":bundle.min_debug.js"], ) ts_devserver( name = "devserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], entry_module = "angular/modules/benchmarks/src/expanding_rows/index_aot", port = 4200, scripts = [ diff --git a/modules/benchmarks/src/expanding_rows/benchmark.ts b/modules/benchmarks/src/expanding_rows/benchmark.ts index df18ff4a28..a2ec65c8a2 100644 --- a/modules/benchmarks/src/expanding_rows/benchmark.ts +++ b/modules/benchmarks/src/expanding_rows/benchmark.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/benchmark_module.ts b/modules/benchmarks/src/expanding_rows/benchmark_module.ts index 6a51767018..483b12a841 100644 --- a/modules/benchmarks/src/expanding_rows/benchmark_module.ts +++ b/modules/benchmarks/src/expanding_rows/benchmark_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row.ts b/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row.ts index a677ef152e..b2f14da24a 100644 --- a/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row.ts +++ b/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row_module.ts b/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row_module.ts index 7459cf92f4..4ad8c2ee23 100644 --- a/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row_module.ts +++ b/modules/benchmarks/src/expanding_rows/benchmarkable_expanding_row_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row.ts b/modules/benchmarks/src/expanding_rows/expanding_row.ts index aadfded4e6..9885b1298c 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_blacklist.ts b/modules/benchmarks/src/expanding_rows/expanding_row_blacklist.ts index 6da0e5f31b..e19bb14e6f 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_blacklist.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_blacklist.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_css.ts b/modules/benchmarks/src/expanding_rows/expanding_row_css.ts index 6eff25fba7..212a64e91e 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_css.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_css.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_details_caption.ts b/modules/benchmarks/src/expanding_rows/expanding_row_details_caption.ts index 00cbe534fa..8099f8f4f7 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_details_caption.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_details_caption.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_details_content.ts b/modules/benchmarks/src/expanding_rows/expanding_row_details_content.ts index 557f6f2731..7782a0034b 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_details_content.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_details_content.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_host.ts b/modules/benchmarks/src/expanding_rows/expanding_row_host.ts index 195013c430..21f86b956e 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_host.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_module.ts b/modules/benchmarks/src/expanding_rows/expanding_row_module.ts index 13ced09aa4..f48d76d47d 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_module.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_summary.ts b/modules/benchmarks/src/expanding_rows/expanding_row_summary.ts index 673e796271..a988cb9b55 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_summary.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_summary.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_row_toggle_event.ts b/modules/benchmarks/src/expanding_rows/expanding_row_toggle_event.ts index e1b1e334fc..ddcb69669a 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_row_toggle_event.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_row_toggle_event.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/expanding_rows/expanding_rows.perf-spec.ts b/modules/benchmarks/src/expanding_rows/expanding_rows.perf-spec.ts index 316de6c5ab..9691903b0a 100644 --- a/modules/benchmarks/src/expanding_rows/expanding_rows.perf-spec.ts +++ b/modules/benchmarks/src/expanding_rows/expanding_rows.perf-spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$, browser} from 'protractor'; -import {runBenchmark} from '../../../e2e_util/perf_util'; +import {runBenchmark} from '../../../../dev-infra/benchmark/driver-utilities'; describe('benchmarks', () => { it('should work for create', async () => { diff --git a/modules/benchmarks/src/expanding_rows/index_aot.ts b/modules/benchmarks/src/expanding_rows/index_aot.ts index 367e875332..8ef73cda74 100644 --- a/modules/benchmarks/src/expanding_rows/index_aot.ts +++ b/modules/benchmarks/src/expanding_rows/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/js-web-frameworks/BUILD.bazel b/modules/benchmarks/src/js-web-frameworks/BUILD.bazel index 4889b86f71..dedd600ee5 100644 --- a/modules/benchmarks/src/js-web-frameworks/BUILD.bazel +++ b/modules/benchmarks/src/js-web-frameworks/BUILD.bazel @@ -8,7 +8,7 @@ ts_library( srcs = ["js-web-frameworks.perf-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/js-web-frameworks/js-web-frameworks.perf-spec.ts b/modules/benchmarks/src/js-web-frameworks/js-web-frameworks.perf-spec.ts index 200590588e..c70820fafa 100644 --- a/modules/benchmarks/src/js-web-frameworks/js-web-frameworks.perf-spec.ts +++ b/modules/benchmarks/src/js-web-frameworks/js-web-frameworks.perf-spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$} from 'protractor'; -import {runBenchmark, verifyNoBrowserErrors} from '../../../e2e_util/perf_util'; +import {runBenchmark, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; interface Worker { id: string; diff --git a/modules/benchmarks/src/js-web-frameworks/ng2/BUILD.bazel b/modules/benchmarks/src/js-web-frameworks/ng2/BUILD.bazel index 925325fe0a..df8694d3bf 100644 --- a/modules/benchmarks/src/js-web-frameworks/ng2/BUILD.bazel +++ b/modules/benchmarks/src/js-web-frameworks/ng2/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -26,10 +26,10 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = ["index.html"], - deps = [":bundle.min_debug.es2015.js"], + deps = [":bundle.min_debug.js"], ) benchmark_test( diff --git a/modules/benchmarks/src/js-web-frameworks/ng2/index_aot.ts b/modules/benchmarks/src/js-web-frameworks/ng2/index_aot.ts index c658092360..b275286c5a 100644 --- a/modules/benchmarks/src/js-web-frameworks/ng2/index_aot.ts +++ b/modules/benchmarks/src/js-web-frameworks/ng2/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/js-web-frameworks/ng2/init.ts b/modules/benchmarks/src/js-web-frameworks/ng2/init.ts index b1d4861075..1f5e9075b7 100644 --- a/modules/benchmarks/src/js-web-frameworks/ng2/init.ts +++ b/modules/benchmarks/src/js-web-frameworks/ng2/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/js-web-frameworks/ng2/rows.ts b/modules/benchmarks/src/js-web-frameworks/ng2/rows.ts index e691da507c..d3ba1de4b6 100644 --- a/modules/benchmarks/src/js-web-frameworks/ng2/rows.ts +++ b/modules/benchmarks/src/js-web-frameworks/ng2/rows.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -69,4 +69,4 @@ export class JsWebFrameworksComponent { bootstrap: [JsWebFrameworksComponent], }) export class JsWebFrameworksModule { -} \ No newline at end of file +} diff --git a/modules/benchmarks/src/largeform/BUILD.bazel b/modules/benchmarks/src/largeform/BUILD.bazel index a6eb8b4679..81273b7146 100644 --- a/modules/benchmarks/src/largeform/BUILD.bazel +++ b/modules/benchmarks/src/largeform/BUILD.bazel @@ -8,7 +8,7 @@ ts_library( srcs = ["largeform.perf-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) @@ -19,7 +19,7 @@ ts_library( srcs = ["largeform.e2e-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/largeform/largeform.e2e-spec.ts b/modules/benchmarks/src/largeform/largeform.e2e-spec.ts index de55e16002..8237955cc8 100644 --- a/modules/benchmarks/src/largeform/largeform.e2e-spec.ts +++ b/modules/benchmarks/src/largeform/largeform.e2e-spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {$, By, element} from 'protractor'; -import {openBrowser, verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {openBrowser, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('largeform benchmark', () => { afterEach(verifyNoBrowserErrors); diff --git a/modules/benchmarks/src/largeform/largeform.perf-spec.ts b/modules/benchmarks/src/largeform/largeform.perf-spec.ts index ccab69f065..aba123cf48 100644 --- a/modules/benchmarks/src/largeform/largeform.perf-spec.ts +++ b/modules/benchmarks/src/largeform/largeform.perf-spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,8 +8,7 @@ import {$} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; -import {runBenchmark} from '../../../e2e_util/perf_util'; +import {runBenchmark, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; interface Worker { id: string; diff --git a/modules/benchmarks/src/largeform/ng2/BUILD.bazel b/modules/benchmarks/src/largeform/ng2/BUILD.bazel index 51db615c78..7fd2e37619 100644 --- a/modules/benchmarks/src/largeform/ng2/BUILD.bazel +++ b/modules/benchmarks/src/largeform/ng2/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -24,7 +24,7 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/reflect-metadata/Reflect.js", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", ], entry_module = "angular/modules/benchmarks/src/largeform/ng2/index", port = 4200, diff --git a/modules/benchmarks/src/largeform/ng2/app.ts b/modules/benchmarks/src/largeform/ng2/app.ts index 24631d9389..673b16f725 100644 --- a/modules/benchmarks/src/largeform/ng2/app.ts +++ b/modules/benchmarks/src/largeform/ng2/app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largeform/ng2/index.ts b/modules/benchmarks/src/largeform/ng2/index.ts index 8ceaaf04ba..df0eb1d517 100644 --- a/modules/benchmarks/src/largeform/ng2/index.ts +++ b/modules/benchmarks/src/largeform/ng2/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largeform/ng2/index_aot.ts b/modules/benchmarks/src/largeform/ng2/index_aot.ts index 72cde6fe61..80163c3bdd 100644 --- a/modules/benchmarks/src/largeform/ng2/index_aot.ts +++ b/modules/benchmarks/src/largeform/ng2/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largeform/ng2/init.ts b/modules/benchmarks/src/largeform/ng2/init.ts index 0fa651293c..ec5099b811 100644 --- a/modules/benchmarks/src/largeform/ng2/init.ts +++ b/modules/benchmarks/src/largeform/ng2/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/BUILD.bazel b/modules/benchmarks/src/largetable/BUILD.bazel index 766394d453..68bc416fe2 100644 --- a/modules/benchmarks/src/largetable/BUILD.bazel +++ b/modules/benchmarks/src/largetable/BUILD.bazel @@ -15,7 +15,7 @@ ts_library( srcs = ["largetable.perf-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) @@ -26,7 +26,7 @@ ts_library( srcs = ["largetable.e2e-spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/largetable/baseline/BUILD.bazel b/modules/benchmarks/src/largetable/baseline/BUILD.bazel index 8c8398db7e..297ab4eabf 100644 --- a/modules/benchmarks/src/largetable/baseline/BUILD.bazel +++ b/modules/benchmarks/src/largetable/baseline/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/largetable/baseline/index.ts b/modules/benchmarks/src/largetable/baseline/index.ts index c8e421d44c..4aa5b96d03 100644 --- a/modules/benchmarks/src/largetable/baseline/index.ts +++ b/modules/benchmarks/src/largetable/baseline/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/baseline/table.ts b/modules/benchmarks/src/largetable/baseline/table.ts index 8dc74f21c2..33bbde914e 100644 --- a/modules/benchmarks/src/largetable/baseline/table.ts +++ b/modules/benchmarks/src/largetable/baseline/table.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/incremental_dom/BUILD.bazel b/modules/benchmarks/src/largetable/incremental_dom/BUILD.bazel index 6d63f067d3..c37bf4e258 100644 --- a/modules/benchmarks/src/largetable/incremental_dom/BUILD.bazel +++ b/modules/benchmarks/src/largetable/incremental_dom/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/largetable/incremental_dom/index.ts b/modules/benchmarks/src/largetable/incremental_dom/index.ts index 1b32df57c1..19837d7d5a 100644 --- a/modules/benchmarks/src/largetable/incremental_dom/index.ts +++ b/modules/benchmarks/src/largetable/incremental_dom/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/incremental_dom/table.ts b/modules/benchmarks/src/largetable/incremental_dom/table.ts index 6a9e60024d..d224271f7d 100644 --- a/modules/benchmarks/src/largetable/incremental_dom/table.ts +++ b/modules/benchmarks/src/largetable/incremental_dom/table.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/iv/BUILD.bazel b/modules/benchmarks/src/largetable/iv/BUILD.bazel index 841a298e6c..4ade284237 100644 --- a/modules/benchmarks/src/largetable/iv/BUILD.bazel +++ b/modules/benchmarks/src/largetable/iv/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/largetable/iv/largetable.js b/modules/benchmarks/src/largetable/iv/largetable.js index 464f04acdf..274b330875 100644 --- a/modules/benchmarks/src/largetable/iv/largetable.js +++ b/modules/benchmarks/src/largetable/iv/largetable.js @@ -1,8 +1,11 @@ -/* - Copyright Google Inc. 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 -*/ +/** + * @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 + */ + /* tslint:disable */ // clang-format off function $nextRef(){return++refCount}function $el(e,n,r,t){var o={kind:"E",index:n,name:r,ref:t?++refCount:0,children:[],props:NO_PROPS,domNode:null};return e.children[e.children.length]=o,o}function $cg(e,n,r,t){var o=n.children[e];if(o&&o.index===t)return o.childChanges=null,o;var a={kind:"G",index:t,cm:1,props:{},changes:null,childChanges:null,ref:++refCount,children:[],domNode:null,parent:n,$lastChange:refreshCount,$lastRefresh:refreshCount};return r.cm?n.children[n.children.length]=a:(n.children.splice(e,0,a),addChangeInstruction(a,{kind:"CG",node:a,parent:n,position:e,nextSibling:findNextDomSibling(n,e)})),a}function $lg(e,n){addChildChanges(e,n)}function $dg(e,n,r,t){for(var o=n.children[e];o&&o.indexi;i++)retrieveChanges(t[i],n,r);r&&(e.childChanges=null)}if(o&&o.length){for(var a=n.length,i=0;o.length>i;i++,a++)n[a]=o[i];r&&(e.changes=null)}}function addChangeInstruction(e,n){e.changes?e.changes.splice(e.changes.length,0,n):e.changes=[n],e.$lastChange=refreshCount}function addChildChanges(e,n){(e.changes||e.childChanges)&&(n.childChanges?n.childChanges.push(e):n.childChanges=[e],n.$lastChange=refreshCount)}function findNextDomSibling(e,n,r){void 0===r&&(r=!1);var t,o=e.children;if(n+1i;i++)if(a.children[i]===e)return findNextDomSibling(a,i)}return null}function htmlRenderer(e,n,r){return new Renderer(e,n,r)}function processChanges(e,n,r){for(var t=0,o=e;ti;i++)createDomNode(o[i],n,r,t)}function createElementDomNode(e,n,r,t){var o,a,i=e.props,d=e.atts;if(d&&d.xmlns&&(t=d.xmlns),a=t?r.createElementNS(t,e.name):r.createElement(e.name),d)for(var l in d)d.hasOwnProperty(l)&&a.setAttribute(l,d[l]);if(i)if(t&&!t.match(RX_HTML))for(var l in i)i.hasOwnProperty(l)&&a.setAttribute(l,i[l]);else for(var l in i)if(i.hasOwnProperty(l)&&void 0!==(o=i[l]))if(o&&o.$isMap)if("classList"===l){var c=[];d&&(d.class?c.push(d.class):d.className&&c.push(d.className));for(var s in o)o.hasOwnProperty(s)&&"$"!==s[0]&&o[s]&&c.push(s);c.length&&(a.className=c.join(" "))}else"style"===l&&setMapProperties(a.style,o);else o.call?"o"===l[0]&&addEvtListener(a,e,l):a[l]=o;e.domNode=a,n.appendChild(a),processChildNodes(e,a,r,t)}function setMapProperties(e,n){for(var r in n)n.hasOwnProperty(r)&&"$"!==r[0]&&(e[r]=n[r])}function addEvtListener(e,n,r){e.addEventListener(r.substring(2),function(e){n.props[r].call(n,e)})}function removeGroupFromDom(e,n,r){var t,o=e.children,a=e.domNode;if(o){var i=o.length;n&&r&&countGroupDomChildren(e)===a.childNodes.length&&(a.textContent="",n=!1);for(var d=0;i>d;d++)"G"===(t=o[d]).kind?removeGroupFromDom(t,n,!1):"T"!==t.kind&&"E"!==t.kind||n&&t.domNode&&t.domNode.parentNode===a&&a.removeChild(t.domNode)}e.domNode=null}function countGroupDomChildren(e){for(var n,r,t=0,o=e.children,a=o.length,i=0;a>i;i++)"G"===(r=(n=o[i]).kind)?t+=countGroupDomChildren(n):"D"!==r&&t++;return t}function replaceDomNode(e,n,r){if(e!==n&&r.domNode===e&&(r.domNode=n,"G"===r.kind))for(var t=r.children,o=0;t.length>o;o++)replaceDomNode(e,n,t[o])}function getIntParameter(e){return parseInt(getStringParameter(e),10)}function getStringParameter(e){for(var n,r,t=document.querySelectorAll('input[name="'+e+'"]'),o=0;o { afterEach(verifyNoBrowserErrors); diff --git a/modules/benchmarks/src/largetable/largetable.perf-spec.ts b/modules/benchmarks/src/largetable/largetable.perf-spec.ts index ffd96ece13..e57d669858 100644 --- a/modules/benchmarks/src/largetable/largetable.perf-spec.ts +++ b/modules/benchmarks/src/largetable/largetable.perf-spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$} from 'protractor'; -import {runBenchmark, verifyNoBrowserErrors} from '../../../e2e_util/perf_util'; +import {runBenchmark, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; interface Worker { id: string; diff --git a/modules/benchmarks/src/largetable/ng2/BUILD.bazel b/modules/benchmarks/src/largetable/ng2/BUILD.bazel index b52ad6b173..e25e9c681b 100644 --- a/modules/benchmarks/src/largetable/ng2/BUILD.bazel +++ b/modules/benchmarks/src/largetable/ng2/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -32,10 +32,10 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = ["index.html"], - deps = [":bundle.min_debug.es2015.js"], + deps = [":bundle.min_debug.js"], ) benchmark_test( diff --git a/modules/benchmarks/src/largetable/ng2/index.ts b/modules/benchmarks/src/largetable/ng2/index.ts index b0a0bfec83..1d909692a3 100644 --- a/modules/benchmarks/src/largetable/ng2/index.ts +++ b/modules/benchmarks/src/largetable/ng2/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2/index_aot.ts b/modules/benchmarks/src/largetable/ng2/index_aot.ts index 36677d76c5..0d12cf8bd8 100644 --- a/modules/benchmarks/src/largetable/ng2/index_aot.ts +++ b/modules/benchmarks/src/largetable/ng2/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2/init.ts b/modules/benchmarks/src/largetable/ng2/init.ts index 054ea20948..50dc22c758 100644 --- a/modules/benchmarks/src/largetable/ng2/init.ts +++ b/modules/benchmarks/src/largetable/ng2/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2/table.ts b/modules/benchmarks/src/largetable/ng2/table.ts index d00f811563..f7076a56d1 100644 --- a/modules/benchmarks/src/largetable/ng2/table.ts +++ b/modules/benchmarks/src/largetable/ng2/table.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2_switch/BUILD.bazel b/modules/benchmarks/src/largetable/ng2_switch/BUILD.bazel index 555ecab562..1873064336 100644 --- a/modules/benchmarks/src/largetable/ng2_switch/BUILD.bazel +++ b/modules/benchmarks/src/largetable/ng2_switch/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -22,7 +22,7 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/reflect-metadata/Reflect.js", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", ], entry_module = "angular/modules/benchmarks/src/largetable/ng2_switch/index", port = 4200, diff --git a/modules/benchmarks/src/largetable/ng2_switch/index.ts b/modules/benchmarks/src/largetable/ng2_switch/index.ts index b0a0bfec83..1d909692a3 100644 --- a/modules/benchmarks/src/largetable/ng2_switch/index.ts +++ b/modules/benchmarks/src/largetable/ng2_switch/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2_switch/index_aot.ts b/modules/benchmarks/src/largetable/ng2_switch/index_aot.ts index 36677d76c5..0d12cf8bd8 100644 --- a/modules/benchmarks/src/largetable/ng2_switch/index_aot.ts +++ b/modules/benchmarks/src/largetable/ng2_switch/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2_switch/init.ts b/modules/benchmarks/src/largetable/ng2_switch/init.ts index 054ea20948..50dc22c758 100644 --- a/modules/benchmarks/src/largetable/ng2_switch/init.ts +++ b/modules/benchmarks/src/largetable/ng2_switch/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/ng2_switch/table.ts b/modules/benchmarks/src/largetable/ng2_switch/table.ts index 8e1c5a7fe2..3ecba5591b 100644 --- a/modules/benchmarks/src/largetable/ng2_switch/table.ts +++ b/modules/benchmarks/src/largetable/ng2_switch/table.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/render3/BUILD.bazel b/modules/benchmarks/src/largetable/render3/BUILD.bazel index ab6f33646d..54109654bb 100644 --- a/modules/benchmarks/src/largetable/render3/BUILD.bazel +++ b/modules/benchmarks/src/largetable/render3/BUILD.bazel @@ -1,7 +1,7 @@ package(default_visibility = ["//visibility:public"]) load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") ng_module( diff --git a/modules/benchmarks/src/largetable/render3/index_aot.ts b/modules/benchmarks/src/largetable/render3/index_aot.ts index 6abeee6742..7a7bf6fa7b 100644 --- a/modules/benchmarks/src/largetable/render3/index_aot.ts +++ b/modules/benchmarks/src/largetable/render3/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/render3/table.ts b/modules/benchmarks/src/largetable/render3/table.ts index 85339a976e..a0d5d636a6 100644 --- a/modules/benchmarks/src/largetable/render3/table.ts +++ b/modules/benchmarks/src/largetable/render3/table.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/largetable/util.ts b/modules/benchmarks/src/largetable/util.ts index 3c5adfe767..66518729ea 100644 --- a/modules/benchmarks/src/largetable/util.ts +++ b/modules/benchmarks/src/largetable/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/compiler/compiler_benchmark.ts b/modules/benchmarks/src/old/compiler/compiler_benchmark.ts index 9dd4572bc8..88b135b560 100644 --- a/modules/benchmarks/src/old/compiler/compiler_benchmark.ts +++ b/modules/benchmarks/src/old/compiler/compiler_benchmark.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/compiler/selector_benchmark.ts b/modules/benchmarks/src/old/compiler/selector_benchmark.ts index 028728eaa6..72a301a603 100644 --- a/modules/benchmarks/src/old/compiler/selector_benchmark.ts +++ b/modules/benchmarks/src/old/compiler/selector_benchmark.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/costs/index.ts b/modules/benchmarks/src/old/costs/index.ts index 2d3929b8fb..2ae0d8e302 100644 --- a/modules/benchmarks/src/old/costs/index.ts +++ b/modules/benchmarks/src/old/costs/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/di/di_benchmark.ts b/modules/benchmarks/src/old/di/di_benchmark.ts index ca00d57963..2e015afefc 100644 --- a/modules/benchmarks/src/old/di/di_benchmark.ts +++ b/modules/benchmarks/src/old/di/di_benchmark.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/app.ts b/modules/benchmarks/src/old/naive_infinite_scroll/app.ts index 8d4297d7b5..613209a846 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/app.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/cells.ts b/modules/benchmarks/src/old/naive_infinite_scroll/cells.ts index 1f4de9cb6f..fdfc5eb3f4 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/cells.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/cells.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/common.ts b/modules/benchmarks/src/old/naive_infinite_scroll/common.ts index 2279def264..20d2ca1431 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/common.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/index.ts b/modules/benchmarks/src/old/naive_infinite_scroll/index.ts index e7ee5d71b9..da5738b53a 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/index.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/random_data.ts b/modules/benchmarks/src/old/naive_infinite_scroll/random_data.ts index 89c7191b57..f44e4f5437 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/random_data.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/random_data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/scroll_area.ts b/modules/benchmarks/src/old/naive_infinite_scroll/scroll_area.ts index 807c29a166..dc2c506e84 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/scroll_area.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/scroll_area.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/naive_infinite_scroll/scroll_item.ts b/modules/benchmarks/src/old/naive_infinite_scroll/scroll_item.ts index 4604384676..c77ba24f46 100644 --- a/modules/benchmarks/src/old/naive_infinite_scroll/scroll_item.ts +++ b/modules/benchmarks/src/old/naive_infinite_scroll/scroll_item.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/old/page_load/page_load.ts b/modules/benchmarks/src/old/page_load/page_load.ts index aba9a81e65..b2a2d99d7a 100644 --- a/modules/benchmarks/src/old/page_load/page_load.ts +++ b/modules/benchmarks/src/old/page_load/page_load.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/styling/BUILD.bazel b/modules/benchmarks/src/styling/BUILD.bazel index 4a77b559f2..a31bef8341 100644 --- a/modules/benchmarks/src/styling/BUILD.bazel +++ b/modules/benchmarks/src/styling/BUILD.bazel @@ -8,7 +8,7 @@ ts_library( srcs = ["styling_perf.spec.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/styling/ng2/BUILD.bazel b/modules/benchmarks/src/styling/ng2/BUILD.bazel index 4f077ae02b..eb085d1745 100644 --- a/modules/benchmarks/src/styling/ng2/BUILD.bazel +++ b/modules/benchmarks/src/styling/ng2/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ng_module", "ng_rollup_bundle", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) @@ -26,10 +26,10 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], port = 4200, static_files = ["index.html"], - deps = [":bundle.min_debug.es2015.js"], + deps = [":bundle.min_debug.js"], ) benchmark_test( diff --git a/modules/benchmarks/src/styling/ng2/index_aot.ts b/modules/benchmarks/src/styling/ng2/index_aot.ts index e9064fe144..f920a6bf22 100644 --- a/modules/benchmarks/src/styling/ng2/index_aot.ts +++ b/modules/benchmarks/src/styling/ng2/index_aot.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/styling/ng2/init.ts b/modules/benchmarks/src/styling/ng2/init.ts index b697223019..8107f363bc 100644 --- a/modules/benchmarks/src/styling/ng2/init.ts +++ b/modules/benchmarks/src/styling/ng2/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/styling/ng2/styling.ts b/modules/benchmarks/src/styling/ng2/styling.ts index 87c65829f9..d50d90837f 100644 --- a/modules/benchmarks/src/styling/ng2/styling.ts +++ b/modules/benchmarks/src/styling/ng2/styling.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,7 +12,7 @@ import {BrowserModule} from '@angular/platform-browser'; @Component({ selector: 'styling-bindings', template: ` - + @@ -23,7 +23,7 @@ import {BrowserModule} from '@angular/platform-browser'; - +
    @@ -46,4 +46,4 @@ export class StylingComponent { bootstrap: [StylingComponent], }) export class StylingModule { -} \ No newline at end of file +} diff --git a/modules/benchmarks/src/styling/styling_perf.spec.ts b/modules/benchmarks/src/styling/styling_perf.spec.ts index 779ef33bf8..89a42eb94d 100644 --- a/modules/benchmarks/src/styling/styling_perf.spec.ts +++ b/modules/benchmarks/src/styling/styling_perf.spec.ts @@ -1,14 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {$, by, element} from 'protractor'; -import {openBrowser, verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; -import {runBenchmark} from '../../../e2e_util/perf_util'; +import {openBrowser, runBenchmark, verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; /** List of possible scenarios that should be tested. */ const SCENARIOS = [ diff --git a/modules/benchmarks/src/tree/BUILD.bazel b/modules/benchmarks/src/tree/BUILD.bazel index 2394677a61..7a7b4a59fc 100644 --- a/modules/benchmarks/src/tree/BUILD.bazel +++ b/modules/benchmarks/src/tree/BUILD.bazel @@ -15,7 +15,7 @@ ts_library( srcs = ["test_utils.ts"], tsconfig = "//modules/benchmarks:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "@npm//protractor", ], ) diff --git a/modules/benchmarks/src/tree/baseline/BUILD.bazel b/modules/benchmarks/src/tree/baseline/BUILD.bazel index 7a6b37ef3d..5392ffe227 100644 --- a/modules/benchmarks/src/tree/baseline/BUILD.bazel +++ b/modules/benchmarks/src/tree/baseline/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/tree/baseline/index.ts b/modules/benchmarks/src/tree/baseline/index.ts index 8b081e9772..ff65875ae9 100644 --- a/modules/benchmarks/src/tree/baseline/index.ts +++ b/modules/benchmarks/src/tree/baseline/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/tree/baseline/tree.ts b/modules/benchmarks/src/tree/baseline/tree.ts index c1a97ba99c..a5befcdfc5 100644 --- a/modules/benchmarks/src/tree/baseline/tree.ts +++ b/modules/benchmarks/src/tree/baseline/tree.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/tree/incremental_dom/BUILD.bazel b/modules/benchmarks/src/tree/incremental_dom/BUILD.bazel index b99a6d5839..45ad6220e6 100644 --- a/modules/benchmarks/src/tree/incremental_dom/BUILD.bazel +++ b/modules/benchmarks/src/tree/incremental_dom/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver", "ts_library") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/tree/incremental_dom/index.ts b/modules/benchmarks/src/tree/incremental_dom/index.ts index a14ccc7221..e76b900da0 100644 --- a/modules/benchmarks/src/tree/incremental_dom/index.ts +++ b/modules/benchmarks/src/tree/incremental_dom/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/tree/incremental_dom/tree.ts b/modules/benchmarks/src/tree/incremental_dom/tree.ts index c241f4ab5b..9a42b4b4a5 100644 --- a/modules/benchmarks/src/tree/incremental_dom/tree.ts +++ b/modules/benchmarks/src/tree/incremental_dom/tree.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/benchmarks/src/tree/iv/BUILD.bazel b/modules/benchmarks/src/tree/iv/BUILD.bazel index f7efff307a..fe253e0398 100644 --- a/modules/benchmarks/src/tree/iv/BUILD.bazel +++ b/modules/benchmarks/src/tree/iv/BUILD.bazel @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "ts_devserver") -load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test") +load("//dev-infra/benchmark/component_benchmark:benchmark_test.bzl", "benchmark_test") load("//modules/benchmarks:e2e_test.bzl", "e2e_test") package(default_visibility = ["//modules/benchmarks:__subpackages__"]) diff --git a/modules/benchmarks/src/tree/iv/tree.js b/modules/benchmarks/src/tree/iv/tree.js index 4c13b94cbc..ebd76e1e29 100644 --- a/modules/benchmarks/src/tree/iv/tree.js +++ b/modules/benchmarks/src/tree/iv/tree.js @@ -1,8 +1,11 @@ -/* - Copyright Google Inc. 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 -*/ +/** + * @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 + */ + /* tslint:disable */ // clang-format off function $nextRef(){return++refCount}function $el(e,n,r,t){var o={kind:"E",index:n,name:r,ref:t?++refCount:0,children:[],props:NO_PROPS,domNode:null};return e.children[e.children.length]=o,o}function $cc(e,n,r,t,o,i){var d=!0===t.$isClassCpt,a={kind:"G",index:n,cm:1,cpt:d?new t:null,render:d?null:t,props:r,changes:null,childChanges:null,ref:i?++refCount:0,children:[],domNode:null,sdGroup:null,ltGroup:null,parent:e,$lastChange:refreshCount,$lastRefresh:refreshCount};if(e.children[e.children.length]=a,a.cpt){var l=a.cpt;l.$node=a,l.$renderer=$iv.renderer,l.props=a.props,l.init&&l.init()}return o?a.ltGroup={kind:"G",index:n,cm:1,cpt:a.cpt,render:a.render,props:a.props,changes:null,childChanges:null,ref:0,children:[],domNode:null,sdGroup:a,ltGroup:null,parent:null,$lastChange:refreshCount,$lastRefresh:refreshCount}:(renderCpt(a),a)}function $cg(e,n,r,t){var o=n.children[e];if(o&&o.index===t)return o.childChanges=null,o;var i={kind:"G",index:t,cm:1,props:{},changes:null,childChanges:null,ref:++refCount,children:[],domNode:null,parent:n,$lastChange:refreshCount,$lastRefresh:refreshCount};return r.cm?n.children[n.children.length]=i:(n.children.splice(e,0,i),addChangeInstruction(i,{kind:"CG",node:i,parent:n,position:e,nextSibling:findNextDomSibling(n,e)})),i}function $lg(e,n){addChildChanges(e,n)}function $dg(e,n,r,t){for(var o=n.children[e];o&&o.indexd;d++)retrieveChanges(t[d],n,r);r&&(e.childChanges=null)}if(o&&o.length){for(var i=n.length,d=0;o.length>d;d++,i++)n[i]=o[d];r&&(e.changes=null)}}function addChangeInstruction(e,n){e.changes?e.changes.splice(e.changes.length,0,n):e.changes=[n],e.$lastChange=refreshCount}function addChildChanges(e,n){(e.changes||e.childChanges)&&(n.childChanges?n.childChanges.push(e):n.childChanges=[e],n.$lastChange=refreshCount)}function findNextDomSibling(e,n,r){void 0===r&&(r=!1);var t,o=e.children;if(n+1d;d++)if(i.children[d]===e)return findNextDomSibling(i,d)}return null}function htmlRenderer(e,n,r){return new Renderer(e,n,r)}function processChanges(e,n,r){for(var t=0,o=e;td;d++)createDomNode(o[d],n,r,t)}function createElementDomNode(e,n,r,t){var o,i,d=e.props,a=e.atts;if(a&&a.xmlns&&(t=a.xmlns),i=t?r.createElementNS(t,e.name):r.createElement(e.name),a)for(var l in a)a.hasOwnProperty(l)&&i.setAttribute(l,a[l]);if(d)if(t&&!t.match(RX_HTML))for(var l in d)d.hasOwnProperty(l)&&i.setAttribute(l,d[l]);else for(var l in d)if(d.hasOwnProperty(l)&&void 0!==(o=d[l]))if(o&&o.$isMap)if("classList"===l){var s=[];a&&(a.class?s.push(a.class):a.className&&s.push(a.className));for(var c in o)o.hasOwnProperty(c)&&"$"!==c[0]&&o[c]&&s.push(c);s.length&&(i.className=s.join(" "))}else"style"===l&&setMapProperties(i.style,o);else o.call?"o"===l[0]&&addEvtListener(i,e,l):i[l]=o;e.domNode=i,n.appendChild(i),processChildNodes(e,i,r,t)}function setMapProperties(e,n){for(var r in n)n.hasOwnProperty(r)&&"$"!==r[0]&&(e[r]=n[r])}function addEvtListener(e,n,r){e.addEventListener(r.substring(2),function(e){n.props[r].call(n,e)})}function removeGroupFromDom(e,n,r){var t,o=e.children,i=e.domNode;if(o){var d=o.length;n&&r&&countGroupDomChildren(e)===i.childNodes.length&&(i.textContent="",n=!1);for(var a=0;d>a;a++)"G"===(t=o[a]).kind?removeGroupFromDom(t,n,!1):"T"!==t.kind&&"E"!==t.kind||n&&t.domNode&&t.domNode.parentNode===i&&i.removeChild(t.domNode)}e.domNode=null}function countGroupDomChildren(e){for(var n,r,t=0,o=e.children,i=o.length,d=0;i>d;d++)"G"===(r=(n=o[d]).kind)?t+=countGroupDomChildren(n):"D"!==r&&t++;return t}function replaceDomNode(e,n,r){if(e!==n&&r.domNode===e&&(r.domNode=n,"G"===r.kind))for(var t=r.children,o=0;t.length>o;o++)replaceDomNode(e,n,t[o])}function getIntParameter(e){return parseInt(getStringParameter(e),10)}function getStringParameter(e){for(var n,r,t=document.querySelectorAll('input[name="'+e+'"]'),o=0;o void) { export function profile(create: () => void, destroy: () => void, name: string) { return function() { - window.console.profile(name); + // 'console.profile' is experimental and was removed from DOM lib in TS 3.9 + (window.console as any).profile(name); const noOfRuns = 150; let durations: number[] = []; let count = 0; @@ -52,7 +53,8 @@ export function profile(create: () => void, destroy: () => void, name: string) { durations.push(end); destroy(); } - window.console.profileEnd(); + // 'console.profileEnd' is experimental and was removed from DOM lib in TS 3.9 + (window.console as any).profileEnd(); reportProfileResults(durations, noOfRuns); }; } diff --git a/modules/benchmarks/src/views/BUILD.bazel b/modules/benchmarks/src/views/BUILD.bazel index 05b283a2f1..f8c310c804 100644 --- a/modules/benchmarks/src/views/BUILD.bazel +++ b/modules/benchmarks/src/views/BUILD.bazel @@ -28,9 +28,9 @@ ng_rollup_bundle( ts_devserver( name = "prodserver", static_files = [ - ":bundle.min_debug.es2015.js", - ":bundle.min.es2015.js", - "//packages/zone.js/dist:zone.js", + ":bundle.min_debug.js", + ":bundle.min.js", + "//packages/zone.js/bundles:zone.umd.js", "index.html", ], ) @@ -44,7 +44,7 @@ ts_devserver( ], serving_path = "/index.js", static_files = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "index.html", ], deps = [":application_lib"], diff --git a/modules/benchmarks/src/views/index.html b/modules/benchmarks/src/views/index.html index 41812705a7..e078237408 100644 --- a/modules/benchmarks/src/views/index.html +++ b/modules/benchmarks/src/views/index.html @@ -27,8 +27,8 @@ }); } // zone.js must be loaded and processed before Angular bundle gets executed - loadScript('/npm/node_modules/zone.js/dist/zone.js').then(function () { - loadScript(document.location.search.endsWith('debug') ? 'bundle.min_debug.es2015.js' : 'bundle.min.es2015.js'); + loadScript('/npm/node_modules/zone.js/bundles/zone.umd.js').then(function () { + loadScript(document.location.search.endsWith('debug') ? 'bundle.min_debug.js' : 'bundle.min.js'); }); } }); diff --git a/modules/benchmarks/src/views/index.ts b/modules/benchmarks/src/views/index.ts index a969a01263..40052d76b0 100644 --- a/modules/benchmarks/src/views/index.ts +++ b/modules/benchmarks/src/views/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ import {platformBrowser} from '@angular/platform-browser'; import {ViewsBenchmarkModuleNgFactory} from './views-benchmark.ngfactory'; enableProdMode(); -platformBrowser().bootstrapModuleFactory(ViewsBenchmarkModuleNgFactory); \ No newline at end of file +platformBrowser().bootstrapModuleFactory(ViewsBenchmarkModuleNgFactory); diff --git a/modules/benchmarks/src/views/views-benchmark.ts b/modules/benchmarks/src/views/views-benchmark.ts index d6d807c1a6..9cb35cebc4 100644 --- a/modules/benchmarks/src/views/views-benchmark.ts +++ b/modules/benchmarks/src/views/views-benchmark.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,14 +31,14 @@ export class ViewManipulationDirective {
    - +
    text
    -
    - + + ` }) export class ViewsBenchmark { @@ -70,4 +70,4 @@ export class ViewsBenchmark { bootstrap: [ViewsBenchmark] }) export class ViewsBenchmarkModule { -} \ No newline at end of file +} diff --git a/modules/benchmarks/tsconfig.json b/modules/benchmarks/tsconfig.json index 2a5b97245d..02f26ff6e9 100644 --- a/modules/benchmarks/tsconfig.json +++ b/modules/benchmarks/tsconfig.json @@ -13,8 +13,7 @@ "selenium-webdriver": ["../../node_modules/@types/selenium-webdriver/index.d.ts"], "rxjs/*": ["../../node_modules/rxjs/*"], "@angular/*": ["../../packages/*"], - "zone.js/*": ["../../packages/zone.js/*"], - "e2e_util/*": ["../e2e_util/*"] + "zone.js/*": ["../../packages/zone.js/*"] }, "rootDir": ".", "inlineSourceMap": true, @@ -31,5 +30,6 @@ "no-floating-promises": true, "no-unused-expression": true, "no-unused-variable": true - } + }, + "include": ["../../dev-infra/benchmark/driver-utilities/"] } diff --git a/modules/e2e_util/BUILD.bazel b/modules/e2e_util/BUILD.bazel deleted file mode 100644 index 0fa699b43b..0000000000 --- a/modules/e2e_util/BUILD.bazel +++ /dev/null @@ -1,19 +0,0 @@ -load("//tools:defaults.bzl", "ts_library") - -package(default_visibility = ["//visibility:public"]) - -ts_library( - name = "e2e_util", - testonly = 1, - srcs = glob(["*.ts"]), - deps = [ - "//packages:types", - "//packages/benchpress", - "@npm//@types/fs-extra", - "@npm//@types/selenium-webdriver", - "@npm//fs-extra", - "@npm//node-uuid", - "@npm//protractor", - "@npm//selenium-webdriver", - ], -) diff --git a/modules/empty.ts b/modules/empty.ts index 540a7a0ad7..2ce4265f19 100644 --- a/modules/empty.ts +++ b/modules/empty.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/e2e_test/async/async_spec.ts b/modules/playground/e2e_test/async/async_spec.ts index c67993f581..4c39c0e4a2 100644 --- a/modules/playground/e2e_test/async/async_spec.ts +++ b/modules/playground/e2e_test/async/async_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {$, browser} from 'protractor'; import {promise} from 'selenium-webdriver'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('async', () => { const URL = '/'; diff --git a/modules/playground/e2e_test/example_test.bzl b/modules/playground/e2e_test/example_test.bzl index 45781f923c..41fdc97a35 100644 --- a/modules/playground/e2e_test/example_test.bzl +++ b/modules/playground/e2e_test/example_test.bzl @@ -7,7 +7,7 @@ def example_test(name, srcs, server, data = [], **kwargs): srcs = srcs, tsconfig = "//modules/playground:tsconfig-e2e.json", deps = [ - "//modules/e2e_util", + "//dev-infra/benchmark/driver-utilities", "//packages/private/testing", "@npm//@types/jasminewd2", "@npm//@types/selenium-webdriver", diff --git a/modules/playground/e2e_test/hello_world/hello_world_spec.ts b/modules/playground/e2e_test/hello_world/hello_world_spec.ts index 2d167fec74..a9937cfb9e 100644 --- a/modules/playground/e2e_test/hello_world/hello_world_spec.ts +++ b/modules/playground/e2e_test/hello_world/hello_world_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('hello world', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/e2e_test/http/http_spec.ts b/modules/playground/e2e_test/http/http_spec.ts index f5a5618b3f..d3ab33605e 100644 --- a/modules/playground/e2e_test/http/http_spec.ts +++ b/modules/playground/e2e_test/http/http_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('http', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/e2e_test/jsonp/jsonp_spec.ts b/modules/playground/e2e_test/jsonp/jsonp_spec.ts index 72f1003a5f..94cf177619 100644 --- a/modules/playground/e2e_test/jsonp/jsonp_spec.ts +++ b/modules/playground/e2e_test/jsonp/jsonp_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('jsonp', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/e2e_test/key_events/key_events_spec.ts b/modules/playground/e2e_test/key_events/key_events_spec.ts index 898950d8c5..ef6d08e80c 100644 --- a/modules/playground/e2e_test/key_events/key_events_spec.ts +++ b/modules/playground/e2e_test/key_events/key_events_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; const Key = protractor.Key; diff --git a/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts index 25c96ee92c..74fd2d80eb 100644 --- a/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts +++ b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('Model-Driven Forms', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/e2e_test/order_management/order_management_spec.ts b/modules/playground/e2e_test/order_management/order_management_spec.ts index 970f71ae9f..77bfa8ecbb 100644 --- a/modules/playground/e2e_test/order_management/order_management_spec.ts +++ b/modules/playground/e2e_test/order_management/order_management_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('Order Management CRUD', function() { const URL = '/'; diff --git a/modules/playground/e2e_test/person_management/person_management_spec.ts b/modules/playground/e2e_test/person_management/person_management_spec.ts index 3fddf0638e..ee46b4f465 100644 --- a/modules/playground/e2e_test/person_management/person_management_spec.ts +++ b/modules/playground/e2e_test/person_management/person_management_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('Person Management CRUD', function() { const URL = '/'; diff --git a/modules/playground/e2e_test/relative_assets/assets_spec.ts b/modules/playground/e2e_test/relative_assets/assets_spec.ts index eb57cfe5c3..ec102dd207 100644 --- a/modules/playground/e2e_test/relative_assets/assets_spec.ts +++ b/modules/playground/e2e_test/relative_assets/assets_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {$, browser, by, element, ExpectedConditions} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; function waitForElement(selector: string) { // Waits for the element with id 'abc' to be present on the dom. diff --git a/modules/playground/e2e_test/routing/routing_spec.ts b/modules/playground/e2e_test/routing/routing_spec.ts index f71e7eed8c..61911f2162 100644 --- a/modules/playground/e2e_test/routing/routing_spec.ts +++ b/modules/playground/e2e_test/routing/routing_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {$, browser, by, element, ExpectedConditions} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; function waitForElement(selector: string) { // Waits for the element with id 'abc' to be present on the dom. diff --git a/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts index 2110fd372b..2e51457d55 100644 --- a/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts +++ b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/e2e_test/start-server.js b/modules/playground/e2e_test/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/modules/playground/e2e_test/start-server.js +++ b/modules/playground/e2e_test/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/e2e_test/svg/svg_spec.ts b/modules/playground/e2e_test/svg/svg_spec.ts index 7cbeb29b98..93c306ed6a 100644 --- a/modules/playground/e2e_test/svg/svg_spec.ts +++ b/modules/playground/e2e_test/svg/svg_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('SVG', function() { const URL = '/'; diff --git a/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts index 96f0efc869..5b984a526d 100644 --- a/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts +++ b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('Template-Driven Forms', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/e2e_test/upgrade/upgrade_spec.ts b/modules/playground/e2e_test/upgrade/upgrade_spec.ts index 0a568a1a30..427ddc684c 100644 --- a/modules/playground/e2e_test/upgrade/upgrade_spec.ts +++ b/modules/playground/e2e_test/upgrade/upgrade_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('ngUpgrade', function() { const URL = '/'; diff --git a/modules/playground/e2e_test/web_workers/animations/animations_spec.ts b/modules/playground/e2e_test/web_workers/animations/animations_spec.ts index 9e148d5d63..e000861711 100644 --- a/modules/playground/e2e_test/web_workers/animations/animations_spec.ts +++ b/modules/playground/e2e_test/web_workers/animations/animations_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; // Disabled because with ViewEngine animations within webworkers is not supported. diff --git a/modules/playground/e2e_test/web_workers/input/input_spec.ts b/modules/playground/e2e_test/web_workers/input/input_spec.ts index bd73b09ccf..541baf99ad 100644 --- a/modules/playground/e2e_test/web_workers/input/input_spec.ts +++ b/modules/playground/e2e_test/web_workers/input/input_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, ExpectedConditions, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; describe('WebWorkers Input', function() { afterEach(() => { diff --git a/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts index ecb474a84f..cb019f6697 100644 --- a/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts +++ b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, ExpectedConditions, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; describe('WebWorkers Kitchen Sink', function() { afterEach(() => { diff --git a/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts index 23d59484ad..9ab6572208 100644 --- a/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts +++ b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, ExpectedConditions, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; const URL = '/'; diff --git a/modules/playground/e2e_test/web_workers/router/router_spec.ts b/modules/playground/e2e_test/web_workers/router/router_spec.ts index 752687c20c..01773e947f 100644 --- a/modules/playground/e2e_test/web_workers/router/router_spec.ts +++ b/modules/playground/e2e_test/web_workers/router/router_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; describe('WebWorker Router', () => { beforeEach(() => { diff --git a/modules/playground/e2e_test/web_workers/todo/todo_spec.ts b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts index 2af60cf400..d8caffdd36 100644 --- a/modules/playground/e2e_test/web_workers/todo/todo_spec.ts +++ b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element, protractor} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../../dev-infra/benchmark/driver-utilities'; describe('WebWorkers Todo', function() { afterEach(() => { diff --git a/modules/playground/e2e_test/zippy_component/zippy_spec.ts b/modules/playground/e2e_test/zippy_component/zippy_spec.ts index 6e66e4049b..3fa2eed5cc 100644 --- a/modules/playground/e2e_test/zippy_component/zippy_spec.ts +++ b/modules/playground/e2e_test/zippy_component/zippy_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {browser, by, element} from 'protractor'; -import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util'; +import {verifyNoBrowserErrors} from '../../../../dev-infra/benchmark/driver-utilities'; describe('Zippy Component', function() { afterEach(verifyNoBrowserErrors); diff --git a/modules/playground/src/animate/BUILD.bazel b/modules/playground/src/animate/BUILD.bazel index a304367895..dfb23dcf51 100644 --- a/modules/playground/src/animate/BUILD.bazel +++ b/modules/playground/src/animate/BUILD.bazel @@ -22,7 +22,7 @@ ts_devserver( scripts = ["@npm//:node_modules/tslib/tslib.js"], static_files = [ "index.html", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], deps = [":animate"], diff --git a/modules/playground/src/animate/app/animate-app.ts b/modules/playground/src/animate/app/animate-app.ts index 14f55429b4..5249d1b9d2 100644 --- a/modules/playground/src/animate/app/animate-app.ts +++ b/modules/playground/src/animate/app/animate-app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/animate/index.ts b/modules/playground/src/animate/index.ts index 8d9e09bd2c..87a7d6e495 100644 --- a/modules/playground/src/animate/index.ts +++ b/modules/playground/src/animate/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/async/BUILD.bazel b/modules/playground/src/async/BUILD.bazel index c5479214cf..321282e920 100644 --- a/modules/playground/src/async/BUILD.bazel +++ b/modules/playground/src/async/BUILD.bazel @@ -16,7 +16,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/async/index", diff --git a/modules/playground/src/async/index.ts b/modules/playground/src/async/index.ts index 5036c61f5e..8b5b1f0e3f 100644 --- a/modules/playground/src/async/index.ts +++ b/modules/playground/src/async/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/gestures/BUILD.bazel b/modules/playground/src/gestures/BUILD.bazel index d50dc9e077..34308bc287 100644 --- a/modules/playground/src/gestures/BUILD.bazel +++ b/modules/playground/src/gestures/BUILD.bazel @@ -19,7 +19,7 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/hammerjs/hammer.js", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/gestures/index", diff --git a/modules/playground/src/gestures/index.ts b/modules/playground/src/gestures/index.ts index 56f3c1c21b..a286347c89 100644 --- a/modules/playground/src/gestures/index.ts +++ b/modules/playground/src/gestures/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/hello_world/BUILD.bazel b/modules/playground/src/hello_world/BUILD.bazel index 52150bcbbd..65cbd259d6 100644 --- a/modules/playground/src/hello_world/BUILD.bazel +++ b/modules/playground/src/hello_world/BUILD.bazel @@ -16,7 +16,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/hello_world/index", diff --git a/modules/playground/src/hello_world/index.ts b/modules/playground/src/hello_world/index.ts index c0a37bded6..fe1a029bf6 100644 --- a/modules/playground/src/hello_world/index.ts +++ b/modules/playground/src/hello_world/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/http/BUILD.bazel b/modules/playground/src/http/BUILD.bazel index a4e36e30b7..5d5996a965 100644 --- a/modules/playground/src/http/BUILD.bazel +++ b/modules/playground/src/http/BUILD.bazel @@ -18,7 +18,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/http/index", diff --git a/modules/playground/src/http/app/http_comp.ts b/modules/playground/src/http/app/http_comp.ts index 719e52b433..e0195dc376 100644 --- a/modules/playground/src/http/app/http_comp.ts +++ b/modules/playground/src/http/app/http_comp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/http/index.ts b/modules/playground/src/http/index.ts index 4ddec0a89b..3835df908d 100644 --- a/modules/playground/src/http/index.ts +++ b/modules/playground/src/http/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/jsonp/BUILD.bazel b/modules/playground/src/jsonp/BUILD.bazel index f9807ef4de..2c8a356a42 100644 --- a/modules/playground/src/jsonp/BUILD.bazel +++ b/modules/playground/src/jsonp/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/jsonp/index", diff --git a/modules/playground/src/jsonp/app/jsonp_comp.ts b/modules/playground/src/jsonp/app/jsonp_comp.ts index 564e1c83b9..3d87bb15bc 100644 --- a/modules/playground/src/jsonp/app/jsonp_comp.ts +++ b/modules/playground/src/jsonp/app/jsonp_comp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/jsonp/index.ts b/modules/playground/src/jsonp/index.ts index 0a4fc469b9..620e59f85f 100644 --- a/modules/playground/src/jsonp/index.ts +++ b/modules/playground/src/jsonp/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/key_events/BUILD.bazel b/modules/playground/src/key_events/BUILD.bazel index 2aa2d84b77..24d2e0aeed 100644 --- a/modules/playground/src/key_events/BUILD.bazel +++ b/modules/playground/src/key_events/BUILD.bazel @@ -16,7 +16,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/key_events/index", diff --git a/modules/playground/src/key_events/index.ts b/modules/playground/src/key_events/index.ts index ed4c34bf67..1a1c6c7b27 100644 --- a/modules/playground/src/key_events/index.ts +++ b/modules/playground/src/key_events/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/model_driven_forms/BUILD.bazel b/modules/playground/src/model_driven_forms/BUILD.bazel index 84b2ee4824..2e32824371 100644 --- a/modules/playground/src/model_driven_forms/BUILD.bazel +++ b/modules/playground/src/model_driven_forms/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/model_driven_forms/index", diff --git a/modules/playground/src/model_driven_forms/index.ts b/modules/playground/src/model_driven_forms/index.ts index 94138296a5..bc980729a5 100644 --- a/modules/playground/src/model_driven_forms/index.ts +++ b/modules/playground/src/model_driven_forms/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/order_management/BUILD.bazel b/modules/playground/src/order_management/BUILD.bazel index 9b6eacf765..0e254fdb3e 100644 --- a/modules/playground/src/order_management/BUILD.bazel +++ b/modules/playground/src/order_management/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/order_management/index", diff --git a/modules/playground/src/order_management/index.ts b/modules/playground/src/order_management/index.ts index 10d933702f..494f73980f 100644 --- a/modules/playground/src/order_management/index.ts +++ b/modules/playground/src/order_management/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/person_management/BUILD.bazel b/modules/playground/src/person_management/BUILD.bazel index 883d5d7648..7755a3411c 100644 --- a/modules/playground/src/person_management/BUILD.bazel +++ b/modules/playground/src/person_management/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/person_management/index", diff --git a/modules/playground/src/person_management/index.ts b/modules/playground/src/person_management/index.ts index e660952e1b..1e61df4855 100644 --- a/modules/playground/src/person_management/index.ts +++ b/modules/playground/src/person_management/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/relative_assets/BUILD.bazel b/modules/playground/src/relative_assets/BUILD.bazel index 4606d92abe..7cb086fcd2 100644 --- a/modules/playground/src/relative_assets/BUILD.bazel +++ b/modules/playground/src/relative_assets/BUILD.bazel @@ -25,7 +25,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/relative_assets/index", diff --git a/modules/playground/src/relative_assets/app/my_cmp.ts b/modules/playground/src/relative_assets/app/my_cmp.ts index e7d1b4c8ad..9c8b239d7e 100644 --- a/modules/playground/src/relative_assets/app/my_cmp.ts +++ b/modules/playground/src/relative_assets/app/my_cmp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/relative_assets/index.ts b/modules/playground/src/relative_assets/index.ts index 91aa4e1c78..ef5a5137c6 100644 --- a/modules/playground/src/relative_assets/index.ts +++ b/modules/playground/src/relative_assets/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/routing/BUILD.bazel b/modules/playground/src/routing/BUILD.bazel index d343253915..cc3f595014 100644 --- a/modules/playground/src/routing/BUILD.bazel +++ b/modules/playground/src/routing/BUILD.bazel @@ -26,7 +26,7 @@ ts_devserver( "//third_party/fonts.google.com/open-sans", "@npm//:node_modules/rxjs/bundles/rxjs.umd.js", "@npm//:node_modules/tslib/tslib.js", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "index.html", "@npm//:node_modules/reflect-metadata/Reflect.js", "@npm//:node_modules/systemjs/dist/system.js", diff --git a/modules/playground/src/routing/app/data.ts b/modules/playground/src/routing/app/data.ts index a63d46cdba..6ae16357d4 100644 --- a/modules/playground/src/routing/app/data.ts +++ b/modules/playground/src/routing/app/data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/routing/app/inbox-app.ts b/modules/playground/src/routing/app/inbox-app.ts index 4e06ab8601..5af29aae1d 100644 --- a/modules/playground/src/routing/app/inbox-app.ts +++ b/modules/playground/src/routing/app/inbox-app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/routing/app/inbox-detail.ts b/modules/playground/src/routing/app/inbox-detail.ts index 9b95cadcf0..1df73939b6 100644 --- a/modules/playground/src/routing/app/inbox-detail.ts +++ b/modules/playground/src/routing/app/inbox-detail.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/routing/index.html b/modules/playground/src/routing/index.html index 99632b8b74..822c51d861 100644 --- a/modules/playground/src/routing/index.html +++ b/modules/playground/src/routing/index.html @@ -15,7 +15,7 @@ This is because we want to use SystemJS instead of RequireJS and want to support lazy loading of routes. Read more in the "load-app.js" file. --> - + diff --git a/modules/playground/src/routing/load-app.js b/modules/playground/src/routing/load-app.js index 2be58f2f55..fc159061e2 100644 --- a/modules/playground/src/routing/load-app.js +++ b/modules/playground/src/routing/load-app.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/routing/main.ts b/modules/playground/src/routing/main.ts index 17620bf5cf..6aa15fa9b3 100644 --- a/modules/playground/src/routing/main.ts +++ b/modules/playground/src/routing/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/sourcemap/BUILD.bazel b/modules/playground/src/sourcemap/BUILD.bazel index 65290945e4..6e7503ba28 100644 --- a/modules/playground/src/sourcemap/BUILD.bazel +++ b/modules/playground/src/sourcemap/BUILD.bazel @@ -20,7 +20,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/sourcemap/index", diff --git a/modules/playground/src/sourcemap/index.ts b/modules/playground/src/sourcemap/index.ts index 80e3b84458..2cdfb39dde 100644 --- a/modules/playground/src/sourcemap/index.ts +++ b/modules/playground/src/sourcemap/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/svg/BUILD.bazel b/modules/playground/src/svg/BUILD.bazel index a3d3cb15d8..e5e8bab7fe 100644 --- a/modules/playground/src/svg/BUILD.bazel +++ b/modules/playground/src/svg/BUILD.bazel @@ -16,7 +16,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/svg/index", diff --git a/modules/playground/src/svg/index.ts b/modules/playground/src/svg/index.ts index a914351711..ce28b26873 100644 --- a/modules/playground/src/svg/index.ts +++ b/modules/playground/src/svg/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/template_driven_forms/BUILD.bazel b/modules/playground/src/template_driven_forms/BUILD.bazel index 4ac363e7ff..853c139116 100644 --- a/modules/playground/src/template_driven_forms/BUILD.bazel +++ b/modules/playground/src/template_driven_forms/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/template_driven_forms/index", diff --git a/modules/playground/src/template_driven_forms/index.ts b/modules/playground/src/template_driven_forms/index.ts index 59f3f25080..b1e3ffb18d 100644 --- a/modules/playground/src/template_driven_forms/index.ts +++ b/modules/playground/src/template_driven_forms/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/todo/BUILD.bazel b/modules/playground/src/todo/BUILD.bazel index ff03f33bdf..fba349fd73 100644 --- a/modules/playground/src/todo/BUILD.bazel +++ b/modules/playground/src/todo/BUILD.bazel @@ -20,7 +20,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/todo/index", diff --git a/modules/playground/src/todo/app/TodoStore.ts b/modules/playground/src/todo/app/TodoStore.ts index 5938b9674c..51adb29631 100644 --- a/modules/playground/src/todo/app/TodoStore.ts +++ b/modules/playground/src/todo/app/TodoStore.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/todo/index.ts b/modules/playground/src/todo/index.ts index 04a1d55fab..34f0eabdae 100644 --- a/modules/playground/src/todo/index.ts +++ b/modules/playground/src/todo/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/upgrade/BUILD.bazel b/modules/playground/src/upgrade/BUILD.bazel index b557b2220e..93ae3cf13e 100644 --- a/modules/playground/src/upgrade/BUILD.bazel +++ b/modules/playground/src/upgrade/BUILD.bazel @@ -18,7 +18,7 @@ ts_library( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", "@npm//:node_modules/angular/angular.js", ], diff --git a/modules/playground/src/upgrade/index.ts b/modules/playground/src/upgrade/index.ts index 6a336abc9c..31b74e40f8 100644 --- a/modules/playground/src/upgrade/index.ts +++ b/modules/playground/src/upgrade/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/BUILD.bazel b/modules/playground/src/web_workers/BUILD.bazel index 68f08a1840..101d5649d7 100644 --- a/modules/playground/src/web_workers/BUILD.bazel +++ b/modules/playground/src/web_workers/BUILD.bazel @@ -6,7 +6,7 @@ filegroup( data = [ "//modules/playground:systemjs-config.js", "//modules/playground:systemjs-rxjs-operators.js", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//reflect-metadata", "@npm//systemjs", ], diff --git a/modules/playground/src/web_workers/animations/BUILD.bazel b/modules/playground/src/web_workers/animations/BUILD.bazel index a2c0883afa..9b6cf7012e 100644 --- a/modules/playground/src/web_workers/animations/BUILD.bazel +++ b/modules/playground/src/web_workers/animations/BUILD.bazel @@ -25,7 +25,7 @@ ts_devserver( "@npm//:node_modules/rxjs/bundles/rxjs.umd.js", "@npm//:node_modules/tslib/tslib.js", "index.html", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", ], deps = [":animations"], ) diff --git a/modules/playground/src/web_workers/animations/background_index.ts b/modules/playground/src/web_workers/animations/background_index.ts index d6beeee175..b73cc3ac27 100644 --- a/modules/playground/src/web_workers/animations/background_index.ts +++ b/modules/playground/src/web_workers/animations/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/animations/index.ts b/modules/playground/src/web_workers/animations/index.ts index c43aa4aaff..f3791aca91 100644 --- a/modules/playground/src/web_workers/animations/index.ts +++ b/modules/playground/src/web_workers/animations/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/animations/index_common.ts b/modules/playground/src/web_workers/animations/index_common.ts index bd15fc482a..d38fd32498 100644 --- a/modules/playground/src/web_workers/animations/index_common.ts +++ b/modules/playground/src/web_workers/animations/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,11 +30,11 @@ import {Component} from '@angular/core'; ])], template: ` - +
    - ... + ...
    ` }) diff --git a/modules/playground/src/web_workers/animations/loader.js b/modules/playground/src/web_workers/animations/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/animations/loader.js +++ b/modules/playground/src/web_workers/animations/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/BUILD.bazel b/modules/playground/src/web_workers/images/BUILD.bazel index 965b9ffff9..e55c51a651 100644 --- a/modules/playground/src/web_workers/images/BUILD.bazel +++ b/modules/playground/src/web_workers/images/BUILD.bazel @@ -20,7 +20,7 @@ ts_devserver( # Workaround for: https://github.com/bazelbuild/rules_typescript/issues/409 additional_root_paths = ["angular"], bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/jquery/dist/jquery.min.js", "@npm//:node_modules/materialize-css/dist/js/materialize.min.js", ], diff --git a/modules/playground/src/web_workers/images/background_index.ts b/modules/playground/src/web_workers/images/background_index.ts index 564d9bad8e..5dc345cfb4 100644 --- a/modules/playground/src/web_workers/images/background_index.ts +++ b/modules/playground/src/web_workers/images/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/index.ts b/modules/playground/src/web_workers/images/index.ts index c43aa4aaff..f3791aca91 100644 --- a/modules/playground/src/web_workers/images/index.ts +++ b/modules/playground/src/web_workers/images/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/index_common.ts b/modules/playground/src/web_workers/images/index_common.ts index 5d949e1f66..b17efba38b 100644 --- a/modules/playground/src/web_workers/images/index_common.ts +++ b/modules/playground/src/web_workers/images/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/loader.js b/modules/playground/src/web_workers/images/loader.js index c6ea58279a..dc68d1ea03 100644 --- a/modules/playground/src/web_workers/images/loader.js +++ b/modules/playground/src/web_workers/images/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/services/bitmap.ts b/modules/playground/src/web_workers/images/services/bitmap.ts index 6c03ab8b41..31c0897393 100644 --- a/modules/playground/src/web_workers/images/services/bitmap.ts +++ b/modules/playground/src/web_workers/images/services/bitmap.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/images/single_thread.ts b/modules/playground/src/web_workers/images/single_thread.ts index 3a751fdece..6891b04c1d 100644 --- a/modules/playground/src/web_workers/images/single_thread.ts +++ b/modules/playground/src/web_workers/images/single_thread.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,4 +18,4 @@ class ExampleModule { export function main() { platformBrowserDynamic().bootstrapModule(ExampleModule); -} \ No newline at end of file +} diff --git a/modules/playground/src/web_workers/input/BUILD.bazel b/modules/playground/src/web_workers/input/BUILD.bazel index 5e690c2a91..ab49918324 100644 --- a/modules/playground/src/web_workers/input/BUILD.bazel +++ b/modules/playground/src/web_workers/input/BUILD.bazel @@ -17,8 +17,8 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/systemjs/dist/system.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:long-stack-trace-zone.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:long-stack-trace-zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/web_workers/input/index", diff --git a/modules/playground/src/web_workers/input/background_index.ts b/modules/playground/src/web_workers/input/background_index.ts index b820bbd85f..3e889dbd95 100644 --- a/modules/playground/src/web_workers/input/background_index.ts +++ b/modules/playground/src/web_workers/input/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/input/index.ts b/modules/playground/src/web_workers/input/index.ts index c43aa4aaff..f3791aca91 100644 --- a/modules/playground/src/web_workers/input/index.ts +++ b/modules/playground/src/web_workers/input/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/input/index_common.ts b/modules/playground/src/web_workers/input/index_common.ts index f820e28e52..8be97e9c18 100644 --- a/modules/playground/src/web_workers/input/index_common.ts +++ b/modules/playground/src/web_workers/input/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/input/loader.js b/modules/playground/src/web_workers/input/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/input/loader.js +++ b/modules/playground/src/web_workers/input/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/kitchen_sink/BUILD.bazel b/modules/playground/src/web_workers/kitchen_sink/BUILD.bazel index 19953e699d..686ef0468b 100644 --- a/modules/playground/src/web_workers/kitchen_sink/BUILD.bazel +++ b/modules/playground/src/web_workers/kitchen_sink/BUILD.bazel @@ -17,8 +17,8 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/systemjs/dist/system.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:long-stack-trace-zone.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:long-stack-trace-zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/web_workers/kitchen_sink/index", diff --git a/modules/playground/src/web_workers/kitchen_sink/background_index.ts b/modules/playground/src/web_workers/kitchen_sink/background_index.ts index e23048eeb1..dfea405834 100644 --- a/modules/playground/src/web_workers/kitchen_sink/background_index.ts +++ b/modules/playground/src/web_workers/kitchen_sink/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/kitchen_sink/index.ts b/modules/playground/src/web_workers/kitchen_sink/index.ts index c43aa4aaff..f3791aca91 100644 --- a/modules/playground/src/web_workers/kitchen_sink/index.ts +++ b/modules/playground/src/web_workers/kitchen_sink/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/kitchen_sink/index_common.ts b/modules/playground/src/web_workers/kitchen_sink/index_common.ts index 53d3d5a508..90939de9ba 100644 --- a/modules/playground/src/web_workers/kitchen_sink/index_common.ts +++ b/modules/playground/src/web_workers/kitchen_sink/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/kitchen_sink/loader.js b/modules/playground/src/web_workers/kitchen_sink/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/kitchen_sink/loader.js +++ b/modules/playground/src/web_workers/kitchen_sink/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/message_broker/BUILD.bazel b/modules/playground/src/web_workers/message_broker/BUILD.bazel index 7f81951530..9dd6417a30 100644 --- a/modules/playground/src/web_workers/message_broker/BUILD.bazel +++ b/modules/playground/src/web_workers/message_broker/BUILD.bazel @@ -17,8 +17,8 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/systemjs/dist/system.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:long-stack-trace-zone.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:long-stack-trace-zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/web_workers/message_broker/index", diff --git a/modules/playground/src/web_workers/message_broker/background_index.ts b/modules/playground/src/web_workers/message_broker/background_index.ts index 8ca4ba8578..f9f8e033c7 100644 --- a/modules/playground/src/web_workers/message_broker/background_index.ts +++ b/modules/playground/src/web_workers/message_broker/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/message_broker/index.ts b/modules/playground/src/web_workers/message_broker/index.ts index c00828e9e7..592ff5bd77 100644 --- a/modules/playground/src/web_workers/message_broker/index.ts +++ b/modules/playground/src/web_workers/message_broker/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/message_broker/index_common.ts b/modules/playground/src/web_workers/message_broker/index_common.ts index b451fcc8df..193964bdba 100644 --- a/modules/playground/src/web_workers/message_broker/index_common.ts +++ b/modules/playground/src/web_workers/message_broker/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/message_broker/loader.js b/modules/playground/src/web_workers/message_broker/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/message_broker/loader.js +++ b/modules/playground/src/web_workers/message_broker/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/BUILD.bazel b/modules/playground/src/web_workers/router/BUILD.bazel index 624d46cc8b..e771007426 100644 --- a/modules/playground/src/web_workers/router/BUILD.bazel +++ b/modules/playground/src/web_workers/router/BUILD.bazel @@ -20,8 +20,8 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/systemjs/dist/system.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:long-stack-trace-zone.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:long-stack-trace-zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/web_workers/router/index", diff --git a/modules/playground/src/web_workers/router/background_index.ts b/modules/playground/src/web_workers/router/background_index.ts index 60bf59440c..d8240a05a1 100644 --- a/modules/playground/src/web_workers/router/background_index.ts +++ b/modules/playground/src/web_workers/router/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/components/about.ts b/modules/playground/src/web_workers/router/components/about.ts index 6a8d75f289..272a2404b2 100644 --- a/modules/playground/src/web_workers/router/components/about.ts +++ b/modules/playground/src/web_workers/router/components/about.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/components/contact.ts b/modules/playground/src/web_workers/router/components/contact.ts index cf133b1588..46ba8e7cdc 100644 --- a/modules/playground/src/web_workers/router/components/contact.ts +++ b/modules/playground/src/web_workers/router/components/contact.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/components/start.ts b/modules/playground/src/web_workers/router/components/start.ts index 923a738fb0..d80dab1618 100644 --- a/modules/playground/src/web_workers/router/components/start.ts +++ b/modules/playground/src/web_workers/router/components/start.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/index.ts b/modules/playground/src/web_workers/router/index.ts index 50e4244c3f..72034f8c65 100644 --- a/modules/playground/src/web_workers/router/index.ts +++ b/modules/playground/src/web_workers/router/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/index_common.ts b/modules/playground/src/web_workers/router/index_common.ts index 7c927c1d20..9aa0ce01c0 100644 --- a/modules/playground/src/web_workers/router/index_common.ts +++ b/modules/playground/src/web_workers/router/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/router/loader.js b/modules/playground/src/web_workers/router/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/router/loader.js +++ b/modules/playground/src/web_workers/router/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/todo/BUILD.bazel b/modules/playground/src/web_workers/todo/BUILD.bazel index d45dcd05f8..ab7d016886 100644 --- a/modules/playground/src/web_workers/todo/BUILD.bazel +++ b/modules/playground/src/web_workers/todo/BUILD.bazel @@ -19,8 +19,8 @@ ts_devserver( name = "devserver", bootstrap = [ "@npm//:node_modules/systemjs/dist/system.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:long-stack-trace-zone.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:long-stack-trace-zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/web_workers/todo/index", diff --git a/modules/playground/src/web_workers/todo/background_index.ts b/modules/playground/src/web_workers/todo/background_index.ts index 77d1882b3a..f54e747f42 100644 --- a/modules/playground/src/web_workers/todo/background_index.ts +++ b/modules/playground/src/web_workers/todo/background_index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/todo/index.ts b/modules/playground/src/web_workers/todo/index.ts index c43aa4aaff..f3791aca91 100644 --- a/modules/playground/src/web_workers/todo/index.ts +++ b/modules/playground/src/web_workers/todo/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/todo/index_common.ts b/modules/playground/src/web_workers/todo/index_common.ts index 443557f9b8..9630d45927 100644 --- a/modules/playground/src/web_workers/todo/index_common.ts +++ b/modules/playground/src/web_workers/todo/index_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/todo/loader.js b/modules/playground/src/web_workers/todo/loader.js index b400e24f64..9dd1900c0b 100644 --- a/modules/playground/src/web_workers/todo/loader.js +++ b/modules/playground/src/web_workers/todo/loader.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/todo/services/TodoStore.ts b/modules/playground/src/web_workers/todo/services/TodoStore.ts index 3486fe7fc1..34896ca7c8 100644 --- a/modules/playground/src/web_workers/todo/services/TodoStore.ts +++ b/modules/playground/src/web_workers/todo/services/TodoStore.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/web_workers/worker-configure.js b/modules/playground/src/web_workers/worker-configure.js index 27bc3bd1ec..8aba8ffcfa 100644 --- a/modules/playground/src/web_workers/worker-configure.js +++ b/modules/playground/src/web_workers/worker-configure.js @@ -1,14 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ importScripts('npm/node_modules/reflect-metadata/Reflect.js'); -importScripts('angular/packages/zone.js/dist/zone.js'); -importScripts('angular/packages/zone.js/dist/long-stack-trace-zone.js'); +importScripts('angular/packages/zone.js/bundles/zone.umd.js'); +importScripts('angular/packages/zone.js/bundles/long-stack-trace-zone.umd.js'); importScripts('npm/node_modules/systemjs/dist/system.js'); importScripts('angular/modules/playground/systemjs-config.js'); diff --git a/modules/playground/src/zippy_component/BUILD.bazel b/modules/playground/src/zippy_component/BUILD.bazel index dd1fbe8d4e..2ccdb7785e 100644 --- a/modules/playground/src/zippy_component/BUILD.bazel +++ b/modules/playground/src/zippy_component/BUILD.bazel @@ -17,7 +17,7 @@ ng_module( ts_devserver( name = "devserver", bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], entry_module = "angular/modules/playground/src/zippy_component/index", diff --git a/modules/playground/src/zippy_component/app/zippy.ts b/modules/playground/src/zippy_component/app/zippy.ts index e005090fa8..232fe3e5ce 100644 --- a/modules/playground/src/zippy_component/app/zippy.ts +++ b/modules/playground/src/zippy_component/app/zippy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/src/zippy_component/index.ts b/modules/playground/src/zippy_component/index.ts index 9d1b5706db..0ad51c78c2 100644 --- a/modules/playground/src/zippy_component/index.ts +++ b/modules/playground/src/zippy_component/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/systemjs-config.js b/modules/playground/systemjs-config.js index 8e3fbe8f2a..e30ed5878b 100644 --- a/modules/playground/systemjs-config.js +++ b/modules/playground/systemjs-config.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/playground/systemjs-rxjs-operators.js b/modules/playground/systemjs-rxjs-operators.js index eddff38471..36a23cd5f6 100644 --- a/modules/playground/systemjs-rxjs-operators.js +++ b/modules/playground/systemjs-rxjs-operators.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/system.d.ts b/modules/system.d.ts index 4cedada6f9..1dca7870a9 100644 --- a/modules/system.d.ts +++ b/modules/system.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/modules/tsconfig.json b/modules/tsconfig.json index 03c7961d56..d7a5fd5ad6 100644 --- a/modules/tsconfig.json +++ b/modules/tsconfig.json @@ -23,7 +23,6 @@ "types": ["angular"] }, "exclude": [ - "benchmarks_external", "payload_tests", "playground/", "benchmarks/" diff --git a/modules/types.d.ts b/modules/types.d.ts index 1084916097..c3432240b4 100644 --- a/modules/types.d.ts +++ b/modules/types.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/package.json b/package.json index 47298941a3..808bcc995d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-srcs", - "version": "10.0.0-next.6", + "version": "10.0.0-rc.0", "private": true, "description": "Angular - a web framework for modern web apps", "homepage": "https://github.com/angular/angular", @@ -16,9 +16,11 @@ "url": "https://github.com/angular/angular.git" }, "scripts": { - "bazel:format": "yarn -s ng-dev format deprecation-warning bazel:format", - "bazel:lint": "yarn -s ng-dev format deprecation-warning bazel:lint", - "bazel:lint-fix": "yarn -s ng-dev format deprecation-warning bazel:lint-fix", + "/": "", + "// 1": "Many developer of our checks/scripts/tools have moved to our ng-dev tool", + "// 2": "Find the usage you are looking for with:", + "// 3": "yarn ng-dev --help", + "/ ": "", "preinstall": "node tools/yarn/check-yarn.js", "postinstall": "node scripts/webdriver-manager-update.js && node --preserve-symlinks --preserve-symlinks-main ./tools/postinstall-patches.js", "check-env": "gulp check-env", @@ -30,7 +32,7 @@ "circleci-win-ve": "bazelisk test --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only,-browser:chromium-local //packages/compiler-cli/... //tools/ts-api-guardian/...", "circleci-win-ivy": "bazelisk test --config=ivy --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot,-browser:chromium-local //packages/compiler-cli/... //tools/ts-api-guardian/...", "lint": "yarn -s tslint && yarn -s ng-dev format changed --check", - "tslint": "tsc -p tools/tsconfig.json && tslint -c tslint.json \"+(packages|modules|scripts|tools)/**/*.+(js|ts)\"", + "tslint": "tsc -p tools/tsconfig.json && tslint -c tslint.json \"+(dev-infra|packages|modules|scripts|tools)/**/*.+(js|ts)\"", "public-api:check": "node goldens/public-api/manage.js test", "public-api:update": "node goldens/public-api/manage.js accept", "ts-circular-deps": "ts-node --transpile-only -- dev-infra/ts-circular-dependencies/index.ts --config ./packages/circular-deps-test.conf.js", @@ -40,25 +42,28 @@ }, "// 1": "dependencies are used locally and by bazel", "dependencies": { - "@angular-devkit/architect": "0.901.0", - "@angular-devkit/build-angular": "0.901.0", - "@angular-devkit/build-optimizer": "0.901.0", - "@angular-devkit/core": "9.1.0", - "@angular-devkit/schematics": "9.1.0", + "@angular-devkit/architect": "0.1000.0-rc.2", + "@angular-devkit/build-angular": "0.1000.0-rc.2", + "@angular-devkit/build-optimizer": "0.1000.0-rc.2", + "@angular-devkit/core": "10.0.0-rc.2", + "@angular-devkit/schematics": "10.0.0-rc.2", "@babel/cli": "^7.8.4", "@babel/core": "^7.8.6", "@babel/generator": "^7.8.6", + "@babel/preset-env": "^7.10.2", "@babel/template": "^7.8.6", "@babel/traverse": "^7.8.6", "@babel/types": "^7.8.6", - "@bazel/jasmine": "1.6.0", - "@bazel/karma": "1.6.0", - "@bazel/protractor": "1.6.0", - "@bazel/rollup": "1.6.0", - "@bazel/terser": "1.6.0", - "@bazel/typescript": "1.6.0", - "@microsoft/api-extractor": "~7.6.0", - "@schematics/angular": "9.1.0", + "@bazel/jasmine": "1.7.0", + "@bazel/karma": "1.7.0", + "@bazel/protractor": "1.7.0", + "@bazel/rollup": "1.7.0", + "@bazel/terser": "1.7.0", + "@bazel/typescript": "1.7.0", + "@microsoft/api-extractor": "7.7.11", + "@octokit/rest": "16.28.7", + "@octokit/types": "^5.0.1", + "@schematics/angular": "10.0.0-rc.2", "@types/angular": "^1.6.47", "@types/babel__core": "^7.1.6", "@types/babel__generator": "^7.6.1", @@ -73,6 +78,7 @@ "@types/hammerjs": "2.0.35", "@types/inquirer": "^6.5.0", "@types/jasmine": "3.5.10", + "@types/jasmine-ajax": "^3.3.1", "@types/jasminewd2": "^2.0.8", "@types/minimist": "^1.2.0", "@types/node": "^12.11.1", @@ -102,10 +108,12 @@ "diff": "^3.5.0", "domino": "2.1.2", "fs-extra": "4.0.2", + "google-closure-compiler": "20200517.0.0", "hammerjs": "2.0.8", "http-server": "^0.11.1", "incremental-dom": "0.4.1", "jasmine": "^3.5.0", + "jasmine-ajax": "^4.0.0", "jasmine-core": "^3.5.0", "jquery": "3.0.0", "js-levenshtein": "^1.1.6", @@ -122,10 +130,10 @@ "node-uuid": "1.4.8", "nodejs-websocket": "^1.7.2", "protractor": "^5.4.2", - "puppeteer": "2.1.1", + "puppeteer": "3.3.0", "reflect-metadata": "^0.1.3", "requirejs": "^2.3.6", - "rollup": "~1.25.0", + "rollup": "^2.16.1", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", @@ -138,9 +146,9 @@ "systemjs": "0.18.10", "terser": "^4.4.0", "tsickle": "0.38.1", - "tslib": "^1.10.0", + "tslib": "^2.0.0", "tslint": "6.0.0", - "typescript": "~3.8.3", + "typescript": "~3.9.5", "xhr2": "0.2.0", "yaml": "^1.7.2", "yargs": "15.3.0" diff --git a/packages/animations/browser/index.ts b/packages/animations/browser/index.ts index 969471c098..1f364dbd88 100644 --- a/packages/animations/browser/index.ts +++ b/packages/animations/browser/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/public_api.ts b/packages/animations/browser/public_api.ts index 172ca60bd4..fc01562604 100644 --- a/packages/animations/browser/public_api.ts +++ b/packages/animations/browser/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/browser.ts b/packages/animations/browser/src/browser.ts index 108be7b1ae..e755a0e683 100644 --- a/packages/animations/browser/src/browser.ts +++ b/packages/animations/browser/src/browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation.ts b/packages/animations/browser/src/dsl/animation.ts index a9ba429ca0..f8f0b9729a 100644 --- a/packages/animations/browser/src/dsl/animation.ts +++ b/packages/animations/browser/src/dsl/animation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_ast.ts b/packages/animations/browser/src/dsl/animation_ast.ts index 8d57c09f0a..0f3a54e8ca 100644 --- a/packages/animations/browser/src/dsl/animation_ast.ts +++ b/packages/animations/browser/src/dsl/animation_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_ast_builder.ts b/packages/animations/browser/src/dsl/animation_ast_builder.ts index 5184e74589..d2587ab84f 100644 --- a/packages/animations/browser/src/dsl/animation_ast_builder.ts +++ b/packages/animations/browser/src/dsl/animation_ast_builder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_dsl_visitor.ts b/packages/animations/browser/src/dsl/animation_dsl_visitor.ts index e77f9db90e..e78c47c267 100644 --- a/packages/animations/browser/src/dsl/animation_dsl_visitor.ts +++ b/packages/animations/browser/src/dsl/animation_dsl_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_timeline_builder.ts b/packages/animations/browser/src/dsl/animation_timeline_builder.ts index 7995610117..5119f0be3a 100644 --- a/packages/animations/browser/src/dsl/animation_timeline_builder.ts +++ b/packages/animations/browser/src/dsl/animation_timeline_builder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_timeline_instruction.ts b/packages/animations/browser/src/dsl/animation_timeline_instruction.ts index 13e4cc4d01..b51c5d5439 100644 --- a/packages/animations/browser/src/dsl/animation_timeline_instruction.ts +++ b/packages/animations/browser/src/dsl/animation_timeline_instruction.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_transition_expr.ts b/packages/animations/browser/src/dsl/animation_transition_expr.ts index 9fe58d271a..9328bb7e6d 100644 --- a/packages/animations/browser/src/dsl/animation_transition_expr.ts +++ b/packages/animations/browser/src/dsl/animation_transition_expr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_transition_factory.ts b/packages/animations/browser/src/dsl/animation_transition_factory.ts index ab7729fe6b..8c2a8cb073 100644 --- a/packages/animations/browser/src/dsl/animation_transition_factory.ts +++ b/packages/animations/browser/src/dsl/animation_transition_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_transition_instruction.ts b/packages/animations/browser/src/dsl/animation_transition_instruction.ts index a09194faec..f0b0358a6c 100644 --- a/packages/animations/browser/src/dsl/animation_transition_instruction.ts +++ b/packages/animations/browser/src/dsl/animation_transition_instruction.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/animation_trigger.ts b/packages/animations/browser/src/dsl/animation_trigger.ts index 5e307adc88..59671504ea 100644 --- a/packages/animations/browser/src/dsl/animation_trigger.ts +++ b/packages/animations/browser/src/dsl/animation_trigger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/element_instruction_map.ts b/packages/animations/browser/src/dsl/element_instruction_map.ts index 7d5ca8baac..ea84cf1a23 100644 --- a/packages/animations/browser/src/dsl/element_instruction_map.ts +++ b/packages/animations/browser/src/dsl/element_instruction_map.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts b/packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts index 3ab5f06257..fd7636b3bd 100644 --- a/packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts +++ b/packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts b/packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts index 9cefed0d08..4ba6043bc5 100644 --- a/packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts +++ b/packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/private_export.ts b/packages/animations/browser/src/private_export.ts index 3773ef5348..216f56fe53 100644 --- a/packages/animations/browser/src/private_export.ts +++ b/packages/animations/browser/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/animation_driver.ts b/packages/animations/browser/src/render/animation_driver.ts index 84085e1865..32cd21bd77 100644 --- a/packages/animations/browser/src/render/animation_driver.ts +++ b/packages/animations/browser/src/render/animation_driver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/animation_engine_instruction.ts b/packages/animations/browser/src/render/animation_engine_instruction.ts index d263df4ffd..ac43020205 100644 --- a/packages/animations/browser/src/render/animation_engine_instruction.ts +++ b/packages/animations/browser/src/render/animation_engine_instruction.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/animation_engine_next.ts b/packages/animations/browser/src/render/animation_engine_next.ts index fa5ec2b5b9..2a8ea7127e 100644 --- a/packages/animations/browser/src/render/animation_engine_next.ts +++ b/packages/animations/browser/src/render/animation_engine_next.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts b/packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts index a849111dfb..9f5b771b44 100644 --- a/packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts +++ b/packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts b/packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts index 114929a8e3..c047e0511f 100644 --- a/packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts +++ b/packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/css_keyframes/direct_style_player.ts b/packages/animations/browser/src/render/css_keyframes/direct_style_player.ts index 6a7ff3a453..117d4c3fc3 100644 --- a/packages/animations/browser/src/render/css_keyframes/direct_style_player.ts +++ b/packages/animations/browser/src/render/css_keyframes/direct_style_player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts b/packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts index 095c726a38..0ef602b0d8 100644 --- a/packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts +++ b/packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/shared.ts b/packages/animations/browser/src/render/shared.ts index c8cbe83dda..40d9085a95 100644 --- a/packages/animations/browser/src/render/shared.ts +++ b/packages/animations/browser/src/render/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/special_cased_styles.ts b/packages/animations/browser/src/render/special_cased_styles.ts index e97aadbc85..c2e012db9f 100644 --- a/packages/animations/browser/src/render/special_cased_styles.ts +++ b/packages/animations/browser/src/render/special_cased_styles.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/timeline_animation_engine.ts b/packages/animations/browser/src/render/timeline_animation_engine.ts index df26094c0a..da321cfce8 100644 --- a/packages/animations/browser/src/render/timeline_animation_engine.ts +++ b/packages/animations/browser/src/render/timeline_animation_engine.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/transition_animation_engine.ts b/packages/animations/browser/src/render/transition_animation_engine.ts index 236f1e3180..a6e23086d5 100644 --- a/packages/animations/browser/src/render/transition_animation_engine.ts +++ b/packages/animations/browser/src/render/transition_animation_engine.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/web_animations/dom_animation.ts b/packages/animations/browser/src/render/web_animations/dom_animation.ts index f1d825af34..e5990f684e 100644 --- a/packages/animations/browser/src/render/web_animations/dom_animation.ts +++ b/packages/animations/browser/src/render/web_animations/dom_animation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/web_animations/web_animations_driver.ts b/packages/animations/browser/src/render/web_animations/web_animations_driver.ts index 00657d309a..5addd297b5 100644 --- a/packages/animations/browser/src/render/web_animations/web_animations_driver.ts +++ b/packages/animations/browser/src/render/web_animations/web_animations_driver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/render/web_animations/web_animations_player.ts b/packages/animations/browser/src/render/web_animations/web_animations_player.ts index 025fff00c4..15df9eef13 100644 --- a/packages/animations/browser/src/render/web_animations/web_animations_player.ts +++ b/packages/animations/browser/src/render/web_animations/web_animations_player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/src/util.ts b/packages/animations/browser/src/util.ts index aad7d53ae1..2f9efc914d 100644 --- a/packages/animations/browser/src/util.ts +++ b/packages/animations/browser/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/dsl/animation_spec.ts b/packages/animations/browser/test/dsl/animation_spec.ts index 5aacf1c78b..926493ce59 100644 --- a/packages/animations/browser/test/dsl/animation_spec.ts +++ b/packages/animations/browser/test/dsl/animation_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/dsl/animation_trigger_spec.ts b/packages/animations/browser/test/dsl/animation_trigger_spec.ts index f2c2e134b4..24901ed591 100644 --- a/packages/animations/browser/test/dsl/animation_trigger_spec.ts +++ b/packages/animations/browser/test/dsl/animation_trigger_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/dsl/style_normalizer/web_animations_style_normalizer_spec.ts b/packages/animations/browser/test/dsl/style_normalizer/web_animations_style_normalizer_spec.ts index 17d5878ffe..e4082c092c 100644 --- a/packages/animations/browser/test/dsl/style_normalizer/web_animations_style_normalizer_spec.ts +++ b/packages/animations/browser/test/dsl/style_normalizer/web_animations_style_normalizer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts b/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts index 54a4a73d06..95c2a61a40 100644 --- a/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts +++ b/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/css_keyframes/direct_style_player_spec.ts b/packages/animations/browser/test/render/css_keyframes/direct_style_player_spec.ts index 86234018ad..0f0532e25d 100644 --- a/packages/animations/browser/test/render/css_keyframes/direct_style_player_spec.ts +++ b/packages/animations/browser/test/render/css_keyframes/direct_style_player_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/css_keyframes/element_animation_style_handler_spec.ts b/packages/animations/browser/test/render/css_keyframes/element_animation_style_handler_spec.ts index ad5984c599..f0a8caed09 100644 --- a/packages/animations/browser/test/render/css_keyframes/element_animation_style_handler_spec.ts +++ b/packages/animations/browser/test/render/css_keyframes/element_animation_style_handler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/css_keyframes/shared.ts b/packages/animations/browser/test/render/css_keyframes/shared.ts index d9592ee5a0..682b2cb005 100644 --- a/packages/animations/browser/test/render/css_keyframes/shared.ts +++ b/packages/animations/browser/test/render/css_keyframes/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/timeline_animation_engine_spec.ts b/packages/animations/browser/test/render/timeline_animation_engine_spec.ts index a6fb9e8731..ca2a8c76d8 100644 --- a/packages/animations/browser/test/render/timeline_animation_engine_spec.ts +++ b/packages/animations/browser/test/render/timeline_animation_engine_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/transition_animation_engine_spec.ts b/packages/animations/browser/test/render/transition_animation_engine_spec.ts index 21502489e9..273279a966 100644 --- a/packages/animations/browser/test/render/transition_animation_engine_spec.ts +++ b/packages/animations/browser/test/render/transition_animation_engine_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/web_animations/web_animations_driver_spec.ts b/packages/animations/browser/test/render/web_animations/web_animations_driver_spec.ts index f66043f58b..984b377c46 100644 --- a/packages/animations/browser/test/render/web_animations/web_animations_driver_spec.ts +++ b/packages/animations/browser/test/render/web_animations/web_animations_driver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/render/web_animations/web_animations_player_spec.ts b/packages/animations/browser/test/render/web_animations/web_animations_player_spec.ts index cbcdceda78..8c8155aafd 100644 --- a/packages/animations/browser/test/render/web_animations/web_animations_player_spec.ts +++ b/packages/animations/browser/test/render/web_animations/web_animations_player_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/test/shared.ts b/packages/animations/browser/test/shared.ts index f89b4ddf79..717edc8664 100644 --- a/packages/animations/browser/test/shared.ts +++ b/packages/animations/browser/test/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/testing/index.ts b/packages/animations/browser/testing/index.ts index 969471c098..1f364dbd88 100644 --- a/packages/animations/browser/testing/index.ts +++ b/packages/animations/browser/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/testing/public_api.ts b/packages/animations/browser/testing/public_api.ts index fcc511dc6e..7dd48cd552 100644 --- a/packages/animations/browser/testing/public_api.ts +++ b/packages/animations/browser/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/testing/src/mock_animation_driver.ts b/packages/animations/browser/testing/src/mock_animation_driver.ts index d21fc192d3..93f962d396 100644 --- a/packages/animations/browser/testing/src/mock_animation_driver.ts +++ b/packages/animations/browser/testing/src/mock_animation_driver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/browser/testing/src/testing.ts b/packages/animations/browser/testing/src/testing.ts index 8d396ea92e..75c562aa15 100644 --- a/packages/animations/browser/testing/src/testing.ts +++ b/packages/animations/browser/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/index.ts b/packages/animations/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/animations/index.ts +++ b/packages/animations/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/package.json b/packages/animations/package.json index 2fc440a1e6..ab9225695b 100644 --- a/packages/animations/package.json +++ b/packages/animations/package.json @@ -4,9 +4,11 @@ "description": "Angular - animations integration with web-animations", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { - "@angular/core": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/core": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/animations/public_api.ts b/packages/animations/public_api.ts index 3ebc27ff03..4377b71b31 100644 --- a/packages/animations/public_api.ts +++ b/packages/animations/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/animation_builder.ts b/packages/animations/src/animation_builder.ts index 7393878b21..9e4435ec64 100644 --- a/packages/animations/src/animation_builder.ts +++ b/packages/animations/src/animation_builder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/animation_event.ts b/packages/animations/src/animation_event.ts index fb43767e22..c377dada56 100644 --- a/packages/animations/src/animation_event.ts +++ b/packages/animations/src/animation_event.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/animation_metadata.ts b/packages/animations/src/animation_metadata.ts index 21b29cb99c..4af86f41a3 100755 --- a/packages/animations/src/animation_metadata.ts +++ b/packages/animations/src/animation_metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/animations.ts b/packages/animations/src/animations.ts index 66482a0d79..233e59375e 100644 --- a/packages/animations/src/animations.ts +++ b/packages/animations/src/animations.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/players/animation_group_player.ts b/packages/animations/src/players/animation_group_player.ts index 79f6611735..a5fa06ced5 100644 --- a/packages/animations/src/players/animation_group_player.ts +++ b/packages/animations/src/players/animation_group_player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/players/animation_player.ts b/packages/animations/src/players/animation_player.ts index 6ec35d6b81..3d3472c0c4 100644 --- a/packages/animations/src/players/animation_player.ts +++ b/packages/animations/src/players/animation_player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/private_export.ts b/packages/animations/src/private_export.ts index 69b3314026..8ad4e9d76f 100644 --- a/packages/animations/src/private_export.ts +++ b/packages/animations/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/util.ts b/packages/animations/src/util.ts index 530e64707e..d4aab77dd5 100644 --- a/packages/animations/src/util.ts +++ b/packages/animations/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/src/version.ts b/packages/animations/src/version.ts index ead04f9164..3eca0eb3c8 100644 --- a/packages/animations/src/version.ts +++ b/packages/animations/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/test/animation_player_spec.ts b/packages/animations/test/animation_player_spec.ts index 2bf205fcbb..63a5493577 100644 --- a/packages/animations/test/animation_player_spec.ts +++ b/packages/animations/test/animation_player_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/animations/test/util_spec.ts b/packages/animations/test/util_spec.ts index dc5070a4c6..41055740bc 100644 --- a/packages/animations/test/util_spec.ts +++ b/packages/animations/test/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/BUILD.bazel b/packages/bazel/BUILD.bazel index 03f80c652e..3c2fe6eeb0 100644 --- a/packages/bazel/BUILD.bazel +++ b/packages/bazel/BUILD.bazel @@ -8,10 +8,8 @@ pkg_npm( ) + [ "//packages/bazel/src:package_assets", "//packages/bazel/src/api-extractor:package_assets", - "//packages/bazel/src/builders:package_assets", "//packages/bazel/src/ng_package:package_assets", "//packages/bazel/src/ngc-wrapped:package_assets", - "//packages/bazel/src/schematics:package_assets", "//packages/bazel/third_party/github.com/bazelbuild/bazel/src/main/protobuf:package_assets", ], nested_packages = [ @@ -29,10 +27,7 @@ pkg_npm( visibility = ["//integration:__pkg__"], deps = [ "//packages/bazel/src/api-extractor:lib", - "//packages/bazel/src/builders", "//packages/bazel/src/ng_package:lib", "//packages/bazel/src/ngc-wrapped:ngc_lib", - "//packages/bazel/src/schematics/ng-add", - "//packages/bazel/src/schematics/ng-new", ], ) diff --git a/packages/bazel/index.bzl b/packages/bazel/index.bzl index 1783855bfc..8c85c121ad 100644 --- a/packages/bazel/index.bzl +++ b/packages/bazel/index.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 diff --git a/packages/bazel/package.bzl b/packages/bazel/package.bzl index 9fcab7671b..d1e13c1bde 100644 --- a/packages/bazel/package.bzl +++ b/packages/bazel/package.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 @@ -29,11 +29,11 @@ def rules_angular_dev_dependencies(): _maybe( http_archive, name = "bazel_toolchains", - sha256 = "b5a8039df7119d618402472f3adff8a1bd0ae9d5e253f53fcc4c47122e91a3d2", - strip_prefix = "bazel-toolchains-2.1.1", + sha256 = "db48eed61552e25d36fe051a65d2a329cc0fb08442627e8f13960c5ab087a44e", + strip_prefix = "bazel-toolchains-3.2.0", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/2.1.1/bazel-toolchains-2.1.1.tar.gz", - "https://github.com/bazelbuild/bazel-toolchains/releases/download/2.1.1/bazel-toolchains-2.1.1.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/3.2.0/bazel-toolchains-3.2.0.tar.gz", + "https://github.com/bazelbuild/bazel-toolchains/releases/download/3.2.0/bazel-toolchains-3.2.0.tar.gz", ], ) diff --git a/packages/bazel/package.json b/packages/bazel/package.json index f0cf6eeca8..bcc704af05 100644 --- a/packages/bazel/package.json +++ b/packages/bazel/package.json @@ -26,7 +26,7 @@ } }, "dependencies": { - "@microsoft/api-extractor": "^7.3.9", + "@microsoft/api-extractor": "^7.7.13", "shelljs": "0.8.2", "tsickle": "^0.38.0" }, @@ -34,7 +34,7 @@ "@angular/compiler-cli": "0.0.0-PLACEHOLDER", "@bazel/typescript": ">=1.0.0", "terser": "^4.3.1", - "typescript": ">=3.8 <3.9", + "typescript": ">=3.9 <4.0", "rollup": ">=1.20.0", "rollup-plugin-commonjs": ">=9.0.0", "rollup-plugin-node-resolve": ">=4.2.0", @@ -50,15 +50,10 @@ "url": "https://github.com/angular/angular.git", "directory": "packages/bazel" }, - "builders": "./src/builders/builders.json", - "schematics": "./src/schematics/collection.json", - "ng-add": { - "save": "devDependencies" - }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" }, - "publishConfig":{ - "registry":"https://wombat-dressing-room.appspot.com" + "publishConfig": { + "registry": "https://wombat-dressing-room.appspot.com" } } diff --git a/packages/bazel/src/api-extractor/index.ts b/packages/bazel/src/api-extractor/index.ts index b89304cfe8..f7d02009ad 100644 --- a/packages/bazel/src/api-extractor/index.ts +++ b/packages/bazel/src/api-extractor/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/builders/BUILD.bazel b/packages/bazel/src/builders/BUILD.bazel deleted file mode 100644 index b38ab56f40..0000000000 --- a/packages/bazel/src/builders/BUILD.bazel +++ /dev/null @@ -1,30 +0,0 @@ -load("//tools:defaults.bzl", "ts_library") - -package(default_visibility = ["//visibility:public"]) - -filegroup( - name = "package_assets", - srcs = [ - "builders.json", - ], - visibility = ["//packages/bazel:__subpackages__"], -) - -ts_library( - name = "builders", - srcs = [ - "bazel.ts", - "index.ts", - "schema.d.ts", - ], - data = [ - "schema.json", - ] + glob(["files/**/*"]), - module_name = "@angular/bazel/src/builders", - deps = [ - "@npm//@angular-devkit/architect", - "@npm//@angular-devkit/core", - "@npm//@types/node", - "@npm//rxjs", - ], -) diff --git a/packages/bazel/src/builders/bazel.ts b/packages/bazel/src/builders/bazel.ts index b737c9c969..c309914196 100644 --- a/packages/bazel/src/builders/bazel.ts +++ b/packages/bazel/src/builders/bazel.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/builders/builders.json b/packages/bazel/src/builders/builders.json deleted file mode 100644 index eb00811fbd..0000000000 --- a/packages/bazel/src/builders/builders.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "builders": { - "build": { - "implementation": "./index", - "schema": "./schema.json", - "description": "Executes Bazel on a target." - } - } -} diff --git a/packages/bazel/src/builders/files/BUILD.bazel.template b/packages/bazel/src/builders/files/BUILD.bazel.template deleted file mode 100644 index 27b2fa1432..0000000000 --- a/packages/bazel/src/builders/files/BUILD.bazel.template +++ /dev/null @@ -1,7 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -# This export allows targets in other packages to reference files that live -# in this package. -exports_files([ - "tsconfig.json", -]) diff --git a/packages/bazel/src/builders/files/WORKSPACE.template b/packages/bazel/src/builders/files/WORKSPACE.template deleted file mode 100644 index 85bb2ef5dd..0000000000 --- a/packages/bazel/src/builders/files/WORKSPACE.template +++ /dev/null @@ -1,92 +0,0 @@ -# WARNING: This file is generated and it's not meant to be edited. -# Before making any changes, please read Bazel documentation. -# https://docs.bazel.build/versions/master/be/workspace.html -# The WORKSPACE file tells Bazel that this directory is a "workspace", which is like a project root. -# The content of this file specifies all the external dependencies Bazel needs to perform a build. - -#################################### -# ESModule imports (and TypeScript imports) can be absolute starting with the workspace name. -# The name of the workspace should match the npm package where we publish, so that these -# imports also make sense when referencing the published package. -workspace( - name = "project", - managed_directories = {"@npm": ["node_modules"]}, -) - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -RULES_NODEJS_VERSION = "1.6.0" -RULES_NODEJS_SHA256 = "f9e7b9f42ae202cc2d2ce6d698ccb49a9f7f7ea572a78fd451696d03ef2ee116" -http_archive( - name = "build_bazel_rules_nodejs", - sha256 = RULES_NODEJS_SHA256, - url = "https://github.com/bazelbuild/rules_nodejs/releases/download/%s/rules_nodejs-%s.tar.gz" % (RULES_NODEJS_VERSION, RULES_NODEJS_VERSION), -) - -# Rules for compiling sass -RULES_SASS_VERSION = "1.24.0" -RULES_SASS_SHA256 = "77e241148f26d5dbb98f96fe0029d8f221c6cb75edbb83e781e08ac7f5322c5f" -http_archive( - name = "io_bazel_rules_sass", - sha256 = RULES_SASS_SHA256, - strip_prefix = "rules_sass-%s" % RULES_SASS_VERSION, - urls = [ - "https://github.com/bazelbuild/rules_sass/archive/%s.zip" % RULES_SASS_VERSION, - "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/%s.zip" % RULES_SASS_VERSION, - ], -) - -#################################### -# Load and install our dependencies downloaded above. - -load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "node_repositories", - "yarn_install") -check_bazel_version( - message = """ -You no longer need to install Bazel on your machine. -Your project should have a dependency on the @bazel/bazel package which supplies it. -Try running `yarn bazel` instead. - (If you did run that, check that you've got a fresh `yarn install`) - -""", - minimum_bazel_version = "0.27.0", -) - -# Setup the Node repositories. We need a NodeJS version that is more recent than v10.15.0 -# because "selenium-webdriver" which is required for "ng e2e" cannot be installed. -# TODO: remove the custom repositories once "rules_nodejs" supports v12.14.1 by default. -node_repositories( - 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", -) - -yarn_install( - name = "npm", - package_json = "//:package.json", - yarn_lock = "//:yarn.lock", -) - -load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies") -install_bazel_dependencies() - -load("@npm_bazel_protractor//:package.bzl", "npm_bazel_protractor_dependencies") -npm_bazel_protractor_dependencies() - -load("@npm_bazel_karma//:package.bzl", "npm_bazel_karma_dependencies") -npm_bazel_karma_dependencies() - -load("@io_bazel_rules_webtesting//web:repositories.bzl", "web_test_repositories") -web_test_repositories() - -load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories") -browser_repositories(chromium = True, firefox = True) - -load("@npm_bazel_typescript//:index.bzl", "ts_setup_workspace") -ts_setup_workspace() - -load("@io_bazel_rules_sass//sass:sass_repositories.bzl", "sass_repositories") -sass_repositories() diff --git a/packages/bazel/src/builders/files/__dot__bazelignore.template b/packages/bazel/src/builders/files/__dot__bazelignore.template deleted file mode 100644 index de4d1f007d..0000000000 --- a/packages/bazel/src/builders/files/__dot__bazelignore.template +++ /dev/null @@ -1,2 +0,0 @@ -dist -node_modules diff --git a/packages/bazel/src/builders/files/__dot__bazelrc.template b/packages/bazel/src/builders/files/__dot__bazelrc.template deleted file mode 100644 index 5ab593b4e4..0000000000 --- a/packages/bazel/src/builders/files/__dot__bazelrc.template +++ /dev/null @@ -1,40 +0,0 @@ -# Make TypeScript and Angular compilation fast, by keeping a few copies of the -# compiler running as daemons, and cache SourceFile AST's to reduce parse time. -build --strategy=TypeScriptCompile=worker -build --strategy=AngularTemplateCompile=worker - -# Don't create bazel-* symlinks in the WORKSPACE directory, except `bazel-out`, -# which is mandatory. -# These require .gitignore and may scare users. -# Also, it's a workaround for https://github.com/bazelbuild/rules_typescript/issues/12 -# which affects the common case of having `tsconfig.json` in the WORKSPACE directory. -# -# Instead, the output will appear in `dist/bin`. You'll need to ignore the -# `bazel-out` directory that is created in the workspace root. -build --symlink_prefix=dist/ - -# Turn on --incompatible_strict_action_env which was on by default -# in Bazel 0.21.0 but turned off again in 0.22.0. Follow -# https://github.com/bazelbuild/bazel/issues/7026 for more details. -# This flag is needed to so that the bazel cache is not invalidated -# when running bazel via `yarn bazel`. -# See https://github.com/angular/angular/issues/27514. -build --incompatible_strict_action_env -run --incompatible_strict_action_env -test --incompatible_strict_action_env - -build --incompatible_bzl_disallow_load_after_statement=false - -test --test_output=errors - -# Use the Angular Ivy compiler -# See https://github.com/angular/angular/blob/master/docs/BAZEL.md#various-flags-used-for-tests -build --define=angular_ivy_enabled=True - -# Temporary define while angular depends on the legacy rollup_bundle rule. -# TODO: remove this setting after https://github.com/angular/angular/pull/33201 lands. -build --define=enable_legacy_rollup_rule=1 - -# Turn on managed directories feature in Bazel -# This allows us to avoid installing a second copy of node_modules -common --experimental_allow_incremental_repository_updates diff --git a/packages/bazel/src/builders/files/e2e/BUILD.bazel.template b/packages/bazel/src/builders/files/e2e/BUILD.bazel.template deleted file mode 100644 index 296b97e2f6..0000000000 --- a/packages/bazel/src/builders/files/e2e/BUILD.bazel.template +++ /dev/null @@ -1,42 +0,0 @@ -load("@npm_bazel_protractor//:index.bzl", "protractor_web_test_suite") -load("@npm_bazel_typescript//:index.bzl", "ts_library") - -ts_library( - name = "e2e_lib", - testonly = 1, - srcs = glob(["src/**/*.ts"]), - tsconfig = ":tsconfig.e2e.json" if len(glob(["tsconfig.e2e.json"])) else ":tsconfig.json", - deps = [ - "@npm//@types/jasmine", - "@npm//@types/jasminewd2", - "@npm//@types/node", - "@npm//jasmine", - "@npm//protractor", - "@npm//tslib", - ], - data = [ - "//:tsconfig.json", - ], -) - -protractor_web_test_suite( - name = "prodserver_test", - on_prepare = ":protractor.on-prepare.js", - server = "//src:prodserver", - deps = [":e2e_lib"], -) - -protractor_web_test_suite( - name = "devserver_test", - on_prepare = ":protractor.on-prepare.js", - server = "//src:devserver", - deps = [":e2e_lib"], -) - -# Default target in this package is to run the e2e tests on the devserver. -# This is a faster round-trip but doesn't exercise production optimizations like -# code-splitting and lazy loading. -alias( - name = "e2e", - actual = "devserver_test", -) diff --git a/packages/bazel/src/builders/files/src/BUILD.bazel.template b/packages/bazel/src/builders/files/src/BUILD.bazel.template deleted file mode 100644 index c4edb19fc4..0000000000 --- a/packages/bazel/src/builders/files/src/BUILD.bazel.template +++ /dev/null @@ -1,186 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load("@build_bazel_rules_nodejs//:index.bzl", "pkg_web") -load("@npm//history-server:index.bzl", "history_server") -load("@npm//html-insert-assets:index.bzl", "html_insert_assets") -load("@npm_angular_bazel//:index.bzl", "ng_module") -load("@npm_bazel_karma//:index.bzl", "karma_web_test_suite") -load("@npm_bazel_rollup//:index.bzl", "rollup_bundle") -load("@npm_bazel_terser//:index.bzl", "terser_minified") -load("@npm_bazel_typescript//:index.bzl", "ts_devserver", "ts_library") -load("@io_bazel_rules_sass//:defs.bzl", "multi_sass_binary", "sass_binary") - -sass_binary( - name = "global_stylesheet", - src = glob(["styles.css", "styles.scss"])[0], - output_name = "global_stylesheet.css", -) - -multi_sass_binary( - name = "styles", - srcs = glob( - include = ["**/*.scss"], - exclude = ["styles.scss"], - ), -) - -ng_module( - name = "src", - srcs = glob( - include = ["**/*.ts"], - exclude = [ - "**/*.spec.ts", - "main.ts", - "test.ts", - "initialize_testbed.ts", - ], - ), - assets = glob([ - "**/*.css", - "**/*.html", - ]) + ([":styles"] if len(glob(["**/*.scss"])) else []), - generate_ve_shims = True, - deps = [ - "@npm//@angular/core", - "@npm//@angular/platform-browser", - "@npm//@angular/router", - "@npm//@types", - "@npm//rxjs", - ], -) - -rollup_bundle( - name = "bundle", - config_file = "rollup.config.js", - entry_point = ":main.prod.ts", - deps = [ - "//src", - "@npm//rollup-plugin-commonjs", - "@npm//rollup-plugin-node-resolve", - ], -) - -terser_minified( - name = "bundle.min", - src = ":bundle", -) - -html_insert_assets( - name = "asset_injected_index_html", - outs = ["_/index.html"], - args = [ - "--html", - "$(execpath :index.html)", - "--out", - "$@", - "--roots", - "$(RULEDIR)", - "--assets", - "$(execpath :global_stylesheet.css)", - "$(execpath @npm//:node_modules/zone.js/dist/zone.min.js)", - "bundle.min.js", - ], - data = [ - ":index.html", - ":global_stylesheet.css", - "@npm//:node_modules/zone.js/dist/zone.min.js", - ], -) - -pkg_web( - name = "prodapp", - additional_root_paths = ["src/_"], - srcs = [ - "@npm//:node_modules/zone.js/dist/zone.min.js", - ":bundle.min", - ":global_stylesheet", - ":asset_injected_index_html", - "favicon.ico", - ], -) - -history_server( - name = "prodserver", - data = [":prodapp"], - args = [ - "--port", - "4200", - ], - templated_args = ["$(rlocation project/src/prodapp)"], -) - -filegroup( - name = "rxjs_umd_modules", - srcs = [ - # do not sort - "@npm//:node_modules/rxjs/bundles/rxjs.umd.js", - ":rxjs_shims.js", - ], -) - -ts_devserver( - name = "devserver", - additional_root_paths = ["project/src/_"], - port = 4200, - entry_module = "project/src/main.dev", - serving_path = "/bundle.min.js", - scripts = [ - "@npm//:node_modules/tslib/tslib.js", - ":rxjs_umd_modules", - ], - static_files = [ - "@npm//:node_modules/zone.js/dist/zone.min.js", - ":global_stylesheet", - ":asset_injected_index_html", - "favicon.ico", - ], - deps = [":src"], -) - -ts_library( - name = "test_lib", - testonly = 1, - srcs = glob(["**/*.spec.ts"]), - deps = [ - ":src", - "@npm//@angular/core", - "@npm//@angular/router", - "@npm//@types", - ], -) - -ts_library( - name = "initialize_testbed", - testonly = 1, - srcs = [ - "initialize_testbed.ts", - ], - deps = [ - "@npm//@angular/core", - "@npm//@angular/platform-browser-dynamic", - "@npm//@types", - ], -) - -karma_web_test_suite( - name = "test", - srcs = [ - "@npm//:node_modules/tslib/tslib.js", - ], - runtime_deps = [ - ":initialize_testbed", - ], - # do not sort - bootstrap = [ - "@npm//:node_modules/zone.js/dist/zone-testing-bundle.js", - "@npm//:node_modules/reflect-metadata/Reflect.js", - ], - browsers = [ - "@io_bazel_rules_webtesting//browsers:chromium-local", - ], - tags = ["native"], - deps = [ - ":rxjs_umd_modules", - ":test_lib", - ], -) diff --git a/packages/bazel/src/builders/index.ts b/packages/bazel/src/builders/index.ts index 54ac7e90a4..f0218c1cd4 100644 --- a/packages/bazel/src/builders/index.ts +++ b/packages/bazel/src/builders/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/builders/schema.d.ts b/packages/bazel/src/builders/schema.d.ts index 7113eb7dc4..7dc3de1311 100644 --- a/packages/bazel/src/builders/schema.d.ts +++ b/packages/bazel/src/builders/schema.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/builders/schema.json b/packages/bazel/src/builders/schema.json deleted file mode 100644 index 694f45617c..0000000000 --- a/packages/bazel/src/builders/schema.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "http://json-schema.org/schema", - "title": "Bazel builder schema", - "description": "Options for Bazel Builder", - "type": "object", - "properties": { - "targetLabel": { - "type": "string", - "description": "Target to be executed under Bazel." - }, - "bazelCommand": { - "type": "string", - "description": "Common commands supported by Bazel.", - "enum": [ - "run", - "build", - "test" - ] - }, - "watch": { - "type": "boolean", - "description": "If true, watch the filesystem using ibazel.", - "default": false - }, - "leaveBazelFilesOnDisk": { - "type": "boolean", - "description": "If true, leave Bazel files on disk after running command.", - "default": false - } - }, - "additionalProperties": false, - "required": [ - "targetLabel", - "bazelCommand" - ] -} diff --git a/packages/bazel/src/esm5.bzl b/packages/bazel/src/esm5.bzl deleted file mode 100644 index 95d420dfa0..0000000000 --- a/packages/bazel/src/esm5.bzl +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright Google Inc. 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 - -"""Provides ES5 syntax with ESModule import/exports. - -This exposes another flavor of output JavaScript, which is ES5 syntax -with ES2015 module syntax (import/export). -All Bazel rules should consume the standard dev or prod mode. -However we need to publish this flavor on NPM, so it's necessary to be able -to produce it. -""" - -# The provider downstream rules use to access the outputs -ESM5Info = provider( - doc = "Typescript compilation outputs in ES5 syntax with ES Modules", - fields = { - "transitive_output": """Dict of [rootDir, .js depset] entries. - - The value is a depset of the .js output files. - The key is the prefix that should be stripped off the files - when resolving modules, eg. for file - bazel-bin/[external/wkspc/]path/to/package/label.esm5/path/to/package/file.js - the rootdir would be - bazel-bin/[external/wkspc/]path/to/package/label.esm5""", - }, -) - -def _map_closure_path(file): - result = file.short_path[:-len(".mjs")] - - # short_path is meant to be used when accessing runfiles in a binary, where - # the CWD is inside the current repo. Therefore files in external repo have a - # short_path of ../external/wkspc/path/to/package - # We want to strip the first two segments from such paths. - if (result.startswith("../")): - result = "/".join(result.split("/")[2:]) - return result + ".js" - -def _join(array): - return "/".join([p for p in array if p]) - -def _esm5_outputs_aspect(target, ctx): - if not hasattr(target, "typescript"): - return [] - - # Workaround for https://github.com/bazelbuild/rules_typescript/issues/211 - # TODO(gmagolan): generate esm5 output from ts_proto_library and have that - # output work with esm5_outputs_aspect - if not hasattr(target.typescript, "replay_params"): - print("WARNING: no esm5 output from target %s//%s:%s available" % (target.label.workspace_root, target.label.package, target.label.name)) - return [] - elif not target.typescript.replay_params: - # In case there are "replay_params" specified but the compile action didn't generate any - # outputs (e.g. only "d.ts" files), we cannot create ESM5 outputs for this target either. - return [] - - # We create a new tsconfig.json file that will have our compilation settings - tsconfig = ctx.actions.declare_file("%s_esm5.tsconfig.json" % target.label.name) - - workspace = target.label.workspace_root if target.label.workspace_root else "" - - # re-root the outputs under a ".esm5" directory so the path don't collide - out_dir = ctx.label.name + ".esm5" - if workspace: - out_dir = out_dir + "/" + workspace - - outputs = [ - ctx.actions.declare_file(_join([out_dir, _map_closure_path(f)])) - for f in target.typescript.replay_params.outputs - if not f.short_path.endswith(".externs.js") - ] - - ctx.actions.run( - executable = ctx.executable._modify_tsconfig, - inputs = [target.typescript.replay_params.tsconfig], - outputs = [tsconfig], - arguments = [ - target.typescript.replay_params.tsconfig.path, - tsconfig.path, - _join([workspace, target.label.package, ctx.label.name + ".esm5"]), - ctx.bin_dir.path, - ], - ) - - replay_compiler_path = target.typescript.replay_params.compiler.short_path - replay_compiler_name = replay_compiler_path.split("/")[-1] - - # in windows replay_compiler path end with '.exe' - if replay_compiler_name.startswith("tsc_wrapped"): - compiler = ctx.executable._tsc_wrapped - elif replay_compiler_name.startswith("ngc-wrapped"): - compiler = ctx.executable._ngc_wrapped - else: - fail("Unknown replay compiler", target.typescript.replay_params.compiler.path) - - inputs = [tsconfig] - if (type(target.typescript.replay_params.inputs) == type([])): - inputs.extend(target.typescript.replay_params.inputs) - else: - inputs.extend(target.typescript.replay_params.inputs.to_list()) - - ctx.actions.run( - progress_message = "Compiling TypeScript (ES5 with ES Modules) %s" % target.label, - inputs = inputs, - outputs = outputs, - arguments = [tsconfig.path], - executable = compiler, - execution_requirements = { - # TODO(alexeagle): enable worker mode for these compilations - "supports-workers": "0", - }, - mnemonic = "ESM5", - ) - - root_dir = _join([ - ctx.bin_dir.path, - workspace, - target.label.package, - ctx.label.name + ".esm5", - ]) - - transitive_output = {root_dir: depset(outputs)} - for dep in ctx.rule.attr.deps: - if ESM5Info in dep: - transitive_output.update(dep[ESM5Info].transitive_output) - - return [ESM5Info( - transitive_output = transitive_output, - )] - -# Downstream rules can use this aspect to access the ESM5 output flavor. -# Only terminal rules (those which expect never to be used in deps[]) should do -# this. -esm5_outputs_aspect = aspect( - implementation = _esm5_outputs_aspect, - # Recurse to the deps of any target we visit - attr_aspects = ["deps"], - attrs = { - "_modify_tsconfig": attr.label( - default = Label("//packages/bazel/src:modify_tsconfig"), - executable = True, - cfg = "host", - ), - "_tsc_wrapped": attr.label( - default = Label("@npm//@bazel/typescript/bin:tsc_wrapped"), - executable = True, - cfg = "host", - ), - # Replaced with "@npm//@angular/bazel/bin:ngc-wrapped" in the published package - "_ngc_wrapped": attr.label( - default = Label("//packages/bazel/src/ngc-wrapped"), - executable = True, - cfg = "host", - ), - }, -) - -def esm5_root_dir(ctx): - return ctx.label.name + ".esm5" - -def flatten_esm5(ctx): - """Merge together the .esm5 folders from the dependencies. - - Two different dependencies A and B may have outputs like - `bazel-bin/path/to/A.esm5/path/to/lib.js` - `bazel-bin/path/to/B.esm5/path/to/main.js` - - In order to run rollup on this app, in case main.js contains `import from './lib'` - they need to be together in the same root directory, so if we depend on both A and B - we need the outputs to be - `bazel-bin/path/to/my_rule.esm5/path/to/lib.js` - `bazel-bin/path/to/my_rule.esm5/path/to/main.js` - - Args: - ctx: the skylark rule execution context - - Returns: - depset of flattened files - """ - esm5_sources = [] - result = [] - for dep in ctx.attr.deps: - if ESM5Info in dep: - transitive_output = dep[ESM5Info].transitive_output - esm5_sources.extend(transitive_output.values()) - for f in depset(transitive = esm5_sources).to_list(): - path = f.short_path[f.short_path.find(".esm5") + len(".esm5"):] - if (path.startswith("../")): - path = "external/" + path[3:] - rerooted_file = ctx.actions.declare_file("/".join([esm5_root_dir(ctx), path])) - result.append(rerooted_file) - - # print("copy", f.short_path, "to", rerooted_file.short_path) - ctx.actions.expand_template( - output = rerooted_file, - template = f, - substitutions = {}, - ) - return depset(result) diff --git a/packages/bazel/src/external.bzl b/packages/bazel/src/external.bzl index 32b640ae30..982d654eea 100644 --- a/packages/bazel/src/external.bzl +++ b/packages/bazel/src/external.bzl @@ -19,12 +19,14 @@ load( ) load( "@build_bazel_rules_nodejs//:providers.bzl", + _LinkablePackageInfo = "LinkablePackageInfo", _NpmPackageInfo = "NpmPackageInfo", _js_ecma_script_module_info = "js_ecma_script_module_info", _js_named_module_info = "js_named_module_info", _node_modules_aspect = "node_modules_aspect", ) +LinkablePackageInfo = _LinkablePackageInfo NpmPackageInfo = _NpmPackageInfo node_modules_aspect = _node_modules_aspect @@ -35,6 +37,11 @@ compile_ts = _compile_ts DEPS_ASPECTS = _DEPS_ASPECTS ts_providers_dict_to_struct = _ts_providers_dict_to_struct +# Should be defined as `BuildSettingInfo` from Skylib, but a dependency on +# Skylib is not necessary here because this is only used in google3 where Skylib +# is loaded differently anyways where this file is overridden. +BuildSettingInfo = provider(doc = "Not used outside google3.") + DEFAULT_API_EXTRACTOR = "@npm//@angular/bazel/bin:api-extractor" DEFAULT_NG_COMPILER = "@npm//@angular/bazel/bin:ngc-wrapped" DEFAULT_NG_XI18N = "@npm//@angular/bazel/bin:xi18n" diff --git a/packages/bazel/src/modify_tsconfig.js b/packages/bazel/src/modify_tsconfig.js index 3c997462b2..55d3c6a7cc 100644 --- a/packages/bazel/src/modify_tsconfig.js +++ b/packages/bazel/src/modify_tsconfig.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/ng_module.bzl b/packages/bazel/src/ng_module.bzl index 9480c4b679..db11f59ca5 100644 --- a/packages/bazel/src/ng_module.bzl +++ b/packages/bazel/src/ng_module.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 @@ -7,12 +7,14 @@ load( ":external.bzl", + "BuildSettingInfo", "COMMON_ATTRIBUTES", "COMMON_OUTPUTS", "DEFAULT_API_EXTRACTOR", "DEFAULT_NG_COMPILER", "DEFAULT_NG_XI18N", "DEPS_ASPECTS", + "LinkablePackageInfo", "NpmPackageInfo", "TsConfigInfo", "compile_ts", @@ -36,6 +38,15 @@ def is_ivy_enabled(ctx): Boolean, Whether the ivy compiler should be used. """ + # Check the renderer flag to see if Ivy is enabled. + # This is intended to support a transition use case for google3 migration. + # The `_renderer` attribute will never be set externally, but will always be + # set internally as a `string_flag()` with the allowed values of: + # "view_engine" or "ivy". + if ((hasattr(ctx.attr, "_renderer") and + ctx.attr._renderer[BuildSettingInfo].value == "ivy")): + return True + # TODO(josephperott): Remove after ~Feb 2020, to allow local script migrations if "compile" in ctx.var and ctx.workspace_name == "angular": fail( @@ -174,6 +185,7 @@ def _expected_outs(ctx): devmode_js_files = [] closure_js_files = [] declaration_files = [] + transpilation_infos = [] summary_files = [] metadata_files = [] @@ -223,11 +235,18 @@ def _expected_outs(ctx): continue filter_summaries = ctx.attr.filter_summaries - closure_js = [f.replace(".js", ".mjs") for f in devmode_js if not filter_summaries or not f.endswith(".ngsummary.js")] declarations = [f.replace(".js", ".d.ts") for f in devmode_js] - devmode_js_files += [ctx.actions.declare_file(basename + ext) for ext in devmode_js] - closure_js_files += [ctx.actions.declare_file(basename + ext) for ext in closure_js] + for devmode_ext in devmode_js: + devmode_js_file = ctx.actions.declare_file(basename + devmode_ext) + devmode_js_files.append(devmode_js_file) + + if not filter_summaries or not devmode_ext.endswith(".ngsummary.js"): + closure_ext = devmode_ext.replace(".js", ".mjs") + closure_js_file = ctx.actions.declare_file(basename + closure_ext) + closure_js_files.append(closure_js_file) + transpilation_infos.append(struct(closure = closure_js_file, devmode = devmode_js_file)) + declaration_files += [ctx.actions.declare_file(basename + ext) for ext in declarations] summary_files += [ctx.actions.declare_file(basename + ext) for ext in summaries] if not _is_bazel(): @@ -270,6 +289,7 @@ def _expected_outs(ctx): closure_js = closure_js_files, devmode_js = devmode_js_files, declarations = declaration_files, + transpilation_infos = transpilation_infos, summaries = summary_files, metadata = metadata_files, dts_bundles = dts_bundles, @@ -631,6 +651,15 @@ def _ng_module_impl(ctx): # once it is no longer needed. ]) + if ctx.attr.module_name: + path = "/".join([p for p in [ctx.bin_dir.path, ctx.label.workspace_root, ctx.label.package] if p]) + ts_providers["providers"].append(LinkablePackageInfo( + package_name = ctx.attr.module_name, + path = path, + files = ts_providers["typescript"]["es5_sources"], + _tslibrary = True, + )) + return ts_providers_dict_to_struct(ts_providers) local_deps_aspects = [node_modules_aspect, _collect_summaries_aspect] diff --git a/packages/bazel/src/ng_package/BUILD.bazel b/packages/bazel/src/ng_package/BUILD.bazel index b32752bc6a..fabd7b22ed 100644 --- a/packages/bazel/src/ng_package/BUILD.bazel +++ b/packages/bazel/src/ng_package/BUILD.bazel @@ -33,6 +33,7 @@ nodejs_binary( "@npm//rollup-plugin-commonjs", "@npm//rollup-plugin-node-resolve", "@npm//rollup-plugin-sourcemaps", + "@npm//typescript", ], entry_point = "@npm//:node_modules/rollup/dist/bin/rollup", ) diff --git a/packages/bazel/src/ng_package/ng_package.bzl b/packages/bazel/src/ng_package/ng_package.bzl index 1aaa7b362b..6619799dc5 100644 --- a/packages/bazel/src/ng_package/ng_package.bzl +++ b/packages/bazel/src/ng_package/ng_package.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 @@ -21,7 +21,6 @@ load( "create_package", ) load("//packages/bazel/src:external.bzl", "FLAT_DTS_FILE_SUFFIX") -load("//packages/bazel/src:esm5.bzl", "esm5_outputs_aspect", "esm5_root_dir", "flatten_esm5") load("//packages/bazel/src/ng_package:collect-type-definitions.bzl", "collect_type_definitions") # Prints a debug message if "--define=VERBOSE_LOGS=true" is specified. @@ -195,7 +194,12 @@ def _compute_node_modules_root(ctx): node_modules_root = "external/npm/node_modules" return node_modules_root -def _write_rollup_config(ctx, root_dir, filename = "_%s.rollup.conf.js", include_tslib = False): +def _write_rollup_config( + ctx, + root_dir, + filename = "_%s.rollup.conf.js", + include_tslib = False, + downlevel_to_es5 = False): """Generate a rollup config file. Args: @@ -239,6 +243,7 @@ def _write_rollup_config(ctx, root_dir, filename = "_%s.rollup.conf.js", include "TMPL_workspace_name": ctx.workspace_name, "TMPL_external": ", ".join(["'%s'" % e for e in external]), "TMPL_globals": ", ".join(["'%s': '%s'" % g for g in globals.items()]), + "TMPL_downlevel_to_es5": "true" if downlevel_to_es5 else "false", }, ) @@ -347,23 +352,17 @@ def _ng_package_impl(ctx): esm_2015_files_depsets.append(dep[JSEcmaScriptModuleInfo].sources) esm_2015_files = _filter_out_generated_files(depset(transitive = esm_2015_files_depsets), "mjs") - esm5_sources = _filter_out_generated_files(flatten_esm5(ctx), "js") # These accumulators match the directory names where the files live in the # Angular package format. fesm2015 = [] - fesm5 = [] esm2015 = [] - esm5 = [] bundles = [] bundled_type_definitions = [] type_definitions = [] - # For Angular Package Format v6, we put all the individual .js files in the - # esm5/ and esm2015/ folders. - for f in esm5_sources.to_list(): - if f.path.endswith(".js"): - esm5.append(struct(js = f, map = None)) + # Collect all prodmode esm2015 source files which should be copied into the + # `esm2015` folder according to Angular Package Format v10. for f in esm_2015_files.to_list(): # tsickle generated `{module}.externs.js` file will be added to JSEcmaScriptModuleInfo sources # by ng_module so we include both .js and .mjs sources from the JSEcmaScriptModuleInfo provider @@ -462,24 +461,16 @@ def _ng_package_impl(ctx): index_file.replace(".js", ".mjs"), ] if p]) - es5_entry_point = "/".join([p for p in [ - ctx.label.package, - entry_point, - index_file, - ] if p]) - if entry_point: # TODO jasonaden says there is no particular reason these filenames differ prefix = primary_entry_point_name(ctx.attr.name, ctx.attr.entry_point, ctx.attr.entry_point_name) umd_output_filename = "-".join([prefix] + entry_point.split("/")) fesm_output_filename = entry_point.replace("/", "__") fesm2015_output = ctx.actions.declare_file("fesm2015/%s.js" % fesm_output_filename) - fesm5_output = ctx.actions.declare_file("%s.js" % fesm_output_filename) umd_output = ctx.actions.declare_file("%s.umd.js" % umd_output_filename) min_output = ctx.actions.declare_file("%s.umd.min.js" % umd_output_filename) else: fesm2015_output = ctx.outputs.fesm2015 - fesm5_output = ctx.outputs.fesm5 umd_output = ctx.outputs.umd min_output = ctx.outputs.umd_min @@ -489,11 +480,16 @@ def _ng_package_impl(ctx): for d in ctx.attr.deps: if NpmPackageInfo in d: node_modules_files += _filter_js_inputs(d.files) - esm5_rollup_inputs = depset(node_modules_files, transitive = [esm5_sources]) + esm2015_rollup_inputs = depset(node_modules_files, transitive = [esm_2015_files]) esm2015_config = _write_rollup_config(ctx, ctx.bin_dir.path, filename = "_%s.rollup_esm2015.conf.js") - esm5_config = _write_rollup_config(ctx, "/".join([ctx.bin_dir.path, ctx.label.package, esm5_root_dir(ctx)]), filename = "_%s.rollup_esm5.conf.js") - esm5_tslib_config = _write_rollup_config(ctx, "/".join([ctx.bin_dir.path, ctx.label.package, esm5_root_dir(ctx)]), filename = "_%s.rollup_esm5_tslib.conf.js", include_tslib = True) + umd_config = _write_rollup_config( + ctx, + ctx.bin_dir.path, + filename = "_%s.rollup_umd.conf.js", + include_tslib = True, + downlevel_to_es5 = True, + ) fesm2015.append( _run_rollup( @@ -501,36 +497,25 @@ def _ng_package_impl(ctx): "fesm2015", esm2015_config, es2015_entry_point, - depset(node_modules_files, transitive = [esm_2015_files]), + esm2015_rollup_inputs, fesm2015_output, format = "esm", ), ) - fesm5.append( - _run_rollup( - ctx, - "fesm5", - esm5_config, - es5_entry_point, - esm5_rollup_inputs, - fesm5_output, - format = "esm", - ), - ) - bundles.append( _run_rollup( ctx, "umd", - esm5_tslib_config, - es5_entry_point, - esm5_rollup_inputs, + umd_config, + es2015_entry_point, + esm2015_rollup_inputs, umd_output, module_name = module_name, format = "umd", ), ) + terser_sourcemap = _terser( ctx, umd_output, @@ -541,11 +526,10 @@ def _ng_package_impl(ctx): packager_inputs = ( ctx.files.srcs + ctx.files.data + - esm5_sources.to_list() + type_definitions + bundled_type_definitions + - [f.js for f in fesm2015 + fesm5 + esm2015 + esm5 + bundles] + - [f.map for f in fesm2015 + fesm5 + esm2015 + esm5 + bundles if f.map] + [f.js for f in fesm2015 + esm2015 + bundles] + + [f.map for f in fesm2015 + esm2015 + bundles if f.map] ) packager_args = ctx.actions.args() @@ -582,9 +566,7 @@ def _ng_package_impl(ctx): packager_args.add("") packager_args.add_joined(_flatten_paths(fesm2015), join_with = ",", omit_if_empty = False) - packager_args.add_joined(_flatten_paths(fesm5), join_with = ",", omit_if_empty = False) packager_args.add_joined(_flatten_paths(esm2015), join_with = ",", omit_if_empty = False) - packager_args.add_joined(_flatten_paths(esm5), join_with = ",", omit_if_empty = False) packager_args.add_joined(_flatten_paths(bundles), join_with = ",", omit_if_empty = False) packager_args.add_joined([s.path for s in ctx.files.srcs], join_with = ",", omit_if_empty = False) packager_args.add_joined([s.path for s in type_definitions], join_with = ",", omit_if_empty = False) @@ -627,7 +609,7 @@ def _ng_package_impl(ctx): files = depset([package_dir]), )] -_NG_PACKAGE_DEPS_ASPECTS = [esm5_outputs_aspect, ng_package_module_mappings_aspect, node_modules_aspect] +_NG_PACKAGE_DEPS_ASPECTS = [ng_package_module_mappings_aspect, node_modules_aspect] _NG_PACKAGE_ATTRS = dict(PKG_NPM_ATTRS, **{ "srcs": attr.label_list( @@ -800,7 +782,6 @@ def _ng_package_outputs(name, entry_point, entry_point_name): basename = primary_entry_point_name(name, entry_point, entry_point_name) outputs = { - "fesm5": "fesm5/%s.js" % basename, "fesm2015": "fesm2015/%s.js" % basename, "umd": "%s.umd.js" % basename, "umd_min": "%s.umd.min.js" % basename, diff --git a/packages/bazel/src/ng_package/packager.ts b/packages/bazel/src/ng_package/packager.ts index f72fa1b5eb..f46cec2c28 100644 --- a/packages/bazel/src/ng_package/packager.ts +++ b/packages/bazel/src/ng_package/packager.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -60,15 +60,9 @@ function main(args: string[]): number { // List of rolled-up flat ES2015 modules fesm2015Arg, - // List of rolled-up flat ES5 modules - fesm5Arg, - // List of individual ES2015 modules esm2015Arg, - // List of individual ES5 modules - esm5Arg, - // List of all UMD bundles generated by rollup. bundlesArg, @@ -92,9 +86,7 @@ function main(args: string[]): number { ] = params; const fesm2015 = fesm2015Arg.split(',').filter(s => !!s); - const fesm5 = fesm5Arg.split(',').filter(s => !!s); const esm2015 = esm2015Arg.split(',').filter(s => !!s); - const esm5 = esm5Arg.split(',').filter(s => !!s); const bundles = bundlesArg.split(',').filter(s => !!s); const typeDefinitions = typeDefinitionsArg.split(',').filter(s => !!s); const srcs = srcsArg.split(',').filter(s => !!s); @@ -149,28 +141,20 @@ function main(args: string[]): number { /** * Relativize the path where a file is written. - * @param file a path containing a re-rooted segment like .esm5 - * @param suffix the re-rooted directory + * @param file a path containing a re-rooted segment like `.esm2015` * @param outDir path where we copy the file, relative to the out */ - function writeEsmFile(file: string, suffix: string, outDir: string) { - function relPath(file: string, suffix: string) { - if (suffix) { - // Note that the specified file path is always using the posix path delimiter. - const root = - suffix ? file.substr(0, file.lastIndexOf(`${suffix}/`) + suffix.length + 1) : binDir; - return path.dirname(path.relative(path.join(root, srcDir), file)); - } else { - return path.dirname(path.relative(binDir, file)); - } - } - const rel = relPath(file, suffix); - if (!rel.startsWith('..')) { - copyFile(file, path.join(out, outDir), rel); + function writeEsmFile(file: string, outDir: string) { + // Path computed relative to the current package in bazel-bin. e.g. a ES2015 output file + // in `bazel-out/<..>/packages/core/src/di.js` should be stored in `{out_dir}/src/di.js` + // if the package target has been declared in `<..>/packages/core`. + const packageRelativePath = path.dirname(path.relative(binDir, file)); + if (!packageRelativePath.startsWith('..')) { + copyFile(file, path.join(out, outDir), packageRelativePath); } } - esm2015.forEach(file => writeEsmFile(file, '', 'esm2015')); + esm2015.forEach(file => writeEsmFile(file, 'esm2015')); bundles.forEach(bundle => { copyFile(bundle, out, 'bundles'); @@ -194,7 +178,6 @@ function main(args: string[]): number { const moduleFiles = modulesManifest[moduleName]; const relative = path.relative(binDir, moduleFiles['index']); - moduleFiles['esm5_index'] = path.join(binDir, 'esm5', relative); moduleFiles['esm2015_index'] = path.join(binDir, 'esm2015', relative); // Metadata file is optional as entry-points can be also built @@ -379,7 +362,7 @@ function main(args: string[]): number { } // e.g. @angular/common/http/testing -> ../../bundles/common-http-testing.umd.js - // or @angular/common/http/testing -> ../../fesm5/http/testing.js + // or @angular/common/http/testing -> ../../fesm2015/http/testing.js function getBundleName(packageName: string, dir: string) { const parts = packageName.split('/'); // Remove the scoped package part, like @angular if present diff --git a/packages/bazel/src/ng_package/rollup.config.js b/packages/bazel/src/ng_package/rollup.config.js index d8a2734bd5..bab13a4162 100644 --- a/packages/bazel/src/ng_package/rollup.config.js +++ b/packages/bazel/src/ng_package/rollup.config.js @@ -1,10 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ + // Rollup configuration // GENERATED BY Bazel @@ -13,6 +14,7 @@ const sourcemaps = require('rollup-plugin-sourcemaps'); const commonjs = require('rollup-plugin-commonjs'); const path = require('path'); const fs = require('fs'); +const ts = require('typescript'); function log_verbose(...m) { // This is a template file so we use __filename to output the actual filename @@ -24,6 +26,7 @@ const rootDir = 'TMPL_root_dir'; const bannerFile = TMPL_banner_file; const stampData = TMPL_stamp_data; const moduleMappings = TMPL_module_mappings; +const downlevelToEs5 = TMPL_downlevel_to_es5; const nodeModulesRoot = 'TMPL_node_modules_root'; log_verbose(`running with @@ -143,6 +146,28 @@ if (bannerFile) { } } +// Transform that is enabled for UMD bundle processing. It transforms existing ES2015 +// prodmode output to ESM5 so that the resulting UMD bundles are using ES5 format. +const downlevelToEs5Plugin = { + name: 'downlevel-to-es5', + transform: (code, filePath) => { + const compilerOptions = { + target: ts.ScriptTarget.ES5, + module: ts.ModuleKind.ES2015, + allowJs: true, + sourceMap: true, + downlevelIteration: true, + importHelpers: true, + mapRoot: path.dirname(filePath), + }; + const {outputText, sourceMapText} = ts.transpileModule(code, {compilerOptions}); + return { + code: outputText, + map: JSON.parse(sourceMapText), + }; + }, +}; + const plugins = [ { name: 'resolveBazel', @@ -157,6 +182,11 @@ const plugins = [ sourcemaps(), ]; +// If downleveling to ES5 is enabled, set up the downlevel rollup plugin. +if (downlevelToEs5) { + plugins.push(downlevelToEs5Plugin); +} + const config = { plugins, external: [TMPL_external], diff --git a/packages/bazel/src/ngc-wrapped/extract_i18n.ts b/packages/bazel/src/ngc-wrapped/extract_i18n.ts index 301d7a32bc..6024846b42 100644 --- a/packages/bazel/src/ngc-wrapped/extract_i18n.ts +++ b/packages/bazel/src/ngc-wrapped/extract_i18n.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/ngc-wrapped/index.ts b/packages/bazel/src/ngc-wrapped/index.ts index a80c00cd84..c6127b4d91 100644 --- a/packages/bazel/src/ngc-wrapped/index.ts +++ b/packages/bazel/src/ngc-wrapped/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -191,19 +191,8 @@ export function compile({ fileLoader = new UncachedFileLoader(); } - if (!bazelOpts.es5Mode) { - compilerOpts.annotateForClosureCompiler = true; - compilerOpts.annotationsAs = 'static fields'; - } - // Detect from compilerOpts whether the entrypoint is being invoked in Ivy mode. const isInIvyMode = !!compilerOpts.enableIvy; - - // Disable downleveling and Closure annotation if in Ivy mode. - if (isInIvyMode) { - compilerOpts.annotationsAs = 'decorators'; - } - if (!compilerOpts.rootDirs) { throw new Error('rootDirs is not set!'); } @@ -260,9 +249,6 @@ export function compile({ } if (isInIvyMode) { - // Also need to disable decorator downleveling in the BazelHost in Ivy mode. - bazelHost.transformDecorators = false; - const delegate = bazelHost.shouldSkipTsickleProcessing.bind(bazelHost); bazelHost.shouldSkipTsickleProcessing = (fileName: string) => { // The base implementation of shouldSkipTsickleProcessing checks whether `fileName` is part of @@ -273,11 +259,37 @@ export function compile({ }; } - // Prevent tsickle adding any types at all if we don't want closure compiler annotations. + // By default, disable tsickle decorator transforming in the tsickle compiler host. + // The Angular compilers have their own logic for decorator processing and we wouldn't + // want tsickle to interfere with that. + bazelHost.transformDecorators = false; + + // By default in the `prodmode` output, we do not add annotations for closure compiler. + // Though, if we are building inside `google3`, closure annotations are desired for + // prodmode output, so we enable it by default. The defaults can be overridden by + // setting the `annotateForClosureCompiler` compiler option in the user tsconfig. + if (!bazelOpts.es5Mode) { + if (bazelOpts.workspaceName === 'google3') { + compilerOpts.annotateForClosureCompiler = true; + // Enable the tsickle decorator transform in google3 with Ivy mode enabled. The tsickle + // decorator transformation is still needed. This might be because of custom decorators + // with the `@Annotation` JSDoc that will be processed by the tsickle decorator transform. + // TODO: Figure out why this is needed in g3 and how we can improve this. FW-2225 + if (isInIvyMode) { + bazelHost.transformDecorators = true; + } + } else { + compilerOpts.annotateForClosureCompiler = false; + } + } + + // The `annotateForClosureCompiler` Angular compiler option is not respected by default + // as ngc-wrapped handles tsickle emit on its own. This means that we need to update + // the tsickle compiler host based on the `annotateForClosureCompiler` flag. if (compilerOpts.annotateForClosureCompiler) { bazelHost.transformTypesToClosure = true; - bazelHost.transformDecorators = true; } + const origBazelHostFileExist = bazelHost.fileExists; bazelHost.fileExists = (fileName: string) => { if (NGC_ASSETS.test(fileName)) { diff --git a/packages/bazel/src/schematics/BUILD.bazel b/packages/bazel/src/schematics/BUILD.bazel deleted file mode 100644 index af016fc6ee..0000000000 --- a/packages/bazel/src/schematics/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("//tools:defaults.bzl", "jasmine_node_test") - -package(default_visibility = ["//visibility:public"]) - -filegroup( - name = "package_assets", - srcs = [ - "collection.json", - ], - visibility = ["//packages/bazel:__subpackages__"], -) - -jasmine_node_test( - name = "test", - bootstrap = ["//tools/testing:node_es5"], - deps = [ - "//packages/bazel/src/schematics/ng-add:test", - "//packages/bazel/src/schematics/ng-new:test", - "//packages/bazel/src/schematics/utility:test", - ], -) diff --git a/packages/bazel/src/schematics/README.md b/packages/bazel/src/schematics/README.md index 03c8f6deba..60d5fe26be 100644 --- a/packages/bazel/src/schematics/README.md +++ b/packages/bazel/src/schematics/README.md @@ -1,136 +1,54 @@ # Schematics for Bazel -## WARNING +Bazel builder for Angular CLI has been deprecated in version 10. -Schematics in `@angular/bazel` is still highly experimental as of January 2019, -please use with caution. For feedbacks and comments, please open an issue on -GitHub and ping [@mgechev](https://github.com/mgechev) or -[@kyliau](https://github.com/kyliau). +We believe that a lot of projects would benefit from using Bazel, the same way +we do in the Angular repository. We still believe that is true in many cases. +However, after experimenting with Bazel schematics for Angular CLI in +Angular Labs for the past year, we concluded that invoking Bazel from within +CLI is not the best approach to encourage adoption of the technology. +Instead, we recommend developers to explore using Bazel directly, and refer to +the canonical example [repository](https://github.com/bazelbuild/rules_nodejs/tree/master/examples/angular) +for latest updates and best practices. -## Requirements +In the beginning of this project, we thought it would make Bazel easier for +users to adopt if we abstracted the BUILD files management and tooling +orchestration within Angular CLI. However, we have come to realize that such +abstraction does not encourage users to use Bazel to its full potential. -To create a new Angular project that builds with Bazel + CLI, the following -packages have to be installed. +There are a few other reasons for this deprecation: -| Package | Minimum Version -|----------------|----------------- -| @angular/cli | v8.0.x -| @angular/bazel | v8.0.x +1. Bazel ecosystem for the Web is still evolving at a rapid pace. +2. The introduction of the Angular Ivy compiler enables new ways to use Bazel + in a faster and more efficient manner (see below). +3. Feature parity with Webpack-based Angular CLI is difficult to achieve without + trade-offs that would not be acceptable for many Angular users. + There is currently a [prototype](https://github.com/bazelbuild/rules_nodejs/tree/master/examples/angular_bazel_architect) + that showcases how multiple architects within CLI could be orchestrated by Bazel. -The `@angular/bazel` package contains schematics to generate necessary Bazel -build files. +## Migrate from `@angular/bazel` -If the packages are not on your system yet, install them with the following -commands: +For users who are currently using Bazel builder, there are a few migration options. + +### Eject the BUILD files + +You could leave the Bazel files in your workspace, and manage them manually: ``` -yarn global add @angular/cli@next @angular/bazel@next +ng build --leaveBazelFilesOnDisk ``` -It is very *important* to meet the minimum version requirement of `@angular/cli` -because Bazel schematics rely on some of the new APIs that are missing in older -versions of the CLI. Invoking `@angular/bazel` schematics with an older version -of CLI would very likely result in unexpected errors. +If you're using Ivy, in your BUILD files replace `ng_module` with the +[`ng_ts_library`](https://github.com/bazelbuild/rules_nodejs/blob/master/examples/angular/tools/angular_ts_library.bzl) +rule. +This new rule leverages ngtsc plugin supported by `ts_library`, and it is much faster. -
    - -More details - -Bazel schematics rely on the new - -ScopedTree in @angular-devkit/schematics. -There is currently no way for a schematic to mandate a minimum -"schematic runtime" version. The version of @angular-devkit/schematics -that is installed with the CLI is used to run the schematic even though a different -version is used in the schematic itself. -
    +For the latest recommendations, please refer to the canonical Angular Bazel [repo](https://github.com/bazelbuild/rules_nodejs/tree/master/examples/angular). -## Create a Bazel-managed Angular project +For questions, please ask in the `#angular` channel in http://slack.bazel.build/. -Create a new project using `@angular/bazel` schematics for `ng new`. +## Angular CLI -``` -$ ng new demo --collection=@angular/bazel --defaults -``` - -In addition to the regular files generated by CLI, the following files that are -specific to a Bazel workspace are also created. - -``` -... -CREATE demo/BUILD.bazel (190 bytes) -CREATE demo/WORKSPACE (2951 bytes) -CREATE demo/.bazelignore (18 bytes) -CREATE demo/.bazelrc (828 bytes) -CREATE demo/e2e/BUILD.bazel (1230 bytes) -CREATE demo/e2e/protractor.on-prepare.js (1101 bytes) -CREATE demo/src/BUILD.bazel (2626 bytes) -CREATE demo/src/initialize_testbed.ts (432 bytes) -CREATE demo/src/main.dev.ts (185 bytes) -CREATE demo/src/main.prod.ts (249 bytes) -``` - -Note that in a Bazel-managed project, there is a Bazel WORKSPACE file and a few BUILD.bazel files. -There are also some files specific to a Bazel-managed project, namely `main.dev.ts` and `main.prod.ts`. -This is because all Angular projects built with Bazel must be AOT only. -In a Bazel project, `main.ts` generated by CLI is not used. - -By default, `ng new` for Bazel does not perform `yarn install`. -This is because the `node_modules` are managed by Bazel and it is Bazel's -responsibility to perform the install. - -Next, let's try to build the project using Bazel. -All existing `ng` commands would work as before. - -``` -cd demo -# The following yarn step is needed so that `ng build` works correctly. -# Alternatively, you can skip this step if you choose to not use `ng` commands. -# In which case, you'd execute `yarn bazel build //src:bundle`. This is -# equivalent to running `ng build`. -yarn -ng build -ng serve -``` - -If you encounter a warning about version mismatch, update `ANGULAR_VERSION` in -the WORKSPACE file to match the version of `@angular/bazel` installed from NPM. - -Bring up the dev server using `ibazel run` command. - -``` -yarn ibazel run //src:devserver -``` - -Make some changes to the code, and verify that the dev server automatically refreshes. - -## Development notes - -To test any local changes, run - -```shell -bazel build //packages/bazel:npm_package -``` - -then `cd` to the npm package in the `dist` folder and run `yarn link`. -Next run `yarn link` again in the directory where the `ng` command is invoked. -Make sure the `ng` command is local, and not the global installation. - -## Generate .d.ts file from JSON schema - -The script to generate `.d.ts` file is located in the -[Angular CLI](https://github.com/angular/angular-cli) repo. Make sure -the CLI repository is checked out on your local machine. - -Then, in the CLI repository, run the following command - -```shell -bazel run //tools:quicktype_runner -- \ - ~/Documents/GitHub/angular/packages/bazel/src/schematics/ng-new/schema.json \ - ~/Documents/GitHub/angular/packages/bazel/src/schematics/ng-new/schema.d.ts -``` - -## TODOs - -1. Make the `ts_json_schema` rule re-usable and portable. -2. Add comments in BUILD files. See discussion [here](https://github.com/angular/angular/pull/26971#discussion_r231325683). +If you'd like to revert to the default Angular CLI builder, you could restore +the original Angular config from backup by replacing `angular.json` with +`angular.json.bak`. diff --git a/packages/bazel/src/schematics/collection.json b/packages/bazel/src/schematics/collection.json deleted file mode 100644 index b237962c63..0000000000 --- a/packages/bazel/src/schematics/collection.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "@angular/bazel", - "version": "0.1", - "schematics": { - "ng-add": { - "factory": "./ng-add", - "schema": "ng-add/schema.json", - "description": "Add Bazel build files and configurations to a project" - }, - "ng-new": { - "factory": "./ng-new", - "schema": "./ng-new/schema.json", - "description": "Create an Angular project that builds with Bazel." - } - } -} diff --git a/packages/bazel/src/schematics/ng-add/BUILD.bazel b/packages/bazel/src/schematics/ng-add/BUILD.bazel deleted file mode 100644 index c3b6070dcb..0000000000 --- a/packages/bazel/src/schematics/ng-add/BUILD.bazel +++ /dev/null @@ -1,36 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load("//tools:defaults.bzl", "ts_library") - -ts_library( - name = "ng-add", - srcs = [ - "index.ts", - "schema.d.ts", - ], - data = glob(["files/**/*"]) + [ - "schema.json", - ], - deps = [ - "//packages/bazel/src/schematics/utility", - "@npm//@angular-devkit/core", - "@npm//@angular-devkit/schematics", - "@npm//@schematics/angular", - "@npm//typescript", - ], -) - -ts_library( - name = "test", - testonly = True, - srcs = [ - "index_spec.ts", - ], - data = [ - "//packages/bazel/src/schematics:package_assets", - ], - deps = [ - ":ng-add", - "@npm//@angular-devkit/schematics", - ], -) diff --git a/packages/bazel/src/schematics/ng-add/files/e2e/protractor.on-prepare.js.template b/packages/bazel/src/schematics/ng-add/files/e2e/protractor.on-prepare.js.template deleted file mode 100644 index b45a62d07f..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/e2e/protractor.on-prepare.js.template +++ /dev/null @@ -1,24 +0,0 @@ -// The function exported from this file is used by the protractor_web_test_suite. -// It is passed to the `onPrepare` configuration setting in protractor and executed -// before running tests. -// -// If the function returns a promise, as it does here, protractor will wait -// for the promise to resolve before running tests. - -const protractorUtils = require('@bazel/protractor/protractor-utils'); -const protractor = require('protractor'); -const path = require('path'); - -module.exports = function(config) { - // In this example, `@bazel/protractor/protractor-utils` is used to run - // the server. protractorUtils.runServer() runs the server on a randomly - // selected port (given a port flag to pass to the server as an argument). - // The port used is returned in serverSpec and the protractor serverUrl - // is the configured. - const isProdserver = path.basename(config.server, path.extname(config.server)) === 'prodserver'; - return protractorUtils.runServer(config.workspace, config.server, isProdserver ? '-p' : '-port', []) - .then(serverSpec => { - const serverUrl = `http://localhost:${serverSpec.port}`; - protractor.browser.baseUrl = serverUrl; - }); -}; diff --git a/packages/bazel/src/schematics/ng-add/files/src/initialize_testbed.ts.template b/packages/bazel/src/schematics/ng-add/files/src/initialize_testbed.ts.template deleted file mode 100644 index e55c05b188..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/src/initialize_testbed.ts.template +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @fileoverview Provides a script to initialize TestBed before tests are run. - * This file should be included in the "runtime_deps" of a "karma_web_test_suite" - * rule. - */ -import {TestBed} from '@angular/core/testing'; -import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browser-dynamic/testing'; - -TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()); diff --git a/packages/bazel/src/schematics/ng-add/files/src/main.dev.ts.template b/packages/bazel/src/schematics/ng-add/files/src/main.dev.ts.template deleted file mode 100644 index 1f8eb00fe9..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/src/main.dev.ts.template +++ /dev/null @@ -1,4 +0,0 @@ -import {platformBrowser} from '@angular/platform-browser'; -import {AppModule} from './app/app.module'; - -platformBrowser().bootstrapModule(AppModule); diff --git a/packages/bazel/src/schematics/ng-add/files/src/main.prod.ts.template b/packages/bazel/src/schematics/ng-add/files/src/main.prod.ts.template deleted file mode 100644 index b6fe69489e..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/src/main.prod.ts.template +++ /dev/null @@ -1,6 +0,0 @@ -import {enableProdMode} from '@angular/core'; -import {platformBrowser} from '@angular/platform-browser'; -import {AppModule} from './app/app.module'; - -enableProdMode(); -platformBrowser().bootstrapModule(AppModule); diff --git a/packages/bazel/src/schematics/ng-add/files/src/rollup.config.js.template b/packages/bazel/src/schematics/ng-add/files/src/rollup.config.js.template deleted file mode 100644 index 6f6d3727c5..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/src/rollup.config.js.template +++ /dev/null @@ -1,11 +0,0 @@ -const node = require('rollup-plugin-node-resolve'); -const commonjs = require('rollup-plugin-commonjs'); - -module.exports = { - plugins: [ - node({ - mainFields: ['browser', 'es2015', 'module', 'jsnext:main', 'main'], - }), - commonjs(), - ], -}; diff --git a/packages/bazel/src/schematics/ng-add/files/src/rxjs_shims.js.template b/packages/bazel/src/schematics/ng-add/files/src/rxjs_shims.js.template deleted file mode 100644 index e819af725d..0000000000 --- a/packages/bazel/src/schematics/ng-add/files/src/rxjs_shims.js.template +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @fileoverview Provides named UMD shims for `rxjs/operators` and `rxjs/testing`. - * This file should be included in the "scripts" of a "ts_devserver" - * rule and the "deps" of a "karma_web_test_suite" rule. - */ -// rxjs/operators -(function(factory) { - if (typeof module === 'object' && typeof module.exports === 'object') { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } else if (typeof define === 'function' && define.amd) { - define('rxjs/operators', ['exports', 'rxjs'], factory); - } -})(function(exports, rxjs) { - 'use strict'; - Object.keys(rxjs.operators).forEach(function(key) { exports[key] = rxjs.operators[key]; }); - Object.defineProperty(exports, '__esModule', {value: true}); -}); - -// rxjs/testing -(function(factory) { - if (typeof module === 'object' && typeof module.exports === 'object') { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } else if (typeof define === 'function' && define.amd) { - define('rxjs/testing', ['exports', 'rxjs'], factory); - } -})(function(exports, rxjs) { - 'use strict'; - Object.keys(rxjs.testing).forEach(function(key) { exports[key] = rxjs.testing[key]; }); - Object.defineProperty(exports, '__esModule', {value: true}); -}); diff --git a/packages/bazel/src/schematics/ng-add/index.ts b/packages/bazel/src/schematics/ng-add/index.ts index b5bdd6dad0..f381a606e1 100644 --- a/packages/bazel/src/schematics/ng-add/index.ts +++ b/packages/bazel/src/schematics/ng-add/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/ng-add/index_spec.ts b/packages/bazel/src/schematics/ng-add/index_spec.ts index 7dc0f7ca58..d751890774 100644 --- a/packages/bazel/src/schematics/ng-add/index_spec.ts +++ b/packages/bazel/src/schematics/ng-add/index_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -204,7 +204,7 @@ describe('ng-add schematic', () => { const {files} = host; expect(files).toContain('/src/index.html'); const content = host.readContent('/src/index.html'); - expect(content).not.toMatch(''); + expect(content).not.toMatch(''); expect(content).not.toMatch(''); }); diff --git a/packages/bazel/src/schematics/ng-add/schema.d.ts b/packages/bazel/src/schematics/ng-add/schema.d.ts index 90e91dfd69..9fa5a4be2b 100644 --- a/packages/bazel/src/schematics/ng-add/schema.d.ts +++ b/packages/bazel/src/schematics/ng-add/schema.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/ng-add/schema.json b/packages/bazel/src/schematics/ng-add/schema.json deleted file mode 100755 index 0638b228f1..0000000000 --- a/packages/bazel/src/schematics/ng-add/schema.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "http://json-schema.org/schema", - "id": "SchematicsAngularBazelNgAdd", - "title": "Angular Bazel Ng Add Schema", - "type": "object", - "properties": { - "name": { - "description": "The name of the project.", - "type": "string", - "format": "html-selector", - "$default": { - "$source": "argv", - "index": 0 - } - }, - "skipInstall": { - "description": "When true, does not install dependency packages.", - "type": "boolean", - "default": false - } - }, - "required": [ - ] -} diff --git a/packages/bazel/src/schematics/ng-new/BUILD.bazel b/packages/bazel/src/schematics/ng-new/BUILD.bazel deleted file mode 100644 index 10f4836c45..0000000000 --- a/packages/bazel/src/schematics/ng-new/BUILD.bazel +++ /dev/null @@ -1,34 +0,0 @@ -load("//tools:defaults.bzl", "ts_library") - -package(default_visibility = ["//visibility:public"]) - -ts_library( - name = "ng-new", - srcs = [ - "index.ts", - "schema.d.ts", - ], - data = glob(["files/**/*"]) + [ - "schema.json", - ], - deps = [ - "//packages/bazel/src/schematics/ng-add", - "@npm//@angular-devkit/schematics", - "@npm//@schematics/angular", - ], -) - -ts_library( - name = "test", - testonly = True, - srcs = [ - "index_spec.ts", - ], - data = [ - "//packages/bazel/src/schematics:package_assets", - ], - deps = [ - ":ng-new", - "@npm//@angular-devkit/schematics", - ], -) diff --git a/packages/bazel/src/schematics/ng-new/index.ts b/packages/bazel/src/schematics/ng-new/index.ts index 51e52e5051..05ffc596da 100644 --- a/packages/bazel/src/schematics/ng-new/index.ts +++ b/packages/bazel/src/schematics/ng-new/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/ng-new/index_spec.ts b/packages/bazel/src/schematics/ng-new/index_spec.ts index 1da740b925..99322d7bac 100644 --- a/packages/bazel/src/schematics/ng-new/index_spec.ts +++ b/packages/bazel/src/schematics/ng-new/index_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/ng-new/schema.d.ts b/packages/bazel/src/schematics/ng-new/schema.d.ts index 913cf2bc26..69aedc72d8 100644 --- a/packages/bazel/src/schematics/ng-new/schema.d.ts +++ b/packages/bazel/src/schematics/ng-new/schema.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/ng-new/schema.json b/packages/bazel/src/schematics/ng-new/schema.json deleted file mode 100644 index 877a941985..0000000000 --- a/packages/bazel/src/schematics/ng-new/schema.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "$schema": "http://json-schema.org/schema", - "id": "SchematicsAngularNgNew", - "title": "Angular Ng New Options Schema", - "type": "object", - "properties": { - "directory": { - "type": "string", - "description": "The directory name to create the workspace in." - }, - "name": { - "description": "The name of the new workspace and initial project.", - "type": "string", - "format": "html-selector", - "$default": { - "$source": "argv", - "index": 0 - }, - "x-prompt": "What name would you like to use for the new workspace and initial project?" - }, - "enableIvy": { - "description": "When true, creates a new app that uses the Ivy rendering engine.", - "type": "boolean", - "default": false - }, - "skipInstall": { - "description": "When true, does not install dependency packages.", - "type": "boolean", - "default": false - }, - "linkCli": { - "description": "When true, links the CLI to the global version (internal development only).", - "type": "boolean", - "default": false, - "visible": false - }, - "skipGit": { - "description": "When true, does not initialize a git repository.", - "type": "boolean", - "default": false, - "alias": "g" - }, - "commit": { - "description": "Initial git repository commit information.", - "oneOf": [ - { "type": "boolean" }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string", - "format": "email" - }, - "message": { - "type": "string" - } - }, - "required": [ - "name", - "email" - ] - } - ], - "default": true - }, - "newProjectRoot": { - "description": "The path where new projects will be created, relative to the new workspace root.", - "type": "string", - "default": "projects" - }, - "inlineStyle": { - "description": "When true, includes styles inline in the component TS file. By default, an external styles file is created and referenced in the component TS file.", - "type": "boolean", - "default": false, - "alias": "s" - }, - "inlineTemplate": { - "description": "When true, includes template inline in the component TS file. By default, an external template file is created and referenced in the component TS file.", - "type": "boolean", - "default": false, - "alias": "t" - }, - "viewEncapsulation": { - "description": "The view encapsulation strategy to use in the initial project.", - "enum": ["Emulated", "Native", "None", "ShadowDom"], - "type": "string" - }, - "version": { - "type": "string", - "description": "The version of the Angular CLI to use.", - "visible": false, - "$default": { - "$source": "ng-cli-version" - } - }, - "routing": { - "type": "boolean", - "description": "When true, generates a routing module for the initial project.", - "default": false, - "x-prompt": "Would you like to add Angular routing?" - }, - "prefix": { - "type": "string", - "format": "html-selector", - "description": "The prefix to apply to generated selectors for the initial project.", - "minLength": 1, - "default": "app", - "alias": "p" - }, - "style": { - "description": "The file extension or preprocessor to use for style files.", - "type": "string", - "default": "css", - "enum": [ - "css", - "scss", - "sass" - ], - "x-prompt": { - "message": "Which stylesheet format would you like to use?", - "type": "list", - "items": [ - { "value": "css", "label": "CSS" }, - { "value": "scss", "label": "SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax ]" }, - { "value": "sass", "label": "Sass [ http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html ]" } - ] - } - }, - "skipTests": { - "description": "When true, does not generate \"spec.ts\" test files for the new project. ", - "type": "boolean", - "default": false - }, - "createApplication": { - "description": "When true (the default), creates a new initial app project in the src folder of the new workspace. When false, creates an empty workspace with no initial app. You can then use the generate application command so that all apps are created in the projects folder.", - "type": "boolean", - "default": true - }, - "minimal": { - "description": "When true, creates a project without any testing frameworks. (Use for learning purposes only.)", - "type": "boolean", - "default": false - } - }, - "required": [ - "name", - "version" - ] -} diff --git a/packages/bazel/src/schematics/utility/BUILD.bazel b/packages/bazel/src/schematics/utility/BUILD.bazel deleted file mode 100644 index 7425aa574f..0000000000 --- a/packages/bazel/src/schematics/utility/BUILD.bazel +++ /dev/null @@ -1,32 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load("//tools:defaults.bzl", "ts_library") - -ts_library( - name = "utility", - srcs = [ - "json-utils.ts", - "workspace-utils.ts", - ], - module_name = "@angular/bazel/src/schematics/utility", - deps = [ - "@npm//@angular-devkit/core", - "@npm//@angular-devkit/schematics", - "@npm//@schematics/angular", - "@npm//typescript", - ], -) - -ts_library( - name = "test", - testonly = True, - srcs = [ - "json-utils_spec.ts", - "workspace-utils_spec.ts", - ], - deps = [ - ":utility", - "@npm//@angular-devkit/core", - "@npm//@angular-devkit/schematics", - ], -) diff --git a/packages/bazel/src/schematics/utility/json-utils.ts b/packages/bazel/src/schematics/utility/json-utils.ts index 449ea6d62a..4feb7f5f8f 100644 --- a/packages/bazel/src/schematics/utility/json-utils.ts +++ b/packages/bazel/src/schematics/utility/json-utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/utility/json-utils_spec.ts b/packages/bazel/src/schematics/utility/json-utils_spec.ts index 4341d08345..e8abe05120 100644 --- a/packages/bazel/src/schematics/utility/json-utils_spec.ts +++ b/packages/bazel/src/schematics/utility/json-utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/utility/workspace-utils.ts b/packages/bazel/src/schematics/utility/workspace-utils.ts index 0fdb599abc..ef1f43e608 100644 --- a/packages/bazel/src/schematics/utility/workspace-utils.ts +++ b/packages/bazel/src/schematics/utility/workspace-utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/src/schematics/utility/workspace-utils_spec.ts b/packages/bazel/src/schematics/utility/workspace-utils_spec.ts index fa5a0024ba..6d8909f32a 100644 --- a/packages/bazel/src/schematics/utility/workspace-utils_spec.ts +++ b/packages/bazel/src/schematics/utility/workspace-utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/common_package.spec.ts b/packages/bazel/test/ng_package/common_package.spec.ts index 2e406e640c..c0aaafbcf2 100644 --- a/packages/bazel/test/ng_package/common_package.spec.ts +++ b/packages/bazel/test/ng_package/common_package.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/core_package.spec.ts b/packages/bazel/test/ng_package/core_package.spec.ts index 5c63ae95e3..cf54cabde6 100644 --- a/packages/bazel/test/ng_package/core_package.spec.ts +++ b/packages/bazel/test/ng_package/core_package.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -83,12 +83,6 @@ describe('@angular/core ng_package', () => { } }); - describe('closure', () => { - it('should contain externs', () => { - expect(shx.cat('src/testability/testability.externs.js')).toContain('/** @externs */'); - }); - }); - obsoleteInIvy('metadata files are no longer needed or produced in Ivy') .describe('angular metadata', () => { it('should have metadata.json files', () => { diff --git a/packages/bazel/test/ng_package/example-custom-entry-point-name.golden b/packages/bazel/test/ng_package/example-custom-entry-point-name.golden deleted file mode 100644 index b023e773c6..0000000000 --- a/packages/bazel/test/ng_package/example-custom-entry-point-name.golden +++ /dev/null @@ -1,939 +0,0 @@ -bundles - bundles/waffels-secondary.umd.js - bundles/waffels-secondary.umd.js.map - bundles/waffels-secondary.umd.min.js - bundles/waffels-secondary.umd.min.js.map - bundles/waffels.umd.js - bundles/waffels.umd.js.map - bundles/waffels.umd.min.js - bundles/waffels.umd.min.js.map -esm2015 - esm2015/example.externs.js - esm2015/example_public_index.js - esm2015/index.js - esm2015/index.ngfactory.js - esm2015/index.ngsummary.js - esm2015/mymodule.js - esm2015/mymodule.ngfactory.js - esm2015/mymodule.ngsummary.js - esm2015/secondary - esm2015/secondary/index.js - esm2015/secondary/index.ngfactory.js - esm2015/secondary/index.ngsummary.js - esm2015/secondary/secondary.externs.js - esm2015/secondary/secondary_public_index.js - esm2015/secondary/secondarymodule.js - esm2015/secondary/secondarymodule.ngfactory.js - esm2015/secondary/secondarymodule.ngsummary.js -esm5 - esm5/example_public_index.js - esm5/index.js - esm5/index.ngfactory.js - esm5/index.ngsummary.js - esm5/mymodule.js - esm5/mymodule.ngfactory.js - esm5/mymodule.ngsummary.js - esm5/secondary - esm5/secondary/index.js - esm5/secondary/index.ngfactory.js - esm5/secondary/index.ngsummary.js - esm5/secondary/secondary_public_index.js - esm5/secondary/secondarymodule.js - esm5/secondary/secondarymodule.ngfactory.js - esm5/secondary/secondarymodule.ngsummary.js -example_public_index.d.ts -example_public_index.metadata.json -fesm2015 - fesm2015/secondary.js - fesm2015/secondary.js.map - fesm2015/waffels.js - fesm2015/waffels.js.map -fesm5 - fesm5/secondary.js - fesm5/secondary.js.map - fesm5/waffels.js - fesm5/waffels.js.map -index.d.ts -mymodule.d.ts -secondary - secondary/index.d.ts - secondary/secondary_public_index.d.ts - secondary/secondary_public_index.metadata.json - secondary/secondarymodule.d.ts -xample - xample/package.json - xample/secondary - xample/secondary/package.json - xample/secondary.d.ts - xample/secondary.metadata.json -xample.d.ts -xample.metadata.json ---- bundles/waffels-secondary.umd.js --- - -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) : - typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) : - (factory((global.npm_package = {}),global.ng.core)); -}(this, (function (exports,core) { 'use strict'; - -/** - * @license - * Copyright Google Inc. 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 - */ -var SecondaryModule = /** @class */ (function () { - function SecondaryModule() { - } - SecondaryModule.decorators = [ - { type: core.NgModule, args: [{},] } - ]; - /** @nocollapse */ - SecondaryModule.ctorParameters = function () { return []; }; - return SecondaryModule; -}()); -var a = 1; - -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -exports.SecondaryModule = SecondaryModule; -exports.a = a; - -Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=waffels-secondary.umd.js.map - - ---- bundles/waffels-secondary.umd.js.map --- - -{"version":3,"file":"waffels-secondary.umd.js","sources":["../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondary.esm5/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondary_public_index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nvar SecondaryModule = /** @class */ (function () {\n function SecondaryModule() {\n }\n SecondaryModule.decorators = [\n { type: NgModule, args: [{},] }\n ];\n /** @nocollapse */\n SecondaryModule.ctorParameters = function () { return []; };\n return SecondaryModule;\n}());\nexport { SecondaryModule };\nexport var a = 1;\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBRXRDLFFBQVEsU0FBQyxFQUFFOzs7OzBCQVZaOztTQVdhLGVBQWU7QUFHNUIsTUFBTSxDQUFDLElBQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0=","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport * from './secondarymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQVFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc2Vjb25kYXJ5bW9kdWxlJztcbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5X3B1YmxpY19pbmRleC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnlfcHVibGljX2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":["NgModule"],"mappings":";;;;;;AAAA;;;;;;;AAOA,AACA,IAAI,eAAe,kBAAkB,YAAY;IAC7C,SAAS,eAAe,GAAG;KAC1B;IACD,eAAe,CAAC,UAAU,GAAG;QACzB,EAAE,IAAI,EAAEA,aAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;KAClC,CAAC;;IAEF,eAAe,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC5D,OAAO,eAAe,CAAC;CAC1B,EAAE,CAAC,CAAC;AACL,AACO,IAAI,CAAC,GAAG,CAAC;;ACnBhB;;;;;;GAMG;;ACNH;;GAEG;;;;;;;;;;;;;"} - ---- bundles/waffels-secondary.umd.min.js --- - -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define(["exports","@angular/core"],n):n(e.npm_package={},e.ng.core)}(this,function(e,n){"use strict"; -/** - * @license - * Copyright Google Inc. 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 - */var o=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{}]}],e.ctorParameters=function(){return[]},e}(); -/** - * @license - * Copyright Google Inc. 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 - */ -e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})}); - ---- bundles/waffels-secondary.umd.min.js.map --- - -{"version":3,"sources":["packages/bazel/test/ng_package/example-custom-entry-point-name/waffels-secondary.umd.js"],"names":["global","factory","exports","module","require","define","amd","npm_package","ng","core","this","SecondaryModule","decorators","type","NgModule","args","ctorParameters","a","Object","defineProperty","value"],"mappings":"CAAC,SAAUA,EAAQC,GACC,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,kBACtE,mBAAXC,QAAyBA,OAAOC,IAAMD,QAAQ,UAAW,iBAAkBJ,GACjFA,EAASD,EAAOO,eAAkBP,EAAOQ,GAAGC,MAH9C,CAIEC,KAAM,SAAWR,EAAQO,GAAQ;;;;;;;GASnC,IAAIE,EAAiC,WACjC,SAASA,KAOT,OALAA,EAAgBC,aACVC,KAAMJ,EAAKK,SAAUC,YAG3BJ,EAAgBK,eAAiB,WAAc,UACxCL,EARyB;;;;;;;;AAwBpCT,EAAQS,gBAAkBA,EAC1BT,EAAQe,EAfA,EAiBRC,OAAOC,eAAejB,EAAS,cAAgBkB,OAAO","sourcesContent":["(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :\n\ttypeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n\t(factory((global.npm_package = {}),global.ng.core));\n}(this, (function (exports,core) { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar SecondaryModule = /** @class */ (function () {\n function SecondaryModule() {\n }\n SecondaryModule.decorators = [\n { type: core.NgModule, args: [{},] }\n ];\n /** @nocollapse */\n SecondaryModule.ctorParameters = function () { return []; };\n return SecondaryModule;\n}());\nvar a = 1;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexports.SecondaryModule = SecondaryModule;\nexports.a = a;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=waffels-secondary.umd.js.map\n"]} - ---- bundles/waffels.umd.js --- - -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) : - typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) : - (factory((global.npm_package = {}),global.ng.core)); -}(this, (function (exports,core) { 'use strict'; - -/** - * @license - * Copyright Google Inc. 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 - */ -var MyModule = /** @class */ (function () { - function MyModule() { - } - MyModule.decorators = [ - { type: core.NgModule, args: [{},] } - ]; - /** @nocollapse */ - MyModule.ctorParameters = function () { return []; }; - return MyModule; -}()); - -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -exports.MyModule = MyModule; - -Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=waffels.umd.js.map - - ---- bundles/waffels.umd.js.map --- - -{"version":3,"file":"waffels.umd.js","sources":["../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/example.esm5/packages/bazel/test/ng_package/example-custom-entry-point-name/example_public_index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nvar MyModule = /** @class */ (function () {\n function MyModule() {\n }\n MyModule.decorators = [\n { type: NgModule, args: [{},] }\n ];\n /** @nocollapse */\n MyModule.ctorParameters = function () { return []; };\n return MyModule;\n}());\nexport { MyModule };\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBR3RDLFFBQVEsU0FBQyxFQUFFOzs7O21CQVhaOztTQVlhLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ==","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport * from './mymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsY0FBYyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbXltb2R1bGUnOyJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9leGFtcGxlX3B1YmxpY19pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":["NgModule"],"mappings":";;;;;;AAAA;;;;;;;AAOA,AACA,IAAI,QAAQ,kBAAkB,YAAY;IACtC,SAAS,QAAQ,GAAG;KACnB;IACD,QAAQ,CAAC,UAAU,GAAG;QAClB,EAAE,IAAI,EAAEA,aAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;KAClC,CAAC;;IAEF,QAAQ,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACrD,OAAO,QAAQ,CAAC;CACnB,EAAE,CAAC;;ACjBJ;;;;;;GAMG;;ACNH;;GAEG;;;;;;;;;;;;"} - ---- bundles/waffels.umd.min.js --- - -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define(["exports","@angular/core"],n):n(e.npm_package={},e.ng.core)}(this,function(e,n){"use strict"; -/** - * @license - * Copyright Google Inc. 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 - */var o=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{}]}],e.ctorParameters=function(){return[]},e}(); -/** - * @license - * Copyright Google Inc. 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 - */e.MyModule=o,Object.defineProperty(e,"__esModule",{value:!0})}); - ---- bundles/waffels.umd.min.js.map --- - -{"version":3,"sources":["packages/bazel/test/ng_package/example-custom-entry-point-name/waffels.umd.js"],"names":["global","factory","exports","module","require","define","amd","npm_package","ng","core","this","MyModule","decorators","type","NgModule","args","ctorParameters","Object","defineProperty","value"],"mappings":"CAAC,SAAUA,EAAQC,GACC,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,kBACtE,mBAAXC,QAAyBA,OAAOC,IAAMD,QAAQ,UAAW,iBAAkBJ,GACjFA,EAASD,EAAOO,eAAkBP,EAAOQ,GAAGC,MAH9C,CAIEC,KAAM,SAAWR,EAAQO,GAAQ;;;;;;;GASnC,IAAIE,EAA0B,WAC1B,SAASA,KAOT,OALAA,EAASC,aACHC,KAAMJ,EAAKK,SAAUC,YAG3BJ,EAASK,eAAiB,WAAc,UACjCL,EARkB;;;;;;;GAuB7BT,EAAQS,SAAWA,EAEnBM,OAAOC,eAAehB,EAAS,cAAgBiB,OAAO","sourcesContent":["(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :\n\ttypeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n\t(factory((global.npm_package = {}),global.ng.core));\n}(this, (function (exports,core) { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar MyModule = /** @class */ (function () {\n function MyModule() {\n }\n MyModule.decorators = [\n { type: core.NgModule, args: [{},] }\n ];\n /** @nocollapse */\n MyModule.ctorParameters = function () { return []; };\n return MyModule;\n}());\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexports.MyModule = MyModule;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=waffels.umd.js.map\n"]} - ---- esm2015/example.externs.js --- - -/** @externs */ -/** - * @externs - * @suppress {duplicate,checkTypes} - */ -// NOTE: generated by tsickle, do not edit. - - ---- esm2015/example_public_index.js --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9leGFtcGxlX3B1YmxpY19pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ== - ---- esm2015/index.js --- - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 { MyModule } from './mymodule'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLHlCQUFjLFlBQVksQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9teW1vZHVsZSc7Il19 - ---- esm2015/index.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvaW5kZXgubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iXX0= - ---- esm2015/index.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvaW5kZXgubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iXX0= - ---- esm2015/mymodule.js --- - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 { NgModule } from '@angular/core'; -export class MyModule { -} -MyModule.decorators = [ - { type: NgModule, args: [{},] } -]; -/** @nocollapse */ -MyModule.ctorParameters = () => []; -function MyModule_tsickle_Closure_declarations() { - /** @type {!Array<{type: !Function, args: (undefined|!Array)}>} */ - MyModule.decorators; - /** - * @nocollapse - * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array)}>)})>} - */ - MyModule.ctorParameters; -} - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFJdkMsTUFBTTs7O1lBREwsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ== - ---- esm2015/mymodule.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "@angular/core"; -import * as i1 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/mymodule"; -var MyModuleNgFactory = i0.ɵcmf(i1.MyModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i1.MyModule, i1.MyModule, [])]); }); -export { MyModuleNgFactory as MyModuleNgFactory }; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCAqIGFzIGkxIGZyb20gJ2FuZ3VsYXIvcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUnO1xuZXhwb3J0IGNvbnN0IE15TW9kdWxlTmdGYWN0b3J5OmkwLk5nTW9kdWxlRmFjdG9yeTxpMS5NeU1vZHVsZT4gPSAobnVsbCBhcyBhbnkpO1xudmFyIF9kZWNsMF8wOmkwLlRlbXBsYXRlUmVmPGFueT4gPSAoPGFueT4obnVsbCBhcyBhbnkpKTtcbnZhciBfZGVjbDBfMTppMC5FbGVtZW50UmVmPGFueT4gPSAoPGFueT4obnVsbCBhcyBhbnkpKTtcbiJdfQ== - ---- esm2015/mymodule.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/mymodule"; -export function MyModuleNgSummary() { return [{ summaryKind: 2, type: { reference: i0.MyModule, diDeps: [], lifecycleHooks: [] }, entryComponents: [], providers: [], modules: [{ reference: i0.MyModule, diDeps: [], lifecycleHooks: [] }], exportedDirectives: [], exportedPipes: [] }]; } - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG5leHBvcnQgZnVuY3Rpb24gTXlNb2R1bGVOZ1N1bW1hcnkoKTphbnlbXSB7XG4gIHJldHVybiAobnVsbCBhcyBhbnkpO1xufVxuIl19 - ---- esm2015/secondary/index.js --- - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 { SecondaryModule, a } from './secondarymodule'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFRQSxtQ0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9zZWNvbmRhcnltb2R1bGUnO1xuIl19 - ---- esm2015/secondary/index.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L2luZGV4Lm5nZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgaTAgZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pMC5Db21wb25lbnRGYWN0b3J5O1xuIl19 - ---- esm2015/secondary/index.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L2luZGV4Lm5nc3VtbWFyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgaTAgZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pMC5Db21wb25lbnRGYWN0b3J5O1xuIl19 - ---- esm2015/secondary/secondary.externs.js --- - -/** @externs */ -/** - * @externs - * @suppress {duplicate,checkTypes} - */ -// NOTE: generated by tsickle, do not edit. - - ---- esm2015/secondary/secondary_public_index.js --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5X3B1YmxpY19pbmRleC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnlfcHVibGljX2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19 - ---- esm2015/secondary/secondarymodule.js --- - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 { NgModule } from '@angular/core'; -export class SecondaryModule { -} -SecondaryModule.decorators = [ - { type: NgModule, args: [{},] } -]; -/** @nocollapse */ -SecondaryModule.ctorParameters = () => []; -function SecondaryModule_tsickle_Closure_declarations() { - /** @type {!Array<{type: !Function, args: (undefined|!Array)}>} */ - SecondaryModule.decorators; - /** - * @nocollapse - * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array)}>)})>} - */ - SecondaryModule.ctorParameters; -} -export const /** @type {?} */ a = 1; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHdkMsTUFBTTs7O1lBREwsUUFBUSxTQUFDLEVBQUU7Ozs7Ozs7Ozs7Ozs7QUFJWixNQUFNLENBQUMsdUJBQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0= - ---- esm2015/secondary/secondarymodule.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "@angular/core"; -import * as i1 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondarymodule"; -var SecondaryModuleNgFactory = i0.ɵcmf(i1.SecondaryModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i1.SecondaryModule, i1.SecondaryModule, [])]); }); -export { SecondaryModuleNgFactory as SecondaryModuleNgFactory }; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCAqIGFzIGkxIGZyb20gJ2FuZ3VsYXIvcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZSc7XG5leHBvcnQgY29uc3QgU2Vjb25kYXJ5TW9kdWxlTmdGYWN0b3J5OmkwLk5nTW9kdWxlRmFjdG9yeTxpMS5TZWNvbmRhcnlNb2R1bGU+ID0gKG51bGwgYXMgYW55KTtcbnZhciBfZGVjbDBfMDppMC5UZW1wbGF0ZVJlZjxhbnk+ID0gKDxhbnk+KG51bGwgYXMgYW55KSk7XG52YXIgX2RlY2wwXzE6aTAuRWxlbWVudFJlZjxhbnk+ID0gKDxhbnk+KG51bGwgYXMgYW55KSk7XG4iXX0= - ---- esm2015/secondary/secondarymodule.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondarymodule"; -export function SecondaryModuleNgSummary() { return [{ summaryKind: 2, type: { reference: i0.SecondaryModule, diDeps: [], lifecycleHooks: [] }, entryComponents: [], providers: [], modules: [{ reference: i0.SecondaryModule, diDeps: [], lifecycleHooks: [] }], exportedDirectives: [], exportedPipes: [] }]; } - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLm5nc3VtbWFyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG5leHBvcnQgZnVuY3Rpb24gU2Vjb25kYXJ5TW9kdWxlTmdTdW1tYXJ5KCk6YW55W10ge1xuICByZXR1cm4gKG51bGwgYXMgYW55KTtcbn1cbiJdfQ== - ---- esm5/example_public_index.js --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9leGFtcGxlX3B1YmxpY19pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ== - ---- esm5/index.js --- - -/** - * @license - * Copyright Google Inc. 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 * from './mymodule'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsY0FBYyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbXltb2R1bGUnOyJdfQ== - ---- esm5/index.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvaW5kZXgubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iXX0= - ---- esm5/index.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvaW5kZXgubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iXX0= - ---- esm5/mymodule.js --- - -/** - * @license - * Copyright Google Inc. 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 { NgModule } from '@angular/core'; -var MyModule = /** @class */ (function () { - function MyModule() { - } - MyModule.decorators = [ - { type: NgModule, args: [{},] } - ]; - /** @nocollapse */ - MyModule.ctorParameters = function () { return []; }; - return MyModule; -}()); -export { MyModule }; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBR3RDLFFBQVEsU0FBQyxFQUFFOzs7O21CQVhaOztTQVlhLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ== - ---- esm5/mymodule.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "@angular/core"; -import * as i1 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/mymodule"; -var MyModuleNgFactory = i0.ɵcmf(i1.MyModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i1.MyModule, i1.MyModule, [])]); }); -export { MyModuleNgFactory as MyModuleNgFactory }; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCAqIGFzIGkxIGZyb20gJ2FuZ3VsYXIvcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUnO1xuZXhwb3J0IGNvbnN0IE15TW9kdWxlTmdGYWN0b3J5OmkwLk5nTW9kdWxlRmFjdG9yeTxpMS5NeU1vZHVsZT4gPSAobnVsbCBhcyBhbnkpO1xudmFyIF9kZWNsMF8wOmkwLlRlbXBsYXRlUmVmPGFueT4gPSAoPGFueT4obnVsbCBhcyBhbnkpKTtcbnZhciBfZGVjbDBfMTppMC5FbGVtZW50UmVmPGFueT4gPSAoPGFueT4obnVsbCBhcyBhbnkpKTtcbiJdfQ== - ---- esm5/mymodule.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/mymodule"; -export function MyModuleNgSummary() { return [{ summaryKind: 2, type: { reference: i0.MyModule, diDeps: [], lifecycleHooks: [] }, entryComponents: [], providers: [], modules: [{ reference: i0.MyModule, diDeps: [], lifecycleHooks: [] }], exportedDirectives: [], exportedPipes: [] }]; } - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvbXltb2R1bGUubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG5leHBvcnQgZnVuY3Rpb24gTXlNb2R1bGVOZ1N1bW1hcnkoKTphbnlbXSB7XG4gIHJldHVybiAobnVsbCBhcyBhbnkpO1xufVxuIl19 - ---- esm5/secondary/index.js --- - -/** - * @license - * Copyright Google Inc. 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 * from './secondarymodule'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQVFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc2Vjb25kYXJ5bW9kdWxlJztcbiJdfQ== - ---- esm5/secondary/index.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L2luZGV4Lm5nZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgaTAgZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pMC5Db21wb25lbnRGYWN0b3J5O1xuIl19 - ---- esm5/secondary/index.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgubmdzdW1tYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L2luZGV4Lm5nc3VtbWFyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgaTAgZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pMC5Db21wb25lbnRGYWN0b3J5O1xuIl19 - ---- esm5/secondary/secondary_public_index.js --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5X3B1YmxpY19pbmRleC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnlfcHVibGljX2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19 - ---- esm5/secondary/secondarymodule.js --- - -/** - * @license - * Copyright Google Inc. 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 { NgModule } from '@angular/core'; -var SecondaryModule = /** @class */ (function () { - function SecondaryModule() { - } - SecondaryModule.decorators = [ - { type: NgModule, args: [{},] } - ]; - /** @nocollapse */ - SecondaryModule.ctorParameters = function () { return []; }; - return SecondaryModule; -}()); -export { SecondaryModule }; -export var a = 1; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBRXRDLFFBQVEsU0FBQyxFQUFFOzs7OzBCQVZaOztTQVdhLGVBQWU7QUFHNUIsTUFBTSxDQUFDLElBQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0= - ---- esm5/secondary/secondarymodule.ngfactory.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "@angular/core"; -import * as i1 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondarymodule"; -var SecondaryModuleNgFactory = i0.ɵcmf(i1.SecondaryModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i1.SecondaryModule, i1.SecondaryModule, [])]); }); -export { SecondaryModuleNgFactory as SecondaryModuleNgFactory }; - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUubmdmYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCAqIGFzIGkxIGZyb20gJ2FuZ3VsYXIvcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZSc7XG5leHBvcnQgY29uc3QgU2Vjb25kYXJ5TW9kdWxlTmdGYWN0b3J5OmkwLk5nTW9kdWxlRmFjdG9yeTxpMS5TZWNvbmRhcnlNb2R1bGU+ID0gKG51bGwgYXMgYW55KTtcbnZhciBfZGVjbDBfMDppMC5UZW1wbGF0ZVJlZjxhbnk+ID0gKDxhbnk+KG51bGwgYXMgYW55KSk7XG52YXIgX2RlY2wwXzE6aTAuRWxlbWVudFJlZjxhbnk+ID0gKDxhbnk+KG51bGwgYXMgYW55KSk7XG4iXX0= - ---- esm5/secondary/secondarymodule.ngsummary.js --- - -/** - * @fileoverview This file was generated by the Angular template compiler. Do not edit. - * - * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} - * tslint:disable - */ -import * as i0 from "angular/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondarymodule"; -export function SecondaryModuleNgSummary() { return [{ summaryKind: 2, type: { reference: i0.SecondaryModule, diDeps: [], lifecycleHooks: [] }, entryComponents: [], providers: [], modules: [{ reference: i0.SecondaryModule, diDeps: [], lifecycleHooks: [] }], exportedDirectives: [], exportedPipes: [] }]; } - -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLm5nc3VtbWFyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUubmdzdW1tYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG5leHBvcnQgZnVuY3Rpb24gU2Vjb25kYXJ5TW9kdWxlTmdTdW1tYXJ5KCk6YW55W10ge1xuICByZXR1cm4gKG51bGwgYXMgYW55KTtcbn1cbiJdfQ== - ---- example_public_index.d.ts --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - - ---- example_public_index.metadata.json --- - -{"__symbolic":"module","version":4,"metadata":{"MyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{}]}],"members":{}}},"origins":{"MyModule":"./mymodule"},"importAs":"example"} - ---- fesm2015/secondary.js --- - -import { NgModule } from '@angular/core'; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 - */ -class SecondaryModule { -} -SecondaryModule.decorators = [ - { type: NgModule, args: [{},] } -]; -/** @nocollapse */ -SecondaryModule.ctorParameters = () => []; -const a = 1; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -export { SecondaryModule, a }; -//# sourceMappingURL=secondary.js.map - - ---- fesm2015/secondary.js.map --- - -{"version":3,"file":"secondary.js","sources":["../../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/npm_package.es6/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondary_public_index.js"],"sourcesContent":["/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nexport class SecondaryModule {\n}\nSecondaryModule.decorators = [\n { type: NgModule, args: [{},] }\n];\n/** @nocollapse */\nSecondaryModule.ctorParameters = () => [];\nfunction SecondaryModule_tsickle_Closure_declarations() {\n /** @type {!Array<{type: !Function, args: (undefined|!Array)}>} */\n SecondaryModule.decorators;\n /**\n * @nocollapse\n * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array)}>)})>}\n */\n SecondaryModule.ctorParameters;\n}\nexport const /** @type {?} */ a = 1;\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHdkMsTUFBTTs7O1lBREwsUUFBUSxTQUFDLEVBQUU7Ozs7Ozs7Ozs7Ozs7QUFJWixNQUFNLENBQUMsdUJBQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0=","/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport { SecondaryModule, a } from './secondarymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFRQSxtQ0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9zZWNvbmRhcnltb2R1bGUnO1xuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5X3B1YmxpY19pbmRleC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnlfcHVibGljX2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;AAAA;;;;;;;;;;;AAWA,AACO,MAAM,eAAe,CAAC;CAC5B;AACD,eAAe,CAAC,UAAU,GAAG;IACzB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;CAClC,CAAC;;AAEF,eAAe,CAAC,cAAc,GAAG,MAAM,EAAE,CAAC;AAC1C,AASO,MAAuB,CAAC,GAAG,CAAC;;AC5BnC;;;;;;;;;;GAUG;;ACVH;;GAEG;;;;"} - ---- fesm2015/waffels.js --- - -import { NgModule } from '@angular/core'; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 - */ -class MyModule { -} -MyModule.decorators = [ - { type: NgModule, args: [{},] } -]; -/** @nocollapse */ -MyModule.ctorParameters = () => []; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -export { MyModule }; -//# sourceMappingURL=waffels.js.map - - ---- fesm2015/waffels.js.map --- - -{"version":3,"file":"waffels.js","sources":["../../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/npm_package.es6/packages/bazel/test/ng_package/example-custom-entry-point-name/example_public_index.js"],"sourcesContent":["/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nexport class MyModule {\n}\nMyModule.decorators = [\n { type: NgModule, args: [{},] }\n];\n/** @nocollapse */\nMyModule.ctorParameters = () => [];\nfunction MyModule_tsickle_Closure_declarations() {\n /** @type {!Array<{type: !Function, args: (undefined|!Array)}>} */\n MyModule.decorators;\n /**\n * @nocollapse\n * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array)}>)})>}\n */\n MyModule.ctorParameters;\n}\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFJdkMsTUFBTTs7O1lBREwsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ==","/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport { MyModule } from './mymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVFBLHlCQUFjLFlBQVksQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9teW1vZHVsZSc7Il19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9leGFtcGxlX3B1YmxpY19pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;AAAA;;;;;;;;;;;AAWA,AACO,MAAM,QAAQ,CAAC;CACrB;AACD,QAAQ,CAAC,UAAU,GAAG;IAClB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;CAClC,CAAC;;AAEF,QAAQ,CAAC,cAAc,GAAG,MAAM,EAAE,CAAC;;AClBnC;;;;;;;;;;GAUG;;ACVH;;GAEG;;;;"} - ---- fesm5/secondary.js --- - -import { NgModule } from '@angular/core'; - -/** - * @license - * Copyright Google Inc. 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 - */ -var SecondaryModule = /** @class */ (function () { - function SecondaryModule() { - } - SecondaryModule.decorators = [ - { type: NgModule, args: [{},] } - ]; - /** @nocollapse */ - SecondaryModule.ctorParameters = function () { return []; }; - return SecondaryModule; -}()); -var a = 1; - -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -export { SecondaryModule, a }; -//# sourceMappingURL=secondary.js.map - - ---- fesm5/secondary.js.map --- - -{"version":3,"file":"secondary.js","sources":["../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondary.esm5/packages/bazel/test/ng_package/example-custom-entry-point-name/secondary/secondary_public_index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nvar SecondaryModule = /** @class */ (function () {\n function SecondaryModule() {\n }\n SecondaryModule.decorators = [\n { type: NgModule, args: [{},] }\n ];\n /** @nocollapse */\n SecondaryModule.ctorParameters = function () { return []; };\n return SecondaryModule;\n}());\nexport { SecondaryModule };\nexport var a = 1;\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUtY3VzdG9tLWVudHJ5LXBvaW50LW5hbWUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBRXRDLFFBQVEsU0FBQyxFQUFFOzs7OzBCQVZaOztTQVdhLGVBQWU7QUFHNUIsTUFBTSxDQUFDLElBQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0=","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport * from './secondarymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQVFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc2Vjb25kYXJ5bW9kdWxlJztcbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5X3B1YmxpY19pbmRleC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLWN1c3RvbS1lbnRyeS1wb2ludC1uYW1lL3NlY29uZGFyeS9zZWNvbmRhcnlfcHVibGljX2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;AAAA;;;;;;;AAOA,AACA,IAAI,eAAe,kBAAkB,YAAY;IAC7C,SAAS,eAAe,GAAG;KAC1B;IACD,eAAe,CAAC,UAAU,GAAG;QACzB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;KAClC,CAAC;;IAEF,eAAe,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC5D,OAAO,eAAe,CAAC;CAC1B,EAAE,CAAC,CAAC;AACL,AACO,IAAI,CAAC,GAAG,CAAC;;ACnBhB;;;;;;GAMG;;ACNH;;GAEG;;;;"} - ---- fesm5/waffels.js --- - -import { NgModule } from '@angular/core'; - -/** - * @license - * Copyright Google Inc. 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 - */ -var MyModule = /** @class */ (function () { - function MyModule() { - } - MyModule.decorators = [ - { type: NgModule, args: [{},] } - ]; - /** @nocollapse */ - MyModule.ctorParameters = function () { return []; }; - return MyModule; -}()); - -/** - * @license - * Copyright Google Inc. 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 - */ - -/** - * Generated bundle index. Do not edit. - */ - -export { MyModule }; -//# sourceMappingURL=waffels.js.map - - ---- fesm5/waffels.js.map --- - -{"version":3,"file":"waffels.js","sources":["../../../../../../../../../../../../../execroot/angular/bazel-bin/packages/bazel/test/ng_package/example-custom-entry-point-name/example.esm5/packages/bazel/test/ng_package/example-custom-entry-point-name/example_public_index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NgModule } from '@angular/core';\nvar MyModule = /** @class */ (function () {\n function MyModule() {\n }\n MyModule.decorators = [\n { type: NgModule, args: [{},] }\n ];\n /** @nocollapse */\n MyModule.ctorParameters = function () { return []; };\n return MyModule;\n}());\nexport { MyModule };\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Z0JBR3RDLFFBQVEsU0FBQyxFQUFFOzs7O21CQVhaOztTQVlhLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ==","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nexport * from './mymodule';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBUUEsY0FBYyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbXltb2R1bGUnOyJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS1jdXN0b20tZW50cnktcG9pbnQtbmFtZS9leGFtcGxlX3B1YmxpY19pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;AAAA;;;;;;;AAOA,AACA,IAAI,QAAQ,kBAAkB,YAAY;IACtC,SAAS,QAAQ,GAAG;KACnB;IACD,QAAQ,CAAC,UAAU,GAAG;QAClB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;KAClC,CAAC;;IAEF,QAAQ,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACrD,OAAO,QAAQ,CAAC;CACnB,EAAE,CAAC;;ACjBJ;;;;;;GAMG;;ACNH;;GAEG;;;;"} - ---- index.d.ts --- - -/** - * @license - * Copyright Google Inc. 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 * from './mymodule'; - - ---- mymodule.d.ts --- - -export declare class MyModule { -} - - ---- secondary/index.d.ts --- - -/** - * @license - * Copyright Google Inc. 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 * from './secondarymodule'; - - ---- secondary/secondary_public_index.d.ts --- - -/** - * Generated bundle index. Do not edit. - */ -export * from './index'; - - ---- secondary/secondary_public_index.metadata.json --- - -{"__symbolic":"module","version":4,"metadata":{"SecondaryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{}]}],"members":{}},"a":1},"origins":{"SecondaryModule":"./secondarymodule","a":"./secondarymodule"},"importAs":"example/secondary"} - ---- secondary/secondarymodule.d.ts --- - -export declare class SecondaryModule { -} -export declare const a = 1; - - ---- xample/package.json --- - -{ - "name": "example", - "main": "./bundles/example.umd.js", - "fesm5": "./fesm5/example.js", - "fesm2015": "./fesm2015/example.js", - "esm5": "../esm5/example_public_index.js", - "esm2015": "../esm2015/example_public_index.js", - "typings": "../example_public_index.d.ts", - "module": "./fesm5/example.js", - "es2015": "./fesm2015/example.js" -} - ---- xample/secondary/package.json --- - -{ - "name": "example/secondary", - "main": "../bundles/example-secondary.umd.js", - "fesm5": "../fesm5/secondary.js", - "fesm2015": "../fesm2015/secondary.js", - "esm5": "../../esm5/secondary/secondary_public_index.js", - "esm2015": "../../esm2015/secondary/secondary_public_index.js", - "typings": "../../secondary/secondary_public_index.d.ts", - "module": "../fesm5/secondary.js", - "es2015": "../fesm2015/secondary.js" -} - ---- xample/secondary.d.ts --- - - - export * from '../secondary/secondary_public_index'; - - ---- xample/secondary.metadata.json --- - -{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"../secondary/secondary_public_index"}],"flatModuleIndexRedirect":true} - - ---- xample.d.ts --- - - - export * from './example_public_index'; - - ---- xample.metadata.json --- - -{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./example_public_index"}],"flatModuleIndexRedirect":true} - diff --git a/packages/bazel/test/ng_package/example-with-ts-library/index.ts b/packages/bazel/test/ng_package/example-with-ts-library/index.ts index bbcd0352c7..fabe012cb7 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/index.ts +++ b/packages/bazel/test/ng_package/example-with-ts-library/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example-with-ts-library/package.json b/packages/bazel/test/ng_package/example-with-ts-library/package.json index 87a2ca0101..d94d3e62c5 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/package.json +++ b/packages/bazel/test/ng_package/example-with-ts-library/package.json @@ -1,13 +1,5 @@ { - "name": "example", + "name": "example-with-ts-library", "version": "0.0.0-PLACEHOLDER", - "main": "./bundles/example.umd.js", - "fesm5": "./fesm5/example.js", - "fesm2015": "./fesm2015/example.js", - "esm5": "./esm5/index.js", - "esm2015": "./esm2015/index.js", - "typings": "./index.d.ts", - "module": "./fesm5/example.js", - "es2015": "./fesm2015/example.js", "schematics": "Custom property that should be preserved." } diff --git a/packages/bazel/test/ng_package/example-with-ts-library/portal/BUILD.bazel b/packages/bazel/test/ng_package/example-with-ts-library/portal/BUILD.bazel index 72f7a71697..395552157c 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/portal/BUILD.bazel +++ b/packages/bazel/test/ng_package/example-with-ts-library/portal/BUILD.bazel @@ -6,7 +6,7 @@ ng_module( name = "portal", srcs = glob(["*.ts"]), bundle_dts = False, - module_name = "example/portal", + module_name = "example-with-ts-library/portal", deps = [ "//packages/core", "@npm//@types", diff --git a/packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts b/packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts index 844816b85e..d0436b8627 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts +++ b/packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts b/packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts index 8dc2a38bcf..6b9aefe640 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts +++ b/packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example-with-ts-library/utils/BUILD.bazel b/packages/bazel/test/ng_package/example-with-ts-library/utils/BUILD.bazel index 7cd3614fb9..74c1e628bf 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/utils/BUILD.bazel +++ b/packages/bazel/test/ng_package/example-with-ts-library/utils/BUILD.bazel @@ -5,5 +5,5 @@ package(default_visibility = ["//packages/bazel/test:__subpackages__"]) ts_library( name = "utils", srcs = glob(["*.ts"]), - module_name = "example/utils", + module_name = "example-with-ts-library/utils", ) diff --git a/packages/bazel/test/ng_package/example-with-ts-library/utils/index.ts b/packages/bazel/test/ng_package/example-with-ts-library/utils/index.ts index 3345e23134..21e4718578 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/utils/index.ts +++ b/packages/bazel/test/ng_package/example-with-ts-library/utils/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example-with-ts-library/utils/testing.ts b/packages/bazel/test/ng_package/example-with-ts-library/utils/testing.ts index cd58406ef3..916d76fdf6 100644 --- a/packages/bazel/test/ng_package/example-with-ts-library/utils/testing.ts +++ b/packages/bazel/test/ng_package/example-with-ts-library/utils/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/a11y/index.ts b/packages/bazel/test/ng_package/example/a11y/index.ts index d6e71197ad..676ca90f1f 100644 --- a/packages/bazel/test/ng_package/example/a11y/index.ts +++ b/packages/bazel/test/ng_package/example/a11y/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/a11y/public-api.ts b/packages/bazel/test/ng_package/example/a11y/public-api.ts index 00d0da13a5..8b731ebffc 100644 --- a/packages/bazel/test/ng_package/example/a11y/public-api.ts +++ b/packages/bazel/test/ng_package/example/a11y/public-api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/arbitrary-npm-package-main.js b/packages/bazel/test/ng_package/example/arbitrary-npm-package-main.js index d9b04a8937..0f363a03e2 100644 --- a/packages/bazel/test/ng_package/example/arbitrary-npm-package-main.js +++ b/packages/bazel/test/ng_package/example/arbitrary-npm-package-main.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/imports/index.ts b/packages/bazel/test/ng_package/example/imports/index.ts index d6e71197ad..676ca90f1f 100644 --- a/packages/bazel/test/ng_package/example/imports/index.ts +++ b/packages/bazel/test/ng_package/example/imports/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/imports/public-api.ts b/packages/bazel/test/ng_package/example/imports/public-api.ts index e9eec89d5e..95ce82df8e 100644 --- a/packages/bazel/test/ng_package/example/imports/public-api.ts +++ b/packages/bazel/test/ng_package/example/imports/public-api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/imports/second.ts b/packages/bazel/test/ng_package/example/imports/second.ts index d0645df70b..c50bf32ec6 100644 --- a/packages/bazel/test/ng_package/example/imports/second.ts +++ b/packages/bazel/test/ng_package/example/imports/second.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/index.ts b/packages/bazel/test/ng_package/example/index.ts index 374f4edd11..6e670bf1d5 100644 --- a/packages/bazel/test/ng_package/example/index.ts +++ b/packages/bazel/test/ng_package/example/index.ts @@ -1,9 +1,9 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * from './mymodule'; \ No newline at end of file +export * from './mymodule'; diff --git a/packages/bazel/test/ng_package/example/mymodule.ts b/packages/bazel/test/ng_package/example/mymodule.ts index a34eb53014..c5c6472635 100644 --- a/packages/bazel/test/ng_package/example/mymodule.ts +++ b/packages/bazel/test/ng_package/example/mymodule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ import {a} from './secondary/secondarymodule'; @NgModule({}) export class MyModule { -} \ No newline at end of file +} diff --git a/packages/bazel/test/ng_package/example/secondary/index.ts b/packages/bazel/test/ng_package/example/secondary/index.ts index 768e94c8b0..50da56dae2 100644 --- a/packages/bazel/test/ng_package/example/secondary/index.ts +++ b/packages/bazel/test/ng_package/example/secondary/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example/secondary/secondarymodule.ts b/packages/bazel/test/ng_package/example/secondary/secondarymodule.ts index 17e4c1a7ae..44debd72e7 100644 --- a/packages/bazel/test/ng_package/example/secondary/secondarymodule.ts +++ b/packages/bazel/test/ng_package/example/secondary/secondarymodule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example_package.golden b/packages/bazel/test/ng_package/example_package.golden index b5b7b28e9a..f8bfa58b79 100644 --- a/packages/bazel/test/ng_package/example_package.golden +++ b/packages/bazel/test/ng_package/example_package.golden @@ -137,7 +137,7 @@ export * from './a11y/a11y'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -170,223 +170,9 @@ Hello (global = global || self, factory((global.example = global.example || {}, global.example.a11y = {}), global.ng.core)); }(this, (function (exports, core) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); - } - - function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; - } - /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -394,15 +180,15 @@ Hello var A11yModule = /** @class */ (function () { function A11yModule() { } - A11yModule = __decorate([ - core.NgModule({}) - ], A11yModule); return A11yModule; }()); + A11yModule.decorators = [ + { type: core.NgModule, args: [{},] } + ]; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -427,36 +213,22 @@ Hello * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/a11y",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.a11y={}),e.ng.core)}(this,(function(e,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/a11y",["exports","@angular/core"],o):o(((e=e||self).example=e.example||{},e.example.a11y={}),e.ng.core)}(this,(function(e,o){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 + */var t;(t=function t(){}).decorators=[{type:o.NgModule,args:[{}]}], +/** + * @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 */ -var o=function n(e,t,o,r){var f,c=arguments.length,l=c<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var u=e.length-1;u>=0;u--)(f=e[u])&&(l=(c<3?f(l):c>3?f(t,o,l):f(t,o))||l);return c>3&&l&&Object.defineProperty(t,o,l),l}([t.NgModule({})],(function o(){})); -/** - * @license - * Copyright Google Inc. 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 - */e.A11yModule=o,Object.defineProperty(e,"__esModule",{value:!0})})); +e.A11yModule=t,Object.defineProperty(e,"__esModule",{value:!0})})); --- bundles/waffels-imports.umd.js --- @@ -472,245 +244,47 @@ var o=function n(e,t,o,r){var f,c=arguments.length,l=c<3?t:null===r?r=Object.get (global = global || self, factory((global.example = global.example || {}, global.example.imports = {}), global.ng.core)); }(this, (function (exports, i0) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); - } - - function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; - } - + /** + * @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 + */ var MySecondService = /** @class */ (function () { function MySecondService() { } - MySecondService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); - MySecondService = __decorate([ - i0.Injectable({ providedIn: 'root' }) - ], MySecondService); return MySecondService; }()); + MySecondService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); + MySecondService.decorators = [ + { type: i0.Injectable, args: [{ providedIn: 'root' },] } + ]; + /** + * @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 + */ var MyService = /** @class */ (function () { function MyService(secondService) { this.secondService = secondService; } - MyService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(i0.ɵɵinject(MySecondService)); }, token: MyService, providedIn: "root" }); - MyService = __decorate([ - i0.Injectable({ providedIn: 'root' }), - __metadata("design:paramtypes", [MySecondService]) - ], MyService); return MyService; }()); + MyService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(i0.ɵɵinject(MySecondService)); }, token: MyService, providedIn: "root" }); + MyService.decorators = [ + { type: i0.Injectable, args: [{ providedIn: 'root' },] } + ]; + MyService.ctorParameters = function () { return [ + { type: MySecondService } + ]; }; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -737,28 +311,21 @@ var o=function n(e,t,o,r){var f,c=arguments.length,l=c<3?t:null===r?r=Object.get * License: MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/imports",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.imports={}),e.ng.core)}(this,(function(e,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */function n(e,t,n,o){var r,c=arguments.length,f=c<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)f=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(f=(c<3?r(f):c>3?r(t,n,f):r(t,n))||f);return c>3&&f&&Object.defineProperty(t,n,f),f}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var r=function(){function e(){}return e.ɵprov=t.ɵɵdefineInjectable({factory:function t(){return new e},token:e,providedIn:"root"}),e=n([t.Injectable({providedIn:"root"})],e)}(),c=function(){function e(e){this.secondService=e}return e.ɵprov=t.ɵɵdefineInjectable({factory:function n(){return new e(t.ɵɵinject(r))},token:e,providedIn:"root"}),e=n([t.Injectable({providedIn:"root"}),o("design:paramtypes",[r])],e)}(); /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 + */var o,r;(o=function o(){}).ɵprov=t.ɵɵdefineInjectable({factory:function e(){return new o},token:o,providedIn:"root"}),o.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],(r=function r(e){this.secondService=e}).ɵprov=t.ɵɵdefineInjectable({factory:function e(){return new r(t.ɵɵinject(o))},token:r,providedIn:"root"}),r.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],r.ctorParameters=function(){return[{type:o}]}, +/** + * @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 */ -e.MyService=c,e.ɵangular_packages_bazel_test_ng_package_example_imports_imports_a=r,Object.defineProperty(e,"__esModule",{value:!0})})); +e.MyService=r,e.ɵangular_packages_bazel_test_ng_package_example_imports_imports_a=o,Object.defineProperty(e,"__esModule",{value:!0})})); --- bundles/waffels-secondary.umd.js --- @@ -774,223 +341,9 @@ e.MyService=c,e.ɵangular_packages_bazel_test_ng_package_example_imports_imports (global = global || self, factory((global.example = global.example || {}, global.example.secondary = {}), global.ng.core)); }(this, (function (exports, core) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); - } - - function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; - } - /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -998,16 +351,16 @@ e.MyService=c,e.ɵangular_packages_bazel_test_ng_package_example_imports_imports var SecondaryModule = /** @class */ (function () { function SecondaryModule() { } - SecondaryModule = __decorate([ - core.NgModule({}) - ], SecondaryModule); return SecondaryModule; }()); + SecondaryModule.decorators = [ + { type: core.NgModule, args: [{},] } + ]; var a = 1; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1033,37 +386,22 @@ e.MyService=c,e.ɵangular_packages_bazel_test_ng_package_example_imports_imports * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/secondary",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.secondary={}),e.ng.core)}(this,(function(e,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/secondary",["exports","@angular/core"],o):o(((e=e||self).example=e.example||{},e.example.secondary={}),e.ng.core)}(this,(function(e,o){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 + */var n;(n=function n(){}).decorators=[{type:o.NgModule,args:[{}]}], +/** + * @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 */ -var o=function n(e,t,o,r){var c,f=arguments.length,l=f<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(c=e[a])&&(l=(f<3?c(l):f>3?c(t,o,l):c(t,o))||l);return f>3&&l&&Object.defineProperty(t,o,l),l}([t.NgModule({})],(function o(){})); -/** - * @license - * Copyright Google Inc. 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 - */ -e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); +e.SecondaryModule=n,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); --- bundles/waffels.umd.js --- @@ -1079,223 +417,9 @@ e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); (global = global || self, factory(global.example = {}, global.ng.core)); }(this, (function (exports, core) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); - } - - function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; - } - /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1303,15 +427,15 @@ e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); var MyModule = /** @class */ (function () { function MyModule() { } - MyModule = __decorate([ - core.NgModule({}) - ], MyModule); return MyModule; }()); + MyModule.decorators = [ + { type: core.NgModule, args: [{},] } + ]; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1336,36 +460,22 @@ e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example",["exports","@angular/core"],t):t((e=e||self).example={},e.ng.core)}(this,(function(e,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example",["exports","@angular/core"],o):o((e=e||self).example={},e.ng.core)}(this,(function(e,o){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 + */var t;(t=function t(){}).decorators=[{type:o.NgModule,args:[{}]}], +/** + * @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 */ -var o=function n(e,t,o,r){var f,c=arguments.length,l=c<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var u=e.length-1;u>=0;u--)(f=e[u])&&(l=(c<3?f(l):c>3?f(t,o,l):f(t,o))||l);return c>3&&l&&Object.defineProperty(t,o,l),l}([t.NgModule({})],(function o(){})); -/** - * @license - * Copyright Google Inc. 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 - */e.MyModule=o,Object.defineProperty(e,"__esModule",{value:!0})})); +e.MyModule=t,Object.defineProperty(e,"__esModule",{value:!0})})); --- esm2015/a11y/a11y.externs.js --- @@ -1387,31 +497,21 @@ export * from './index'; --- esm2015/a11y/index.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/a11y/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 { A11yModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9hMTF5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQVFBLDJCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== +export * from './public-api'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9hMTF5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0= --- esm2015/a11y/public-api.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/a11y/public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1422,7 +522,7 @@ export class A11yModule { A11yModule.decorators = [ { type: NgModule, args: [{},] } ]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlL2ExMXkvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxVQUFVOzs7WUFEdEIsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgQTExeU1vZHVsZSB7XG59XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlL2ExMXkvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxVQUFVOzs7WUFEdEIsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBBMTF5TW9kdWxlIHtcbn1cbiJdfQ== --- esm2015/example.externs.js --- @@ -1463,31 +563,21 @@ export { MySecondService as ɵangular_packages_bazel_test_ng_package_example_imp --- esm2015/imports/index.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 { MyService } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9pbXBvcnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQVFBLDBCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== +export * from './public-api'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9pbXBvcnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0= --- esm2015/imports/public-api.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1497,37 +587,24 @@ import { MySecondService } from './second'; import * as i0 from "@angular/core"; import * as i1 from "./second"; export class MyService { - /** - * @param {?} secondService - */ constructor(secondService) { this.secondService = secondService; } } +MyService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(i0.ɵɵinject(i1.MySecondService)); }, token: MyService, providedIn: "root" }); MyService.decorators = [ { type: Injectable, args: [{ providedIn: 'root' },] } ]; -/** @nocollapse */ MyService.ctorParameters = () => [ { type: MySecondService } ]; -/** @nocollapse */ MyService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(i0.ɵɵinject(i1.MySecondService)); }, token: MyService, providedIn: "root" }); -if (false) { - /** @type {?} */ - MyService.prototype.secondService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlL2ltcG9ydHMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxVQUFVLENBQUM7OztBQUd6QyxNQUFNLE9BQU8sU0FBUzs7OztJQUNwQixZQUFtQixhQUE4QjtRQUE5QixrQkFBYSxHQUFiLGFBQWEsQ0FBaUI7SUFBRyxDQUFDOzs7WUFGdEQsVUFBVSxTQUFDLEVBQUMsVUFBVSxFQUFFLE1BQU0sRUFBQzs7OztZQUZ4QixlQUFlOzs7OztJQUlULGtDQUFxQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtJbmplY3RhYmxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7TXlTZWNvbmRTZXJ2aWNlfSBmcm9tICcuL3NlY29uZCc7XG5cbkBJbmplY3RhYmxlKHtwcm92aWRlZEluOiAncm9vdCd9KVxuZXhwb3J0IGNsYXNzIE15U2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBzZWNvbmRTZXJ2aWNlOiBNeVNlY29uZFNlcnZpY2UpIHt9XG59XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlL2ltcG9ydHMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxVQUFVLENBQUM7OztBQUd6QyxNQUFNLE9BQU8sU0FBUztJQUNwQixZQUFtQixhQUE4QjtRQUE5QixrQkFBYSxHQUFiLGFBQWEsQ0FBaUI7SUFBRyxDQUFDOzs7O1lBRnRELFVBQVUsU0FBQyxFQUFDLFVBQVUsRUFBRSxNQUFNLEVBQUM7OztZQUZ4QixlQUFlIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7SW5qZWN0YWJsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge015U2Vjb25kU2VydmljZX0gZnJvbSAnLi9zZWNvbmQnO1xuXG5ASW5qZWN0YWJsZSh7cHJvdmlkZWRJbjogJ3Jvb3QnfSlcbmV4cG9ydCBjbGFzcyBNeVNlcnZpY2Uge1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgc2Vjb25kU2VydmljZTogTXlTZWNvbmRTZXJ2aWNlKSB7fVxufVxuIl19 --- esm2015/imports/second.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/second.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1536,39 +613,29 @@ import { Injectable } from '@angular/core'; import * as i0 from "@angular/core"; export class MySecondService { } +MySecondService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); MySecondService.decorators = [ { type: Injectable, args: [{ providedIn: 'root' },] } ]; -/** @nocollapse */ MySecondService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUvaW1wb3J0cy9zZWNvbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBUUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFHekMsTUFBTSxPQUFPLGVBQWU7OztZQUQzQixVQUFVLFNBQUMsRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge0luamVjdGFibGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSh7cHJvdmlkZWRJbjogJ3Jvb3QnfSlcbmV4cG9ydCBjbGFzcyBNeVNlY29uZFNlcnZpY2Uge1xufVxuIl19 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUvaW1wb3J0cy9zZWNvbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFHekMsTUFBTSxPQUFPLGVBQWU7Ozs7WUFEM0IsVUFBVSxTQUFDLEVBQUMsVUFBVSxFQUFFLE1BQU0sRUFBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge0luamVjdGFibGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSh7cHJvdmlkZWRJbjogJ3Jvb3QnfSlcbmV4cG9ydCBjbGFzcyBNeVNlY29uZFNlcnZpY2Uge1xufVxuIl19 --- esm2015/index.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 { MyModule } from './mymodule'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSx5QkFBYyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbXltb2R1bGUnOyJdfQ== +export * from './mymodule'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxjQUFjLFlBQVksQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL215bW9kdWxlJztcbiJdfQ== --- esm2015/mymodule.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/mymodule.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1579,24 +646,19 @@ export class MyModule { MyModule.decorators = [ { type: NgModule, args: [{},] } ]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBSXZDLE1BQU0sT0FBTyxRQUFROzs7WUFEcEIsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthfSBmcm9tICcuL3NlY29uZGFyeS9zZWNvbmRhcnltb2R1bGUnO1xuXG5ATmdNb2R1bGUoe30pXG5leHBvcnQgY2xhc3MgTXlNb2R1bGUge1xufSJdfQ== +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXltb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9teW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBSXZDLE1BQU0sT0FBTyxRQUFROzs7WUFEcEIsUUFBUSxTQUFDLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge2F9IGZyb20gJy4vc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBNeU1vZHVsZSB7XG59XG4iXX0= --- esm2015/secondary/index.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/secondary/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 { SecondaryModule, a } from './secondarymodule'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBUUEsbUNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc2Vjb25kYXJ5bW9kdWxlJztcbiJdfQ== +export * from './secondarymodule'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS9zZWNvbmRhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3NlY29uZGFyeW1vZHVsZSc7XG4iXX0= --- esm2015/secondary/secondary.externs.js --- @@ -1618,14 +680,9 @@ export * from './index'; --- esm2015/secondary/secondarymodule.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/secondary/secondarymodule.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1636,9 +693,8 @@ export class SecondaryModule { SecondaryModule.decorators = [ { type: NgModule, args: [{},] } ]; -/** @type {?} */ export const a = 1; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxlQUFlOzs7WUFEM0IsUUFBUSxTQUFDLEVBQUU7OztBQUlaLE1BQU0sT0FBTyxDQUFDLEdBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBTZWNvbmRhcnlNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vjb25kYXJ5bW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYmF6ZWwvdGVzdC9uZ19wYWNrYWdlL2V4YW1wbGUvc2Vjb25kYXJ5L3NlY29uZGFyeW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxlQUFlOzs7WUFEM0IsUUFBUSxTQUFDLEVBQUU7O0FBSVosTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQE5nTW9kdWxlKHt9KVxuZXhwb3J0IGNsYXNzIFNlY29uZGFyeU1vZHVsZSB7XG59XG5cbmV4cG9ydCBjb25zdCBhID0gMTtcbiJdfQ== --- example.d.ts --- @@ -1678,9 +734,11 @@ export { } import { NgModule } from '@angular/core'; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/a11y/public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class A11yModule { } @@ -1689,9 +747,11 @@ A11yModule.decorators = [ ]; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/a11y/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ /** @@ -1710,50 +770,48 @@ export { A11yModule }; * License: MIT */ -import { Injectable, ɵɵdefineInjectable, ɵɵinject } from '@angular/core'; +import { ɵɵdefineInjectable, Injectable, ɵɵinject } from '@angular/core'; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/second.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class MySecondService { } +MySecondService.ɵprov = ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); MySecondService.decorators = [ { type: Injectable, args: [{ providedIn: 'root' },] } ]; -/** @nocollapse */ MySecondService.ɵprov = ɵɵdefineInjectable({ factory: function MySecondService_Factory() { return new MySecondService(); }, token: MySecondService, providedIn: "root" }); /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class MyService { - /** - * @param {?} secondService - */ constructor(secondService) { this.secondService = secondService; } } +MyService.ɵprov = ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(ɵɵinject(MySecondService)); }, token: MyService, providedIn: "root" }); MyService.decorators = [ { type: Injectable, args: [{ providedIn: 'root' },] } ]; -/** @nocollapse */ MyService.ctorParameters = () => [ { type: MySecondService } ]; -/** @nocollapse */ MyService.ɵprov = ɵɵdefineInjectable({ factory: function MyService_Factory() { return new MyService(ɵɵinject(MySecondService)); }, token: MyService, providedIn: "root" }); -if (false) { - /** @type {?} */ - MyService.prototype.secondService; -} /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/imports/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ /** @@ -1775,22 +833,25 @@ export { MyService, MySecondService as ɵangular_packages_bazel_test_ng_package_ import { NgModule } from '@angular/core'; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/secondary/secondarymodule.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class SecondaryModule { } SecondaryModule.decorators = [ { type: NgModule, args: [{},] } ]; -/** @type {?} */ const a = 1; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/secondary/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ /** @@ -1812,9 +873,11 @@ export { SecondaryModule, a }; import { NgModule } from '@angular/core'; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/mymodule.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class MyModule { } @@ -1823,9 +886,11 @@ MyModule.decorators = [ ]; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ /** diff --git a/packages/bazel/test/ng_package/example_package.spec.ts b/packages/bazel/test/ng_package/example_package.spec.ts index 46e748d676..e321f30928 100644 --- a/packages/bazel/test/ng_package/example_package.spec.ts +++ b/packages/bazel/test/ng_package/example_package.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ng_package/example_with_ts_library_package.golden b/packages/bazel/test/ng_package/example_with_ts_library_package.golden index 2594dc143c..1b908f3d86 100644 --- a/packages/bazel/test/ng_package/example_with_ts_library_package.golden +++ b/packages/bazel/test/ng_package/example_with_ts_library_package.golden @@ -46,9 +46,6 @@ utils utils/package.json utils/testing.d.ts utils.d.ts -with-ts-library - with-ts-library/package.json -with-ts-library.d.ts --- README.md --- Angular @@ -71,227 +68,13 @@ License: MIT (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) : - typeof define === 'function' && define.amd ? define('example/portal', ['exports', '@angular/core'], factory) : - (global = global || self, factory((global.example = global.example || {}, global.example.portal = {}), global.ng.core)); + typeof define === 'function' && define.amd ? define('example-with-ts-library/portal', ['exports', '@angular/core'], factory) : + (global = global || self, factory((global.exampleWithTsLibrary = global.exampleWithTsLibrary || {}, global.exampleWithTsLibrary.portal = {}), global.ng.core)); }(this, (function (exports, core) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); - } - - function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; - } - /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -299,16 +82,16 @@ License: MIT var PortalModule = /** @class */ (function () { function PortalModule() { } - PortalModule = __decorate([ - core.NgModule({}) - ], PortalModule); return PortalModule; }()); + PortalModule.decorators = [ + { type: core.NgModule, args: [{},] } + ]; var a = 1; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -334,37 +117,22 @@ License: MIT * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/portal",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.portal={}),e.ng.core)}(this,(function(e,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ +!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example-with-ts-library/portal",["exports","@angular/core"],r):r(((e=e||self).exampleWithTsLibrary=e.exampleWithTsLibrary||{},e.exampleWithTsLibrary.portal={}),e.ng.core)}(this,(function(e,r){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 + */var t;(t=function t(){}).decorators=[{type:r.NgModule,args:[{}]}], +/** + * @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 */ -var o=function r(e,t,o,n){var f,l=arguments.length,c=l<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(f=e[a])&&(c=(l<3?f(c):l>3?f(t,o,c):f(t,o))||c);return l>3&&c&&Object.defineProperty(t,o,c),c}([t.NgModule({})],(function o(){})); -/** - * @license - * Copyright Google Inc. 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 - */ -e.PortalModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); +e.PortalModule=t,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); --- bundles/example-with-ts-library-utils.umd.js --- @@ -376,13 +144,13 @@ e.PortalModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define('example/utils', ['exports'], factory) : - (global = global || self, factory((global.example = global.example || {}, global.example.utils = {}))); + typeof define === 'function' && define.amd ? define('example-with-ts-library/utils', ['exports'], factory) : + (global = global || self, factory((global.exampleWithTsLibrary = global.exampleWithTsLibrary || {}, global.exampleWithTsLibrary.utils = {}))); }(this, (function (exports) { 'use strict'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -393,7 +161,7 @@ e.PortalModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -414,22 +182,22 @@ e.PortalModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})})); * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("example/utils",["exports"],t):t(((e=e||self).example=e.example||{},e.example.utils={}))}(this,(function(e){"use strict"; +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("example-with-ts-library/utils",["exports"],t):t(((e=e||self).exampleWithTsLibrary=e.exampleWithTsLibrary||{},e.exampleWithTsLibrary.utils={}))}(this,(function(e){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ -e.dispatchFakeEvent=function t(e,n){e.dispatchEvent(n)},Object.defineProperty(e,"__esModule",{value:!0})})); +e.dispatchFakeEvent=function t(e,i){e.dispatchEvent(i)},Object.defineProperty(e,"__esModule",{value:!0})})); --- bundles/example-with-ts-library.umd.js --- @@ -447,7 +215,7 @@ e.dispatchFakeEvent=function t(e,n){e.dispatchEvent(n)},Object.defineProperty(e, /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -472,7 +240,7 @@ e.dispatchFakeEvent=function t(e,n){e.dispatchEvent(n)},Object.defineProperty(e, !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("example-with-ts-library",["exports"],t):t((e=e||self).exampleWithTsLibrary={})}(this,(function(e){"use strict"; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -486,41 +254,31 @@ e.dispatchFakeEvent=function t(e,n){e.dispatchEvent(n)},Object.defineProperty(e, /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 const VERSION = '0.0.0'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSAnMC4wLjAnO1xuIl19 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9ICcwLjAuMCc7XG4iXX0= --- esm2015/portal/index.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 { PortalModule, a } from './portal-module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvcG9ydGFsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQVFBLGdDQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3BvcnRhbC1tb2R1bGUnO1xuIl19 +export * from './portal-module'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvcG9ydGFsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wb3J0YWwtbW9kdWxlJztcbiJdfQ== --- esm2015/portal/portal-module.js --- -/** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -531,9 +289,8 @@ export class PortalModule { PortalModule.decorators = [ { type: NgModule, args: [{},] } ]; -/** @type {?} */ export const a = 1; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLW1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLXdpdGgtdHMtbGlicmFyeS9wb3J0YWwvcG9ydGFsLW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxZQUFZOzs7WUFEeEIsUUFBUSxTQUFDLEVBQUU7OztBQUlaLE1BQU0sT0FBTyxDQUFDLEdBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7fSlcbmV4cG9ydCBjbGFzcyBQb3J0YWxNb2R1bGUge1xufVxuXG5leHBvcnQgY29uc3QgYSA9IDE7XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLW1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLXdpdGgtdHMtbGlicmFyeS9wb3J0YWwvcG9ydGFsLW1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3ZDLE1BQU0sT0FBTyxZQUFZOzs7WUFEeEIsUUFBUSxTQUFDLEVBQUU7O0FBSVosTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQE5nTW9kdWxlKHt9KVxuZXhwb3J0IGNsYXNzIFBvcnRhbE1vZHVsZSB7XG59XG5cbmV4cG9ydCBjb25zdCBhID0gMTtcbiJdfQ== --- esm2015/portal/portal.externs.js --- @@ -557,19 +314,19 @@ export * from './index'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * from './testing'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vdGVzdGluZyc7XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9iYXplbC90ZXN0L25nX3BhY2thZ2UvZXhhbXBsZS13aXRoLXRzLWxpYnJhcnkvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi90ZXN0aW5nJztcbiJdfQ== --- esm2015/utils/testing.js --- /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -577,7 +334,7 @@ export * from './testing'; export function dispatchFakeEvent(el, ev) { el.dispatchEvent(ev); } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLXdpdGgtdHMtbGlicmFyeS91dGlscy90ZXN0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE1BQU0sVUFBVSxpQkFBaUIsQ0FBQyxFQUFlLEVBQUUsRUFBUztJQUMxRCxFQUFFLENBQUMsYUFBYSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBQ3ZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCBmdW5jdGlvbiBkaXNwYXRjaEZha2VFdmVudChlbDogSFRNTEVsZW1lbnQsIGV2OiBFdmVudCkge1xuICBlbC5kaXNwYXRjaEV2ZW50KGV2KTtcbn1cbiJdfQ== +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2JhemVsL3Rlc3QvbmdfcGFja2FnZS9leGFtcGxlLXdpdGgtdHMtbGlicmFyeS91dGlscy90ZXN0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE1BQU0sVUFBVSxpQkFBaUIsQ0FBQyxFQUFlLEVBQUUsRUFBUztJQUMxRCxFQUFFLENBQUMsYUFBYSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBQ3ZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuZXhwb3J0IGZ1bmN0aW9uIGRpc3BhdGNoRmFrZUV2ZW50KGVsOiBIVE1MRWxlbWVudCwgZXY6IEV2ZW50KSB7XG4gIGVsLmRpc3BhdGNoRXZlbnQoZXYpO1xufVxuIl19 --- esm2015/utils/utils.externs.js --- @@ -593,7 +350,7 @@ export function dispatchFakeEvent(el, ev) { /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -615,22 +372,25 @@ export { VERSION }; import { NgModule } from '@angular/core'; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example-with-ts-library/portal/portal-module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ class PortalModule { } PortalModule.decorators = [ { type: NgModule, args: [{},] } ]; -/** @type {?} */ const a = 1; /** - * @fileoverview added by tsickle - * Generated from: packages/bazel/test/ng_package/example-with-ts-library/portal/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc + * @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 */ /** @@ -651,7 +411,7 @@ export { PortalModule, a }; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -662,7 +422,7 @@ function dispatchFakeEvent(el, ev) { /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -676,7 +436,7 @@ export { dispatchFakeEvent }; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -687,24 +447,22 @@ export declare const VERSION = "0.0.0"; --- package.json --- { - "name": "example", + "name": "example-with-ts-library", "version": "0.0.0", - "main": "./bundles/example.umd.js", - "fesm5": "./fesm5/example.js", - "fesm2015": "./fesm2015/example.js", - "esm5": "./esm5/index.js", + "schematics": "Custom property that should be preserved.", + "main": "./bundles/example-with-ts-library.umd.js", + "fesm2015": "./fesm2015/example-with-ts-library.js", "esm2015": "./esm2015/index.js", "typings": "./index.d.ts", - "module": "./fesm5/example.js", - "es2015": "./fesm2015/example.js", - "schematics": "Custom property that should be preserved." + "module": "./fesm2015/example-with-ts-library.js", + "es2015": "./fesm2015/example-with-ts-library.js" } --- portal/index.d.ts --- /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -715,8 +473,8 @@ export * from './portal-module'; --- portal/package.json --- { - "name": "example/portal", - "main": "../bundles/example-portal.umd.js", + "name": "example-with-ts-library/portal", + "main": "../bundles/example-with-ts-library-portal.umd.js", "fesm2015": "../fesm2015/portal.js", "esm2015": "../esm2015/portal/portal.js", "typings": "./portal.d.ts", @@ -728,7 +486,7 @@ export * from './portal-module'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -748,7 +506,7 @@ export * from './index'; --- portal/portal.metadata.json --- -{"__symbolic":"module","version":4,"metadata":{"PortalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{}]}],"members":{}},"a":1},"origins":{"PortalModule":"./portal-module","a":"./portal-module"},"importAs":"example/portal"} +{"__symbolic":"module","version":4,"metadata":{"PortalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{}]}],"members":{}},"a":1},"origins":{"PortalModule":"./portal-module","a":"./portal-module"},"importAs":"example-with-ts-library/portal"} --- portal.d.ts --- @@ -763,14 +521,14 @@ export * from './portal/portal'; --- portal.metadata.json --- -{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./portal/portal"}],"flatModuleIndexRedirect":true,"importAs":"example/portal"} +{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./portal/portal"}],"flatModuleIndexRedirect":true,"importAs":"example-with-ts-library/portal"} --- utils/index.d.ts --- /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -781,8 +539,8 @@ export * from './testing'; --- utils/package.json --- { - "name": "example/utils", - "main": "../bundles/example-utils.umd.js", + "name": "example-with-ts-library/utils", + "main": "../bundles/example-with-ts-library-utils.umd.js", "fesm2015": "../fesm2015/utils.js", "esm2015": "../esm2015/utils/index.js", "typings": "./index.d.ts", @@ -794,7 +552,7 @@ export * from './testing'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -812,26 +570,3 @@ export declare function dispatchFakeEvent(el: HTMLElement, ev: Event): void; export * from './utils/index'; - ---- with-ts-library/package.json --- - -{ - "name": "example-with-ts-library", - "main": "./bundles/example-with-ts-library.umd.js", - "fesm2015": "./fesm2015/example-with-ts-library.js", - "esm2015": "../esm2015/index.js", - "typings": "../index.d.ts", - "module": "./fesm2015/example-with-ts-library.js", - "es2015": "./fesm2015/example-with-ts-library.js" -} - ---- with-ts-library.d.ts --- - -/** - * @license Angular v0.0.0 - * (c) 2010-2020 Google LLC. https://angular.io/ - * License: MIT - */ - -export * from './index'; - diff --git a/packages/bazel/test/ngc-wrapped/empty/empty.ts b/packages/bazel/test/ngc-wrapped/empty/empty.ts index 40b61645a2..39a4d5b504 100644 --- a/packages/bazel/test/ngc-wrapped/empty/empty.ts +++ b/packages/bazel/test/ngc-wrapped/empty/empty.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/flat_module/export.ts b/packages/bazel/test/ngc-wrapped/flat_module/export.ts index 22c8f6fd65..6c80e0b971 100644 --- a/packages/bazel/test/ngc-wrapped/flat_module/export.ts +++ b/packages/bazel/test/ngc-wrapped/flat_module/export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/flat_module/index.ts b/packages/bazel/test/ngc-wrapped/flat_module/index.ts index 9eec5fecb2..9cdd8dd61b 100644 --- a/packages/bazel/test/ngc-wrapped/flat_module/index.ts +++ b/packages/bazel/test/ngc-wrapped/flat_module/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/flat_module_test.ts b/packages/bazel/test/ngc-wrapped/flat_module_test.ts index 664a4e736f..f1e1dedbd0 100644 --- a/packages/bazel/test/ngc-wrapped/flat_module_test.ts +++ b/packages/bazel/test/ngc-wrapped/flat_module_test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/index_test.ts b/packages/bazel/test/ngc-wrapped/index_test.ts index 3932730149..304ba5cab4 100644 --- a/packages/bazel/test/ngc-wrapped/index_test.ts +++ b/packages/bazel/test/ngc-wrapped/index_test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/test_support.ts b/packages/bazel/test/ngc-wrapped/test_support.ts index 69098ba053..10159e6dbc 100644 --- a/packages/bazel/test/ngc-wrapped/test_support.ts +++ b/packages/bazel/test/ngc-wrapped/test_support.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/bazel/test/ngc-wrapped/tsconfig_template.ts b/packages/bazel/test/ngc-wrapped/tsconfig_template.ts index 792f9e4b73..09b0abf4bf 100644 --- a/packages/bazel/test/ngc-wrapped/tsconfig_template.ts +++ b/packages/bazel/test/ngc-wrapped/tsconfig_template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -102,4 +102,4 @@ function srcToExpectedOut(srcFile: string, suffix: string, options: TsConfigOpti function createManifestPath(options: TsConfigOptions): string { return path.resolve(options.outDir, options.target.replace(/\/\/|@/g, '').replace(/:/g, '/')) + '.es5.MF'; -} \ No newline at end of file +} diff --git a/packages/benchpress/BUILD.bazel b/packages/benchpress/BUILD.bazel index 7a5e3d727c..8ac5a7c81d 100644 --- a/packages/benchpress/BUILD.bazel +++ b/packages/benchpress/BUILD.bazel @@ -14,8 +14,6 @@ ts_library( "//packages:types", "//packages/core", "@npm//@types/node", - "@npm//@types/q", - "@npm//q", "@npm//reflect-metadata", ], ) diff --git a/packages/benchpress/index.ts b/packages/benchpress/index.ts index 0808d5f55f..20265fa3b5 100644 --- a/packages/benchpress/index.ts +++ b/packages/benchpress/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/package.json b/packages/benchpress/package.json index 0ea58d5776..103ed391d3 100644 --- a/packages/benchpress/package.json +++ b/packages/benchpress/package.json @@ -1,18 +1,13 @@ { "name": "@angular/benchpress", - "version": "0.2.0", + "version": "0.2.1", "description": "Benchpress - a framework for e2e performance tests", "main": "index.js", "typings": "./index.d.ts", "strictNullChecks": true, "dependencies": { - "@angular/core": "^9.0.0", - "@types/node": "^12.11.1", - "@types/q": "^1.5.2", - "protractor": "^5.4.2", - "q": "^1.5.1", - "reflect-metadata": "^0.1.2", - "selenium-webdriver": "^2.53.3" + "@angular/core": "^10.0.0-0 || ^11.0.0", + "reflect-metadata": "^0.1.13" }, "repository": { "type": "git", @@ -27,5 +22,8 @@ "bugs": { "url": "https://github.com/angular/angular/issues" }, - "homepage": "https://github.com/angular/angular/tree/master/packages/compiler-cli" + "homepage": "https://github.com/angular/angular/tree/master/packages/compiler-cli", + "publishConfig": { + "registry": "https://wombat-dressing-room.appspot.com" + } } diff --git a/packages/benchpress/src/common_options.ts b/packages/benchpress/src/common_options.ts index 15e63e0314..e923714567 100644 --- a/packages/benchpress/src/common_options.ts +++ b/packages/benchpress/src/common_options.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/measure_values.ts b/packages/benchpress/src/measure_values.ts index 13a67238dc..ad22afe453 100644 --- a/packages/benchpress/src/measure_values.ts +++ b/packages/benchpress/src/measure_values.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/metric.ts b/packages/benchpress/src/metric.ts index 228282ff1a..26d880e10d 100644 --- a/packages/benchpress/src/metric.ts +++ b/packages/benchpress/src/metric.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/metric/multi_metric.ts b/packages/benchpress/src/metric/multi_metric.ts index 05994585d4..c494363c4f 100644 --- a/packages/benchpress/src/metric/multi_metric.ts +++ b/packages/benchpress/src/metric/multi_metric.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/metric/perflog_metric.ts b/packages/benchpress/src/metric/perflog_metric.ts index 7a1dbd99a7..a56bb856cc 100644 --- a/packages/benchpress/src/metric/perflog_metric.ts +++ b/packages/benchpress/src/metric/perflog_metric.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/metric/user_metric.ts b/packages/benchpress/src/metric/user_metric.ts index d08964a75f..cf91050a7b 100644 --- a/packages/benchpress/src/metric/user_metric.ts +++ b/packages/benchpress/src/metric/user_metric.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/reporter.ts b/packages/benchpress/src/reporter.ts index 842fd31d89..43dbe5a606 100644 --- a/packages/benchpress/src/reporter.ts +++ b/packages/benchpress/src/reporter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/reporter/console_reporter.ts b/packages/benchpress/src/reporter/console_reporter.ts index e2dc0e519c..4a5755cb47 100644 --- a/packages/benchpress/src/reporter/console_reporter.ts +++ b/packages/benchpress/src/reporter/console_reporter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/reporter/json_file_reporter.ts b/packages/benchpress/src/reporter/json_file_reporter.ts index 702b94ca5d..7abb45f09d 100644 --- a/packages/benchpress/src/reporter/json_file_reporter.ts +++ b/packages/benchpress/src/reporter/json_file_reporter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/reporter/multi_reporter.ts b/packages/benchpress/src/reporter/multi_reporter.ts index 355ef4482f..aefadc18f9 100644 --- a/packages/benchpress/src/reporter/multi_reporter.ts +++ b/packages/benchpress/src/reporter/multi_reporter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/reporter/util.ts b/packages/benchpress/src/reporter/util.ts index db177a0d27..cbddc1faf1 100644 --- a/packages/benchpress/src/reporter/util.ts +++ b/packages/benchpress/src/reporter/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/runner.ts b/packages/benchpress/src/runner.ts index 2b6e2f65fc..0c5fb3856c 100644 --- a/packages/benchpress/src/runner.ts +++ b/packages/benchpress/src/runner.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/sample_description.ts b/packages/benchpress/src/sample_description.ts index c99d65f902..d1537e8e03 100644 --- a/packages/benchpress/src/sample_description.ts +++ b/packages/benchpress/src/sample_description.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/sampler.ts b/packages/benchpress/src/sampler.ts index 1d3999682b..7b16afe690 100644 --- a/packages/benchpress/src/sampler.ts +++ b/packages/benchpress/src/sampler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/statistic.ts b/packages/benchpress/src/statistic.ts index a82836b3a7..a573465ba8 100644 --- a/packages/benchpress/src/statistic.ts +++ b/packages/benchpress/src/statistic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/validator.ts b/packages/benchpress/src/validator.ts index 8838af7a2f..96456b9cb1 100644 --- a/packages/benchpress/src/validator.ts +++ b/packages/benchpress/src/validator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/validator/regression_slope_validator.ts b/packages/benchpress/src/validator/regression_slope_validator.ts index 8f590e2b24..40d72e9cfb 100644 --- a/packages/benchpress/src/validator/regression_slope_validator.ts +++ b/packages/benchpress/src/validator/regression_slope_validator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/validator/size_validator.ts b/packages/benchpress/src/validator/size_validator.ts index 61e6c8cf71..7120ca6de0 100644 --- a/packages/benchpress/src/validator/size_validator.ts +++ b/packages/benchpress/src/validator/size_validator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/web_driver_adapter.ts b/packages/benchpress/src/web_driver_adapter.ts index 7e671a59ad..c5e2485b73 100644 --- a/packages/benchpress/src/web_driver_adapter.ts +++ b/packages/benchpress/src/web_driver_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/web_driver_extension.ts b/packages/benchpress/src/web_driver_extension.ts index 87e83c29bd..e9fb416e5e 100644 --- a/packages/benchpress/src/web_driver_extension.ts +++ b/packages/benchpress/src/web_driver_extension.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/webdriver/chrome_driver_extension.ts b/packages/benchpress/src/webdriver/chrome_driver_extension.ts index 649c8f9250..2297d8b5a6 100644 --- a/packages/benchpress/src/webdriver/chrome_driver_extension.ts +++ b/packages/benchpress/src/webdriver/chrome_driver_extension.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/webdriver/firefox_driver_extension.ts b/packages/benchpress/src/webdriver/firefox_driver_extension.ts index 796eaef34d..a56498f8d0 100644 --- a/packages/benchpress/src/webdriver/firefox_driver_extension.ts +++ b/packages/benchpress/src/webdriver/firefox_driver_extension.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/webdriver/ios_driver_extension.ts b/packages/benchpress/src/webdriver/ios_driver_extension.ts index 5200ee57e6..f2bad64b33 100644 --- a/packages/benchpress/src/webdriver/ios_driver_extension.ts +++ b/packages/benchpress/src/webdriver/ios_driver_extension.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/src/webdriver/selenium_webdriver_adapter.ts b/packages/benchpress/src/webdriver/selenium_webdriver_adapter.ts index 74cc405dd3..3719de05ed 100644 --- a/packages/benchpress/src/webdriver/selenium_webdriver_adapter.ts +++ b/packages/benchpress/src/webdriver/selenium_webdriver_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/metric/multi_metric_spec.ts b/packages/benchpress/test/metric/multi_metric_spec.ts index 16335f7fcd..347152d4fc 100644 --- a/packages/benchpress/test/metric/multi_metric_spec.ts +++ b/packages/benchpress/test/metric/multi_metric_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/metric/perflog_metric_spec.ts b/packages/benchpress/test/metric/perflog_metric_spec.ts index 0133ff65db..20e6469318 100644 --- a/packages/benchpress/test/metric/perflog_metric_spec.ts +++ b/packages/benchpress/test/metric/perflog_metric_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/metric/user_metric_spec.ts b/packages/benchpress/test/metric/user_metric_spec.ts index 0f551c3184..cb4e17b81d 100644 --- a/packages/benchpress/test/metric/user_metric_spec.ts +++ b/packages/benchpress/test/metric/user_metric_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/reporter/console_reporter_spec.ts b/packages/benchpress/test/reporter/console_reporter_spec.ts index ac1397a82c..d042a992ee 100644 --- a/packages/benchpress/test/reporter/console_reporter_spec.ts +++ b/packages/benchpress/test/reporter/console_reporter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/reporter/json_file_reporter_spec.ts b/packages/benchpress/test/reporter/json_file_reporter_spec.ts index 3ade0b9a27..d8621e7374 100644 --- a/packages/benchpress/test/reporter/json_file_reporter_spec.ts +++ b/packages/benchpress/test/reporter/json_file_reporter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/reporter/multi_reporter_spec.ts b/packages/benchpress/test/reporter/multi_reporter_spec.ts index 96045b5a1f..3f10fbaa59 100644 --- a/packages/benchpress/test/reporter/multi_reporter_spec.ts +++ b/packages/benchpress/test/reporter/multi_reporter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/runner_spec.ts b/packages/benchpress/test/runner_spec.ts index 87cd2710c9..7cda672e33 100644 --- a/packages/benchpress/test/runner_spec.ts +++ b/packages/benchpress/test/runner_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/sampler_spec.ts b/packages/benchpress/test/sampler_spec.ts index ec416c8d0f..feeea4253f 100644 --- a/packages/benchpress/test/sampler_spec.ts +++ b/packages/benchpress/test/sampler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/statistic_spec.ts b/packages/benchpress/test/statistic_spec.ts index 9f8a90b5ca..2255c5488d 100644 --- a/packages/benchpress/test/statistic_spec.ts +++ b/packages/benchpress/test/statistic_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/trace_event_factory.ts b/packages/benchpress/test/trace_event_factory.ts index e687f2b0a2..03729da0cc 100644 --- a/packages/benchpress/test/trace_event_factory.ts +++ b/packages/benchpress/test/trace_event_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/validator/regression_slope_validator_spec.ts b/packages/benchpress/test/validator/regression_slope_validator_spec.ts index ceafcca4e3..d6c20a3e99 100644 --- a/packages/benchpress/test/validator/regression_slope_validator_spec.ts +++ b/packages/benchpress/test/validator/regression_slope_validator_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/validator/size_validator_spec.ts b/packages/benchpress/test/validator/size_validator_spec.ts index aa809412bf..5e7c11c05a 100644 --- a/packages/benchpress/test/validator/size_validator_spec.ts +++ b/packages/benchpress/test/validator/size_validator_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/web_driver_extension_spec.ts b/packages/benchpress/test/web_driver_extension_spec.ts index 8ec00b4355..f9c0b274d7 100644 --- a/packages/benchpress/test/web_driver_extension_spec.ts +++ b/packages/benchpress/test/web_driver_extension_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/webdriver/chrome_driver_extension_spec.ts b/packages/benchpress/test/webdriver/chrome_driver_extension_spec.ts index 1e353a05b2..cce37e50e2 100644 --- a/packages/benchpress/test/webdriver/chrome_driver_extension_spec.ts +++ b/packages/benchpress/test/webdriver/chrome_driver_extension_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/benchpress/test/webdriver/ios_driver_extension_spec.ts b/packages/benchpress/test/webdriver/ios_driver_extension_spec.ts index 6e7e6de028..1c5006b46b 100644 --- a/packages/benchpress/test/webdriver/ios_driver_extension_spec.ts +++ b/packages/benchpress/test/webdriver/ios_driver_extension_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/circular-deps-test.conf.js b/packages/circular-deps-test.conf.js index 9ca6056118..0820b1907e 100644 --- a/packages/circular-deps-test.conf.js +++ b/packages/circular-deps-test.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/index.ts b/packages/common/http/index.ts index ca39d26dcd..7ef6571cd5 100644 --- a/packages/common/http/index.ts +++ b/packages/common/http/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ // replaces this file with production index.ts when it rewrites private symbol // names. -export * from './public_api'; \ No newline at end of file +export * from './public_api'; diff --git a/packages/common/http/public_api.ts b/packages/common/http/public_api.ts index aa86627000..a85243367c 100644 --- a/packages/common/http/public_api.ts +++ b/packages/common/http/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/backend.ts b/packages/common/http/src/backend.ts index 9639cbad56..2ab6af1642 100644 --- a/packages/common/http/src/backend.ts +++ b/packages/common/http/src/backend.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/client.ts b/packages/common/http/src/client.ts index 6814034f8b..785a229802 100644 --- a/packages/common/http/src/client.ts +++ b/packages/common/http/src/client.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/headers.ts b/packages/common/http/src/headers.ts index 37326cdd62..4f3fa7bf61 100755 --- a/packages/common/http/src/headers.ts +++ b/packages/common/http/src/headers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/interceptor.ts b/packages/common/http/src/interceptor.ts index cb5f7e9194..abf2d814ec 100644 --- a/packages/common/http/src/interceptor.ts +++ b/packages/common/http/src/interceptor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/jsonp.ts b/packages/common/http/src/jsonp.ts index 7a6c9311e4..e2e0360cc0 100644 --- a/packages/common/http/src/jsonp.ts +++ b/packages/common/http/src/jsonp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/module.ts b/packages/common/http/src/module.ts index 7ba2cb6a5d..78a0a97be4 100644 --- a/packages/common/http/src/module.ts +++ b/packages/common/http/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/params.ts b/packages/common/http/src/params.ts index 39c8de18c8..acbedefb8a 100755 --- a/packages/common/http/src/params.ts +++ b/packages/common/http/src/params.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/request.ts b/packages/common/http/src/request.ts index fabc5a174e..6a2105cbf1 100644 --- a/packages/common/http/src/request.ts +++ b/packages/common/http/src/request.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/response.ts b/packages/common/http/src/response.ts index b589c31635..bb63fa0f0c 100644 --- a/packages/common/http/src/response.ts +++ b/packages/common/http/src/response.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/src/xhr.ts b/packages/common/http/src/xhr.ts index f0e4eb9a81..11e0fd544e 100644 --- a/packages/common/http/src/xhr.ts +++ b/packages/common/http/src/xhr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -339,7 +339,9 @@ export class HttpXhrBackend implements HttpBackend { } // Finally, abort the in-flight request. - xhr.abort(); + if (xhr.readyState !== xhr.DONE) { + xhr.abort(); + } }; }); } diff --git a/packages/common/http/src/xsrf.ts b/packages/common/http/src/xsrf.ts index ba5779d0c0..ae868547f1 100644 --- a/packages/common/http/src/xsrf.ts +++ b/packages/common/http/src/xsrf.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/client_spec.ts b/packages/common/http/test/client_spec.ts index d84925c2d0..7ecbdef8b4 100644 --- a/packages/common/http/test/client_spec.ts +++ b/packages/common/http/test/client_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/headers_spec.ts b/packages/common/http/test/headers_spec.ts index 49554a5201..b6fa2b1346 100644 --- a/packages/common/http/test/headers_spec.ts +++ b/packages/common/http/test/headers_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/jsonp_mock.ts b/packages/common/http/test/jsonp_mock.ts index b05f25672d..d2e1c7469f 100644 --- a/packages/common/http/test/jsonp_mock.ts +++ b/packages/common/http/test/jsonp_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/jsonp_spec.ts b/packages/common/http/test/jsonp_spec.ts index 0686271fb2..0c5888f381 100644 --- a/packages/common/http/test/jsonp_spec.ts +++ b/packages/common/http/test/jsonp_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved.JsonpCallbackContext + * Copyright Google LLC All Rights Reserved.sonpCallbackContext * * 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 diff --git a/packages/common/http/test/module_spec.ts b/packages/common/http/test/module_spec.ts index 4841de7b49..b242d21da9 100644 --- a/packages/common/http/test/module_spec.ts +++ b/packages/common/http/test/module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved.JsonpCallbackContext + * Copyright Google LLC All Rights Reserved.sonpCallbackContext * * 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 diff --git a/packages/common/http/test/params_spec.ts b/packages/common/http/test/params_spec.ts index 9c99771043..a4a8b9c581 100644 --- a/packages/common/http/test/params_spec.ts +++ b/packages/common/http/test/params_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/request_spec.ts b/packages/common/http/test/request_spec.ts index 4c4f74d4a3..708c838566 100644 --- a/packages/common/http/test/request_spec.ts +++ b/packages/common/http/test/request_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/response_spec.ts b/packages/common/http/test/response_spec.ts index 45b9943f0b..dafcb31b2f 100644 --- a/packages/common/http/test/response_spec.ts +++ b/packages/common/http/test/response_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/xhr_mock.ts b/packages/common/http/test/xhr_mock.ts index 3634293726..785a9aabae 100644 --- a/packages/common/http/test/xhr_mock.ts +++ b/packages/common/http/test/xhr_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/test/xhr_spec.ts b/packages/common/http/test/xhr_spec.ts index d7b4147a2b..ae37b9e5d4 100644 --- a/packages/common/http/test/xhr_spec.ts +++ b/packages/common/http/test/xhr_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -147,6 +147,17 @@ const XSSI_PREFIX = ')]}\'\n'; }); factory.mock.mockErrorEvent(new Error('blah')); }); + it('avoids abort a request when fetch operation is completed', done => { + const abort = jasmine.createSpy('abort'); + + backend.handle(TEST_POST).toPromise().then(() => { + expect(abort).not.toHaveBeenCalled(); + done(); + }); + + factory.mock.abort = abort; + factory.mock.mockFlush(200, 'OK', 'Done'); + }); describe('progress events', () => { it('are emitted for download progress', done => { backend.handle(TEST_POST.clone({reportProgress: true})) diff --git a/packages/common/http/test/xsrf_spec.ts b/packages/common/http/test/xsrf_spec.ts index bf588b2fab..6a176e6025 100644 --- a/packages/common/http/test/xsrf_spec.ts +++ b/packages/common/http/test/xsrf_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/index.ts b/packages/common/http/testing/index.ts index f93e7c31d5..2dc5054f84 100644 --- a/packages/common/http/testing/index.ts +++ b/packages/common/http/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/public_api.ts b/packages/common/http/testing/public_api.ts index c42e3300b6..886408981b 100644 --- a/packages/common/http/testing/public_api.ts +++ b/packages/common/http/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/src/api.ts b/packages/common/http/testing/src/api.ts index 7efb0e4c6f..80a7b4aff4 100644 --- a/packages/common/http/testing/src/api.ts +++ b/packages/common/http/testing/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/src/backend.ts b/packages/common/http/testing/src/backend.ts index b01dc0dc35..b157027e4f 100644 --- a/packages/common/http/testing/src/backend.ts +++ b/packages/common/http/testing/src/backend.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/src/module.ts b/packages/common/http/testing/src/module.ts index 4fc93e929e..f1c76c0cfa 100644 --- a/packages/common/http/testing/src/module.ts +++ b/packages/common/http/testing/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/src/request.ts b/packages/common/http/testing/src/request.ts index 9f240be590..66f760b06b 100644 --- a/packages/common/http/testing/src/request.ts +++ b/packages/common/http/testing/src/request.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/http/testing/test/request_spec.ts b/packages/common/http/testing/test/request_spec.ts index 5c4092a52d..0f3679a2e5 100644 --- a/packages/common/http/testing/test/request_spec.ts +++ b/packages/common/http/testing/test/request_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/index.ts b/packages/common/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/common/index.ts +++ b/packages/common/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/af-NA.ts b/packages/common/locales/af-NA.ts index b079c4c0c8..4ac5165866 100644 --- a/packages/common/locales/af-NA.ts +++ b/packages/common/locales/af-NA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/af.ts b/packages/common/locales/af.ts index e7b909a97b..a766c2ccb4 100644 --- a/packages/common/locales/af.ts +++ b/packages/common/locales/af.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/agq.ts b/packages/common/locales/agq.ts index fee01d404a..17b44bcfa9 100644 --- a/packages/common/locales/agq.ts +++ b/packages/common/locales/agq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['n', 'k', 'g', 't', 'u', 'g', 'd'], ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], - [ - 'tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', - 'tsuʔndzɨkɔʔɔ' - ], + ['tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ'], ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'] ], u, @@ -32,10 +29,9 @@ export default [ ['n', 'k', 't', 't', 's', 'z', 'k', 'f', 'd', 'l', 'c', 'f'], ['nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo'], [ - 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', - 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', - 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', - 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', 'ndzɔ̀ŋèfwòo' + 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', + 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', + 'ndzɔ̀ŋèfwòo' ] ], u, diff --git a/packages/common/locales/ak.ts b/packages/common/locales/ak.ts index 3a47c80b8a..2daa60b21f 100644 --- a/packages/common/locales/ak.ts +++ b/packages/common/locales/ak.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ'], [ 'Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', - 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', - 'Difuu-Ɔsandaa', 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', 'Mumu-Ɔpɛnimba' + 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', 'Difuu-Ɔsandaa', + 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', 'Mumu-Ɔpɛnimba' ] ], u, diff --git a/packages/common/locales/am.ts b/packages/common/locales/am.ts index 5a09f5d95b..966af9b0fb 100644 --- a/packages/common/locales/am.ts +++ b/packages/common/locales/am.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,21 +22,15 @@ export default [ [['ጠ', 'ከ'], ['ጥዋት', 'ከሰዓት'], u], u, [ - ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], - ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], - ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], - ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'] + ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], + ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'] ], u, [ ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], + ['ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'], [ - 'ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', - 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም' - ], - [ - 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', - 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', + 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', 'ዲሴምበር' ] ], diff --git a/packages/common/locales/ar-AE.ts b/packages/common/locales/ar-AE.ts index 1ba1122632..185a830aca 100644 --- a/packages/common/locales/ar-AE.ts +++ b/packages/common/locales/ar-AE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'AED', 'د.إ.\u200f', diff --git a/packages/common/locales/ar-BH.ts b/packages/common/locales/ar-BH.ts index fd93538458..9d8bc5e819 100644 --- a/packages/common/locales/ar-BH.ts +++ b/packages/common/locales/ar-BH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'BHD', 'د.ب.\u200f', diff --git a/packages/common/locales/ar-DJ.ts b/packages/common/locales/ar-DJ.ts index 241ed03dae..3fabafe7a0 100644 --- a/packages/common/locales/ar-DJ.ts +++ b/packages/common/locales/ar-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'DJF', 'Fdj', diff --git a/packages/common/locales/ar-DZ.ts b/packages/common/locales/ar-DZ.ts index 161d2e6da6..68003a0c17 100644 --- a/packages/common/locales/ar-DZ.ts +++ b/packages/common/locales/ar-DZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], [ - 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', - 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'DZD', 'د.ج.\u200f', diff --git a/packages/common/locales/ar-EG.ts b/packages/common/locales/ar-EG.ts index 5ec7615375..04abbc6160 100644 --- a/packages/common/locales/ar-EG.ts +++ b/packages/common/locales/ar-EG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'EGP', 'ج.م.\u200f', diff --git a/packages/common/locales/ar-EH.ts b/packages/common/locales/ar-EH.ts index 8a61bd9868..7a5dc0fb61 100644 --- a/packages/common/locales/ar-EH.ts +++ b/packages/common/locales/ar-EH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'MAD', 'د.م.\u200f', diff --git a/packages/common/locales/ar-ER.ts b/packages/common/locales/ar-ER.ts index b1d1da6c02..7bebce887a 100644 --- a/packages/common/locales/ar-ER.ts +++ b/packages/common/locales/ar-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ERN', 'Nfk', diff --git a/packages/common/locales/ar-IL.ts b/packages/common/locales/ar-IL.ts index 53d656d611..34ca3a6029 100644 --- a/packages/common/locales/ar-IL.ts +++ b/packages/common/locales/ar-IL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ILS', '₪', diff --git a/packages/common/locales/ar-IQ.ts b/packages/common/locales/ar-IQ.ts index 7db1d614a4..bb5d8f50a6 100644 --- a/packages/common/locales/ar-IQ.ts +++ b/packages/common/locales/ar-IQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,32 +26,26 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ] ], [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], u ], @@ -61,10 +55,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'IQD', 'د.ع.\u200f', diff --git a/packages/common/locales/ar-JO.ts b/packages/common/locales/ar-JO.ts index e6245c20f7..5357406f9c 100644 --- a/packages/common/locales/ar-JO.ts +++ b/packages/common/locales/ar-JO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,19 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], u ], @@ -49,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'JOD', 'د.أ.\u200f', diff --git a/packages/common/locales/ar-KM.ts b/packages/common/locales/ar-KM.ts index f0ddd2f093..5ca77f4ef1 100644 --- a/packages/common/locales/ar-KM.ts +++ b/packages/common/locales/ar-KM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'KMF', 'CF', diff --git a/packages/common/locales/ar-KW.ts b/packages/common/locales/ar-KW.ts index 2490bc2137..40949f3667 100644 --- a/packages/common/locales/ar-KW.ts +++ b/packages/common/locales/ar-KW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'KWD', 'د.ك.\u200f', diff --git a/packages/common/locales/ar-LB.ts b/packages/common/locales/ar-LB.ts index e30313214b..9736303cd7 100644 --- a/packages/common/locales/ar-LB.ts +++ b/packages/common/locales/ar-LB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,19 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], u ], @@ -49,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'LBP', 'ل.ل.\u200f', diff --git a/packages/common/locales/ar-LY.ts b/packages/common/locales/ar-LY.ts index b4054f0284..0be902fc76 100644 --- a/packages/common/locales/ar-LY.ts +++ b/packages/common/locales/ar-LY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'LYD', 'د.ل.\u200f', diff --git a/packages/common/locales/ar-MA.ts b/packages/common/locales/ar-MA.ts index cf88bc0380..bc27573154 100644 --- a/packages/common/locales/ar-MA.ts +++ b/packages/common/locales/ar-MA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'م', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', - 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', + 'نونبر', 'دجنبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'MAD', 'د.م.\u200f', diff --git a/packages/common/locales/ar-MR.ts b/packages/common/locales/ar-MR.ts index 68568ea7ae..9e9033d417 100644 --- a/packages/common/locales/ar-MR.ts +++ b/packages/common/locales/ar-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'إ', 'و', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', - 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' + 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', + 'نوفمبر', 'دجمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'MRU', 'أ.م.', diff --git a/packages/common/locales/ar-OM.ts b/packages/common/locales/ar-OM.ts index b9105aaa4d..a2b704a145 100644 --- a/packages/common/locales/ar-OM.ts +++ b/packages/common/locales/ar-OM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'OMR', 'ر.ع.\u200f', diff --git a/packages/common/locales/ar-PS.ts b/packages/common/locales/ar-PS.ts index 392ef5b878..3b5449c574 100644 --- a/packages/common/locales/ar-PS.ts +++ b/packages/common/locales/ar-PS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,19 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], u ], @@ -49,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ILS', '₪', diff --git a/packages/common/locales/ar-QA.ts b/packages/common/locales/ar-QA.ts index edfa7c7b72..274a75f0d6 100644 --- a/packages/common/locales/ar-QA.ts +++ b/packages/common/locales/ar-QA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'QAR', 'ر.ق.\u200f', diff --git a/packages/common/locales/ar-SA.ts b/packages/common/locales/ar-SA.ts index c5851068bf..bc9e0e405b 100644 --- a/packages/common/locales/ar-SA.ts +++ b/packages/common/locales/ar-SA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], diff --git a/packages/common/locales/ar-SD.ts b/packages/common/locales/ar-SD.ts index 3ee16a465d..ee06a88b2f 100644 --- a/packages/common/locales/ar-SD.ts +++ b/packages/common/locales/ar-SD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'SDG', 'ج.س.', diff --git a/packages/common/locales/ar-SO.ts b/packages/common/locales/ar-SO.ts index f77ef52bcd..d690d573bf 100644 --- a/packages/common/locales/ar-SO.ts +++ b/packages/common/locales/ar-SO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], diff --git a/packages/common/locales/ar-SS.ts b/packages/common/locales/ar-SS.ts index b618a2fce3..b90ea74a42 100644 --- a/packages/common/locales/ar-SS.ts +++ b/packages/common/locales/ar-SS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'SSP', '£', diff --git a/packages/common/locales/ar-SY.ts b/packages/common/locales/ar-SY.ts index 36f8204233..405bb496ab 100644 --- a/packages/common/locales/ar-SY.ts +++ b/packages/common/locales/ar-SY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,19 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' ], u ], @@ -49,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'SYP', 'ل.س.\u200f', diff --git a/packages/common/locales/ar-TD.ts b/packages/common/locales/ar-TD.ts index 0784611ceb..020f532a93 100644 --- a/packages/common/locales/ar-TD.ts +++ b/packages/common/locales/ar-TD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'XAF', 'FCFA', diff --git a/packages/common/locales/ar-TN.ts b/packages/common/locales/ar-TN.ts index be07107d81..27a11bf80b 100644 --- a/packages/common/locales/ar-TN.ts +++ b/packages/common/locales/ar-TN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], [ - 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', - 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'TND', 'د.ت.\u200f', diff --git a/packages/common/locales/ar-YE.ts b/packages/common/locales/ar-YE.ts index f2aaedd3b0..049e006e6a 100644 --- a/packages/common/locales/ar-YE.ts +++ b/packages/common/locales/ar-YE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'YER', 'ر.ي.\u200f', diff --git a/packages/common/locales/ar.ts b/packages/common/locales/ar.ts index 513a6fd014..f10e64acdc 100644 --- a/packages/common/locales/ar.ts +++ b/packages/common/locales/ar.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,18 +26,15 @@ export default [ [['ص', 'م'], u, ['صباحًا', 'مساءً']], [ ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] ], u, [ ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], u ], @@ -48,10 +45,7 @@ export default [ ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'EGP', 'ج.م.\u200f', diff --git a/packages/common/locales/as.ts b/packages/common/locales/as.ts index 48322812b2..b5cac388bf 100644 --- a/packages/common/locales/as.ts +++ b/packages/common/locales/as.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,40 +22,21 @@ export default [ [['পূৰ্বাহ্ন', 'অপৰাহ্ন'], u, u], u, [ - ['দ', 'স', 'ম', 'ব', 'ব', 'শ', 'শ'], - [ - 'দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', - 'শনি' - ], - [ - 'দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', - 'বৃহস্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ' - ], - [ - 'দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', - 'শনি' - ] + ['দ', 'স', 'ম', 'ব', 'ব', 'শ', 'শ'], ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', 'শনি'], + ['দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', 'বৃহস্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ'], + ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', 'শনি'] ], u, [ ['জ', 'ফ', 'ম', 'এ', 'ম', 'জ', 'জ', 'আ', 'ছ', 'অ', 'ন', 'ড'], + ['জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগ', 'ছেপ্তে', 'অক্টো', 'নৱে', 'ডিচে'], [ - 'জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', - 'জুন', 'জুলাই', 'আগ', 'ছেপ্তে', 'অক্টো', - 'নৱে', 'ডিচে' - ], - [ - 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', - 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগষ্ট', - 'ছেপ্তেম্বৰ', 'অক্টোবৰ', 'নৱেম্বৰ', - 'ডিচেম্বৰ' + 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগষ্ট', 'ছেপ্তেম্বৰ', 'অক্টোবৰ', + 'নৱেম্বৰ', 'ডিচেম্বৰ' ] ], u, - [ - ['খ্ৰীঃ পূঃ', 'খ্ৰীঃ'], u, - ['খ্ৰীষ্টপূৰ্ব', 'খ্ৰীষ্টাব্দ'] - ], + [['খ্ৰীঃ পূঃ', 'খ্ৰীঃ'], u, ['খ্ৰীষ্টপূৰ্ব', 'খ্ৰীষ্টাব্দ']], 0, [0, 0], ['d-M-y', 'dd-MM-y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/asa.ts b/packages/common/locales/asa.ts index 044588c2a7..fbfa493b59 100644 --- a/packages/common/locales/asa.ts +++ b/packages/common/locales/asa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ast.ts b/packages/common/locales/ast.ts index 3b84959468..273d57b714 100644 --- a/packages/common/locales/ast.ts +++ b/packages/common/locales/ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/az-Cyrl.ts b/packages/common/locales/az-Cyrl.ts index 0352aa6566..292ed9db5c 100644 --- a/packages/common/locales/az-Cyrl.ts +++ b/packages/common/locales/az-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,33 +21,24 @@ export default [ [['АМ', 'ПМ'], u, u], [ ['7', '1', '2', '3', '4', '5', '6'], ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], - [ - 'базар', 'базар ертәси', 'чәршәнбә ахшамы', 'чәршәнбә', - 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә' - ], + ['базар', 'базар ертәси', 'чәршәнбә ахшамы', 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә'], ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', 'окт', 'ној', 'дек'], [ - 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', - 'окт', 'ној', 'дек' - ], - [ - 'јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', - 'август', 'сентјабр', 'октјабр', 'нојабр', 'декабр' + 'јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', 'август', 'сентјабр', 'октјабр', + 'нојабр', 'декабр' ] ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', 'окт', 'ној', 'дек'], [ - 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', - 'окт', 'ној', 'дек' - ], - [ - 'Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', 'Ијул', - 'Август', 'Сентјабр', 'Октјабр', 'Нојабр', 'Декабр' + 'Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', 'Ијул', 'Август', 'Сентјабр', 'Октјабр', + 'Нојабр', 'Декабр' ] ], [['е.ә.', 'ј.е.'], u, ['ерамыздан әввәл', 'јени ера']], diff --git a/packages/common/locales/az-Latn.ts b/packages/common/locales/az-Latn.ts index 51112d7b6e..ac1b3c4fa6 100644 --- a/packages/common/locales/az-Latn.ts +++ b/packages/common/locales/az-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,18 +22,12 @@ export default [ [['AM', 'PM'], u, u], [ ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] ], [ ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] ], [ diff --git a/packages/common/locales/az.ts b/packages/common/locales/az.ts index fd85a1420c..b8468af073 100644 --- a/packages/common/locales/az.ts +++ b/packages/common/locales/az.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,18 +22,12 @@ export default [ [['AM', 'PM'], u, u], [ ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] ], [ ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] ], [ diff --git a/packages/common/locales/bas.ts b/packages/common/locales/bas.ts index 4750e0f79c..3b72c9aeed 100644 --- a/packages/common/locales/bas.ts +++ b/packages/common/locales/bas.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['n', 'n', 'u', 'ŋ', 'm', 'k', 'j'], ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], - [ - 'ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', - 'ŋgwà kɔɔ', 'ŋgwà jôn' - ], + ['ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', 'ŋgwà kɔɔ', 'ŋgwà jôn'], ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'] ], u, @@ -32,8 +29,8 @@ export default [ ['k', 'm', 'm', 'm', 'm', 'h', 'n', 'h', 'd', 'b', 'm', 'l'], ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'], [ - 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', - 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Màyɛsèp', 'Lìbuy li ńyèe' + 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', + 'Màyɛsèp', 'Lìbuy li ńyèe' ] ], u, diff --git a/packages/common/locales/be.ts b/packages/common/locales/be.ts index 92f4021dfa..d1e324dcdb 100644 --- a/packages/common/locales/be.ts +++ b/packages/common/locales/be.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,43 +27,28 @@ export default [ [['am', 'pm'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], - ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], - [ - 'нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', - 'пятніца', 'субота' - ], + ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'], ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'] ], u, [ ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + ['сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], [ - 'сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', - 'кас', 'ліс', 'сне' - ], - [ - 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', - 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', - 'лістапада', 'снежня' + 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', + 'верасня', 'кастрычніка', 'лістапада', 'снежня' ] ], [ ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + ['сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], [ - 'сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', - 'кас', 'ліс', 'сне' - ], - [ - 'студзень', 'люты', 'сакавік', 'красавік', 'май', - 'чэрвень', 'ліпень', 'жнівень', 'верасень', + 'студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань' ] ], - [ - ['да н.э.', 'н.э.'], u, - ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова'] - ], + [['да н.э.', 'н.э.'], u, ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова']], 1, [6, 0], ['d.MM.yy', 'd.MM.y', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/bem.ts b/packages/common/locales/bem.ts index 55c4c77864..c7ea54a636 100644 --- a/packages/common/locales/bem.ts +++ b/packages/common/locales/bem.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/bez.ts b/packages/common/locales/bez.ts index 7da681ffb5..814f31cafa 100644 --- a/packages/common/locales/bez.ts +++ b/packages/common/locales/bez.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/bg.ts b/packages/common/locales/bg.ts index b27a8fd341..dd97228896 100644 --- a/packages/common/locales/bg.ts +++ b/packages/common/locales/bg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,24 +21,17 @@ export default [ [['am', 'pm'], u, ['пр.об.', 'сл.об.']], [['am', 'pm'], u, u], [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', - 'петък', 'събота' - ], + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], u, [ ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], + ['яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'], [ - 'яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', - 'окт', 'ное', 'дек' - ], - [ - 'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', - 'август', 'септември', 'октомври', 'ноември', 'декември' + 'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', + 'ноември', 'декември' ] ], u, diff --git a/packages/common/locales/bm.ts b/packages/common/locales/bm.ts index f74b666500..110ff0913d 100644 --- a/packages/common/locales/bm.ts +++ b/packages/common/locales/bm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/bn-IN.ts b/packages/common/locales/bn-IN.ts index 825d7618da..8297d077fe 100644 --- a/packages/common/locales/bn-IN.ts +++ b/packages/common/locales/bn-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,52 +22,31 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], - [ - 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', - 'শুক্র', 'শনি' - ], - [ - 'রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', - 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার' - ], + ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'], + ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'], ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] ], u, [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', - 'ন', 'ডি' - ], - [ - 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', - 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', - 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' + ], + [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ] ], [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', - 'ন', 'ডি' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ], u ], - [ - ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, - ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ'] - ], + [['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ']], 0, [0, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/bn.ts b/packages/common/locales/bn.ts index bd07efe6d8..92181b1809 100644 --- a/packages/common/locales/bn.ts +++ b/packages/common/locales/bn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,52 +22,31 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], - [ - 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', - 'শুক্র', 'শনি' - ], - [ - 'রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', - 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার' - ], + ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'], + ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'], ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] ], u, [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', - 'ন', 'ডি' - ], - [ - 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', - 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', - 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' + ], + [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ] ], [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', - 'ন', 'ডি' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ], u ], - [ - ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, - ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ'] - ], + [['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ']], 0, [6, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/bo-IN.ts b/packages/common/locales/bo-IN.ts index 9a2f999fce..ac552e8ef6 100644 --- a/packages/common/locales/bo-IN.ts +++ b/packages/common/locales/bo-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,63 +21,31 @@ export default [ u, [ ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ], - [ - 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', - 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', - 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', - 'གཟའ་སྤེན་པ་' - ], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ] + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'], + ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', - 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', - 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', - 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', - 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', - 'ཟླ་བ་བཅུ་གཅིག་པ', - 'ཟླ་བ་བཅུ་གཉིས་པ' + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', + 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ' ] ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', - 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', - 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', - 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', - 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', - 'ཟླ་བ་བཅུ་གཅིག་པ་', - 'ཟླ་བ་བཅུ་གཉིས་པ་' + 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', + 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་' ] ], [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], 0, [0, 0], - [ - 'y-MM-dd', 'y ལོའི་MMMཚེས་d', - 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE' - ], + ['y-MM-dd', 'y ལོའི་MMMཚེས་d', 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], diff --git a/packages/common/locales/bo.ts b/packages/common/locales/bo.ts index df4742b40d..2fecbe88cf 100644 --- a/packages/common/locales/bo.ts +++ b/packages/common/locales/bo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,63 +21,31 @@ export default [ u, [ ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ], - [ - 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', - 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', - 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', - 'གཟའ་སྤེན་པ་' - ], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ] + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'], + ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', - 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', - 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', - 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', - 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', - 'ཟླ་བ་བཅུ་གཅིག་པ', - 'ཟླ་བ་བཅུ་གཉིས་པ' + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', + 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ' ] ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', - 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', - 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', - 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', - 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', - 'ཟླ་བ་བཅུ་གཅིག་པ་', - 'ཟླ་བ་བཅུ་གཉིས་པ་' + 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', + 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་' ] ], [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], 0, [6, 0], - [ - 'y-MM-dd', 'y ལོའི་MMMཚེས་d', - 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE' - ], + ['y-MM-dd', 'y ལོའི་MMMཚེས་d', 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], diff --git a/packages/common/locales/br.ts b/packages/common/locales/br.ts index 65e475aa33..3fe456a55d 100644 --- a/packages/common/locales/br.ts +++ b/packages/common/locales/br.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/brx.ts b/packages/common/locales/brx.ts index 0c185d1c2c..4c216740a7 100644 --- a/packages/common/locales/brx.ts +++ b/packages/common/locales/brx.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,30 +21,15 @@ export default [ [['फुं', 'बेलासे'], u, u], u, [ - ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], - [ - 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', - 'सुनि' - ], - [ - 'रबिबार', 'समबार', 'मंगलबार', 'बुदबार', - 'बिसथिबार', 'सुखुरबार', 'सुनिबार' - ], - [ - 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', - 'सुनि' - ] + ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'], + ['रबिबार', 'समबार', 'मंगलबार', 'बुदबार', 'बिसथिबार', 'सुखुरबार', 'सुनिबार'], + ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'] ], u, [ + ['ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', 'न', 'दि'], [ - 'ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', 'न', - 'दि' - ], - [ - 'जानुवारी', 'फेब्रुवारी', 'मार्स', - 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', - 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'जानुवारी', 'फेब्रुवारी', 'मार्स', 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', 'दिसेज्ब़र' ], u diff --git a/packages/common/locales/bs-Cyrl.ts b/packages/common/locales/bs-Cyrl.ts index 8beb70d4fe..5ce0cdd810 100644 --- a/packages/common/locales/bs-Cyrl.ts +++ b/packages/common/locales/bs-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,37 +17,24 @@ function plural(n: number): number { export default [ 'bs-Cyrl', - [ - ['пре подне', 'поподне'], u, - ['прије подне', 'послије подне'] - ], + [['пре подне', 'поподне'], u, ['прије подне', 'послије подне']], u, [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедјељак', 'уторак', 'сриједа', - 'четвртак', 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + ['недјеља', 'понедјељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'ауг', 'сеп', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'ауг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', 'јули', - 'аугуст', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', 'јули', 'аугуст', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/bs-Latn.ts b/packages/common/locales/bs-Latn.ts index 7546df5525..ec6e43f8f8 100644 --- a/packages/common/locales/bs-Latn.ts +++ b/packages/common/locales/bs-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/bs.ts b/packages/common/locales/bs.ts index af85bf81b1..04fb5ac4cd 100644 --- a/packages/common/locales/bs.ts +++ b/packages/common/locales/bs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ca-AD.ts b/packages/common/locales/ca-AD.ts index 59338ac9ed..cec725f6f6 100644 --- a/packages/common/locales/ca-AD.ts +++ b/packages/common/locales/ca-AD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,15 +34,14 @@ export default [ 'de set.', 'd’oct.', 'de nov.', 'de des.' ], [ - 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', - 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' ] ], [ ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], [ - 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', - 'des.' + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' ], [ 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', diff --git a/packages/common/locales/ca-ES-VALENCIA.ts b/packages/common/locales/ca-ES-VALENCIA.ts index cf5e69a6c4..7c7c315ac1 100644 --- a/packages/common/locales/ca-ES-VALENCIA.ts +++ b/packages/common/locales/ca-ES-VALENCIA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,15 +34,14 @@ export default [ 'de set.', 'd’oct.', 'de nov.', 'de des.' ], [ - 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', - 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' ] ], [ ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], [ - 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', - 'des.' + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' ], [ 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', diff --git a/packages/common/locales/ca-FR.ts b/packages/common/locales/ca-FR.ts index 854850e878..5f8858f73c 100644 --- a/packages/common/locales/ca-FR.ts +++ b/packages/common/locales/ca-FR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,15 +34,14 @@ export default [ 'de set.', 'd’oct.', 'de nov.', 'de des.' ], [ - 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', - 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' ] ], [ ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], [ - 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', - 'des.' + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' ], [ 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', diff --git a/packages/common/locales/ca-IT.ts b/packages/common/locales/ca-IT.ts index cc5f10954c..3e9739f0d8 100644 --- a/packages/common/locales/ca-IT.ts +++ b/packages/common/locales/ca-IT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,15 +34,14 @@ export default [ 'de set.', 'd’oct.', 'de nov.', 'de des.' ], [ - 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', - 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' ] ], [ ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], [ - 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', - 'des.' + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' ], [ 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', diff --git a/packages/common/locales/ca.ts b/packages/common/locales/ca.ts index 6c2fd9b6bf..a464ac41a5 100644 --- a/packages/common/locales/ca.ts +++ b/packages/common/locales/ca.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,15 +34,14 @@ export default [ 'de set.', 'd’oct.', 'de nov.', 'de des.' ], [ - 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', - 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' ] ], [ ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], [ - 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', - 'des.' + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' ], [ 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', diff --git a/packages/common/locales/ccp-IN.ts b/packages/common/locales/ccp-IN.ts index 193a098d25..e153e6cf75 100644 --- a/packages/common/locales/ccp-IN.ts +++ b/packages/common/locales/ccp-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,66 +20,30 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ], - [ - '𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', - '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', - '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴' - ], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ] + ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'], + ['𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴'], + ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'] ], u, [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' + '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' ], [ - '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', - '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', - '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ] ], [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ], u ], - [ - [ - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧' - ], - u, u - ], + [['𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧'], u, u], 0, [0, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ccp.ts b/packages/common/locales/ccp.ts index 26e10637a7..faf735bbd9 100644 --- a/packages/common/locales/ccp.ts +++ b/packages/common/locales/ccp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,66 +20,30 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ], - [ - '𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', - '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', - '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴' - ], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ] + ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'], + ['𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴'], + ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'] ], u, [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' + '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' ], [ - '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', - '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', - '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ] ], [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ], u ], - [ - [ - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧' - ], - u, u - ], + [['𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧'], u, u], 0, [6, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ce.ts b/packages/common/locales/ce.ts index fafe281614..2f70713905 100644 --- a/packages/common/locales/ce.ts +++ b/packages/common/locales/ce.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,40 +22,26 @@ export default [ u, [ ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], u, - [ - 'кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', - 'шуот' - ], + ['кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', 'шуот'], ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] ], [ - ['кӀ', 'о', 'ш', 'кх', 'е', 'пӀ', 'ш'], - ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], - [ - 'кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', - 'шуот' - ], + ['кӀ', 'о', 'ш', 'кх', 'е', 'пӀ', 'ш'], ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], + ['кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', 'шуот'], ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], [ - 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', - 'окт', 'ноя', 'дек' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], u, [ ['в. э. тӀ. я', 'в. э'], u, - [ - 'Ӏийса пайхамар вина де кхачале', - 'Ӏийса пайхамар вина дийнахь дуьйна' - ] + ['Ӏийса пайхамар вина де кхачале', 'Ӏийса пайхамар вина дийнахь дуьйна'] ], 1, [6, 0], diff --git a/packages/common/locales/ceb.ts b/packages/common/locales/ceb.ts index 45c92c8273..beda3a236e 100644 --- a/packages/common/locales/ceb.ts +++ b/packages/common/locales/ceb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/cgg.ts b/packages/common/locales/cgg.ts index e10e0790d0..4e45956fd4 100644 --- a/packages/common/locales/cgg.ts +++ b/packages/common/locales/cgg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/chr.ts b/packages/common/locales/chr.ts index 6a5ae4793b..1aebf44566 100644 --- a/packages/common/locales/chr.ts +++ b/packages/common/locales/chr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,25 +21,15 @@ export default [ [['Ꮜ', 'Ꮢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], [['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], u, ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], [ - ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], - ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], - [ - 'ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', - 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ' - ], + ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], + ['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'], ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'] ], u, [ ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], - [ - 'ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', - 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ' - ], - [ - 'ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', - 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ' - ] + ['ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ'], + ['ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ'] ], u, [['BC', 'AD'], u, ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ']], diff --git a/packages/common/locales/ckb-IR.ts b/packages/common/locales/ckb-IR.ts index a1d532e36c..6a4bd9c708 100644 --- a/packages/common/locales/ckb-IR.ts +++ b/packages/common/locales/ckb-IR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,19 +22,15 @@ export default [ u, [ ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], - [ - 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', - 'پێنجشەممە', 'ھەینی', 'شەممە' - ], - u, ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'ھەینی', 'شەممە'], u, + ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] ], u, [ ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], [ - 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', - 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', - 'تشرینی دووەم', 'کانونی یەکەم' + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', + 'تشرینی یەکەم', 'تشرینی دووەم', 'کانونی یەکەم' ], u ], diff --git a/packages/common/locales/ckb.ts b/packages/common/locales/ckb.ts index 47bb02b7ba..ff5bae8f53 100644 --- a/packages/common/locales/ckb.ts +++ b/packages/common/locales/ckb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,19 +22,15 @@ export default [ u, [ ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], - [ - 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', - 'پێنجشەممە', 'ھەینی', 'شەممە' - ], - u, ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'ھەینی', 'شەممە'], u, + ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] ], u, [ ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], [ - 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', - 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', - 'تشرینی دووەم', 'کانونی یەکەم' + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', + 'تشرینی یەکەم', 'تشرینی دووەم', 'کانونی یەکەم' ], u ], diff --git a/packages/common/locales/closure-locale.ts b/packages/common/locales/closure-locale.ts index 8c7e6aa7b0..7ead917590 100644 --- a/packages/common/locales/closure-locale.ts +++ b/packages/common/locales/closure-locale.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -4218,9 +4218,7 @@ export const locale_pa = [ [ ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], - [ - 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' - ] + ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] ], u, [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], diff --git a/packages/common/locales/cs.ts b/packages/common/locales/cs.ts index 99a2e55f75..c7c98ad34f 100644 --- a/packages/common/locales/cs.ts +++ b/packages/common/locales/cs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,22 +33,19 @@ export default [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], [ - 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', - 'října', 'listopadu', 'prosince' + 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', + 'listopadu', 'prosince' ] ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], [ - 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', - 'říjen', 'listopad', 'prosinec' + 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', + 'listopad', 'prosinec' ] ], - [ - ['př.n.l.', 'n.l.'], ['př. n. l.', 'n. l.'], - ['před naším letopočtem', 'našeho letopočtu'] - ], + [['př.n.l.', 'n.l.'], ['př. n. l.', 'n. l.'], ['před naším letopočtem', 'našeho letopočtu']], 1, [6, 0], ['dd.MM.yy', 'd. M. y', 'd. MMMM y', 'EEEE d. MMMM y'], diff --git a/packages/common/locales/cu.ts b/packages/common/locales/cu.ts index ad423a75f8..ee553a6f78 100644 --- a/packages/common/locales/cu.ts +++ b/packages/common/locales/cu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/cy.ts b/packages/common/locales/cy.ts index 46865f0c7a..77b42f753d 100644 --- a/packages/common/locales/cy.ts +++ b/packages/common/locales/cy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/da-GL.ts b/packages/common/locales/da-GL.ts index c73b5a0075..83907351b0 100644 --- a/packages/common/locales/da-GL.ts +++ b/packages/common/locales/da-GL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/da.ts b/packages/common/locales/da.ts index 8cd14c53c8..43f372d138 100644 --- a/packages/common/locales/da.ts +++ b/packages/common/locales/da.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/dav.ts b/packages/common/locales/dav.ts index f3e8e59491..93482faa5f 100644 --- a/packages/common/locales/dav.ts +++ b/packages/common/locales/dav.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/de-AT.ts b/packages/common/locales/de-AT.ts index 9ca2915bbf..96b92f795b 100644 --- a/packages/common/locales/de-AT.ts +++ b/packages/common/locales/de-AT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,21 +33,18 @@ export default [ ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ - 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de-BE.ts b/packages/common/locales/de-BE.ts index 49ef264768..f2f7c6412d 100644 --- a/packages/common/locales/de-BE.ts +++ b/packages/common/locales/de-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,20 +34,19 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de-CH.ts b/packages/common/locales/de-CH.ts index 92fe0773e5..ef335bb921 100644 --- a/packages/common/locales/de-CH.ts +++ b/packages/common/locales/de-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,20 +34,19 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de-IT.ts b/packages/common/locales/de-IT.ts index 0b573130d2..0619aa9463 100644 --- a/packages/common/locales/de-IT.ts +++ b/packages/common/locales/de-IT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,21 +33,18 @@ export default [ ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ - 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de-LI.ts b/packages/common/locales/de-LI.ts index 73c1a945b3..9d0653364b 100644 --- a/packages/common/locales/de-LI.ts +++ b/packages/common/locales/de-LI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,20 +34,19 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de-LU.ts b/packages/common/locales/de-LU.ts index df4968ce63..dc1f98de7f 100644 --- a/packages/common/locales/de-LU.ts +++ b/packages/common/locales/de-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,20 +34,19 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/de.ts b/packages/common/locales/de.ts index d1d915ac5d..beef1ccd70 100644 --- a/packages/common/locales/de.ts +++ b/packages/common/locales/de.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,20 +34,19 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] ], [['v. Chr.', 'n. Chr.'], u, u], diff --git a/packages/common/locales/dje.ts b/packages/common/locales/dje.ts index 19bf2bcb5e..d908299d35 100644 --- a/packages/common/locales/dje.ts +++ b/packages/common/locales/dje.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/dsb.ts b/packages/common/locales/dsb.ts index d495e10e3c..1788075d60 100644 --- a/packages/common/locales/dsb.ts +++ b/packages/common/locales/dsb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,8 +35,7 @@ export default [ [ ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], [ - 'jan.', 'feb.', 'měr.', 'apr.', 'maj.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', - 'dec.' + 'jan.', 'feb.', 'měr.', 'apr.', 'maj.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', 'dec.' ], [ 'januara', 'februara', 'měrca', 'apryla', 'maja', 'junija', 'julija', 'awgusta', 'septembra', diff --git a/packages/common/locales/dua.ts b/packages/common/locales/dua.ts index 134467a5a6..145e41966a 100644 --- a/packages/common/locales/dua.ts +++ b/packages/common/locales/dua.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['d', 'ŋ', 's', 'd', 'e', 'e', 'm', 'd', 'n', 'm', 't', 'e'], ['di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', 'elá'], [ - 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', - 'madiɓɛ́díɓɛ́', 'diŋgindi', 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' + 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', 'madiɓɛ́díɓɛ́', 'diŋgindi', + 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' ] ], u, diff --git a/packages/common/locales/dyo.ts b/packages/common/locales/dyo.ts index 605b1c9707..53a356c747 100644 --- a/packages/common/locales/dyo.ts +++ b/packages/common/locales/dyo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['S', 'F', 'M', 'A', 'M', 'S', 'S', 'U', 'S', 'O', 'N', 'D'], ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'], [ - 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', - 'Oktobar', 'Novembar', 'Disambar' + 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', 'Oktobar', + 'Novembar', 'Disambar' ] ], u, diff --git a/packages/common/locales/dz.ts b/packages/common/locales/dz.ts index 3ff695bdbb..567cf44169 100644 --- a/packages/common/locales/dz.ts +++ b/packages/common/locales/dz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,65 +20,32 @@ export default [ [['སྔ་ཆ་', 'ཕྱི་ཆ་'], u, u], u, [ - ['ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི'], - [ - 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', - 'སྤེན་', 'ཉི་' - ], - [ - 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', - 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', - 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', - 'གཟའ་ཉི་མ་' - ], - [ - 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', - 'སྤེན་', 'ཉི་' - ] + ['ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི'], ['ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', 'སྤེན་', 'ཉི་'], + ['གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', 'གཟའ་ཉི་མ་'], + ['ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', 'སྤེན་', 'ཉི་'] ], u, [ ['༡', '༢', '༣', '4', '༥', '༦', '༧', '༨', '9', '༡༠', '༡༡', '༡༢'], ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '12'], [ - 'ཟླ་དངཔ་', 'ཟླ་གཉིས་པ་', 'ཟླ་གསུམ་པ་', - 'ཟླ་བཞི་པ་', 'ཟླ་ལྔ་པ་', 'ཟླ་དྲུག་པ', - 'ཟླ་བདུན་པ་', 'ཟླ་བརྒྱད་པ་', - 'ཟླ་དགུ་པ་', 'ཟླ་བཅུ་པ་', - 'ཟླ་བཅུ་གཅིག་པ་', 'ཟླ་བཅུ་གཉིས་པ་' + 'ཟླ་དངཔ་', 'ཟླ་གཉིས་པ་', 'ཟླ་གསུམ་པ་', 'ཟླ་བཞི་པ་', 'ཟླ་ལྔ་པ་', 'ཟླ་དྲུག་པ', 'ཟླ་བདུན་པ་', 'ཟླ་བརྒྱད་པ་', + 'ཟླ་དགུ་པ་', 'ཟླ་བཅུ་པ་', 'ཟླ་བཅུ་གཅིག་པ་', 'ཟླ་བཅུ་གཉིས་པ་' ] ], [ ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '༡༢'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'སྤྱི་ཟླ་དངཔ་', 'སྤྱི་ཟླ་གཉིས་པ་', - 'སྤྱི་ཟླ་གསུམ་པ་', 'སྤྱི་ཟླ་བཞི་པ', - 'སྤྱི་ཟླ་ལྔ་པ་', 'སྤྱི་ཟླ་དྲུག་པ', - 'སྤྱི་ཟླ་བདུན་པ་', - 'སྤྱི་ཟླ་བརྒྱད་པ་', - 'སྤྱི་ཟླ་དགུ་པ་', 'སྤྱི་ཟླ་བཅུ་པ་', - 'སྤྱི་ཟླ་བཅུ་གཅིག་པ་', - 'སྤྱི་ཟླ་བཅུ་གཉིས་པ་' + 'སྤྱི་ཟླ་དངཔ་', 'སྤྱི་ཟླ་གཉིས་པ་', 'སྤྱི་ཟླ་གསུམ་པ་', 'སྤྱི་ཟླ་བཞི་པ', 'སྤྱི་ཟླ་ལྔ་པ་', 'སྤྱི་ཟླ་དྲུག་པ', 'སྤྱི་ཟླ་བདུན་པ་', + 'སྤྱི་ཟླ་བརྒྱད་པ་', 'སྤྱི་ཟླ་དགུ་པ་', 'སྤྱི་ཟླ་བཅུ་པ་', 'སྤྱི་ཟླ་བཅུ་གཅིག་པ་', 'སྤྱི་ཟླ་བཅུ་གཉིས་པ་' ] ], [['BCE', 'CE'], u, u], 0, [6, 0], - [ - 'y-MM-dd', 'སྤྱི་ལོ་y ཟླ་MMM ཚེས་dd', - 'སྤྱི་ལོ་y MMMM ཚེས་ dd', - 'EEEE, སྤྱི་ལོ་y MMMM ཚེས་dd' - ], - [ - 'ཆུ་ཚོད་ h སྐར་མ་ mm a', 'ཆུ་ཚོད་h:mm:ss a', - 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a z', - 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a zzzz' - ], + ['y-MM-dd', 'སྤྱི་ལོ་y ཟླ་MMM ཚེས་dd', 'སྤྱི་ལོ་y MMMM ཚེས་ dd', 'EEEE, སྤྱི་ལོ་y MMMM ཚེས་dd'], + ['ཆུ་ཚོད་ h སྐར་མ་ mm a', 'ཆུ་ཚོད་h:mm:ss a', 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a z', 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a zzzz'], ['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], ['#,##,##0.###', '#,##,##0 %', '¤#,##,##0.00', '#E0'], diff --git a/packages/common/locales/ebu.ts b/packages/common/locales/ebu.ts index e49c074e07..4fb849b651 100644 --- a/packages/common/locales/ebu.ts +++ b/packages/common/locales/ebu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ee-TG.ts b/packages/common/locales/ee-TG.ts index 2fcec7c68f..0fdf423794 100644 --- a/packages/common/locales/ee-TG.ts +++ b/packages/common/locales/ee-TG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,8 +30,8 @@ export default [ ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], [ - 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', - 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', 'anyɔnyɔ', + 'kele', 'adeɛmekpɔxe', 'dzome' ] ], u, @@ -46,13 +46,7 @@ export default [ 'XOF', 'CFA', 'ɣetoɖofe afrikaga CFA franc BCEAO', - { - 'AUD': ['AU$', '$'], - 'GHS': ['GH₵'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, + {'AUD': ['AU$', '$'], 'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$']}, 'ltr', plural ]; diff --git a/packages/common/locales/ee.ts b/packages/common/locales/ee.ts index fdc11ce0bb..356624ad08 100644 --- a/packages/common/locales/ee.ts +++ b/packages/common/locales/ee.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,8 +30,8 @@ export default [ ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], [ - 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', - 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', 'anyɔnyɔ', + 'kele', 'adeɛmekpɔxe', 'dzome' ] ], u, @@ -46,13 +46,7 @@ export default [ 'GHS', 'GH₵', 'ghana siɖi', - { - 'AUD': ['AU$', '$'], - 'GHS': ['GH₵'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, + {'AUD': ['AU$', '$'], 'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$']}, 'ltr', plural ]; diff --git a/packages/common/locales/el-CY.ts b/packages/common/locales/el-CY.ts index d083df101b..d51f05c1e5 100644 --- a/packages/common/locales/el-CY.ts +++ b/packages/common/locales/el-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,37 +21,25 @@ export default [ [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], u, [ - ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], - ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], - [ - 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', - 'Παρασκευή', 'Σάββατο' - ], + ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'], ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] ], u, [ ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], [ - 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', - 'Οκτ', 'Νοε', 'Δεκ' - ], - [ - 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', - 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', - 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', + 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' ] ], [ ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], [ - 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', - 'Οκτ', 'Νοέ', 'Δεκ' - ], - [ - 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', - 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', - 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', + 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' ] ], [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], diff --git a/packages/common/locales/el.ts b/packages/common/locales/el.ts index ba1e724f63..1f7140010c 100644 --- a/packages/common/locales/el.ts +++ b/packages/common/locales/el.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,37 +21,25 @@ export default [ [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], u, [ - ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], - ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], - [ - 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', - 'Παρασκευή', 'Σάββατο' - ], + ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'], ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] ], u, [ ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], [ - 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', - 'Οκτ', 'Νοε', 'Δεκ' - ], - [ - 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', - 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', - 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', + 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' ] ], [ ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], [ - 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', - 'Οκτ', 'Νοέ', 'Δεκ' - ], - [ - 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', - 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', - 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', + 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' ] ], [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], diff --git a/packages/common/locales/en-001.ts b/packages/common/locales/en-001.ts index d22bfdb1e8..e7e16afe5c 100644 --- a/packages/common/locales/en-001.ts +++ b/packages/common/locales/en-001.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-150.ts b/packages/common/locales/en-150.ts index 833a195805..28042babe1 100644 --- a/packages/common/locales/en-150.ts +++ b/packages/common/locales/en-150.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AE.ts b/packages/common/locales/en-AE.ts index 197e7cc5f5..c12eb0f65a 100644 --- a/packages/common/locales/en-AE.ts +++ b/packages/common/locales/en-AE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AG.ts b/packages/common/locales/en-AG.ts index 335c5d9914..a37c8786a3 100644 --- a/packages/common/locales/en-AG.ts +++ b/packages/common/locales/en-AG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AI.ts b/packages/common/locales/en-AI.ts index 48a30f3d75..9118d329a7 100644 --- a/packages/common/locales/en-AI.ts +++ b/packages/common/locales/en-AI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AS.ts b/packages/common/locales/en-AS.ts index 153998bfc4..4e6be55122 100644 --- a/packages/common/locales/en-AS.ts +++ b/packages/common/locales/en-AS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AT.ts b/packages/common/locales/en-AT.ts index 43099f2861..1c10fea330 100644 --- a/packages/common/locales/en-AT.ts +++ b/packages/common/locales/en-AT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-AU.ts b/packages/common/locales/en-AU.ts index 235caa6343..31895673a4 100644 --- a/packages/common/locales/en-AU.ts +++ b/packages/common/locales/en-AU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BB.ts b/packages/common/locales/en-BB.ts index 00f10afdeb..a67af73a67 100644 --- a/packages/common/locales/en-BB.ts +++ b/packages/common/locales/en-BB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BE.ts b/packages/common/locales/en-BE.ts index a0408581e0..dfcf1019ed 100644 --- a/packages/common/locales/en-BE.ts +++ b/packages/common/locales/en-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BI.ts b/packages/common/locales/en-BI.ts index cd7ded3b6c..806d1282bc 100644 --- a/packages/common/locales/en-BI.ts +++ b/packages/common/locales/en-BI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BM.ts b/packages/common/locales/en-BM.ts index 0ec7debd25..142b40138c 100644 --- a/packages/common/locales/en-BM.ts +++ b/packages/common/locales/en-BM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BS.ts b/packages/common/locales/en-BS.ts index 09cb0d5fd3..53b803dbd6 100644 --- a/packages/common/locales/en-BS.ts +++ b/packages/common/locales/en-BS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BW.ts b/packages/common/locales/en-BW.ts index cdd0623ecd..c25832ee82 100644 --- a/packages/common/locales/en-BW.ts +++ b/packages/common/locales/en-BW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-BZ.ts b/packages/common/locales/en-BZ.ts index ec647c00e5..0999d20f63 100644 --- a/packages/common/locales/en-BZ.ts +++ b/packages/common/locales/en-BZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CA.ts b/packages/common/locales/en-CA.ts index b787c265e0..d3b795afc1 100644 --- a/packages/common/locales/en-CA.ts +++ b/packages/common/locales/en-CA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CC.ts b/packages/common/locales/en-CC.ts index 4f827d180e..dd0e27a696 100644 --- a/packages/common/locales/en-CC.ts +++ b/packages/common/locales/en-CC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CH.ts b/packages/common/locales/en-CH.ts index a7b5efee39..c61fc68af9 100644 --- a/packages/common/locales/en-CH.ts +++ b/packages/common/locales/en-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CK.ts b/packages/common/locales/en-CK.ts index 276e8debee..a0a075165b 100644 --- a/packages/common/locales/en-CK.ts +++ b/packages/common/locales/en-CK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CM.ts b/packages/common/locales/en-CM.ts index 1b6e8f51c4..ef2574d679 100644 --- a/packages/common/locales/en-CM.ts +++ b/packages/common/locales/en-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CX.ts b/packages/common/locales/en-CX.ts index b50c5d7c5b..f984cdf9df 100644 --- a/packages/common/locales/en-CX.ts +++ b/packages/common/locales/en-CX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-CY.ts b/packages/common/locales/en-CY.ts index 25a1b67368..f5d5d64a38 100644 --- a/packages/common/locales/en-CY.ts +++ b/packages/common/locales/en-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-DE.ts b/packages/common/locales/en-DE.ts index 2019a1e0d6..75e60fc895 100644 --- a/packages/common/locales/en-DE.ts +++ b/packages/common/locales/en-DE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-DG.ts b/packages/common/locales/en-DG.ts index 35929a712b..b2a8c81cf8 100644 --- a/packages/common/locales/en-DG.ts +++ b/packages/common/locales/en-DG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-DK.ts b/packages/common/locales/en-DK.ts index 849ec0c6da..0cdeecf498 100644 --- a/packages/common/locales/en-DK.ts +++ b/packages/common/locales/en-DK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-DM.ts b/packages/common/locales/en-DM.ts index 59988d745c..fe7e98cf35 100644 --- a/packages/common/locales/en-DM.ts +++ b/packages/common/locales/en-DM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-ER.ts b/packages/common/locales/en-ER.ts index f670b293bc..244a716a79 100644 --- a/packages/common/locales/en-ER.ts +++ b/packages/common/locales/en-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-FI.ts b/packages/common/locales/en-FI.ts index 7779b0b723..74085b9524 100644 --- a/packages/common/locales/en-FI.ts +++ b/packages/common/locales/en-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-FJ.ts b/packages/common/locales/en-FJ.ts index 30092419f9..eaa78efae8 100644 --- a/packages/common/locales/en-FJ.ts +++ b/packages/common/locales/en-FJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-FK.ts b/packages/common/locales/en-FK.ts index 561d879817..28b2c1ef59 100644 --- a/packages/common/locales/en-FK.ts +++ b/packages/common/locales/en-FK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-FM.ts b/packages/common/locales/en-FM.ts index d5319875e7..05bedf0a26 100644 --- a/packages/common/locales/en-FM.ts +++ b/packages/common/locales/en-FM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GB.ts b/packages/common/locales/en-GB.ts index fdb1977d4c..20fd327fb1 100644 --- a/packages/common/locales/en-GB.ts +++ b/packages/common/locales/en-GB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GD.ts b/packages/common/locales/en-GD.ts index b51502d7c1..125ec86b74 100644 --- a/packages/common/locales/en-GD.ts +++ b/packages/common/locales/en-GD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GG.ts b/packages/common/locales/en-GG.ts index 23188399df..f4e3680d81 100644 --- a/packages/common/locales/en-GG.ts +++ b/packages/common/locales/en-GG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GH.ts b/packages/common/locales/en-GH.ts index 2625747839..94d62c0945 100644 --- a/packages/common/locales/en-GH.ts +++ b/packages/common/locales/en-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GI.ts b/packages/common/locales/en-GI.ts index ed3f6153d2..cf7fa30378 100644 --- a/packages/common/locales/en-GI.ts +++ b/packages/common/locales/en-GI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GM.ts b/packages/common/locales/en-GM.ts index 8e31b8b6be..aeb1ed7ef6 100644 --- a/packages/common/locales/en-GM.ts +++ b/packages/common/locales/en-GM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GU.ts b/packages/common/locales/en-GU.ts index 0b7507137d..8250aed366 100644 --- a/packages/common/locales/en-GU.ts +++ b/packages/common/locales/en-GU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-GY.ts b/packages/common/locales/en-GY.ts index 111a4f1b0a..e8544e647b 100644 --- a/packages/common/locales/en-GY.ts +++ b/packages/common/locales/en-GY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-HK.ts b/packages/common/locales/en-HK.ts index a1fd494a77..e2e0e6130d 100644 --- a/packages/common/locales/en-HK.ts +++ b/packages/common/locales/en-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-IE.ts b/packages/common/locales/en-IE.ts index 81560095b9..c9f28a5432 100644 --- a/packages/common/locales/en-IE.ts +++ b/packages/common/locales/en-IE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-IL.ts b/packages/common/locales/en-IL.ts index 0cc8ea8e6b..acc59dc449 100644 --- a/packages/common/locales/en-IL.ts +++ b/packages/common/locales/en-IL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-IM.ts b/packages/common/locales/en-IM.ts index 8d1ef82088..989ba4319e 100644 --- a/packages/common/locales/en-IM.ts +++ b/packages/common/locales/en-IM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-IN.ts b/packages/common/locales/en-IN.ts index 29447577d2..3c08632d4d 100644 --- a/packages/common/locales/en-IN.ts +++ b/packages/common/locales/en-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-IO.ts b/packages/common/locales/en-IO.ts index dfb9269079..a10fe2cebc 100644 --- a/packages/common/locales/en-IO.ts +++ b/packages/common/locales/en-IO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-JE.ts b/packages/common/locales/en-JE.ts index 3dae50a8a1..44a685cd22 100644 --- a/packages/common/locales/en-JE.ts +++ b/packages/common/locales/en-JE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-JM.ts b/packages/common/locales/en-JM.ts index a1349c0a6f..884f665b34 100644 --- a/packages/common/locales/en-JM.ts +++ b/packages/common/locales/en-JM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-KE.ts b/packages/common/locales/en-KE.ts index efedaa87ad..832bb2bd0d 100644 --- a/packages/common/locales/en-KE.ts +++ b/packages/common/locales/en-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-KI.ts b/packages/common/locales/en-KI.ts index b9f7085e73..9cb491b40c 100644 --- a/packages/common/locales/en-KI.ts +++ b/packages/common/locales/en-KI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-KN.ts b/packages/common/locales/en-KN.ts index 41b3d9bfd8..95dac03bb8 100644 --- a/packages/common/locales/en-KN.ts +++ b/packages/common/locales/en-KN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-KY.ts b/packages/common/locales/en-KY.ts index 787205c424..177e3443cb 100644 --- a/packages/common/locales/en-KY.ts +++ b/packages/common/locales/en-KY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-LC.ts b/packages/common/locales/en-LC.ts index f51a808e8d..41142d377f 100644 --- a/packages/common/locales/en-LC.ts +++ b/packages/common/locales/en-LC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-LR.ts b/packages/common/locales/en-LR.ts index 3b33e532de..b1fb93c28d 100644 --- a/packages/common/locales/en-LR.ts +++ b/packages/common/locales/en-LR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-LS.ts b/packages/common/locales/en-LS.ts index 488685b175..ae55e1693a 100644 --- a/packages/common/locales/en-LS.ts +++ b/packages/common/locales/en-LS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MG.ts b/packages/common/locales/en-MG.ts index d9fb252278..9671197396 100644 --- a/packages/common/locales/en-MG.ts +++ b/packages/common/locales/en-MG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MH.ts b/packages/common/locales/en-MH.ts index 534a5a03a0..f04cbe0b1c 100644 --- a/packages/common/locales/en-MH.ts +++ b/packages/common/locales/en-MH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MO.ts b/packages/common/locales/en-MO.ts index 6630fdc02f..fa9de43138 100644 --- a/packages/common/locales/en-MO.ts +++ b/packages/common/locales/en-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MP.ts b/packages/common/locales/en-MP.ts index 9dad1b9834..e49e131707 100644 --- a/packages/common/locales/en-MP.ts +++ b/packages/common/locales/en-MP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MS.ts b/packages/common/locales/en-MS.ts index 4756763567..da645a4a2e 100644 --- a/packages/common/locales/en-MS.ts +++ b/packages/common/locales/en-MS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MT.ts b/packages/common/locales/en-MT.ts index 875941c46a..a1f5aa0fac 100644 --- a/packages/common/locales/en-MT.ts +++ b/packages/common/locales/en-MT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MU.ts b/packages/common/locales/en-MU.ts index 41736fbbff..8a48958f55 100644 --- a/packages/common/locales/en-MU.ts +++ b/packages/common/locales/en-MU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MW.ts b/packages/common/locales/en-MW.ts index 4866d60d6b..38af3620a5 100644 --- a/packages/common/locales/en-MW.ts +++ b/packages/common/locales/en-MW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-MY.ts b/packages/common/locales/en-MY.ts index cf0dfd9249..2428be4df1 100644 --- a/packages/common/locales/en-MY.ts +++ b/packages/common/locales/en-MY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NA.ts b/packages/common/locales/en-NA.ts index ea5b7a088b..ea171e828a 100644 --- a/packages/common/locales/en-NA.ts +++ b/packages/common/locales/en-NA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NF.ts b/packages/common/locales/en-NF.ts index 311f739192..292b6d628a 100644 --- a/packages/common/locales/en-NF.ts +++ b/packages/common/locales/en-NF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NG.ts b/packages/common/locales/en-NG.ts index 30ae886610..5f92d2da9b 100644 --- a/packages/common/locales/en-NG.ts +++ b/packages/common/locales/en-NG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NL.ts b/packages/common/locales/en-NL.ts index c3619c53f9..7ed55d2be0 100644 --- a/packages/common/locales/en-NL.ts +++ b/packages/common/locales/en-NL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NR.ts b/packages/common/locales/en-NR.ts index 2670628834..448b59edb2 100644 --- a/packages/common/locales/en-NR.ts +++ b/packages/common/locales/en-NR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NU.ts b/packages/common/locales/en-NU.ts index 0f86fdf083..9b709f17a9 100644 --- a/packages/common/locales/en-NU.ts +++ b/packages/common/locales/en-NU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-NZ.ts b/packages/common/locales/en-NZ.ts index b54563af45..522de84c75 100644 --- a/packages/common/locales/en-NZ.ts +++ b/packages/common/locales/en-NZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PG.ts b/packages/common/locales/en-PG.ts index 8b139e641e..bb3c001959 100644 --- a/packages/common/locales/en-PG.ts +++ b/packages/common/locales/en-PG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PH.ts b/packages/common/locales/en-PH.ts index bb4339971c..8173d19ffd 100644 --- a/packages/common/locales/en-PH.ts +++ b/packages/common/locales/en-PH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PK.ts b/packages/common/locales/en-PK.ts index 08880a019d..ad3ef55063 100644 --- a/packages/common/locales/en-PK.ts +++ b/packages/common/locales/en-PK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PN.ts b/packages/common/locales/en-PN.ts index ec5c656437..c8d9133e7d 100644 --- a/packages/common/locales/en-PN.ts +++ b/packages/common/locales/en-PN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PR.ts b/packages/common/locales/en-PR.ts index a18c44cf4e..01bafc8b8b 100644 --- a/packages/common/locales/en-PR.ts +++ b/packages/common/locales/en-PR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-PW.ts b/packages/common/locales/en-PW.ts index a54ca40c04..dee5e6f472 100644 --- a/packages/common/locales/en-PW.ts +++ b/packages/common/locales/en-PW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-RW.ts b/packages/common/locales/en-RW.ts index b53e883eaf..12155fae28 100644 --- a/packages/common/locales/en-RW.ts +++ b/packages/common/locales/en-RW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SB.ts b/packages/common/locales/en-SB.ts index b82c20c19b..53fc1b0518 100644 --- a/packages/common/locales/en-SB.ts +++ b/packages/common/locales/en-SB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SC.ts b/packages/common/locales/en-SC.ts index 1d5afe8bd2..4b7eea8916 100644 --- a/packages/common/locales/en-SC.ts +++ b/packages/common/locales/en-SC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SD.ts b/packages/common/locales/en-SD.ts index 185890adce..87c517e4f4 100644 --- a/packages/common/locales/en-SD.ts +++ b/packages/common/locales/en-SD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SE.ts b/packages/common/locales/en-SE.ts index 8df9747948..9ce1869eb2 100644 --- a/packages/common/locales/en-SE.ts +++ b/packages/common/locales/en-SE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SG.ts b/packages/common/locales/en-SG.ts index bbe53bbaea..76e6231f58 100644 --- a/packages/common/locales/en-SG.ts +++ b/packages/common/locales/en-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SH.ts b/packages/common/locales/en-SH.ts index 3dff8902a9..5c6438dea8 100644 --- a/packages/common/locales/en-SH.ts +++ b/packages/common/locales/en-SH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SI.ts b/packages/common/locales/en-SI.ts index 02138cde20..add552f98e 100644 --- a/packages/common/locales/en-SI.ts +++ b/packages/common/locales/en-SI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SL.ts b/packages/common/locales/en-SL.ts index e65b0ca47c..f39028005a 100644 --- a/packages/common/locales/en-SL.ts +++ b/packages/common/locales/en-SL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SS.ts b/packages/common/locales/en-SS.ts index a343796484..dbd084e90b 100644 --- a/packages/common/locales/en-SS.ts +++ b/packages/common/locales/en-SS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SX.ts b/packages/common/locales/en-SX.ts index 44dfa6db5f..cd3bc8e14e 100644 --- a/packages/common/locales/en-SX.ts +++ b/packages/common/locales/en-SX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-SZ.ts b/packages/common/locales/en-SZ.ts index 95f12df161..e9c1fda921 100644 --- a/packages/common/locales/en-SZ.ts +++ b/packages/common/locales/en-SZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TC.ts b/packages/common/locales/en-TC.ts index da1129cacb..b6a629243c 100644 --- a/packages/common/locales/en-TC.ts +++ b/packages/common/locales/en-TC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TK.ts b/packages/common/locales/en-TK.ts index d4ce8b940e..93da7fb3b9 100644 --- a/packages/common/locales/en-TK.ts +++ b/packages/common/locales/en-TK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TO.ts b/packages/common/locales/en-TO.ts index 14d4888af5..f1263c184c 100644 --- a/packages/common/locales/en-TO.ts +++ b/packages/common/locales/en-TO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TT.ts b/packages/common/locales/en-TT.ts index 0b1389ff5e..87864b5f77 100644 --- a/packages/common/locales/en-TT.ts +++ b/packages/common/locales/en-TT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TV.ts b/packages/common/locales/en-TV.ts index 8b494fe143..fb8e97fa4a 100644 --- a/packages/common/locales/en-TV.ts +++ b/packages/common/locales/en-TV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-TZ.ts b/packages/common/locales/en-TZ.ts index 38954aa4fa..bd5fad9780 100644 --- a/packages/common/locales/en-TZ.ts +++ b/packages/common/locales/en-TZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-UG.ts b/packages/common/locales/en-UG.ts index 1fbc832d25..1843d20b89 100644 --- a/packages/common/locales/en-UG.ts +++ b/packages/common/locales/en-UG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-UM.ts b/packages/common/locales/en-UM.ts index d94c923887..a1e904b138 100644 --- a/packages/common/locales/en-UM.ts +++ b/packages/common/locales/en-UM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-US-POSIX.ts b/packages/common/locales/en-US-POSIX.ts index aa7d8418d0..215dfc9964 100644 --- a/packages/common/locales/en-US-POSIX.ts +++ b/packages/common/locales/en-US-POSIX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-VC.ts b/packages/common/locales/en-VC.ts index 6acf14a6ad..fffc2ff5a7 100644 --- a/packages/common/locales/en-VC.ts +++ b/packages/common/locales/en-VC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-VG.ts b/packages/common/locales/en-VG.ts index cd00670f61..d2dd9bae3c 100644 --- a/packages/common/locales/en-VG.ts +++ b/packages/common/locales/en-VG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-VI.ts b/packages/common/locales/en-VI.ts index 3d7d380c66..4d1a9f4b13 100644 --- a/packages/common/locales/en-VI.ts +++ b/packages/common/locales/en-VI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-VU.ts b/packages/common/locales/en-VU.ts index b2abc6f88d..b4de61f4be 100644 --- a/packages/common/locales/en-VU.ts +++ b/packages/common/locales/en-VU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-WS.ts b/packages/common/locales/en-WS.ts index bc82b6546d..8f24a3da41 100644 --- a/packages/common/locales/en-WS.ts +++ b/packages/common/locales/en-WS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-ZA.ts b/packages/common/locales/en-ZA.ts index e9366bd198..f704e2c7f2 100644 --- a/packages/common/locales/en-ZA.ts +++ b/packages/common/locales/en-ZA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-ZM.ts b/packages/common/locales/en-ZM.ts index 6696736b41..9325758d91 100644 --- a/packages/common/locales/en-ZM.ts +++ b/packages/common/locales/en-ZM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en-ZW.ts b/packages/common/locales/en-ZW.ts index 1642d9e0f7..0252159fdc 100644 --- a/packages/common/locales/en-ZW.ts +++ b/packages/common/locales/en-ZW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/en.ts b/packages/common/locales/en.ts index 2e430b5575..e027aca2cb 100644 --- a/packages/common/locales/en.ts +++ b/packages/common/locales/en.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/eo.ts b/packages/common/locales/eo.ts index 89b7a12175..3b28a98e0e 100644 --- a/packages/common/locales/eo.ts +++ b/packages/common/locales/eo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-419.ts b/packages/common/locales/es-419.ts index e96db6b437..6ee24b3893 100644 --- a/packages/common/locales/es-419.ts +++ b/packages/common/locales/es-419.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-AR.ts b/packages/common/locales/es-AR.ts index 0880182b7a..edfaec6ee0 100644 --- a/packages/common/locales/es-AR.ts +++ b/packages/common/locales/es-AR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-BO.ts b/packages/common/locales/es-BO.ts index decfc89ba2..83c8fa3a5f 100644 --- a/packages/common/locales/es-BO.ts +++ b/packages/common/locales/es-BO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-BR.ts b/packages/common/locales/es-BR.ts index 9840be8aa0..69a12047e8 100644 --- a/packages/common/locales/es-BR.ts +++ b/packages/common/locales/es-BR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-BZ.ts b/packages/common/locales/es-BZ.ts index 667c3e1949..e35339d80f 100644 --- a/packages/common/locales/es-BZ.ts +++ b/packages/common/locales/es-BZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-CL.ts b/packages/common/locales/es-CL.ts index 1f09a592c3..e80af3d406 100644 --- a/packages/common/locales/es-CL.ts +++ b/packages/common/locales/es-CL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-CO.ts b/packages/common/locales/es-CO.ts index 6114251324..77b9b6e840 100644 --- a/packages/common/locales/es-CO.ts +++ b/packages/common/locales/es-CO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-CR.ts b/packages/common/locales/es-CR.ts index 23825816ad..5ad1a8369e 100644 --- a/packages/common/locales/es-CR.ts +++ b/packages/common/locales/es-CR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-CU.ts b/packages/common/locales/es-CU.ts index fad174f25b..d6fc5b5b37 100644 --- a/packages/common/locales/es-CU.ts +++ b/packages/common/locales/es-CU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-DO.ts b/packages/common/locales/es-DO.ts index 8856c65cf7..64aac72091 100644 --- a/packages/common/locales/es-DO.ts +++ b/packages/common/locales/es-DO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-EA.ts b/packages/common/locales/es-EA.ts index 872b284b2c..43d8bf68f9 100644 --- a/packages/common/locales/es-EA.ts +++ b/packages/common/locales/es-EA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-EC.ts b/packages/common/locales/es-EC.ts index 89164f5c8d..dfdb3331f6 100644 --- a/packages/common/locales/es-EC.ts +++ b/packages/common/locales/es-EC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-GQ.ts b/packages/common/locales/es-GQ.ts index c7fd0a51d5..39e121b711 100644 --- a/packages/common/locales/es-GQ.ts +++ b/packages/common/locales/es-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-GT.ts b/packages/common/locales/es-GT.ts index ec0c93277c..032970e187 100644 --- a/packages/common/locales/es-GT.ts +++ b/packages/common/locales/es-GT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-HN.ts b/packages/common/locales/es-HN.ts index 64ce4c8157..af32faf065 100644 --- a/packages/common/locales/es-HN.ts +++ b/packages/common/locales/es-HN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-IC.ts b/packages/common/locales/es-IC.ts index 42b4828166..308c46a784 100644 --- a/packages/common/locales/es-IC.ts +++ b/packages/common/locales/es-IC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-MX.ts b/packages/common/locales/es-MX.ts index 012c864944..ddc0cf933e 100644 --- a/packages/common/locales/es-MX.ts +++ b/packages/common/locales/es-MX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-NI.ts b/packages/common/locales/es-NI.ts index 3fb8d9549a..fff051681c 100644 --- a/packages/common/locales/es-NI.ts +++ b/packages/common/locales/es-NI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-PA.ts b/packages/common/locales/es-PA.ts index 18cfa5f28e..fc5a1f47e8 100644 --- a/packages/common/locales/es-PA.ts +++ b/packages/common/locales/es-PA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-PE.ts b/packages/common/locales/es-PE.ts index 5577b78d8f..dee5f1b00d 100644 --- a/packages/common/locales/es-PE.ts +++ b/packages/common/locales/es-PE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-PH.ts b/packages/common/locales/es-PH.ts index 19df17c04f..f73e0491b9 100644 --- a/packages/common/locales/es-PH.ts +++ b/packages/common/locales/es-PH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-PR.ts b/packages/common/locales/es-PR.ts index 327f95eeaf..aea073b22d 100644 --- a/packages/common/locales/es-PR.ts +++ b/packages/common/locales/es-PR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-PY.ts b/packages/common/locales/es-PY.ts index 09dc013495..efb1d11a1d 100644 --- a/packages/common/locales/es-PY.ts +++ b/packages/common/locales/es-PY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-SV.ts b/packages/common/locales/es-SV.ts index 4ec932bf28..74b1981244 100644 --- a/packages/common/locales/es-SV.ts +++ b/packages/common/locales/es-SV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-US.ts b/packages/common/locales/es-US.ts index 861072a0f2..7f6bad8299 100644 --- a/packages/common/locales/es-US.ts +++ b/packages/common/locales/es-US.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-UY.ts b/packages/common/locales/es-UY.ts index fa54c2a9d7..bd2d6f3cf1 100644 --- a/packages/common/locales/es-UY.ts +++ b/packages/common/locales/es-UY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es-VE.ts b/packages/common/locales/es-VE.ts index fd62962ec2..f2f44da220 100644 --- a/packages/common/locales/es-VE.ts +++ b/packages/common/locales/es-VE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/es.ts b/packages/common/locales/es.ts index 1ed331b151..c5b817a12f 100644 --- a/packages/common/locales/es.ts +++ b/packages/common/locales/es.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/et.ts b/packages/common/locales/et.ts index 3bfd9a6706..a26838be00 100644 --- a/packages/common/locales/et.ts +++ b/packages/common/locales/et.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,9 +29,7 @@ export default [ u, [ ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets' - ], + ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'], [ 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember' diff --git a/packages/common/locales/eu.ts b/packages/common/locales/eu.ts index 06e18095a0..50aba551b0 100644 --- a/packages/common/locales/eu.ts +++ b/packages/common/locales/eu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ewo.ts b/packages/common/locales/ewo.ts index bc35ca8437..e72d2b0bae 100644 --- a/packages/common/locales/ewo.ts +++ b/packages/common/locales/ewo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,8 +22,7 @@ export default [ [ ['s', 'm', 's', 's', 's', 'f', 's'], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], [ - 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', - 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' + 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' ], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'] ], @@ -32,9 +31,8 @@ export default [ ['o', 'b', 'l', 'n', 't', 's', 'z', 'm', 'e', 'a', 'd', 'b'], ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'], [ - 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', - 'ngɔn zamgbála', 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', - 'ngɔn awóm ai bɛ̌' + 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', 'ngɔn zamgbála', + 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', 'ngɔn awóm ai bɛ̌' ] ], u, diff --git a/packages/common/locales/extra/af-NA.ts b/packages/common/locales/extra/af-NA.ts index d02d1b858b..dd40d87253 100644 --- a/packages/common/locales/extra/af-NA.ts +++ b/packages/common/locales/extra/af-NA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/af.ts b/packages/common/locales/extra/af.ts index d02d1b858b..dd40d87253 100644 --- a/packages/common/locales/extra/af.ts +++ b/packages/common/locales/extra/af.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/agq.ts b/packages/common/locales/extra/agq.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/agq.ts +++ b/packages/common/locales/extra/agq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ak.ts b/packages/common/locales/extra/ak.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ak.ts +++ b/packages/common/locales/extra/ak.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/am.ts b/packages/common/locales/extra/am.ts index efca93458a..27b3625c01 100644 --- a/packages/common/locales/extra/am.ts +++ b/packages/common/locales/extra/am.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,24 +15,11 @@ export default [ [ ['እኩለ ሌሊት', 'ቀ', 'ጥዋት1', 'ከሰዓት1', 'ማታ1', 'ሌሊት1'], ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7', 'ማታ1', 'ሌሊት1'], - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7 ሰዓት', 'ማታ1', - 'ሌሊት1' - ] + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7 ሰዓት', 'ማታ1', 'ሌሊት1'] ], [ - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት', 'ከሰዓት በኋላ', 'ማታ', - 'ሌሊት' - ], - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት በኋላ', 'ማታ', - 'ሌሊት' - ], - u + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት', 'ከሰዓት በኋላ', 'ማታ', 'ሌሊት'], + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት በኋላ', 'ማታ', 'ሌሊት'], u ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/ar-AE.ts b/packages/common/locales/extra/ar-AE.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-AE.ts +++ b/packages/common/locales/extra/ar-AE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-BH.ts b/packages/common/locales/extra/ar-BH.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-BH.ts +++ b/packages/common/locales/extra/ar-BH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-DJ.ts b/packages/common/locales/extra/ar-DJ.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-DJ.ts +++ b/packages/common/locales/extra/ar-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-DZ.ts b/packages/common/locales/extra/ar-DZ.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-DZ.ts +++ b/packages/common/locales/extra/ar-DZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-EG.ts b/packages/common/locales/extra/ar-EG.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-EG.ts +++ b/packages/common/locales/extra/ar-EG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-EH.ts b/packages/common/locales/extra/ar-EH.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-EH.ts +++ b/packages/common/locales/extra/ar-EH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-ER.ts b/packages/common/locales/extra/ar-ER.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-ER.ts +++ b/packages/common/locales/extra/ar-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-IL.ts b/packages/common/locales/extra/ar-IL.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-IL.ts +++ b/packages/common/locales/extra/ar-IL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-IQ.ts b/packages/common/locales/extra/ar-IQ.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-IQ.ts +++ b/packages/common/locales/extra/ar-IQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-JO.ts b/packages/common/locales/extra/ar-JO.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-JO.ts +++ b/packages/common/locales/extra/ar-JO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-KM.ts b/packages/common/locales/extra/ar-KM.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-KM.ts +++ b/packages/common/locales/extra/ar-KM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-KW.ts b/packages/common/locales/extra/ar-KW.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-KW.ts +++ b/packages/common/locales/extra/ar-KW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-LB.ts b/packages/common/locales/extra/ar-LB.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-LB.ts +++ b/packages/common/locales/extra/ar-LB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-LY.ts b/packages/common/locales/extra/ar-LY.ts index e9d205be71..83fc1f3c8a 100644 --- a/packages/common/locales/extra/ar-LY.ts +++ b/packages/common/locales/extra/ar-LY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,32 +13,14 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ل' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ل'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], [ ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], diff --git a/packages/common/locales/extra/ar-MA.ts b/packages/common/locales/extra/ar-MA.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-MA.ts +++ b/packages/common/locales/extra/ar-MA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-MR.ts b/packages/common/locales/extra/ar-MR.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-MR.ts +++ b/packages/common/locales/extra/ar-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-OM.ts b/packages/common/locales/extra/ar-OM.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-OM.ts +++ b/packages/common/locales/extra/ar-OM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-PS.ts b/packages/common/locales/extra/ar-PS.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-PS.ts +++ b/packages/common/locales/extra/ar-PS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-QA.ts b/packages/common/locales/extra/ar-QA.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-QA.ts +++ b/packages/common/locales/extra/ar-QA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-SA.ts b/packages/common/locales/extra/ar-SA.ts index e9d205be71..83fc1f3c8a 100644 --- a/packages/common/locales/extra/ar-SA.ts +++ b/packages/common/locales/extra/ar-SA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,32 +13,14 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ل' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ل'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], [ ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], diff --git a/packages/common/locales/extra/ar-SD.ts b/packages/common/locales/extra/ar-SD.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-SD.ts +++ b/packages/common/locales/extra/ar-SD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-SO.ts b/packages/common/locales/extra/ar-SO.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-SO.ts +++ b/packages/common/locales/extra/ar-SO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-SS.ts b/packages/common/locales/extra/ar-SS.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-SS.ts +++ b/packages/common/locales/extra/ar-SS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-SY.ts b/packages/common/locales/extra/ar-SY.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-SY.ts +++ b/packages/common/locales/extra/ar-SY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-TD.ts b/packages/common/locales/extra/ar-TD.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-TD.ts +++ b/packages/common/locales/extra/ar-TD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-TN.ts b/packages/common/locales/extra/ar-TN.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-TN.ts +++ b/packages/common/locales/extra/ar-TN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar-YE.ts b/packages/common/locales/extra/ar-YE.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar-YE.ts +++ b/packages/common/locales/extra/ar-YE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/ar.ts b/packages/common/locales/extra/ar.ts index 71dd56862b..b56b0c5289 100644 --- a/packages/common/locales/extra/ar.ts +++ b/packages/common/locales/extra/ar.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', - 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ diff --git a/packages/common/locales/extra/as.ts b/packages/common/locales/extra/as.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/as.ts +++ b/packages/common/locales/extra/as.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/asa.ts b/packages/common/locales/extra/asa.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/asa.ts +++ b/packages/common/locales/extra/asa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ast.ts b/packages/common/locales/extra/ast.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ast.ts +++ b/packages/common/locales/extra/ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/az-Cyrl.ts b/packages/common/locales/extra/az-Cyrl.ts index e8c0401160..2ca0603b42 100644 --- a/packages/common/locales/extra/az-Cyrl.ts +++ b/packages/common/locales/extra/az-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,23 +13,10 @@ const u = undefined; export default [ [ - [ - 'ҝеҹәјары', 'ҝ', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', - 'ахшам', 'ҝеҹә' - ], - [ - 'ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', - 'ахшамүстү', 'ахшам', 'ҝеҹә' - ], - u - ], - [ - [ - 'ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', - 'ахшамүстү', 'ахшам', 'ҝеҹә' - ], - u, u + ['ҝеҹәјары', 'ҝ', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], + ['ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], u ], + [['ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], u, u], [ '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] diff --git a/packages/common/locales/extra/az-Latn.ts b/packages/common/locales/extra/az-Latn.ts index ccf74572ad..3f589f987f 100644 --- a/packages/common/locales/extra/az-Latn.ts +++ b/packages/common/locales/extra/az-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,10 +16,7 @@ export default [ ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u ], - [ - ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], - u, u - ], + [['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u, u], [ '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] diff --git a/packages/common/locales/extra/az.ts b/packages/common/locales/extra/az.ts index ccf74572ad..3f589f987f 100644 --- a/packages/common/locales/extra/az.ts +++ b/packages/common/locales/extra/az.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,10 +16,7 @@ export default [ ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u ], - [ - ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], - u, u - ], + [['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u, u], [ '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] diff --git a/packages/common/locales/extra/bas.ts b/packages/common/locales/extra/bas.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bas.ts +++ b/packages/common/locales/extra/bas.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/be.ts b/packages/common/locales/extra/be.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/be.ts +++ b/packages/common/locales/extra/be.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bem.ts b/packages/common/locales/extra/bem.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bem.ts +++ b/packages/common/locales/extra/bem.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bez.ts b/packages/common/locales/extra/bez.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bez.ts +++ b/packages/common/locales/extra/bez.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bg.ts b/packages/common/locales/extra/bg.ts index 83b0a0ff7d..0bf2c6deb0 100644 --- a/packages/common/locales/extra/bg.ts +++ b/packages/common/locales/extra/bg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,14 +12,7 @@ const u = undefined; export default [ - [ - [ - 'полунощ', 'сутринта', 'на обяд', 'следобед', 'вечерта', - 'през нощта' - ], - u, u - ], - u, + [['полунощ', 'сутринта', 'на обяд', 'следобед', 'вечерта', 'през нощта'], u, u], u, [ '00:00', ['04:00', '11:00'], ['11:00', '14:00'], ['14:00', '18:00'], ['18:00', '22:00'], ['22:00', '04:00'] diff --git a/packages/common/locales/extra/bm.ts b/packages/common/locales/extra/bm.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bm.ts +++ b/packages/common/locales/extra/bm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bn-IN.ts b/packages/common/locales/extra/bn-IN.ts index f836d01a39..b593bca9e5 100644 --- a/packages/common/locales/extra/bn-IN.ts +++ b/packages/common/locales/extra/bn-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,23 +13,10 @@ const u = undefined; export default [ [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রি' - ], - u, - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রিতে' - ] - ], - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রি' - ], - u, u + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রিতে'] ], + [['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, u], [ ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], ['20:00', '04:00'] diff --git a/packages/common/locales/extra/bn.ts b/packages/common/locales/extra/bn.ts index f836d01a39..b593bca9e5 100644 --- a/packages/common/locales/extra/bn.ts +++ b/packages/common/locales/extra/bn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,23 +13,10 @@ const u = undefined; export default [ [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রি' - ], - u, - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রিতে' - ] - ], - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', - 'রাত্রি' - ], - u, u + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রিতে'] ], + [['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, u], [ ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], ['20:00', '04:00'] diff --git a/packages/common/locales/extra/bo-IN.ts b/packages/common/locales/extra/bo-IN.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bo-IN.ts +++ b/packages/common/locales/extra/bo-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bo.ts b/packages/common/locales/extra/bo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/bo.ts +++ b/packages/common/locales/extra/bo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/br.ts b/packages/common/locales/extra/br.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/br.ts +++ b/packages/common/locales/extra/br.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/brx.ts b/packages/common/locales/extra/brx.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/brx.ts +++ b/packages/common/locales/extra/brx.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/bs-Cyrl.ts b/packages/common/locales/extra/bs-Cyrl.ts index 84c3b15ef7..b276215d1d 100644 --- a/packages/common/locales/extra/bs-Cyrl.ts +++ b/packages/common/locales/extra/bs-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,12 +13,6 @@ const u = undefined; export default [ [['поноћ', 'подне', 'ујутру', 'у подне', 'увече', 'ноћу'], u, u], - [ - ['поноћ', 'подне', 'јутро', 'послийеподне', 'вече', 'ноћ'], u, - u - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + [['поноћ', 'подне', 'јутро', 'послийеподне', 'вече', 'ноћ'], u, u], + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/bs-Latn.ts b/packages/common/locales/extra/bs-Latn.ts index 6376677b91..0c855bedb1 100644 --- a/packages/common/locales/extra/bs-Latn.ts +++ b/packages/common/locales/extra/bs-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,8 +13,5 @@ const u = undefined; export default [ [['ponoć', 'podne', 'ujutro', 'poslijepodne', 'navečer', 'po noći'], u, u], u, - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/bs.ts b/packages/common/locales/extra/bs.ts index 6376677b91..0c855bedb1 100644 --- a/packages/common/locales/extra/bs.ts +++ b/packages/common/locales/extra/bs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,8 +13,5 @@ const u = undefined; export default [ [['ponoć', 'podne', 'ujutro', 'poslijepodne', 'navečer', 'po noći'], u, u], u, - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ca-AD.ts b/packages/common/locales/extra/ca-AD.ts index 5baa88d152..5940168021 100644 --- a/packages/common/locales/extra/ca-AD.ts +++ b/packages/common/locales/extra/ca-AD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ca-ES-VALENCIA.ts b/packages/common/locales/extra/ca-ES-VALENCIA.ts index 5baa88d152..5940168021 100644 --- a/packages/common/locales/extra/ca-ES-VALENCIA.ts +++ b/packages/common/locales/extra/ca-ES-VALENCIA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ca-FR.ts b/packages/common/locales/extra/ca-FR.ts index 5baa88d152..5940168021 100644 --- a/packages/common/locales/extra/ca-FR.ts +++ b/packages/common/locales/extra/ca-FR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ca-IT.ts b/packages/common/locales/extra/ca-IT.ts index 5baa88d152..5940168021 100644 --- a/packages/common/locales/extra/ca-IT.ts +++ b/packages/common/locales/extra/ca-IT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ca.ts b/packages/common/locales/extra/ca.ts index 5baa88d152..5940168021 100644 --- a/packages/common/locales/extra/ca.ts +++ b/packages/common/locales/extra/ca.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ccp-IN.ts b/packages/common/locales/extra/ccp-IN.ts index 0a91985424..7e3ed111f3 100644 --- a/packages/common/locales/extra/ccp-IN.ts +++ b/packages/common/locales/extra/ccp-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,15 +12,7 @@ const u = undefined; export default [ - [ - [ - '𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', - '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', - '𑄢𑄬𑄖𑄴' - ], - u, u - ], - u, + [['𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', '𑄢𑄬𑄖𑄴'], u, u], u, [ ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], ['20:00', '04:00'] diff --git a/packages/common/locales/extra/ccp.ts b/packages/common/locales/extra/ccp.ts index 0a91985424..7e3ed111f3 100644 --- a/packages/common/locales/extra/ccp.ts +++ b/packages/common/locales/extra/ccp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,15 +12,7 @@ const u = undefined; export default [ - [ - [ - '𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', - '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', - '𑄢𑄬𑄖𑄴' - ], - u, u - ], - u, + [['𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', '𑄢𑄬𑄖𑄴'], u, u], u, [ ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], ['20:00', '04:00'] diff --git a/packages/common/locales/extra/ce.ts b/packages/common/locales/extra/ce.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ce.ts +++ b/packages/common/locales/extra/ce.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ceb.ts b/packages/common/locales/extra/ceb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ceb.ts +++ b/packages/common/locales/extra/ceb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/cgg.ts b/packages/common/locales/extra/cgg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/cgg.ts +++ b/packages/common/locales/extra/cgg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/chr.ts b/packages/common/locales/extra/chr.ts index aa148a829c..adcefae50c 100644 --- a/packages/common/locales/extra/chr.ts +++ b/packages/common/locales/extra/chr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,7 +12,6 @@ const u = undefined; export default [ - [['Ꭲ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], ['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u], - [['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u, u], + [['Ꭲ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], ['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u], [['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u, u], ['12:00', ['00:00', '12:00'], ['12:00', '24:00']] ]; diff --git a/packages/common/locales/extra/ckb-IR.ts b/packages/common/locales/extra/ckb-IR.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ckb-IR.ts +++ b/packages/common/locales/extra/ckb-IR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ckb.ts b/packages/common/locales/extra/ckb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ckb.ts +++ b/packages/common/locales/extra/ckb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/cs.ts b/packages/common/locales/extra/cs.ts index 58d64f6513..2c8183db9e 100644 --- a/packages/common/locales/extra/cs.ts +++ b/packages/common/locales/extra/cs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/cu.ts b/packages/common/locales/extra/cu.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/cu.ts +++ b/packages/common/locales/extra/cu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/cy.ts b/packages/common/locales/extra/cy.ts index cec2c0cd3a..67e8ae7ea9 100644 --- a/packages/common/locales/extra/cy.ts +++ b/packages/common/locales/extra/cy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/da-GL.ts b/packages/common/locales/extra/da-GL.ts index e2b2b2dd8f..2aa997eec0 100644 --- a/packages/common/locales/extra/da-GL.ts +++ b/packages/common/locales/extra/da-GL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/da.ts b/packages/common/locales/extra/da.ts index e2b2b2dd8f..2aa997eec0 100644 --- a/packages/common/locales/extra/da.ts +++ b/packages/common/locales/extra/da.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dav.ts b/packages/common/locales/extra/dav.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dav.ts +++ b/packages/common/locales/extra/dav.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-AT.ts b/packages/common/locales/extra/de-AT.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-AT.ts +++ b/packages/common/locales/extra/de-AT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-BE.ts b/packages/common/locales/extra/de-BE.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-BE.ts +++ b/packages/common/locales/extra/de-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-CH.ts b/packages/common/locales/extra/de-CH.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-CH.ts +++ b/packages/common/locales/extra/de-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-IT.ts b/packages/common/locales/extra/de-IT.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-IT.ts +++ b/packages/common/locales/extra/de-IT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-LI.ts b/packages/common/locales/extra/de-LI.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-LI.ts +++ b/packages/common/locales/extra/de-LI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de-LU.ts b/packages/common/locales/extra/de-LU.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de-LU.ts +++ b/packages/common/locales/extra/de-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/de.ts b/packages/common/locales/extra/de.ts index bf3bd22434..1b31461724 100644 --- a/packages/common/locales/extra/de.ts +++ b/packages/common/locales/extra/de.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dje.ts b/packages/common/locales/extra/dje.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dje.ts +++ b/packages/common/locales/extra/dje.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dsb.ts b/packages/common/locales/extra/dsb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dsb.ts +++ b/packages/common/locales/extra/dsb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dua.ts b/packages/common/locales/extra/dua.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dua.ts +++ b/packages/common/locales/extra/dua.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dyo.ts b/packages/common/locales/extra/dyo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dyo.ts +++ b/packages/common/locales/extra/dyo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/dz.ts b/packages/common/locales/extra/dz.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/dz.ts +++ b/packages/common/locales/extra/dz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ebu.ts b/packages/common/locales/extra/ebu.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ebu.ts +++ b/packages/common/locales/extra/ebu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ee-TG.ts b/packages/common/locales/extra/ee-TG.ts index 7ee78aa1e0..bcc52e6cec 100644 --- a/packages/common/locales/extra/ee-TG.ts +++ b/packages/common/locales/extra/ee-TG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ee.ts b/packages/common/locales/extra/ee.ts index 7ee78aa1e0..bcc52e6cec 100644 --- a/packages/common/locales/extra/ee.ts +++ b/packages/common/locales/extra/ee.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/el-CY.ts b/packages/common/locales/extra/el-CY.ts index 55e6ee6da1..4de5860ca6 100644 --- a/packages/common/locales/extra/el-CY.ts +++ b/packages/common/locales/extra/el-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,13 +12,7 @@ const u = undefined; export default [ - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] - ], - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ'] - ], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ']], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ']], [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] ]; diff --git a/packages/common/locales/extra/el.ts b/packages/common/locales/extra/el.ts index 55e6ee6da1..4de5860ca6 100644 --- a/packages/common/locales/extra/el.ts +++ b/packages/common/locales/extra/el.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,13 +12,7 @@ const u = undefined; export default [ - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] - ], - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ'] - ], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ']], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ']], [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] ]; diff --git a/packages/common/locales/extra/en-001.ts b/packages/common/locales/extra/en-001.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-001.ts +++ b/packages/common/locales/extra/en-001.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-150.ts b/packages/common/locales/extra/en-150.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-150.ts +++ b/packages/common/locales/extra/en-150.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AE.ts b/packages/common/locales/extra/en-AE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-AE.ts +++ b/packages/common/locales/extra/en-AE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AG.ts b/packages/common/locales/extra/en-AG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-AG.ts +++ b/packages/common/locales/extra/en-AG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AI.ts b/packages/common/locales/extra/en-AI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-AI.ts +++ b/packages/common/locales/extra/en-AI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AS.ts b/packages/common/locales/extra/en-AS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-AS.ts +++ b/packages/common/locales/extra/en-AS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AT.ts b/packages/common/locales/extra/en-AT.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-AT.ts +++ b/packages/common/locales/extra/en-AT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-AU.ts b/packages/common/locales/extra/en-AU.ts index 3d52f2b0b3..dd8246bed8 100644 --- a/packages/common/locales/extra/en-AU.ts +++ b/packages/common/locales/extra/en-AU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'midday', 'in the morning', 'in the afternoon', 'in the evening', 'at night'] ], [['midnight', 'midday', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BB.ts b/packages/common/locales/extra/en-BB.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BB.ts +++ b/packages/common/locales/extra/en-BB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BE.ts b/packages/common/locales/extra/en-BE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BE.ts +++ b/packages/common/locales/extra/en-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BI.ts b/packages/common/locales/extra/en-BI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BI.ts +++ b/packages/common/locales/extra/en-BI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BM.ts b/packages/common/locales/extra/en-BM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BM.ts +++ b/packages/common/locales/extra/en-BM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BS.ts b/packages/common/locales/extra/en-BS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BS.ts +++ b/packages/common/locales/extra/en-BS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BW.ts b/packages/common/locales/extra/en-BW.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BW.ts +++ b/packages/common/locales/extra/en-BW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-BZ.ts b/packages/common/locales/extra/en-BZ.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-BZ.ts +++ b/packages/common/locales/extra/en-BZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CA.ts b/packages/common/locales/extra/en-CA.ts index 814b573099..60956fddc2 100644 --- a/packages/common/locales/extra/en-CA.ts +++ b/packages/common/locales/extra/en-CA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['mid', 'noon', 'mor', 'aft', 'eve', 'night'], ['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CC.ts b/packages/common/locales/extra/en-CC.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CC.ts +++ b/packages/common/locales/extra/en-CC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CH.ts b/packages/common/locales/extra/en-CH.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CH.ts +++ b/packages/common/locales/extra/en-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CK.ts b/packages/common/locales/extra/en-CK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CK.ts +++ b/packages/common/locales/extra/en-CK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CM.ts b/packages/common/locales/extra/en-CM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CM.ts +++ b/packages/common/locales/extra/en-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CX.ts b/packages/common/locales/extra/en-CX.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CX.ts +++ b/packages/common/locales/extra/en-CX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-CY.ts b/packages/common/locales/extra/en-CY.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-CY.ts +++ b/packages/common/locales/extra/en-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-DE.ts b/packages/common/locales/extra/en-DE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-DE.ts +++ b/packages/common/locales/extra/en-DE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-DG.ts b/packages/common/locales/extra/en-DG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-DG.ts +++ b/packages/common/locales/extra/en-DG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-DK.ts b/packages/common/locales/extra/en-DK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-DK.ts +++ b/packages/common/locales/extra/en-DK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-DM.ts b/packages/common/locales/extra/en-DM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-DM.ts +++ b/packages/common/locales/extra/en-DM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-ER.ts b/packages/common/locales/extra/en-ER.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-ER.ts +++ b/packages/common/locales/extra/en-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-FI.ts b/packages/common/locales/extra/en-FI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-FI.ts +++ b/packages/common/locales/extra/en-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-FJ.ts b/packages/common/locales/extra/en-FJ.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-FJ.ts +++ b/packages/common/locales/extra/en-FJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-FK.ts b/packages/common/locales/extra/en-FK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-FK.ts +++ b/packages/common/locales/extra/en-FK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-FM.ts b/packages/common/locales/extra/en-FM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-FM.ts +++ b/packages/common/locales/extra/en-FM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GB.ts b/packages/common/locales/extra/en-GB.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GB.ts +++ b/packages/common/locales/extra/en-GB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GD.ts b/packages/common/locales/extra/en-GD.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GD.ts +++ b/packages/common/locales/extra/en-GD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GG.ts b/packages/common/locales/extra/en-GG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GG.ts +++ b/packages/common/locales/extra/en-GG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GH.ts b/packages/common/locales/extra/en-GH.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GH.ts +++ b/packages/common/locales/extra/en-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GI.ts b/packages/common/locales/extra/en-GI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GI.ts +++ b/packages/common/locales/extra/en-GI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GM.ts b/packages/common/locales/extra/en-GM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GM.ts +++ b/packages/common/locales/extra/en-GM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GU.ts b/packages/common/locales/extra/en-GU.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GU.ts +++ b/packages/common/locales/extra/en-GU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-GY.ts b/packages/common/locales/extra/en-GY.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-GY.ts +++ b/packages/common/locales/extra/en-GY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-HK.ts b/packages/common/locales/extra/en-HK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-HK.ts +++ b/packages/common/locales/extra/en-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-IE.ts b/packages/common/locales/extra/en-IE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-IE.ts +++ b/packages/common/locales/extra/en-IE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-IL.ts b/packages/common/locales/extra/en-IL.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-IL.ts +++ b/packages/common/locales/extra/en-IL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-IM.ts b/packages/common/locales/extra/en-IM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-IM.ts +++ b/packages/common/locales/extra/en-IM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-IN.ts b/packages/common/locales/extra/en-IN.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-IN.ts +++ b/packages/common/locales/extra/en-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-IO.ts b/packages/common/locales/extra/en-IO.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-IO.ts +++ b/packages/common/locales/extra/en-IO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-JE.ts b/packages/common/locales/extra/en-JE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-JE.ts +++ b/packages/common/locales/extra/en-JE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-JM.ts b/packages/common/locales/extra/en-JM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-JM.ts +++ b/packages/common/locales/extra/en-JM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-KE.ts b/packages/common/locales/extra/en-KE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-KE.ts +++ b/packages/common/locales/extra/en-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-KI.ts b/packages/common/locales/extra/en-KI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-KI.ts +++ b/packages/common/locales/extra/en-KI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-KN.ts b/packages/common/locales/extra/en-KN.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-KN.ts +++ b/packages/common/locales/extra/en-KN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-KY.ts b/packages/common/locales/extra/en-KY.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-KY.ts +++ b/packages/common/locales/extra/en-KY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-LC.ts b/packages/common/locales/extra/en-LC.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-LC.ts +++ b/packages/common/locales/extra/en-LC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-LR.ts b/packages/common/locales/extra/en-LR.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-LR.ts +++ b/packages/common/locales/extra/en-LR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-LS.ts b/packages/common/locales/extra/en-LS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-LS.ts +++ b/packages/common/locales/extra/en-LS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MG.ts b/packages/common/locales/extra/en-MG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MG.ts +++ b/packages/common/locales/extra/en-MG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MH.ts b/packages/common/locales/extra/en-MH.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MH.ts +++ b/packages/common/locales/extra/en-MH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MO.ts b/packages/common/locales/extra/en-MO.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MO.ts +++ b/packages/common/locales/extra/en-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MP.ts b/packages/common/locales/extra/en-MP.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MP.ts +++ b/packages/common/locales/extra/en-MP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MS.ts b/packages/common/locales/extra/en-MS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MS.ts +++ b/packages/common/locales/extra/en-MS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MT.ts b/packages/common/locales/extra/en-MT.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MT.ts +++ b/packages/common/locales/extra/en-MT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MU.ts b/packages/common/locales/extra/en-MU.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MU.ts +++ b/packages/common/locales/extra/en-MU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MW.ts b/packages/common/locales/extra/en-MW.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MW.ts +++ b/packages/common/locales/extra/en-MW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-MY.ts b/packages/common/locales/extra/en-MY.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-MY.ts +++ b/packages/common/locales/extra/en-MY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NA.ts b/packages/common/locales/extra/en-NA.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NA.ts +++ b/packages/common/locales/extra/en-NA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NF.ts b/packages/common/locales/extra/en-NF.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NF.ts +++ b/packages/common/locales/extra/en-NF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NG.ts b/packages/common/locales/extra/en-NG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NG.ts +++ b/packages/common/locales/extra/en-NG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NL.ts b/packages/common/locales/extra/en-NL.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NL.ts +++ b/packages/common/locales/extra/en-NL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NR.ts b/packages/common/locales/extra/en-NR.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NR.ts +++ b/packages/common/locales/extra/en-NR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NU.ts b/packages/common/locales/extra/en-NU.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NU.ts +++ b/packages/common/locales/extra/en-NU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-NZ.ts b/packages/common/locales/extra/en-NZ.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-NZ.ts +++ b/packages/common/locales/extra/en-NZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PG.ts b/packages/common/locales/extra/en-PG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PG.ts +++ b/packages/common/locales/extra/en-PG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PH.ts b/packages/common/locales/extra/en-PH.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PH.ts +++ b/packages/common/locales/extra/en-PH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PK.ts b/packages/common/locales/extra/en-PK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PK.ts +++ b/packages/common/locales/extra/en-PK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PN.ts b/packages/common/locales/extra/en-PN.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PN.ts +++ b/packages/common/locales/extra/en-PN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PR.ts b/packages/common/locales/extra/en-PR.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PR.ts +++ b/packages/common/locales/extra/en-PR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-PW.ts b/packages/common/locales/extra/en-PW.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-PW.ts +++ b/packages/common/locales/extra/en-PW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-RW.ts b/packages/common/locales/extra/en-RW.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-RW.ts +++ b/packages/common/locales/extra/en-RW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SB.ts b/packages/common/locales/extra/en-SB.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SB.ts +++ b/packages/common/locales/extra/en-SB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SC.ts b/packages/common/locales/extra/en-SC.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SC.ts +++ b/packages/common/locales/extra/en-SC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SD.ts b/packages/common/locales/extra/en-SD.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SD.ts +++ b/packages/common/locales/extra/en-SD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SE.ts b/packages/common/locales/extra/en-SE.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SE.ts +++ b/packages/common/locales/extra/en-SE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SG.ts b/packages/common/locales/extra/en-SG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SG.ts +++ b/packages/common/locales/extra/en-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SH.ts b/packages/common/locales/extra/en-SH.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SH.ts +++ b/packages/common/locales/extra/en-SH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SI.ts b/packages/common/locales/extra/en-SI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SI.ts +++ b/packages/common/locales/extra/en-SI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SL.ts b/packages/common/locales/extra/en-SL.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SL.ts +++ b/packages/common/locales/extra/en-SL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SS.ts b/packages/common/locales/extra/en-SS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SS.ts +++ b/packages/common/locales/extra/en-SS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SX.ts b/packages/common/locales/extra/en-SX.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SX.ts +++ b/packages/common/locales/extra/en-SX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-SZ.ts b/packages/common/locales/extra/en-SZ.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-SZ.ts +++ b/packages/common/locales/extra/en-SZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TC.ts b/packages/common/locales/extra/en-TC.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TC.ts +++ b/packages/common/locales/extra/en-TC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TK.ts b/packages/common/locales/extra/en-TK.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TK.ts +++ b/packages/common/locales/extra/en-TK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TO.ts b/packages/common/locales/extra/en-TO.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TO.ts +++ b/packages/common/locales/extra/en-TO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TT.ts b/packages/common/locales/extra/en-TT.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TT.ts +++ b/packages/common/locales/extra/en-TT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TV.ts b/packages/common/locales/extra/en-TV.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TV.ts +++ b/packages/common/locales/extra/en-TV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-TZ.ts b/packages/common/locales/extra/en-TZ.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-TZ.ts +++ b/packages/common/locales/extra/en-TZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-UG.ts b/packages/common/locales/extra/en-UG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-UG.ts +++ b/packages/common/locales/extra/en-UG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-UM.ts b/packages/common/locales/extra/en-UM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-UM.ts +++ b/packages/common/locales/extra/en-UM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-US-POSIX.ts b/packages/common/locales/extra/en-US-POSIX.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-US-POSIX.ts +++ b/packages/common/locales/extra/en-US-POSIX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-VC.ts b/packages/common/locales/extra/en-VC.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-VC.ts +++ b/packages/common/locales/extra/en-VC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-VG.ts b/packages/common/locales/extra/en-VG.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-VG.ts +++ b/packages/common/locales/extra/en-VG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-VI.ts b/packages/common/locales/extra/en-VI.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-VI.ts +++ b/packages/common/locales/extra/en-VI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-VU.ts b/packages/common/locales/extra/en-VU.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-VU.ts +++ b/packages/common/locales/extra/en-VU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-WS.ts b/packages/common/locales/extra/en-WS.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-WS.ts +++ b/packages/common/locales/extra/en-WS.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-ZA.ts b/packages/common/locales/extra/en-ZA.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-ZA.ts +++ b/packages/common/locales/extra/en-ZA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-ZM.ts b/packages/common/locales/extra/en-ZM.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-ZM.ts +++ b/packages/common/locales/extra/en-ZM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en-ZW.ts b/packages/common/locales/extra/en-ZW.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en-ZW.ts +++ b/packages/common/locales/extra/en-ZW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/en.ts b/packages/common/locales/extra/en.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/en.ts +++ b/packages/common/locales/extra/en.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/eo.ts b/packages/common/locales/extra/eo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/eo.ts +++ b/packages/common/locales/extra/eo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-419.ts b/packages/common/locales/extra/es-419.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-419.ts +++ b/packages/common/locales/extra/es-419.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-AR.ts b/packages/common/locales/extra/es-AR.ts index 750f4dbd18..f468080ded 100644 --- a/packages/common/locales/extra/es-AR.ts +++ b/packages/common/locales/extra/es-AR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-BO.ts b/packages/common/locales/extra/es-BO.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-BO.ts +++ b/packages/common/locales/extra/es-BO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-BR.ts b/packages/common/locales/extra/es-BR.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-BR.ts +++ b/packages/common/locales/extra/es-BR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-BZ.ts b/packages/common/locales/extra/es-BZ.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-BZ.ts +++ b/packages/common/locales/extra/es-BZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-CL.ts b/packages/common/locales/extra/es-CL.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-CL.ts +++ b/packages/common/locales/extra/es-CL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-CO.ts b/packages/common/locales/extra/es-CO.ts index b97e5c8bfb..0a4615c974 100644 --- a/packages/common/locales/extra/es-CO.ts +++ b/packages/common/locales/extra/es-CO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-CR.ts b/packages/common/locales/extra/es-CR.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-CR.ts +++ b/packages/common/locales/extra/es-CR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-CU.ts b/packages/common/locales/extra/es-CU.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-CU.ts +++ b/packages/common/locales/extra/es-CU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-DO.ts b/packages/common/locales/extra/es-DO.ts index 775fb6b837..6393f43fc2 100644 --- a/packages/common/locales/extra/es-DO.ts +++ b/packages/common/locales/extra/es-DO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-EA.ts b/packages/common/locales/extra/es-EA.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-EA.ts +++ b/packages/common/locales/extra/es-EA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-EC.ts b/packages/common/locales/extra/es-EC.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-EC.ts +++ b/packages/common/locales/extra/es-EC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-GQ.ts b/packages/common/locales/extra/es-GQ.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-GQ.ts +++ b/packages/common/locales/extra/es-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-GT.ts b/packages/common/locales/extra/es-GT.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-GT.ts +++ b/packages/common/locales/extra/es-GT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-HN.ts b/packages/common/locales/extra/es-HN.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-HN.ts +++ b/packages/common/locales/extra/es-HN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-IC.ts b/packages/common/locales/extra/es-IC.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-IC.ts +++ b/packages/common/locales/extra/es-IC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-MX.ts b/packages/common/locales/extra/es-MX.ts index 8f3571b8bf..2ff376be75 100644 --- a/packages/common/locales/extra/es-MX.ts +++ b/packages/common/locales/extra/es-MX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-NI.ts b/packages/common/locales/extra/es-NI.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-NI.ts +++ b/packages/common/locales/extra/es-NI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-PA.ts b/packages/common/locales/extra/es-PA.ts index 083d6a0e52..99fa9b4a8b 100644 --- a/packages/common/locales/extra/es-PA.ts +++ b/packages/common/locales/extra/es-PA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-PE.ts b/packages/common/locales/extra/es-PE.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-PE.ts +++ b/packages/common/locales/extra/es-PE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-PH.ts b/packages/common/locales/extra/es-PH.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-PH.ts +++ b/packages/common/locales/extra/es-PH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-PR.ts b/packages/common/locales/extra/es-PR.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-PR.ts +++ b/packages/common/locales/extra/es-PR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-PY.ts b/packages/common/locales/extra/es-PY.ts index 7f8d882214..cc932be59f 100644 --- a/packages/common/locales/extra/es-PY.ts +++ b/packages/common/locales/extra/es-PY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-SV.ts b/packages/common/locales/extra/es-SV.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-SV.ts +++ b/packages/common/locales/extra/es-SV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-US.ts b/packages/common/locales/extra/es-US.ts index 8f3571b8bf..2ff376be75 100644 --- a/packages/common/locales/extra/es-US.ts +++ b/packages/common/locales/extra/es-US.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-UY.ts b/packages/common/locales/extra/es-UY.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es-UY.ts +++ b/packages/common/locales/extra/es-UY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es-VE.ts b/packages/common/locales/extra/es-VE.ts index 7f8d882214..cc932be59f 100644 --- a/packages/common/locales/extra/es-VE.ts +++ b/packages/common/locales/extra/es-VE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/es.ts b/packages/common/locales/extra/es.ts index 16f73170b5..186a6884b4 100644 --- a/packages/common/locales/extra/es.ts +++ b/packages/common/locales/extra/es.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/et.ts b/packages/common/locales/extra/et.ts index 3cbd9eb7e9..48bd2ff43a 100644 --- a/packages/common/locales/extra/et.ts +++ b/packages/common/locales/extra/et.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,8 +14,5 @@ const u = undefined; export default [ [['keskööl', 'keskpäeval', 'hommikul', 'pärastlõunal', 'õhtul', 'öösel'], u, u], [['kesköö', 'keskpäev', 'hommik', 'pärastlõuna', 'õhtu', 'öö'], u, u], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], - ['23:00', '05:00'] - ] + ['00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], ['23:00', '05:00']] ]; diff --git a/packages/common/locales/extra/eu.ts b/packages/common/locales/extra/eu.ts index 28ffb57af4..cc3fbc3d0d 100644 --- a/packages/common/locales/extra/eu.ts +++ b/packages/common/locales/extra/eu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ewo.ts b/packages/common/locales/extra/ewo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ewo.ts +++ b/packages/common/locales/extra/ewo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fa-AF.ts b/packages/common/locales/extra/fa-AF.ts index 6bfc9f9529..5dd41cd70e 100644 --- a/packages/common/locales/extra/fa-AF.ts +++ b/packages/common/locales/extra/fa-AF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,10 +12,7 @@ const u = undefined; export default [ - [ - ['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], - ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u - ], + [['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u], [ ['ب', 'ص', 'بعد از چاشت', 'ع', 'ش', 'ن'], ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u diff --git a/packages/common/locales/extra/fa.ts b/packages/common/locales/extra/fa.ts index fbe9f1bccc..25a35c59b8 100644 --- a/packages/common/locales/extra/fa.ts +++ b/packages/common/locales/extra/fa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,11 +12,7 @@ const u = undefined; export default [ - [ - ['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], - ['بامداد', 'صبح', 'ظهر', 'عصر', 'شب', 'نیمه\u200cشب'], u - ], - u, + [['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], ['بامداد', 'صبح', 'ظهر', 'عصر', 'شب', 'نیمه\u200cشب'], u], u, [ ['01:00', '04:00'], ['04:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], ['19:00', '24:00'], ['00:00', '01:00'] diff --git a/packages/common/locales/extra/ff-CM.ts b/packages/common/locales/extra/ff-CM.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-CM.ts +++ b/packages/common/locales/extra/ff-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-GN.ts b/packages/common/locales/extra/ff-GN.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-GN.ts +++ b/packages/common/locales/extra/ff-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-BF.ts b/packages/common/locales/extra/ff-Latn-BF.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-BF.ts +++ b/packages/common/locales/extra/ff-Latn-BF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-CM.ts b/packages/common/locales/extra/ff-Latn-CM.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-CM.ts +++ b/packages/common/locales/extra/ff-Latn-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-GH.ts b/packages/common/locales/extra/ff-Latn-GH.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-GH.ts +++ b/packages/common/locales/extra/ff-Latn-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-GM.ts b/packages/common/locales/extra/ff-Latn-GM.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-GM.ts +++ b/packages/common/locales/extra/ff-Latn-GM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-GN.ts b/packages/common/locales/extra/ff-Latn-GN.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-GN.ts +++ b/packages/common/locales/extra/ff-Latn-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-GW.ts b/packages/common/locales/extra/ff-Latn-GW.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-GW.ts +++ b/packages/common/locales/extra/ff-Latn-GW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-LR.ts b/packages/common/locales/extra/ff-Latn-LR.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-LR.ts +++ b/packages/common/locales/extra/ff-Latn-LR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-MR.ts b/packages/common/locales/extra/ff-Latn-MR.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-MR.ts +++ b/packages/common/locales/extra/ff-Latn-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-NE.ts b/packages/common/locales/extra/ff-Latn-NE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-NE.ts +++ b/packages/common/locales/extra/ff-Latn-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-NG.ts b/packages/common/locales/extra/ff-Latn-NG.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-NG.ts +++ b/packages/common/locales/extra/ff-Latn-NG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn-SL.ts b/packages/common/locales/extra/ff-Latn-SL.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn-SL.ts +++ b/packages/common/locales/extra/ff-Latn-SL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-Latn.ts b/packages/common/locales/extra/ff-Latn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-Latn.ts +++ b/packages/common/locales/extra/ff-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff-MR.ts b/packages/common/locales/extra/ff-MR.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff-MR.ts +++ b/packages/common/locales/extra/ff-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ff.ts b/packages/common/locales/extra/ff.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ff.ts +++ b/packages/common/locales/extra/ff.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fi.ts b/packages/common/locales/extra/fi.ts index ee44db4b11..0d49d28d78 100644 --- a/packages/common/locales/extra/fi.ts +++ b/packages/common/locales/extra/fi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,10 +15,7 @@ export default [ [ ['ky.', 'kp.', 'aamulla', 'ap.', 'ip.', 'illalla', 'yöllä'], ['keskiyöllä', 'keskip.', 'aamulla', 'aamup.', 'iltap.', 'illalla', 'yöllä'], - [ - 'keskiyöllä', 'keskipäivällä', 'aamulla', 'aamupäivällä', 'iltapäivällä', - 'illalla', 'yöllä' - ] + ['keskiyöllä', 'keskipäivällä', 'aamulla', 'aamupäivällä', 'iltapäivällä', 'illalla', 'yöllä'] ], [ ['ky.', 'kp.', 'aamu', 'ap.', 'ip.', 'ilta', 'yö'], diff --git a/packages/common/locales/extra/fil.ts b/packages/common/locales/extra/fil.ts index 214afa8c32..2b8003e457 100644 --- a/packages/common/locales/extra/fil.ts +++ b/packages/common/locales/extra/fil.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fo-DK.ts b/packages/common/locales/extra/fo-DK.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/fo-DK.ts +++ b/packages/common/locales/extra/fo-DK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fo.ts b/packages/common/locales/extra/fo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/fo.ts +++ b/packages/common/locales/extra/fo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fr-BE.ts b/packages/common/locales/extra/fr-BE.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-BE.ts +++ b/packages/common/locales/extra/fr-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-BF.ts b/packages/common/locales/extra/fr-BF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-BF.ts +++ b/packages/common/locales/extra/fr-BF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-BI.ts b/packages/common/locales/extra/fr-BI.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-BI.ts +++ b/packages/common/locales/extra/fr-BI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-BJ.ts b/packages/common/locales/extra/fr-BJ.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-BJ.ts +++ b/packages/common/locales/extra/fr-BJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-BL.ts b/packages/common/locales/extra/fr-BL.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-BL.ts +++ b/packages/common/locales/extra/fr-BL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CA.ts b/packages/common/locales/extra/fr-CA.ts index 3f96cf76b9..f448ca1965 100644 --- a/packages/common/locales/extra/fr-CA.ts +++ b/packages/common/locales/extra/fr-CA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,8 +22,5 @@ export default [ ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'nuit'], ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CD.ts b/packages/common/locales/extra/fr-CD.ts index 104d60c5e2..c0c3edfcf1 100644 --- a/packages/common/locales/extra/fr-CD.ts +++ b/packages/common/locales/extra/fr-CD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,8 +22,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CF.ts b/packages/common/locales/extra/fr-CF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-CF.ts +++ b/packages/common/locales/extra/fr-CF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CG.ts b/packages/common/locales/extra/fr-CG.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-CG.ts +++ b/packages/common/locales/extra/fr-CG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CH.ts b/packages/common/locales/extra/fr-CH.ts index 87c67a17f8..108badcab5 100644 --- a/packages/common/locales/extra/fr-CH.ts +++ b/packages/common/locales/extra/fr-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CI.ts b/packages/common/locales/extra/fr-CI.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-CI.ts +++ b/packages/common/locales/extra/fr-CI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-CM.ts b/packages/common/locales/extra/fr-CM.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-CM.ts +++ b/packages/common/locales/extra/fr-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-DJ.ts b/packages/common/locales/extra/fr-DJ.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-DJ.ts +++ b/packages/common/locales/extra/fr-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-DZ.ts b/packages/common/locales/extra/fr-DZ.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-DZ.ts +++ b/packages/common/locales/extra/fr-DZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-GA.ts b/packages/common/locales/extra/fr-GA.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-GA.ts +++ b/packages/common/locales/extra/fr-GA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-GF.ts b/packages/common/locales/extra/fr-GF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-GF.ts +++ b/packages/common/locales/extra/fr-GF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-GN.ts b/packages/common/locales/extra/fr-GN.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-GN.ts +++ b/packages/common/locales/extra/fr-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-GP.ts b/packages/common/locales/extra/fr-GP.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-GP.ts +++ b/packages/common/locales/extra/fr-GP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-GQ.ts b/packages/common/locales/extra/fr-GQ.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-GQ.ts +++ b/packages/common/locales/extra/fr-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-HT.ts b/packages/common/locales/extra/fr-HT.ts index a710df0f9e..e45cd216cf 100644 --- a/packages/common/locales/extra/fr-HT.ts +++ b/packages/common/locales/extra/fr-HT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-KM.ts b/packages/common/locales/extra/fr-KM.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-KM.ts +++ b/packages/common/locales/extra/fr-KM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-LU.ts b/packages/common/locales/extra/fr-LU.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-LU.ts +++ b/packages/common/locales/extra/fr-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MA.ts b/packages/common/locales/extra/fr-MA.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MA.ts +++ b/packages/common/locales/extra/fr-MA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MC.ts b/packages/common/locales/extra/fr-MC.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MC.ts +++ b/packages/common/locales/extra/fr-MC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MF.ts b/packages/common/locales/extra/fr-MF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MF.ts +++ b/packages/common/locales/extra/fr-MF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MG.ts b/packages/common/locales/extra/fr-MG.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MG.ts +++ b/packages/common/locales/extra/fr-MG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-ML.ts b/packages/common/locales/extra/fr-ML.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-ML.ts +++ b/packages/common/locales/extra/fr-ML.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MQ.ts b/packages/common/locales/extra/fr-MQ.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MQ.ts +++ b/packages/common/locales/extra/fr-MQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MR.ts b/packages/common/locales/extra/fr-MR.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MR.ts +++ b/packages/common/locales/extra/fr-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-MU.ts b/packages/common/locales/extra/fr-MU.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-MU.ts +++ b/packages/common/locales/extra/fr-MU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-NC.ts b/packages/common/locales/extra/fr-NC.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-NC.ts +++ b/packages/common/locales/extra/fr-NC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-NE.ts b/packages/common/locales/extra/fr-NE.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-NE.ts +++ b/packages/common/locales/extra/fr-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-PF.ts b/packages/common/locales/extra/fr-PF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-PF.ts +++ b/packages/common/locales/extra/fr-PF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-PM.ts b/packages/common/locales/extra/fr-PM.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-PM.ts +++ b/packages/common/locales/extra/fr-PM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-RE.ts b/packages/common/locales/extra/fr-RE.ts index 1745b6ba97..44ee165bc6 100644 --- a/packages/common/locales/extra/fr-RE.ts +++ b/packages/common/locales/extra/fr-RE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-RW.ts b/packages/common/locales/extra/fr-RW.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-RW.ts +++ b/packages/common/locales/extra/fr-RW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-SC.ts b/packages/common/locales/extra/fr-SC.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-SC.ts +++ b/packages/common/locales/extra/fr-SC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-SN.ts b/packages/common/locales/extra/fr-SN.ts index 248134fee6..98e58bb029 100644 --- a/packages/common/locales/extra/fr-SN.ts +++ b/packages/common/locales/extra/fr-SN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-SY.ts b/packages/common/locales/extra/fr-SY.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-SY.ts +++ b/packages/common/locales/extra/fr-SY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-TD.ts b/packages/common/locales/extra/fr-TD.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-TD.ts +++ b/packages/common/locales/extra/fr-TD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-TG.ts b/packages/common/locales/extra/fr-TG.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-TG.ts +++ b/packages/common/locales/extra/fr-TG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-TN.ts b/packages/common/locales/extra/fr-TN.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-TN.ts +++ b/packages/common/locales/extra/fr-TN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-VU.ts b/packages/common/locales/extra/fr-VU.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-VU.ts +++ b/packages/common/locales/extra/fr-VU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-WF.ts b/packages/common/locales/extra/fr-WF.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-WF.ts +++ b/packages/common/locales/extra/fr-WF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr-YT.ts b/packages/common/locales/extra/fr-YT.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr-YT.ts +++ b/packages/common/locales/extra/fr-YT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fr.ts b/packages/common/locales/extra/fr.ts index 1e74baea4f..330f6972af 100644 --- a/packages/common/locales/extra/fr.ts +++ b/packages/common/locales/extra/fr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,5 @@ export default [ ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/fur.ts b/packages/common/locales/extra/fur.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/fur.ts +++ b/packages/common/locales/extra/fur.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/fy.ts b/packages/common/locales/extra/fy.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/fy.ts +++ b/packages/common/locales/extra/fy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ga-GB.ts b/packages/common/locales/extra/ga-GB.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ga-GB.ts +++ b/packages/common/locales/extra/ga-GB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ga.ts b/packages/common/locales/extra/ga.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ga.ts +++ b/packages/common/locales/extra/ga.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gd.ts b/packages/common/locales/extra/gd.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/gd.ts +++ b/packages/common/locales/extra/gd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gl.ts b/packages/common/locales/extra/gl.ts index 847c95249d..1c2420d95d 100644 --- a/packages/common/locales/extra/gl.ts +++ b/packages/common/locales/extra/gl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gsw-FR.ts b/packages/common/locales/extra/gsw-FR.ts index b0fb2b362b..708860b9ba 100644 --- a/packages/common/locales/extra/gsw-FR.ts +++ b/packages/common/locales/extra/gsw-FR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gsw-LI.ts b/packages/common/locales/extra/gsw-LI.ts index b0fb2b362b..708860b9ba 100644 --- a/packages/common/locales/extra/gsw-LI.ts +++ b/packages/common/locales/extra/gsw-LI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gsw.ts b/packages/common/locales/extra/gsw.ts index b0fb2b362b..708860b9ba 100644 --- a/packages/common/locales/extra/gsw.ts +++ b/packages/common/locales/extra/gsw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gu.ts b/packages/common/locales/extra/gu.ts index d97b56e449..194e68b117 100644 --- a/packages/common/locales/extra/gu.ts +++ b/packages/common/locales/extra/gu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,27 +12,7 @@ const u = undefined; export default [ - [ - [ - 'મ.રાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - [ - 'મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - u - ], - [ - [ - 'મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - u, - [ - 'મધ્યરાત્રિ', 'સવાર', 'બપોર', 'સાંજ', - 'રાત્રિ' - ] - ], + [['મ.રાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], ['મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], u], + [['મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], u, ['મધ્યરાત્રિ', 'સવાર', 'બપોર', 'સાંજ', 'રાત્રિ']], ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] ]; diff --git a/packages/common/locales/extra/guz.ts b/packages/common/locales/extra/guz.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/guz.ts +++ b/packages/common/locales/extra/guz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/gv.ts b/packages/common/locales/extra/gv.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/gv.ts +++ b/packages/common/locales/extra/gv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ha-GH.ts b/packages/common/locales/extra/ha-GH.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ha-GH.ts +++ b/packages/common/locales/extra/ha-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ha-NE.ts b/packages/common/locales/extra/ha-NE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ha-NE.ts +++ b/packages/common/locales/extra/ha-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ha.ts b/packages/common/locales/extra/ha.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ha.ts +++ b/packages/common/locales/extra/ha.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/haw.ts b/packages/common/locales/extra/haw.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/haw.ts +++ b/packages/common/locales/extra/haw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/he.ts b/packages/common/locales/extra/he.ts index da05064112..672565c056 100644 --- a/packages/common/locales/extra/he.ts +++ b/packages/common/locales/extra/he.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,29 +13,13 @@ const u = undefined; export default [ [ - [ - 'חצות', 'בבוקר', 'בצהריים', 'אחה״צ', 'בערב', 'בלילה', - 'לפנות בוקר' - ], - [ - 'חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', - 'לפנות בוקר' - ], - [ - 'חצות', 'בבוקר', 'בצהריים', 'אחר הצהריים', 'בערב', 'בלילה', - 'לפנות בוקר' - ] + ['חצות', 'בבוקר', 'בצהריים', 'אחה״צ', 'בערב', 'בלילה', 'לפנות בוקר'], + ['חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', 'לפנות בוקר'], + ['חצות', 'בבוקר', 'בצהריים', 'אחר הצהריים', 'בערב', 'בלילה', 'לפנות בוקר'] ], [ - [ - 'חצות', 'בוקר', 'צהריים', 'אחה״צ', 'ערב', 'לילה', - 'לפנות בוקר' - ], - u, - [ - 'חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', - 'לפנות בוקר' - ] + ['חצות', 'בוקר', 'צהריים', 'אחה״צ', 'ערב', 'לילה', 'לפנות בוקר'], u, + ['חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', 'לפנות בוקר'] ], [ '00:00', ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '22:00'], diff --git a/packages/common/locales/extra/hi.ts b/packages/common/locales/extra/hi.ts index 5d170519de..2a851ae27b 100644 --- a/packages/common/locales/extra/hi.ts +++ b/packages/common/locales/extra/hi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,14 +12,7 @@ const u = undefined; export default [ - [ - ['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], - u, u - ], - [ - ['आधी रात', 'सुबह', 'दोपहर', 'शाम', 'रात'], - ['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], - u - ], + [['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], u, u], + [['आधी रात', 'सुबह', 'दोपहर', 'शाम', 'रात'], ['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], u], ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] ]; diff --git a/packages/common/locales/extra/hr-BA.ts b/packages/common/locales/extra/hr-BA.ts index 7c5ed2af86..abce0d28bb 100644 --- a/packages/common/locales/extra/hr-BA.ts +++ b/packages/common/locales/extra/hr-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'poslije podne', 'navečer', 'noću'] ], [['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, u], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/hr.ts b/packages/common/locales/extra/hr.ts index 7c5ed2af86..abce0d28bb 100644 --- a/packages/common/locales/extra/hr.ts +++ b/packages/common/locales/extra/hr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'poslije podne', 'navečer', 'noću'] ], [['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, u], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/hsb.ts b/packages/common/locales/extra/hsb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/hsb.ts +++ b/packages/common/locales/extra/hsb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/hu.ts b/packages/common/locales/extra/hu.ts index bb5d40a7b0..6f9c381f6c 100644 --- a/packages/common/locales/extra/hu.ts +++ b/packages/common/locales/extra/hu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/hy.ts b/packages/common/locales/extra/hy.ts index ea4ead0752..fe38a5796b 100644 --- a/packages/common/locales/extra/hy.ts +++ b/packages/common/locales/extra/hy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,21 +14,9 @@ const u = undefined; export default [ [ ['կգ․', 'կօ․', 'առվ', 'ցրկ', 'երկ', 'գշր'], - [ - 'կեսգիշեր', 'կեսօր', 'առավոտյան', 'ցերեկը', 'երեկոյան', - 'գիշերը' - ], - [ - 'կեսգիշերին', 'կեսօրին', 'առավոտյան', 'ցերեկվա', - 'երեկոյան', 'գիշերվա' - ] + ['կեսգիշեր', 'կեսօր', 'առավոտյան', 'ցերեկը', 'երեկոյան', 'գիշերը'], + ['կեսգիշերին', 'կեսօրին', 'առավոտյան', 'ցերեկվա', 'երեկոյան', 'գիշերվա'] ], - [ - ['կեսգիշեր', 'կեսօր', 'առավոտ', 'ցերեկ', 'երեկո', 'գիշեր'], u, - u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + [['կեսգիշեր', 'կեսօր', 'առավոտ', 'ցերեկ', 'երեկո', 'գիշեր'], u, u], + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/ia.ts b/packages/common/locales/extra/ia.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ia.ts +++ b/packages/common/locales/extra/ia.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/id.ts b/packages/common/locales/extra/id.ts index 4d023b6c80..c0ae6a9e50 100644 --- a/packages/common/locales/extra/id.ts +++ b/packages/common/locales/extra/id.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,8 +13,5 @@ const u = undefined; export default [ [['tengah malam', 'tengah hari', 'pagi', 'siang', 'sore', 'malam'], u, u], u, - [ - '00:00', '12:00', ['00:00', '10:00'], ['10:00', '15:00'], ['15:00', '18:00'], - ['18:00', '24:00'] - ] + ['00:00', '12:00', ['00:00', '10:00'], ['10:00', '15:00'], ['15:00', '18:00'], ['18:00', '24:00']] ]; diff --git a/packages/common/locales/extra/ig.ts b/packages/common/locales/extra/ig.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ig.ts +++ b/packages/common/locales/extra/ig.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ii.ts b/packages/common/locales/extra/ii.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ii.ts +++ b/packages/common/locales/extra/ii.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/is.ts b/packages/common/locales/extra/is.ts index 040f1c3d83..5ecea74b70 100644 --- a/packages/common/locales/extra/is.ts +++ b/packages/common/locales/extra/is.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['miðnætti', 'hádegi', 'morgunn', 'síðdegis', 'kvöld', 'nótt'], ['miðnætti', 'hádegi', 'morgunn', 'eftir hádegi', 'kvöld', 'nótt'] ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/it-CH.ts b/packages/common/locales/extra/it-CH.ts index 0bae90e04f..bf839c52ca 100644 --- a/packages/common/locales/extra/it-CH.ts +++ b/packages/common/locales/extra/it-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] ], [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/it-SM.ts b/packages/common/locales/extra/it-SM.ts index 0bae90e04f..bf839c52ca 100644 --- a/packages/common/locales/extra/it-SM.ts +++ b/packages/common/locales/extra/it-SM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] ], [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/it-VA.ts b/packages/common/locales/extra/it-VA.ts index 0bae90e04f..bf839c52ca 100644 --- a/packages/common/locales/extra/it-VA.ts +++ b/packages/common/locales/extra/it-VA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] ], [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/it.ts b/packages/common/locales/extra/it.ts index 0bae90e04f..bf839c52ca 100644 --- a/packages/common/locales/extra/it.ts +++ b/packages/common/locales/extra/it.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] ], [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/ja.ts b/packages/common/locales/extra/ja.ts index 93958d331c..ae7cdd37b4 100644 --- a/packages/common/locales/extra/ja.ts +++ b/packages/common/locales/extra/ja.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/jgo.ts b/packages/common/locales/extra/jgo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/jgo.ts +++ b/packages/common/locales/extra/jgo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/jmc.ts b/packages/common/locales/extra/jmc.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/jmc.ts +++ b/packages/common/locales/extra/jmc.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/jv.ts b/packages/common/locales/extra/jv.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/jv.ts +++ b/packages/common/locales/extra/jv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ka.ts b/packages/common/locales/extra/ka.ts index d14e6b7907..e88b74ee5c 100644 --- a/packages/common/locales/extra/ka.ts +++ b/packages/common/locales/extra/ka.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,25 +13,9 @@ const u = undefined; export default [ [ - [ - 'შუაღამეს', 'შუადღ.', 'დილ.', 'ნაშუადღ.', - 'საღ.', 'ღამ.' - ], - u, - [ - 'შუაღამეს', 'შუადღეს', 'დილით', - 'ნაშუადღევს', 'საღამოს', 'ღამით' - ] + ['შუაღამეს', 'შუადღ.', 'დილ.', 'ნაშუადღ.', 'საღ.', 'ღამ.'], u, + ['შუაღამეს', 'შუადღეს', 'დილით', 'ნაშუადღევს', 'საღამოს', 'ღამით'] ], - [ - [ - 'შუაღამე', 'შუადღე', 'დილა', - 'ნაშუადღევი', 'საღამო', 'ღამე' - ], - u, u - ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '05:00'] - ] + [['შუაღამე', 'შუადღე', 'დილა', 'ნაშუადღევი', 'საღამო', 'ღამე'], u, u], + ['00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '05:00']] ]; diff --git a/packages/common/locales/extra/kab.ts b/packages/common/locales/extra/kab.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kab.ts +++ b/packages/common/locales/extra/kab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kam.ts b/packages/common/locales/extra/kam.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kam.ts +++ b/packages/common/locales/extra/kam.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kde.ts b/packages/common/locales/extra/kde.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kde.ts +++ b/packages/common/locales/extra/kde.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kea.ts b/packages/common/locales/extra/kea.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kea.ts +++ b/packages/common/locales/extra/kea.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/khq.ts b/packages/common/locales/extra/khq.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/khq.ts +++ b/packages/common/locales/extra/khq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ki.ts b/packages/common/locales/extra/ki.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ki.ts +++ b/packages/common/locales/extra/ki.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kk.ts b/packages/common/locales/extra/kk.ts index 0f7171b142..abfc47bf44 100644 --- a/packages/common/locales/extra/kk.ts +++ b/packages/common/locales/extra/kk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,24 +13,9 @@ const u = undefined; export default [ [ - [ - 'түнгі', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', - 'түнгі' - ], - [ - 'түн жарымы', 'түскі', 'таңғы', 'түстен кейінгі', - 'кешкі', 'түнгі' - ], - u + ['түнгі', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', 'түнгі'], + ['түн жарымы', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', 'түнгі'], u ], - [ - [ - 'түн жарымы', 'талтүс', 'таң', 'түстен кейін', 'кеш', 'түн' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + [['түн жарымы', 'талтүс', 'таң', 'түстен кейін', 'кеш', 'түн'], u, u], + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/kkj.ts b/packages/common/locales/extra/kkj.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kkj.ts +++ b/packages/common/locales/extra/kkj.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kl.ts b/packages/common/locales/extra/kl.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kl.ts +++ b/packages/common/locales/extra/kl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kln.ts b/packages/common/locales/extra/kln.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kln.ts +++ b/packages/common/locales/extra/kln.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/km.ts b/packages/common/locales/extra/km.ts index a823b2847d..655ad69035 100644 --- a/packages/common/locales/extra/km.ts +++ b/packages/common/locales/extra/km.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,21 +14,11 @@ const u = undefined; export default [ [ [ - 'អធ្រាត្រ', 'ថ្ងៃត្រង់', - 'នៅពេល​ព្រឹក', 'នៅពេលរសៀល', + 'អធ្រាត្រ', 'ថ្ងៃត្រង់', 'នៅពេល​ព្រឹក', 'នៅពេលរសៀល', 'នៅពេល​ល្ងាច', 'នៅពេល​យប់' ], u, u ], - [ - [ - 'អធ្រាត្រ', 'ថ្ងៃ​ត្រង់', 'ព្រឹក', - 'រសៀល', 'ល្ងាច', 'យប់' - ], - u, u - ], - [ - '00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '24:00'] - ] + [['អធ្រាត្រ', 'ថ្ងៃ​ត្រង់', 'ព្រឹក', 'រសៀល', 'ល្ងាច', 'យប់'], u, u], + ['00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '24:00']] ]; diff --git a/packages/common/locales/extra/kn.ts b/packages/common/locales/extra/kn.ts index 50facc84f8..f8341e2824 100644 --- a/packages/common/locales/extra/kn.ts +++ b/packages/common/locales/extra/kn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,23 +12,7 @@ const u = undefined; export default [ - [ - [ - 'ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - [ - 'ಮಧ್ಯ ರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - u - ], - [ - [ - 'ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - u, u - ], + [['ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], ['ಮಧ್ಯ ರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], u], + [['ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], u, u], ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/ko-KP.ts b/packages/common/locales/extra/ko-KP.ts index d7b508224d..c691c37222 100644 --- a/packages/common/locales/extra/ko-KP.ts +++ b/packages/common/locales/extra/ko-KP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ko.ts b/packages/common/locales/extra/ko.ts index d7b508224d..c691c37222 100644 --- a/packages/common/locales/extra/ko.ts +++ b/packages/common/locales/extra/ko.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kok.ts b/packages/common/locales/extra/kok.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kok.ts +++ b/packages/common/locales/extra/kok.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ks.ts b/packages/common/locales/extra/ks.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ks.ts +++ b/packages/common/locales/extra/ks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ksb.ts b/packages/common/locales/extra/ksb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ksb.ts +++ b/packages/common/locales/extra/ksb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ksf.ts b/packages/common/locales/extra/ksf.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ksf.ts +++ b/packages/common/locales/extra/ksf.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ksh.ts b/packages/common/locales/extra/ksh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ksh.ts +++ b/packages/common/locales/extra/ksh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ku.ts b/packages/common/locales/extra/ku.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ku.ts +++ b/packages/common/locales/extra/ku.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/kw.ts b/packages/common/locales/extra/kw.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/kw.ts +++ b/packages/common/locales/extra/kw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ky.ts b/packages/common/locales/extra/ky.ts index 615777b848..4e6584f8a4 100644 --- a/packages/common/locales/extra/ky.ts +++ b/packages/common/locales/extra/ky.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,21 +14,8 @@ const u = undefined; export default [ [ ['түн орт', 'чт', 'эртң мн', 'түшт кйн', 'кечк', 'түн'], - [ - 'түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', - 'кечинде', 'түн ичинде' - ], - u + ['түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', 'кечинде', 'түн ичинде'], u ], - [ - [ - 'түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', - 'кечкурун', 'түн' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + [['түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', 'кечкурун', 'түн'], u, u], + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/lag.ts b/packages/common/locales/extra/lag.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lag.ts +++ b/packages/common/locales/extra/lag.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lb.ts b/packages/common/locales/extra/lb.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lb.ts +++ b/packages/common/locales/extra/lb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lg.ts b/packages/common/locales/extra/lg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lg.ts +++ b/packages/common/locales/extra/lg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lkt.ts b/packages/common/locales/extra/lkt.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lkt.ts +++ b/packages/common/locales/extra/lkt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ln-AO.ts b/packages/common/locales/extra/ln-AO.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ln-AO.ts +++ b/packages/common/locales/extra/ln-AO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ln-CF.ts b/packages/common/locales/extra/ln-CF.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ln-CF.ts +++ b/packages/common/locales/extra/ln-CF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ln-CG.ts b/packages/common/locales/extra/ln-CG.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ln-CG.ts +++ b/packages/common/locales/extra/ln-CG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ln.ts b/packages/common/locales/extra/ln.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ln.ts +++ b/packages/common/locales/extra/ln.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lo.ts b/packages/common/locales/extra/lo.ts index 8f17e20f21..466bba0f63 100644 --- a/packages/common/locales/extra/lo.ts +++ b/packages/common/locales/extra/lo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,18 +13,9 @@ const u = undefined; export default [ [ - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນທ່ຽງ', 'ຕອນແລງ', 'ກາງຄືນ' - ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ກາງຄືນ' - ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ຕອນກາງຄືນ' - ] + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນທ່ຽງ', 'ຕອນແລງ', 'ກາງຄືນ'], + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ກາງຄືນ'], + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ຕອນກາງຄືນ'] ], [ [ @@ -35,13 +26,7 @@ export default [ 'ທ່ຽງ​ຄືນ', 'ທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', 'ແລງ', '​ກາງ​ຄືນ' ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', - 'ແລງ', '​ກາງ​ຄືນ' - ] + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', 'ແລງ', '​ກາງ​ຄືນ'] ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], - ['20:00', '05:00'] - ] + ['00:00', '12:00', ['05:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '05:00']] ]; diff --git a/packages/common/locales/extra/lrc-IQ.ts b/packages/common/locales/extra/lrc-IQ.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lrc-IQ.ts +++ b/packages/common/locales/extra/lrc-IQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lrc.ts b/packages/common/locales/extra/lrc.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lrc.ts +++ b/packages/common/locales/extra/lrc.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lt.ts b/packages/common/locales/extra/lt.ts index 197feb4741..3828435397 100644 --- a/packages/common/locales/extra/lt.ts +++ b/packages/common/locales/extra/lt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,8 +14,5 @@ const u = undefined; export default [ [['vidurnaktis', 'perpiet', 'rytas', 'popietė', 'vakaras', 'naktis'], u, u], [['vidurnaktis', 'vidurdienis', 'rytas', 'diena', 'vakaras', 'naktis'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/lu.ts b/packages/common/locales/extra/lu.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/lu.ts +++ b/packages/common/locales/extra/lu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/luo.ts b/packages/common/locales/extra/luo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/luo.ts +++ b/packages/common/locales/extra/luo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/luy.ts b/packages/common/locales/extra/luy.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/luy.ts +++ b/packages/common/locales/extra/luy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/lv.ts b/packages/common/locales/extra/lv.ts index 1d103ca299..506e441d8b 100644 --- a/packages/common/locales/extra/lv.ts +++ b/packages/common/locales/extra/lv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['pusnakts', 'pusd.', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'], ['pusnakts', 'pusdienlaiks', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'] ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], - ['23:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], ['23:00', '06:00']] ]; diff --git a/packages/common/locales/extra/mas-TZ.ts b/packages/common/locales/extra/mas-TZ.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mas-TZ.ts +++ b/packages/common/locales/extra/mas-TZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mas.ts b/packages/common/locales/extra/mas.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mas.ts +++ b/packages/common/locales/extra/mas.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mer.ts b/packages/common/locales/extra/mer.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mer.ts +++ b/packages/common/locales/extra/mer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mfe.ts b/packages/common/locales/extra/mfe.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mfe.ts +++ b/packages/common/locales/extra/mfe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mg.ts b/packages/common/locales/extra/mg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mg.ts +++ b/packages/common/locales/extra/mg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mgh.ts b/packages/common/locales/extra/mgh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mgh.ts +++ b/packages/common/locales/extra/mgh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mgo.ts b/packages/common/locales/extra/mgo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mgo.ts +++ b/packages/common/locales/extra/mgo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mi.ts b/packages/common/locales/extra/mi.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mi.ts +++ b/packages/common/locales/extra/mi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mk.ts b/packages/common/locales/extra/mk.ts index a3849b6d8d..b97689e7eb 100644 --- a/packages/common/locales/extra/mk.ts +++ b/packages/common/locales/extra/mk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,28 +14,13 @@ const u = undefined; export default [ [ ['полн.', 'напл.', 'утро', 'претпл.', 'попл.', 'веч.', 'ноќе'], - [ - 'полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'ноќе' - ], - [ - 'полноќ', 'напладне', 'наутро', 'претпладне', - 'попладне', 'навечер', 'по полноќ' - ] + ['полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'ноќе'], + ['полноќ', 'напладне', 'наутро', 'претпладне', 'попладне', 'навечер', 'по полноќ'] ], [ - [ - 'полноќ', 'пладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'по полноќ' - ], - [ - 'полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'по полноќ' - ], - [ - 'на полноќ', 'напладне', 'наутро', 'претпладне', - 'попладне', 'навечер', 'по полноќ' - ] + ['полноќ', 'пладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'по полноќ'], + ['полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'по полноќ'], + ['на полноќ', 'напладне', 'наутро', 'претпладне', 'попладне', 'навечер', 'по полноќ'] ], [ '00:00', '12:00', ['04:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], diff --git a/packages/common/locales/extra/ml.ts b/packages/common/locales/extra/ml.ts index 5ee63e534d..9d963fdbd0 100644 --- a/packages/common/locales/extra/ml.ts +++ b/packages/common/locales/extra/ml.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,27 +13,12 @@ const u = undefined; export default [ [ - [ - 'അ', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', - 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', - 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി' - ], - [ - 'അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', - 'രാവിലെ', 'ഉച്ചയ്ക്ക്', - 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', - 'സന്ധ്യ', 'രാത്രി' - ], - u + ['അ', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], + ['അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], u ], [ - [ - 'അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', - 'രാവിലെ', 'ഉച്ചയ്ക്ക്', - 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', - 'സന്ധ്യ', 'രാത്രി' - ], - u, u + ['അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], u, + u ], [ '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], diff --git a/packages/common/locales/extra/mn.ts b/packages/common/locales/extra/mn.ts index 89bff10516..c2d59cb9bc 100644 --- a/packages/common/locales/extra/mn.ts +++ b/packages/common/locales/extra/mn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,10 +12,6 @@ const u = undefined; export default [ - [['шөнө дунд', 'үд дунд', 'өглөө', 'өдөр', 'орой', 'шөнө'], u, u], - u, - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + [['шөнө дунд', 'үд дунд', 'өглөө', 'өдөр', 'орой', 'шөнө'], u, u], u, + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/mr.ts b/packages/common/locales/extra/mr.ts index 4a383ee134..ebd3add3ef 100644 --- a/packages/common/locales/extra/mr.ts +++ b/packages/common/locales/extra/mr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,19 +14,11 @@ const u = undefined; export default [ [ ['म.रा.', 'दु', 'प', 'स', 'दु', 'सं', 'सा', 'रा'], - [ - 'मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', - 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र' - ], - u + ['मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र'], u ], [ ['म.रा.', 'म', 'प', 'स', 'दु', 'सं', 'सा', 'रात्र'], - [ - 'मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', - 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र' - ], - u + ['मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र'], u ], [ '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], diff --git a/packages/common/locales/extra/ms-BN.ts b/packages/common/locales/extra/ms-BN.ts index 5f79ab31aa..e6e53cf86b 100644 --- a/packages/common/locales/extra/ms-BN.ts +++ b/packages/common/locales/extra/ms-BN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ms-SG.ts b/packages/common/locales/extra/ms-SG.ts index 5f79ab31aa..e6e53cf86b 100644 --- a/packages/common/locales/extra/ms-SG.ts +++ b/packages/common/locales/extra/ms-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ms.ts b/packages/common/locales/extra/ms.ts index 5f79ab31aa..e6e53cf86b 100644 --- a/packages/common/locales/extra/ms.ts +++ b/packages/common/locales/extra/ms.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mt.ts b/packages/common/locales/extra/mt.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mt.ts +++ b/packages/common/locales/extra/mt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/mua.ts b/packages/common/locales/extra/mua.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mua.ts +++ b/packages/common/locales/extra/mua.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/my.ts b/packages/common/locales/extra/my.ts index e269bb9421..5e22e6c95f 100644 --- a/packages/common/locales/extra/my.ts +++ b/packages/common/locales/extra/my.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,16 +12,6 @@ const u = undefined; export default [ - [ - [ - 'သန်းခေါင်ယံ', 'မွန်းတည့်', 'နံနက်', - 'နေ့လယ်', 'ညနေ', 'ည' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['00:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], - ['19:00', '24:00'] - ] + [['သန်းခေါင်ယံ', 'မွန်းတည့်', 'နံနက်', 'နေ့လယ်', 'ညနေ', 'ည'], u, u], u, + ['00:00', '12:00', ['00:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], ['19:00', '24:00']] ]; diff --git a/packages/common/locales/extra/mzn.ts b/packages/common/locales/extra/mzn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/mzn.ts +++ b/packages/common/locales/extra/mzn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/naq.ts b/packages/common/locales/extra/naq.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/naq.ts +++ b/packages/common/locales/extra/naq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nb-SJ.ts b/packages/common/locales/extra/nb-SJ.ts index 17744b709a..f4b1c6e499 100644 --- a/packages/common/locales/extra/nb-SJ.ts +++ b/packages/common/locales/extra/nb-SJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nb.ts b/packages/common/locales/extra/nb.ts index 17744b709a..f4b1c6e499 100644 --- a/packages/common/locales/extra/nb.ts +++ b/packages/common/locales/extra/nb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nd.ts b/packages/common/locales/extra/nd.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nd.ts +++ b/packages/common/locales/extra/nd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nds-NL.ts b/packages/common/locales/extra/nds-NL.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nds-NL.ts +++ b/packages/common/locales/extra/nds-NL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nds.ts b/packages/common/locales/extra/nds.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nds.ts +++ b/packages/common/locales/extra/nds.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ne-IN.ts b/packages/common/locales/extra/ne-IN.ts index 9935aa0abd..7f38319adc 100644 --- a/packages/common/locales/extra/ne-IN.ts +++ b/packages/common/locales/extra/ne-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,14 +12,7 @@ const u = undefined; export default [ - [ - [ - 'मध्यरात', 'मध्यान्ह', 'बिहान', - 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात' - ], - u, u - ], - u, + [['मध्यरात', 'मध्यान्ह', 'बिहान', 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात'], u, u], u, [ '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], ['19:00', '22:00'], ['22:00', '04:00'] diff --git a/packages/common/locales/extra/ne.ts b/packages/common/locales/extra/ne.ts index 9935aa0abd..7f38319adc 100644 --- a/packages/common/locales/extra/ne.ts +++ b/packages/common/locales/extra/ne.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,14 +12,7 @@ const u = undefined; export default [ - [ - [ - 'मध्यरात', 'मध्यान्ह', 'बिहान', - 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात' - ], - u, u - ], - u, + [['मध्यरात', 'मध्यान्ह', 'बिहान', 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात'], u, u], u, [ '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], ['19:00', '22:00'], ['22:00', '04:00'] diff --git a/packages/common/locales/extra/nl-AW.ts b/packages/common/locales/extra/nl-AW.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-AW.ts +++ b/packages/common/locales/extra/nl-AW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl-BE.ts b/packages/common/locales/extra/nl-BE.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-BE.ts +++ b/packages/common/locales/extra/nl-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl-BQ.ts b/packages/common/locales/extra/nl-BQ.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-BQ.ts +++ b/packages/common/locales/extra/nl-BQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl-CW.ts b/packages/common/locales/extra/nl-CW.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-CW.ts +++ b/packages/common/locales/extra/nl-CW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl-SR.ts b/packages/common/locales/extra/nl-SR.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-SR.ts +++ b/packages/common/locales/extra/nl-SR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl-SX.ts b/packages/common/locales/extra/nl-SX.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl-SX.ts +++ b/packages/common/locales/extra/nl-SX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nl.ts b/packages/common/locales/extra/nl.ts index 028995064c..12ee0b463b 100644 --- a/packages/common/locales/extra/nl.ts +++ b/packages/common/locales/extra/nl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nmg.ts b/packages/common/locales/extra/nmg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nmg.ts +++ b/packages/common/locales/extra/nmg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nn.ts b/packages/common/locales/extra/nn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nn.ts +++ b/packages/common/locales/extra/nn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nnh.ts b/packages/common/locales/extra/nnh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nnh.ts +++ b/packages/common/locales/extra/nnh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nus.ts b/packages/common/locales/extra/nus.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nus.ts +++ b/packages/common/locales/extra/nus.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/nyn.ts b/packages/common/locales/extra/nyn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/nyn.ts +++ b/packages/common/locales/extra/nyn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/om-KE.ts b/packages/common/locales/extra/om-KE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/om-KE.ts +++ b/packages/common/locales/extra/om-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/om.ts b/packages/common/locales/extra/om.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/om.ts +++ b/packages/common/locales/extra/om.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/or.ts b/packages/common/locales/extra/or.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/or.ts +++ b/packages/common/locales/extra/or.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/os-RU.ts b/packages/common/locales/extra/os-RU.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/os-RU.ts +++ b/packages/common/locales/extra/os-RU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/os.ts b/packages/common/locales/extra/os.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/os.ts +++ b/packages/common/locales/extra/os.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/pa-Arab.ts b/packages/common/locales/extra/pa-Arab.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/pa-Arab.ts +++ b/packages/common/locales/extra/pa-Arab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/pa-Guru.ts b/packages/common/locales/extra/pa-Guru.ts index abe2c5b685..03faf1cdad 100644 --- a/packages/common/locales/extra/pa-Guru.ts +++ b/packages/common/locales/extra/pa-Guru.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,23 +12,7 @@ const u = undefined; export default [ - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', - 'ਰਾਤੀਂ' - ], - u, u - ], - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', - 'ਰਾਤੀਂ' - ], - u, - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', - 'ਰਾਤ' - ] - ], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, u], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, ['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', 'ਰਾਤ']], ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/pa.ts b/packages/common/locales/extra/pa.ts index abe2c5b685..03faf1cdad 100644 --- a/packages/common/locales/extra/pa.ts +++ b/packages/common/locales/extra/pa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,23 +12,7 @@ const u = undefined; export default [ - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', - 'ਰਾਤੀਂ' - ], - u, u - ], - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', - 'ਰਾਤੀਂ' - ], - u, - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', - 'ਰਾਤ' - ] - ], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, u], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, ['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', 'ਰਾਤ']], ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/pl.ts b/packages/common/locales/extra/pl.ts index 1e5ac5ee7f..1fd54a047b 100644 --- a/packages/common/locales/extra/pl.ts +++ b/packages/common/locales/extra/pl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,11 +14,7 @@ const u = undefined; export default [ [ ['o półn.', 'w poł.', 'rano', 'przed poł.', 'po poł.', 'wiecz.', 'w nocy'], - [ - 'o północy', 'w południe', 'rano', 'przed południem', 'po południu', 'wieczorem', - 'w nocy' - ], - u + ['o północy', 'w południe', 'rano', 'przed południem', 'po południu', 'wieczorem', 'w nocy'], u ], [ ['półn.', 'poł.', 'rano', 'przedpoł.', 'popoł.', 'wiecz.', 'noc'], diff --git a/packages/common/locales/extra/prg.ts b/packages/common/locales/extra/prg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/prg.ts +++ b/packages/common/locales/extra/prg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ps-PK.ts b/packages/common/locales/extra/ps-PK.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ps-PK.ts +++ b/packages/common/locales/extra/ps-PK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ps.ts b/packages/common/locales/extra/ps.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ps.ts +++ b/packages/common/locales/extra/ps.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/pt-AO.ts b/packages/common/locales/extra/pt-AO.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-AO.ts +++ b/packages/common/locales/extra/pt-AO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-CH.ts b/packages/common/locales/extra/pt-CH.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-CH.ts +++ b/packages/common/locales/extra/pt-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-CV.ts b/packages/common/locales/extra/pt-CV.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-CV.ts +++ b/packages/common/locales/extra/pt-CV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-GQ.ts b/packages/common/locales/extra/pt-GQ.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-GQ.ts +++ b/packages/common/locales/extra/pt-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-GW.ts b/packages/common/locales/extra/pt-GW.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-GW.ts +++ b/packages/common/locales/extra/pt-GW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-LU.ts b/packages/common/locales/extra/pt-LU.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-LU.ts +++ b/packages/common/locales/extra/pt-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-MO.ts b/packages/common/locales/extra/pt-MO.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-MO.ts +++ b/packages/common/locales/extra/pt-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-MZ.ts b/packages/common/locales/extra/pt-MZ.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-MZ.ts +++ b/packages/common/locales/extra/pt-MZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-PT.ts b/packages/common/locales/extra/pt-PT.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-PT.ts +++ b/packages/common/locales/extra/pt-PT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-ST.ts b/packages/common/locales/extra/pt-ST.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-ST.ts +++ b/packages/common/locales/extra/pt-ST.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt-TL.ts b/packages/common/locales/extra/pt-TL.ts index d61b2623b8..a5444c855d 100644 --- a/packages/common/locales/extra/pt-TL.ts +++ b/packages/common/locales/extra/pt-TL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u ], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/pt.ts b/packages/common/locales/extra/pt.ts index 210cfd1019..4b5c4358fb 100644 --- a/packages/common/locales/extra/pt.ts +++ b/packages/common/locales/extra/pt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,8 +14,5 @@ const u = undefined; export default [ [['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u, u], [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], ['00:00', '06:00']] ]; diff --git a/packages/common/locales/extra/qu-BO.ts b/packages/common/locales/extra/qu-BO.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/qu-BO.ts +++ b/packages/common/locales/extra/qu-BO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/qu-EC.ts b/packages/common/locales/extra/qu-EC.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/qu-EC.ts +++ b/packages/common/locales/extra/qu-EC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/qu.ts b/packages/common/locales/extra/qu.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/qu.ts +++ b/packages/common/locales/extra/qu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/rm.ts b/packages/common/locales/extra/rm.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/rm.ts +++ b/packages/common/locales/extra/rm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/rn.ts b/packages/common/locales/extra/rn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/rn.ts +++ b/packages/common/locales/extra/rn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ro-MD.ts b/packages/common/locales/extra/ro-MD.ts index 2654f21238..354ebf6505 100644 --- a/packages/common/locales/extra/ro-MD.ts +++ b/packages/common/locales/extra/ro-MD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u ], u, - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], - ['22:00', '05:00'] - ] + ['00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], ['22:00', '05:00']] ]; diff --git a/packages/common/locales/extra/ro.ts b/packages/common/locales/extra/ro.ts index 9f6aa24795..c14ab78f59 100644 --- a/packages/common/locales/extra/ro.ts +++ b/packages/common/locales/extra/ro.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u, ['la miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'] ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], - ['22:00', '05:00'] - ] + ['00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], ['22:00', '05:00']] ]; diff --git a/packages/common/locales/extra/rof.ts b/packages/common/locales/extra/rof.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/rof.ts +++ b/packages/common/locales/extra/rof.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/root.ts b/packages/common/locales/extra/root.ts index 92d9305c1d..3e6b437f93 100644 --- a/packages/common/locales/extra/root.ts +++ b/packages/common/locales/extra/root.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/ru-BY.ts b/packages/common/locales/extra/ru-BY.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru-BY.ts +++ b/packages/common/locales/extra/ru-BY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ru-KG.ts b/packages/common/locales/extra/ru-KG.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru-KG.ts +++ b/packages/common/locales/extra/ru-KG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ru-KZ.ts b/packages/common/locales/extra/ru-KZ.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru-KZ.ts +++ b/packages/common/locales/extra/ru-KZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ru-MD.ts b/packages/common/locales/extra/ru-MD.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru-MD.ts +++ b/packages/common/locales/extra/ru-MD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ru-UA.ts b/packages/common/locales/extra/ru-UA.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru-UA.ts +++ b/packages/common/locales/extra/ru-UA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ru.ts b/packages/common/locales/extra/ru.ts index b845127fb3..55dcebcbbf 100644 --- a/packages/common/locales/extra/ru.ts +++ b/packages/common/locales/extra/ru.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/rw.ts b/packages/common/locales/extra/rw.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/rw.ts +++ b/packages/common/locales/extra/rw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/rwk.ts b/packages/common/locales/extra/rwk.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/rwk.ts +++ b/packages/common/locales/extra/rwk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sah.ts b/packages/common/locales/extra/sah.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/sah.ts +++ b/packages/common/locales/extra/sah.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/saq.ts b/packages/common/locales/extra/saq.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/saq.ts +++ b/packages/common/locales/extra/saq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sbp.ts b/packages/common/locales/extra/sbp.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/sbp.ts +++ b/packages/common/locales/extra/sbp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sd.ts b/packages/common/locales/extra/sd.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/sd.ts +++ b/packages/common/locales/extra/sd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/se-FI.ts b/packages/common/locales/extra/se-FI.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/se-FI.ts +++ b/packages/common/locales/extra/se-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/se-SE.ts b/packages/common/locales/extra/se-SE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/se-SE.ts +++ b/packages/common/locales/extra/se-SE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/se.ts b/packages/common/locales/extra/se.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/se.ts +++ b/packages/common/locales/extra/se.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/seh.ts b/packages/common/locales/extra/seh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/seh.ts +++ b/packages/common/locales/extra/seh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ses.ts b/packages/common/locales/extra/ses.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ses.ts +++ b/packages/common/locales/extra/ses.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sg.ts b/packages/common/locales/extra/sg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/sg.ts +++ b/packages/common/locales/extra/sg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/shi-Latn.ts b/packages/common/locales/extra/shi-Latn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/shi-Latn.ts +++ b/packages/common/locales/extra/shi-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/shi-Tfng.ts b/packages/common/locales/extra/shi-Tfng.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/shi-Tfng.ts +++ b/packages/common/locales/extra/shi-Tfng.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/shi.ts b/packages/common/locales/extra/shi.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/shi.ts +++ b/packages/common/locales/extra/shi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/si.ts b/packages/common/locales/extra/si.ts index 8621fd6d9f..660a75c6d6 100644 --- a/packages/common/locales/extra/si.ts +++ b/packages/common/locales/extra/si.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,19 +14,9 @@ const u = undefined; export default [ [ ['මැ', 'ම', 'පා', 'උ', 'ද', 'හ', 'රෑ', 'මැ'], - [ - 'මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', - 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු' - ], - u - ], - [ - [ - 'මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', - 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු' - ], - u, u + ['මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු'], u ], + [['මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු'], u, u], [ '00:00', '12:00', ['01:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], ['00:00', '01:00'] diff --git a/packages/common/locales/extra/sk.ts b/packages/common/locales/extra/sk.ts index f3c3ee4032..621cb31d83 100644 --- a/packages/common/locales/extra/sk.ts +++ b/packages/common/locales/extra/sk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sl.ts b/packages/common/locales/extra/sl.ts index 75ecc968a3..f47b69627f 100644 --- a/packages/common/locales/extra/sl.ts +++ b/packages/common/locales/extra/sl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/smn.ts b/packages/common/locales/extra/smn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/smn.ts +++ b/packages/common/locales/extra/smn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sn.ts b/packages/common/locales/extra/sn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/sn.ts +++ b/packages/common/locales/extra/sn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/so-DJ.ts b/packages/common/locales/extra/so-DJ.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/so-DJ.ts +++ b/packages/common/locales/extra/so-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/so-ET.ts b/packages/common/locales/extra/so-ET.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/so-ET.ts +++ b/packages/common/locales/extra/so-ET.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/so-KE.ts b/packages/common/locales/extra/so-KE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/so-KE.ts +++ b/packages/common/locales/extra/so-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/so.ts b/packages/common/locales/extra/so.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/so.ts +++ b/packages/common/locales/extra/so.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sq-MK.ts b/packages/common/locales/extra/sq-MK.ts index 410b9d6b6c..75bdce613d 100644 --- a/packages/common/locales/extra/sq-MK.ts +++ b/packages/common/locales/extra/sq-MK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sq-XK.ts b/packages/common/locales/extra/sq-XK.ts index 410b9d6b6c..75bdce613d 100644 --- a/packages/common/locales/extra/sq-XK.ts +++ b/packages/common/locales/extra/sq-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sq.ts b/packages/common/locales/extra/sq.ts index 410b9d6b6c..75bdce613d 100644 --- a/packages/common/locales/extra/sq.ts +++ b/packages/common/locales/extra/sq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sr-Cyrl-BA.ts b/packages/common/locales/extra/sr-Cyrl-BA.ts index a52db938b9..9d24a7ae4f 100644 --- a/packages/common/locales/extra/sr-Cyrl-BA.ts +++ b/packages/common/locales/extra/sr-Cyrl-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] ], [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Cyrl-ME.ts b/packages/common/locales/extra/sr-Cyrl-ME.ts index a52db938b9..9d24a7ae4f 100644 --- a/packages/common/locales/extra/sr-Cyrl-ME.ts +++ b/packages/common/locales/extra/sr-Cyrl-ME.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] ], [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Cyrl-XK.ts b/packages/common/locales/extra/sr-Cyrl-XK.ts index 099a98548e..e8467eccb8 100644 --- a/packages/common/locales/extra/sr-Cyrl-XK.ts +++ b/packages/common/locales/extra/sr-Cyrl-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] ], [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Cyrl.ts b/packages/common/locales/extra/sr-Cyrl.ts index 34ce238220..0373359c2e 100644 --- a/packages/common/locales/extra/sr-Cyrl.ts +++ b/packages/common/locales/extra/sr-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u ], [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Latn-BA.ts b/packages/common/locales/extra/sr-Latn-BA.ts index d22163edd4..40ac480fbc 100644 --- a/packages/common/locales/extra/sr-Latn-BA.ts +++ b/packages/common/locales/extra/sr-Latn-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] ], [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Latn-ME.ts b/packages/common/locales/extra/sr-Latn-ME.ts index d22163edd4..40ac480fbc 100644 --- a/packages/common/locales/extra/sr-Latn-ME.ts +++ b/packages/common/locales/extra/sr-Latn-ME.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] ], [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Latn-XK.ts b/packages/common/locales/extra/sr-Latn-XK.ts index 0c9eb20f29..26b7589ffd 100644 --- a/packages/common/locales/extra/sr-Latn-XK.ts +++ b/packages/common/locales/extra/sr-Latn-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,8 +18,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] ], [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr-Latn.ts b/packages/common/locales/extra/sr-Latn.ts index b13107fbac..8253e38400 100644 --- a/packages/common/locales/extra/sr-Latn.ts +++ b/packages/common/locales/extra/sr-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'], u ], [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sr.ts b/packages/common/locales/extra/sr.ts index 34ce238220..0373359c2e 100644 --- a/packages/common/locales/extra/sr.ts +++ b/packages/common/locales/extra/sr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,8 +17,5 @@ export default [ ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u ], [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/sv-AX.ts b/packages/common/locales/extra/sv-AX.ts index 889ff63d2d..3068edc57e 100644 --- a/packages/common/locales/extra/sv-AX.ts +++ b/packages/common/locales/extra/sv-AX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,10 +15,7 @@ export default [ [ ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] ], [ ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], diff --git a/packages/common/locales/extra/sv-FI.ts b/packages/common/locales/extra/sv-FI.ts index 889ff63d2d..3068edc57e 100644 --- a/packages/common/locales/extra/sv-FI.ts +++ b/packages/common/locales/extra/sv-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,10 +15,7 @@ export default [ [ ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] ], [ ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], diff --git a/packages/common/locales/extra/sv.ts b/packages/common/locales/extra/sv.ts index 889ff63d2d..3068edc57e 100644 --- a/packages/common/locales/extra/sv.ts +++ b/packages/common/locales/extra/sv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,10 +15,7 @@ export default [ [ ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] ], [ ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], diff --git a/packages/common/locales/extra/sw-CD.ts b/packages/common/locales/extra/sw-CD.ts index cc7b4a8d67..b3056a5fa5 100644 --- a/packages/common/locales/extra/sw-CD.ts +++ b/packages/common/locales/extra/sw-CD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sw-KE.ts b/packages/common/locales/extra/sw-KE.ts index cc7b4a8d67..b3056a5fa5 100644 --- a/packages/common/locales/extra/sw-KE.ts +++ b/packages/common/locales/extra/sw-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sw-UG.ts b/packages/common/locales/extra/sw-UG.ts index cc7b4a8d67..b3056a5fa5 100644 --- a/packages/common/locales/extra/sw-UG.ts +++ b/packages/common/locales/extra/sw-UG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/sw.ts b/packages/common/locales/extra/sw.ts index cc7b4a8d67..b3056a5fa5 100644 --- a/packages/common/locales/extra/sw.ts +++ b/packages/common/locales/extra/sw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ta-LK.ts b/packages/common/locales/extra/ta-LK.ts index b7247418b3..8259e6aa35 100644 --- a/packages/common/locales/extra/ta-LK.ts +++ b/packages/common/locales/extra/ta-LK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,28 +13,12 @@ const u = undefined; export default [ [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], diff --git a/packages/common/locales/extra/ta-MY.ts b/packages/common/locales/extra/ta-MY.ts index b7247418b3..8259e6aa35 100644 --- a/packages/common/locales/extra/ta-MY.ts +++ b/packages/common/locales/extra/ta-MY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,28 +13,12 @@ const u = undefined; export default [ [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], diff --git a/packages/common/locales/extra/ta-SG.ts b/packages/common/locales/extra/ta-SG.ts index b7247418b3..8259e6aa35 100644 --- a/packages/common/locales/extra/ta-SG.ts +++ b/packages/common/locales/extra/ta-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,28 +13,12 @@ const u = undefined; export default [ [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], diff --git a/packages/common/locales/extra/ta.ts b/packages/common/locales/extra/ta.ts index b7247418b3..8259e6aa35 100644 --- a/packages/common/locales/extra/ta.ts +++ b/packages/common/locales/extra/ta.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,28 +13,12 @@ const u = undefined; export default [ [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', - 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', - 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u ], [ '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], diff --git a/packages/common/locales/extra/te.ts b/packages/common/locales/extra/te.ts index e04915cfcf..e6ee55db54 100644 --- a/packages/common/locales/extra/te.ts +++ b/packages/common/locales/extra/te.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,12 +12,6 @@ const u = undefined; export default [ - [ - [ - 'అర్ధరాత్రి', 'ఉదయం', 'మధ్యాహ్నం', - 'సాయంత్రం', 'రాత్రి' - ], - u, u - ], - u, ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] + [['అర్ధరాత్రి', 'ఉదయం', 'మధ్యాహ్నం', 'సాయంత్రం', 'రాత్రి'], u, u], u, + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] ]; diff --git a/packages/common/locales/extra/teo-KE.ts b/packages/common/locales/extra/teo-KE.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/teo-KE.ts +++ b/packages/common/locales/extra/teo-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/teo.ts b/packages/common/locales/extra/teo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/teo.ts +++ b/packages/common/locales/extra/teo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/tg.ts b/packages/common/locales/extra/tg.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/tg.ts +++ b/packages/common/locales/extra/tg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/th.ts b/packages/common/locales/extra/th.ts index 80b19fc872..975e91f3aa 100644 --- a/packages/common/locales/extra/th.ts +++ b/packages/common/locales/extra/th.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,29 +13,12 @@ const u = undefined; export default [ [ - [ - 'เที่ยงคืน', 'เที่ยง', 'เช้า', 'เที่ยง', - 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน' - ], - [ - 'เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', - 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', - 'กลางคืน' - ], - u + ['เที่ยงคืน', 'เที่ยง', 'เช้า', 'เที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน'], + ['เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', 'กลางคืน'], u ], [ - [ - 'เที่ยงคืน', 'เที่ยง', 'เช้า', - 'ช่วงเที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', - 'กลางคืน' - ], - [ - 'เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', - 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', - 'กลางคืน' - ], - u + ['เที่ยงคืน', 'เที่ยง', 'เช้า', 'ช่วงเที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน'], + ['เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', 'กลางคืน'], u ], [ '00:00', '12:00', ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '16:00'], diff --git a/packages/common/locales/extra/ti-ER.ts b/packages/common/locales/extra/ti-ER.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ti-ER.ts +++ b/packages/common/locales/extra/ti-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ti.ts b/packages/common/locales/extra/ti.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ti.ts +++ b/packages/common/locales/extra/ti.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/tk.ts b/packages/common/locales/extra/tk.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/tk.ts +++ b/packages/common/locales/extra/tk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/to.ts b/packages/common/locales/extra/to.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/to.ts +++ b/packages/common/locales/extra/to.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/tr-CY.ts b/packages/common/locales/extra/tr-CY.ts index 6d3ec675cc..17977e0f5f 100644 --- a/packages/common/locales/extra/tr-CY.ts +++ b/packages/common/locales/extra/tr-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,17 +14,11 @@ const u = undefined; export default [ [ ['gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], + ['gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], u ], [ - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], + ['gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], u, u ], [ diff --git a/packages/common/locales/extra/tr.ts b/packages/common/locales/extra/tr.ts index 6d3ec675cc..17977e0f5f 100644 --- a/packages/common/locales/extra/tr.ts +++ b/packages/common/locales/extra/tr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,17 +14,11 @@ const u = undefined; export default [ [ ['gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], + ['gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], u ], [ - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], + ['gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], u, u ], [ diff --git a/packages/common/locales/extra/tt.ts b/packages/common/locales/extra/tt.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/tt.ts +++ b/packages/common/locales/extra/tt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/twq.ts b/packages/common/locales/extra/twq.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/twq.ts +++ b/packages/common/locales/extra/twq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/tzm.ts b/packages/common/locales/extra/tzm.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/tzm.ts +++ b/packages/common/locales/extra/tzm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/ug.ts b/packages/common/locales/extra/ug.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/ug.ts +++ b/packages/common/locales/extra/ug.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/uk.ts b/packages/common/locales/extra/uk.ts index de347f9e2f..ebb5c8b87b 100644 --- a/packages/common/locales/extra/uk.ts +++ b/packages/common/locales/extra/uk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,15 +14,11 @@ const u = undefined; export default [ [ ['північ', 'п', 'ранку', 'дня', 'вечора', 'ночі'], - ['опівночі', 'пополудні', 'ранку', 'дня', 'вечора', 'ночі'], - u + ['опівночі', 'пополудні', 'ранку', 'дня', 'вечора', 'ночі'], u ], [ ['північ', 'полудень', 'ранок', 'день', 'вечір', 'ніч'], u, ['опівніч', 'полудень', 'ранок', 'день', 'вечір', 'ніч'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '04:00']] ]; diff --git a/packages/common/locales/extra/ur-IN.ts b/packages/common/locales/extra/ur-IN.ts index 51d8c8b3df..c313f1f451 100644 --- a/packages/common/locales/extra/ur-IN.ts +++ b/packages/common/locales/extra/ur-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,10 +14,7 @@ const u = undefined; export default [ [ ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, - [ - 'آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', - 'رات میں' - ] + ['آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', 'رات میں'] ], [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], [ diff --git a/packages/common/locales/extra/ur.ts b/packages/common/locales/extra/ur.ts index 51d8c8b3df..c313f1f451 100644 --- a/packages/common/locales/extra/ur.ts +++ b/packages/common/locales/extra/ur.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,10 +14,7 @@ const u = undefined; export default [ [ ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, - [ - 'آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', - 'رات میں' - ] + ['آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', 'رات میں'] ], [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], [ diff --git a/packages/common/locales/extra/uz-Arab.ts b/packages/common/locales/extra/uz-Arab.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/uz-Arab.ts +++ b/packages/common/locales/extra/uz-Arab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/uz-Cyrl.ts b/packages/common/locales/extra/uz-Cyrl.ts index 5fa303ae9d..f6236a1329 100644 --- a/packages/common/locales/extra/uz-Cyrl.ts +++ b/packages/common/locales/extra/uz-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,16 +12,6 @@ const u = undefined; export default [ - [ - [ - 'ярим тун', 'туш пайти', 'эрталаб', 'кундузи', - 'кечқурун', 'кечаси' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + [['ярим тун', 'туш пайти', 'эрталаб', 'кундузи', 'кечқурун', 'кечаси'], u, u], u, + ['00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], ['22:00', '06:00']] ]; diff --git a/packages/common/locales/extra/uz-Latn.ts b/packages/common/locales/extra/uz-Latn.ts index 2582f03325..a2faf872a4 100644 --- a/packages/common/locales/extra/uz-Latn.ts +++ b/packages/common/locales/extra/uz-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,8 +13,5 @@ const u = undefined; export default [ [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], ['22:00', '06:00']] ]; diff --git a/packages/common/locales/extra/uz.ts b/packages/common/locales/extra/uz.ts index 2582f03325..a2faf872a4 100644 --- a/packages/common/locales/extra/uz.ts +++ b/packages/common/locales/extra/uz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,8 +13,5 @@ const u = undefined; export default [ [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + ['00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], ['22:00', '06:00']] ]; diff --git a/packages/common/locales/extra/vai-Latn.ts b/packages/common/locales/extra/vai-Latn.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/vai-Latn.ts +++ b/packages/common/locales/extra/vai-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/vai-Vaii.ts b/packages/common/locales/extra/vai-Vaii.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/vai-Vaii.ts +++ b/packages/common/locales/extra/vai-Vaii.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/vai.ts b/packages/common/locales/extra/vai.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/vai.ts +++ b/packages/common/locales/extra/vai.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/vi.ts b/packages/common/locales/extra/vi.ts index 7cbf2d12c5..6668616b00 100644 --- a/packages/common/locales/extra/vi.ts +++ b/packages/common/locales/extra/vi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,5 @@ export default [ ['nửa đêm', 'TR', 'sáng', 'chiều', 'tối', 'đêm'], ['nửa đêm', 'trưa', 'sáng', 'chiều', 'tối', 'đêm'] ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + ['00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00']] ]; diff --git a/packages/common/locales/extra/vo.ts b/packages/common/locales/extra/vo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/vo.ts +++ b/packages/common/locales/extra/vo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/vun.ts b/packages/common/locales/extra/vun.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/vun.ts +++ b/packages/common/locales/extra/vun.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/wae.ts b/packages/common/locales/extra/wae.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/wae.ts +++ b/packages/common/locales/extra/wae.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/wo.ts b/packages/common/locales/extra/wo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/wo.ts +++ b/packages/common/locales/extra/wo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/xh.ts b/packages/common/locales/extra/xh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/xh.ts +++ b/packages/common/locales/extra/xh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/xog.ts b/packages/common/locales/extra/xog.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/xog.ts +++ b/packages/common/locales/extra/xog.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yav.ts b/packages/common/locales/extra/yav.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/yav.ts +++ b/packages/common/locales/extra/yav.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yi.ts b/packages/common/locales/extra/yi.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/yi.ts +++ b/packages/common/locales/extra/yi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yo-BJ.ts b/packages/common/locales/extra/yo-BJ.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/yo-BJ.ts +++ b/packages/common/locales/extra/yo-BJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yo.ts b/packages/common/locales/extra/yo.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/yo.ts +++ b/packages/common/locales/extra/yo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yue-Hans.ts b/packages/common/locales/extra/yue-Hans.ts index 40d9cc0a83..2d84d9b188 100644 --- a/packages/common/locales/extra/yue-Hans.ts +++ b/packages/common/locales/extra/yue-Hans.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yue-Hant.ts b/packages/common/locales/extra/yue-Hant.ts index bb8bb21e40..2da6fd4f1e 100644 --- a/packages/common/locales/extra/yue-Hant.ts +++ b/packages/common/locales/extra/yue-Hant.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/yue.ts b/packages/common/locales/extra/yue.ts index bb8bb21e40..2da6fd4f1e 100644 --- a/packages/common/locales/extra/yue.ts +++ b/packages/common/locales/extra/yue.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zgh.ts b/packages/common/locales/extra/zgh.ts index ec21da0ec7..460d1c15ee 100644 --- a/packages/common/locales/extra/zgh.ts +++ b/packages/common/locales/extra/zgh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hans-HK.ts b/packages/common/locales/extra/zh-Hans-HK.ts index f91f7fdfd0..c7eb64f5a4 100644 --- a/packages/common/locales/extra/zh-Hans-HK.ts +++ b/packages/common/locales/extra/zh-Hans-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hans-MO.ts b/packages/common/locales/extra/zh-Hans-MO.ts index f91f7fdfd0..c7eb64f5a4 100644 --- a/packages/common/locales/extra/zh-Hans-MO.ts +++ b/packages/common/locales/extra/zh-Hans-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hans-SG.ts b/packages/common/locales/extra/zh-Hans-SG.ts index f91f7fdfd0..c7eb64f5a4 100644 --- a/packages/common/locales/extra/zh-Hans-SG.ts +++ b/packages/common/locales/extra/zh-Hans-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hans.ts b/packages/common/locales/extra/zh-Hans.ts index f91f7fdfd0..c7eb64f5a4 100644 --- a/packages/common/locales/extra/zh-Hans.ts +++ b/packages/common/locales/extra/zh-Hans.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hant-HK.ts b/packages/common/locales/extra/zh-Hant-HK.ts index 0bc3e3a5f1..1459a936ea 100644 --- a/packages/common/locales/extra/zh-Hant-HK.ts +++ b/packages/common/locales/extra/zh-Hant-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hant-MO.ts b/packages/common/locales/extra/zh-Hant-MO.ts index 0bc3e3a5f1..1459a936ea 100644 --- a/packages/common/locales/extra/zh-Hant-MO.ts +++ b/packages/common/locales/extra/zh-Hant-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh-Hant.ts b/packages/common/locales/extra/zh-Hant.ts index f2de99d1e5..c8a7f59121 100644 --- a/packages/common/locales/extra/zh-Hant.ts +++ b/packages/common/locales/extra/zh-Hant.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zh.ts b/packages/common/locales/extra/zh.ts index f91f7fdfd0..c7eb64f5a4 100644 --- a/packages/common/locales/extra/zh.ts +++ b/packages/common/locales/extra/zh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/extra/zu.ts b/packages/common/locales/extra/zu.ts index 137f592073..e527922006 100644 --- a/packages/common/locales/extra/zu.ts +++ b/packages/common/locales/extra/zu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fa-AF.ts b/packages/common/locales/fa-AF.ts index 9a2657e6e0..ec103b1510 100644 --- a/packages/common/locales/fa-AF.ts +++ b/packages/common/locales/fa-AF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,29 +23,26 @@ export default [ u, [ ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], - u, ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u, + ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] ], u, [ ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'جنو', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جول', 'اگست', - 'سپتمبر', 'اکتوبر', 'نومبر', 'دسم' + 'جنو', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جول', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسم' ], [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ] ], [ ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], u ], diff --git a/packages/common/locales/fa.ts b/packages/common/locales/fa.ts index b6b0925a71..72c7f74669 100644 --- a/packages/common/locales/fa.ts +++ b/packages/common/locales/fa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,26 +23,23 @@ export default [ u, [ ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], - u, ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u, + ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] ], u, [ ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', - 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], u ], [ ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', - 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], u ], diff --git a/packages/common/locales/ff-CM.ts b/packages/common/locales/ff-CM.ts index c8a2a531dc..fb98451eb9 100644 --- a/packages/common/locales/ff-CM.ts +++ b/packages/common/locales/ff-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ff-GN.ts b/packages/common/locales/ff-GN.ts index 25879a201d..528d4427f5 100644 --- a/packages/common/locales/ff-GN.ts +++ b/packages/common/locales/ff-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ff-Latn-BF.ts b/packages/common/locales/ff-Latn-BF.ts index eda0b3ef66..13779adf5d 100644 --- a/packages/common/locales/ff-Latn-BF.ts +++ b/packages/common/locales/ff-Latn-BF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-CM.ts b/packages/common/locales/ff-Latn-CM.ts index c83958257d..29b1488d6c 100644 --- a/packages/common/locales/ff-Latn-CM.ts +++ b/packages/common/locales/ff-Latn-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-GH.ts b/packages/common/locales/ff-Latn-GH.ts index 77afd7d958..f44541fece 100644 --- a/packages/common/locales/ff-Latn-GH.ts +++ b/packages/common/locales/ff-Latn-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-GM.ts b/packages/common/locales/ff-Latn-GM.ts index d089897388..05db8bef58 100644 --- a/packages/common/locales/ff-Latn-GM.ts +++ b/packages/common/locales/ff-Latn-GM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-GN.ts b/packages/common/locales/ff-Latn-GN.ts index da2d45c598..37e5f5b776 100644 --- a/packages/common/locales/ff-Latn-GN.ts +++ b/packages/common/locales/ff-Latn-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-GW.ts b/packages/common/locales/ff-Latn-GW.ts index 13884d0f11..da62a54872 100644 --- a/packages/common/locales/ff-Latn-GW.ts +++ b/packages/common/locales/ff-Latn-GW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-LR.ts b/packages/common/locales/ff-Latn-LR.ts index 477ce47cb9..b29a084f98 100644 --- a/packages/common/locales/ff-Latn-LR.ts +++ b/packages/common/locales/ff-Latn-LR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-MR.ts b/packages/common/locales/ff-Latn-MR.ts index 129e720b50..7946cb5362 100644 --- a/packages/common/locales/ff-Latn-MR.ts +++ b/packages/common/locales/ff-Latn-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-NE.ts b/packages/common/locales/ff-Latn-NE.ts index d341bde8d1..b4174c2c60 100644 --- a/packages/common/locales/ff-Latn-NE.ts +++ b/packages/common/locales/ff-Latn-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-NG.ts b/packages/common/locales/ff-Latn-NG.ts index 9a67694428..762f155309 100644 --- a/packages/common/locales/ff-Latn-NG.ts +++ b/packages/common/locales/ff-Latn-NG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn-SL.ts b/packages/common/locales/ff-Latn-SL.ts index f5336f312b..4bfe18fc7f 100644 --- a/packages/common/locales/ff-Latn-SL.ts +++ b/packages/common/locales/ff-Latn-SL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-Latn.ts b/packages/common/locales/ff-Latn.ts index 84b89cc166..c37cfd0047 100644 --- a/packages/common/locales/ff-Latn.ts +++ b/packages/common/locales/ff-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/ff-MR.ts b/packages/common/locales/ff-MR.ts index 9c88f50419..89c154e85e 100644 --- a/packages/common/locales/ff-MR.ts +++ b/packages/common/locales/ff-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ff.ts b/packages/common/locales/ff.ts index ba2fbf1bc9..df2085052f 100644 --- a/packages/common/locales/ff.ts +++ b/packages/common/locales/ff.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,8 +31,8 @@ export default [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' ] ], u, diff --git a/packages/common/locales/fi.ts b/packages/common/locales/fi.ts index ab7e2ebf19..79ec7332f6 100644 --- a/packages/common/locales/fi.ts +++ b/packages/common/locales/fi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -52,14 +52,11 @@ export default [ 'marras', 'joulu' ], [ - 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', - 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' + 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', + 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' ] ], - [ - ['eKr', 'jKr'], ['eKr.', 'jKr.'], - ['ennen Kristuksen syntymää', 'jälkeen Kristuksen syntymän'] - ], + [['eKr', 'jKr'], ['eKr.', 'jKr.'], ['ennen Kristuksen syntymää', 'jälkeen Kristuksen syntymän']], 1, [6, 0], ['d.M.y', u, 'd. MMMM y', 'cccc d. MMMM y'], diff --git a/packages/common/locales/fil.ts b/packages/common/locales/fil.ts index 07f5051eb8..bb0602c5b9 100644 --- a/packages/common/locales/fil.ts +++ b/packages/common/locales/fil.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fo-DK.ts b/packages/common/locales/fo-DK.ts index c341baa2dc..8ce0252c1f 100644 --- a/packages/common/locales/fo-DK.ts +++ b/packages/common/locales/fo-DK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,36 +21,29 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], - ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] ], [ ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] ], [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], diff --git a/packages/common/locales/fo.ts b/packages/common/locales/fo.ts index 1d957e3e0e..3c38f5ad6f 100644 --- a/packages/common/locales/fo.ts +++ b/packages/common/locales/fo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,36 +21,29 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], - ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] ], [ ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] ], [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], diff --git a/packages/common/locales/fr-BE.ts b/packages/common/locales/fr-BE.ts index 358aa1f2ce..94882f1ae8 100644 --- a/packages/common/locales/fr-BE.ts +++ b/packages/common/locales/fr-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-BF.ts b/packages/common/locales/fr-BF.ts index 3828d4dcec..d81ee6388c 100644 --- a/packages/common/locales/fr-BF.ts +++ b/packages/common/locales/fr-BF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-BI.ts b/packages/common/locales/fr-BI.ts index 19d4f620c1..3dcb3bc94f 100644 --- a/packages/common/locales/fr-BI.ts +++ b/packages/common/locales/fr-BI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-BJ.ts b/packages/common/locales/fr-BJ.ts index ed7495aac2..1cfe84e213 100644 --- a/packages/common/locales/fr-BJ.ts +++ b/packages/common/locales/fr-BJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-BL.ts b/packages/common/locales/fr-BL.ts index a1efac52b1..513cbcc4f8 100644 --- a/packages/common/locales/fr-BL.ts +++ b/packages/common/locales/fr-BL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CA.ts b/packages/common/locales/fr-CA.ts index 29073aa5a7..1c809457c4 100644 --- a/packages/common/locales/fr-CA.ts +++ b/packages/common/locales/fr-CA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CD.ts b/packages/common/locales/fr-CD.ts index 780e59031b..850d7bb8bf 100644 --- a/packages/common/locales/fr-CD.ts +++ b/packages/common/locales/fr-CD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CF.ts b/packages/common/locales/fr-CF.ts index 0cf195db29..99a1308cd6 100644 --- a/packages/common/locales/fr-CF.ts +++ b/packages/common/locales/fr-CF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CG.ts b/packages/common/locales/fr-CG.ts index e1e305ce7e..c3ceacf5b0 100644 --- a/packages/common/locales/fr-CG.ts +++ b/packages/common/locales/fr-CG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CH.ts b/packages/common/locales/fr-CH.ts index 0c508471ad..16caeddff4 100644 --- a/packages/common/locales/fr-CH.ts +++ b/packages/common/locales/fr-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CI.ts b/packages/common/locales/fr-CI.ts index 6dacd7f0df..18600492bd 100644 --- a/packages/common/locales/fr-CI.ts +++ b/packages/common/locales/fr-CI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-CM.ts b/packages/common/locales/fr-CM.ts index 51d5f269c8..dce6ba0508 100644 --- a/packages/common/locales/fr-CM.ts +++ b/packages/common/locales/fr-CM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-DJ.ts b/packages/common/locales/fr-DJ.ts index 15450c97fa..f64724c56c 100644 --- a/packages/common/locales/fr-DJ.ts +++ b/packages/common/locales/fr-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-DZ.ts b/packages/common/locales/fr-DZ.ts index cccbd24249..839ee9427b 100644 --- a/packages/common/locales/fr-DZ.ts +++ b/packages/common/locales/fr-DZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-GA.ts b/packages/common/locales/fr-GA.ts index c8e644e0b0..c441eb38f0 100644 --- a/packages/common/locales/fr-GA.ts +++ b/packages/common/locales/fr-GA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-GF.ts b/packages/common/locales/fr-GF.ts index 1424c14032..2db3eba6bb 100644 --- a/packages/common/locales/fr-GF.ts +++ b/packages/common/locales/fr-GF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-GN.ts b/packages/common/locales/fr-GN.ts index a2ff1eda0c..a37ebd795a 100644 --- a/packages/common/locales/fr-GN.ts +++ b/packages/common/locales/fr-GN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-GP.ts b/packages/common/locales/fr-GP.ts index e1e12ad46f..79182b0321 100644 --- a/packages/common/locales/fr-GP.ts +++ b/packages/common/locales/fr-GP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-GQ.ts b/packages/common/locales/fr-GQ.ts index 52d979fa9d..39edbf51b2 100644 --- a/packages/common/locales/fr-GQ.ts +++ b/packages/common/locales/fr-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-HT.ts b/packages/common/locales/fr-HT.ts index a118b1608d..cb448397e8 100644 --- a/packages/common/locales/fr-HT.ts +++ b/packages/common/locales/fr-HT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-KM.ts b/packages/common/locales/fr-KM.ts index 27cd3a93a1..39722fb2bf 100644 --- a/packages/common/locales/fr-KM.ts +++ b/packages/common/locales/fr-KM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-LU.ts b/packages/common/locales/fr-LU.ts index 0883da7447..19bf04cdb7 100644 --- a/packages/common/locales/fr-LU.ts +++ b/packages/common/locales/fr-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MA.ts b/packages/common/locales/fr-MA.ts index 9898550f0c..49e8f5a752 100644 --- a/packages/common/locales/fr-MA.ts +++ b/packages/common/locales/fr-MA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MC.ts b/packages/common/locales/fr-MC.ts index 8ff4b099d6..970eff1630 100644 --- a/packages/common/locales/fr-MC.ts +++ b/packages/common/locales/fr-MC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MF.ts b/packages/common/locales/fr-MF.ts index 8d757d8c1f..e8cf6746d2 100644 --- a/packages/common/locales/fr-MF.ts +++ b/packages/common/locales/fr-MF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MG.ts b/packages/common/locales/fr-MG.ts index d8ad9e2e8f..c123ed762e 100644 --- a/packages/common/locales/fr-MG.ts +++ b/packages/common/locales/fr-MG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-ML.ts b/packages/common/locales/fr-ML.ts index 064aed81f2..9774015263 100644 --- a/packages/common/locales/fr-ML.ts +++ b/packages/common/locales/fr-ML.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MQ.ts b/packages/common/locales/fr-MQ.ts index 573e908af7..16dcf512c8 100644 --- a/packages/common/locales/fr-MQ.ts +++ b/packages/common/locales/fr-MQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MR.ts b/packages/common/locales/fr-MR.ts index 0a0a234a2d..528f699bab 100644 --- a/packages/common/locales/fr-MR.ts +++ b/packages/common/locales/fr-MR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-MU.ts b/packages/common/locales/fr-MU.ts index 6231f6b0fb..d6a46ecaa7 100644 --- a/packages/common/locales/fr-MU.ts +++ b/packages/common/locales/fr-MU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-NC.ts b/packages/common/locales/fr-NC.ts index fc21fa7f74..e7ed16e0c3 100644 --- a/packages/common/locales/fr-NC.ts +++ b/packages/common/locales/fr-NC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-NE.ts b/packages/common/locales/fr-NE.ts index e35ccb6ca1..8c23b9bf1a 100644 --- a/packages/common/locales/fr-NE.ts +++ b/packages/common/locales/fr-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-PF.ts b/packages/common/locales/fr-PF.ts index c6e7c50fab..9163da9994 100644 --- a/packages/common/locales/fr-PF.ts +++ b/packages/common/locales/fr-PF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-PM.ts b/packages/common/locales/fr-PM.ts index 816c031ecc..554e17cd35 100644 --- a/packages/common/locales/fr-PM.ts +++ b/packages/common/locales/fr-PM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-RE.ts b/packages/common/locales/fr-RE.ts index f223efa6de..adbcbc16c1 100644 --- a/packages/common/locales/fr-RE.ts +++ b/packages/common/locales/fr-RE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-RW.ts b/packages/common/locales/fr-RW.ts index 0a60b2ef40..af744c8c51 100644 --- a/packages/common/locales/fr-RW.ts +++ b/packages/common/locales/fr-RW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-SC.ts b/packages/common/locales/fr-SC.ts index 53fd712780..73207e2c6b 100644 --- a/packages/common/locales/fr-SC.ts +++ b/packages/common/locales/fr-SC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-SN.ts b/packages/common/locales/fr-SN.ts index 13ea9071c3..25b757a84b 100644 --- a/packages/common/locales/fr-SN.ts +++ b/packages/common/locales/fr-SN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-SY.ts b/packages/common/locales/fr-SY.ts index e4413c917f..6b274ff889 100644 --- a/packages/common/locales/fr-SY.ts +++ b/packages/common/locales/fr-SY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-TD.ts b/packages/common/locales/fr-TD.ts index cafdc47212..019547d232 100644 --- a/packages/common/locales/fr-TD.ts +++ b/packages/common/locales/fr-TD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-TG.ts b/packages/common/locales/fr-TG.ts index 3b80af1eaa..2557713cac 100644 --- a/packages/common/locales/fr-TG.ts +++ b/packages/common/locales/fr-TG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-TN.ts b/packages/common/locales/fr-TN.ts index d82e554d6d..2e91893bd6 100644 --- a/packages/common/locales/fr-TN.ts +++ b/packages/common/locales/fr-TN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-VU.ts b/packages/common/locales/fr-VU.ts index 0095f8dd46..2b46979109 100644 --- a/packages/common/locales/fr-VU.ts +++ b/packages/common/locales/fr-VU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-WF.ts b/packages/common/locales/fr-WF.ts index f22c1d6037..c6ae98deb9 100644 --- a/packages/common/locales/fr-WF.ts +++ b/packages/common/locales/fr-WF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr-YT.ts b/packages/common/locales/fr-YT.ts index ba0516fc3c..47bd817ff1 100644 --- a/packages/common/locales/fr-YT.ts +++ b/packages/common/locales/fr-YT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fr.ts b/packages/common/locales/fr.ts index 991e0ad0cc..be7a9a13ac 100644 --- a/packages/common/locales/fr.ts +++ b/packages/common/locales/fr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fur.ts b/packages/common/locales/fur.ts index 773ba76ae4..5e4537668a 100644 --- a/packages/common/locales/fur.ts +++ b/packages/common/locales/fur.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/fy.ts b/packages/common/locales/fy.ts index e79ddb322f..e58f8470d4 100644 --- a/packages/common/locales/fy.ts +++ b/packages/common/locales/fy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ga-GB.ts b/packages/common/locales/ga-GB.ts index 8ec8ed2fa2..edc973cb9b 100644 --- a/packages/common/locales/ga-GB.ts +++ b/packages/common/locales/ga-GB.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,11 +24,9 @@ export default [ [['r.n.', 'i.n.'], u, u], u, [ - ['D', 'L', 'M', 'C', 'D', 'A', 'S'], - ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + ['D', 'L', 'M', 'C', 'D', 'A', 'S'], ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], [ - 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', - 'Dé Sathairn' + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn' ], ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] ], diff --git a/packages/common/locales/ga.ts b/packages/common/locales/ga.ts index 24b9966dec..53508e1ddb 100644 --- a/packages/common/locales/ga.ts +++ b/packages/common/locales/ga.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,11 +24,9 @@ export default [ [['r.n.', 'i.n.'], u, u], u, [ - ['D', 'L', 'M', 'C', 'D', 'A', 'S'], - ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + ['D', 'L', 'M', 'C', 'D', 'A', 'S'], ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], [ - 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', - 'Dé Sathairn' + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn' ], ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] ], diff --git a/packages/common/locales/gd.ts b/packages/common/locales/gd.ts index a89500f095..7e5075e18c 100644 --- a/packages/common/locales/gd.ts +++ b/packages/common/locales/gd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/gl.ts b/packages/common/locales/gl.ts index c3a5e97ca9..4dbf3c45b2 100644 --- a/packages/common/locales/gl.ts +++ b/packages/common/locales/gl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,8 +35,7 @@ export default [ [ ['x.', 'f.', 'm.', 'a.', 'm.', 'x.', 'x.', 'a.', 's.', 'o.', 'n.', 'd.'], [ - 'xan.', 'feb.', 'mar.', 'abr.', 'maio', 'xuño', 'xul.', 'ago.', 'set.', 'out.', 'nov.', - 'dec.' + 'xan.', 'feb.', 'mar.', 'abr.', 'maio', 'xuño', 'xul.', 'ago.', 'set.', 'out.', 'nov.', 'dec.' ], [ 'xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', @@ -46,8 +45,7 @@ export default [ [ ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'N', 'D'], [ - 'Xan.', 'Feb.', 'Mar.', 'Abr.', 'Maio', 'Xuño', 'Xul.', 'Ago.', 'Set.', 'Out.', 'Nov.', - 'Dec.' + 'Xan.', 'Feb.', 'Mar.', 'Abr.', 'Maio', 'Xuño', 'Xul.', 'Ago.', 'Set.', 'Out.', 'Nov.', 'Dec.' ], [ 'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro', diff --git a/packages/common/locales/global/af-NA.js b/packages/common/locales/global/af-NA.js index 471a48f7e9..8f486f29ab 100644 --- a/packages/common/locales/global/af-NA.js +++ b/packages/common/locales/global/af-NA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['af-na'] = [ - 'af-NA', - [['v', 'n'], ['vm.', 'nm.'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['af-na'] = [ + 'af-NA', + [['v', 'n'], ['vm.', 'nm.'], u], + u, + [ + ['S', 'M', 'D', 'W', 'D', 'V', 'S'], ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], + ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Des.'], [ - ['S', 'M', 'D', 'W', 'D', 'V', 'S'], ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], - ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], - ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Des.' - ], - [ - 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', - 'Oktober', 'November', 'Desember' - ] - ], - u, - [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'Suid-Afrikaanse rand', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'NAD': ['$'], - 'RON': [u, 'leu'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': [u, '$'], - 'ZAR': ['R'] - }, - 'ltr', - plural, - [ - [ - ['mn', 'o', 'm', 'a', 'n'], - ['middernag', 'die oggend', 'die middag', 'die aand', 'die nag'], u - ], - [['mn', 'o', 'm', 'a', 'n'], ['middernag', 'oggend', 'middag', 'aand', 'nag'], u], - ['00:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '05:00']] + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', + 'Oktober', 'November', 'Desember' ] - ]; + ], + u, + [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'Suid-Afrikaanse rand', + { + 'CAD': [u, '$'], + 'JPY': ['JP¥', '¥'], + 'MXN': [u, '$'], + 'NAD': ['$'], + 'RON': [u, 'leu'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': [u, '$'], + 'ZAR': ['R'] + }, + 'ltr', + plural, + [ + [ + ['mn', 'o', 'm', 'a', 'n'], ['middernag', 'die oggend', 'die middag', 'die aand', 'die nag'], + u + ], + [['mn', 'o', 'm', 'a', 'n'], ['middernag', 'oggend', 'middag', 'aand', 'nag'], u], + ['00:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '05:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/af.js b/packages/common/locales/global/af.js index ee0f963abb..c7fd5908ea 100644 --- a/packages/common/locales/global/af.js +++ b/packages/common/locales/global/af.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['af'] = [ - 'af', - [['v', 'n'], ['vm.', 'nm.'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['af'] = [ + 'af', + [['v', 'n'], ['vm.', 'nm.'], u], + u, + [ + ['S', 'M', 'D', 'W', 'D', 'V', 'S'], ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], + ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Des.'], [ - ['S', 'M', 'D', 'W', 'D', 'V', 'S'], ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], - ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], - ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Des.' - ], - [ - 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', - 'Oktober', 'November', 'Desember' - ] - ], - u, - [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], - 0, - [6, 0], - ['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'Suid-Afrikaanse rand', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'RON': [u, 'leu'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': [u, '$'], - 'ZAR': ['R'] - }, - 'ltr', - plural, - [ - [ - ['mn', 'o', 'm', 'a', 'n'], - ['middernag', 'die oggend', 'die middag', 'die aand', 'die nag'], u - ], - [['mn', 'o', 'm', 'a', 'n'], ['middernag', 'oggend', 'middag', 'aand', 'nag'], u], - ['00:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '05:00']] + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', + 'Oktober', 'November', 'Desember' ] - ]; + ], + u, + [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], + 0, + [6, 0], + ['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'Suid-Afrikaanse rand', + { + 'CAD': [u, '$'], + 'JPY': ['JP¥', '¥'], + 'MXN': [u, '$'], + 'RON': [u, 'leu'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': [u, '$'], + 'ZAR': ['R'] + }, + 'ltr', + plural, + [ + [ + ['mn', 'o', 'm', 'a', 'n'], ['middernag', 'die oggend', 'die middag', 'die aand', 'die nag'], + u + ], + [['mn', 'o', 'm', 'a', 'n'], ['middernag', 'oggend', 'middag', 'aand', 'nag'], u], + ['00:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '05:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/agq.js b/packages/common/locales/global/agq.js index bd7afe2bf6..5ecd8e50bb 100644 --- a/packages/common/locales/global/agq.js +++ b/packages/common/locales/global/agq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['agq'] = [ - 'agq', - [['a.g', 'a.k'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['agq'] = [ + 'agq', + [['a.g', 'a.k'], u, u], + u, + [ + ['n', 'k', 'g', 't', 'u', 'g', 'd'], ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], + ['tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ'], + ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'] + ], + u, + [ + ['n', 'k', 't', 't', 's', 'z', 'k', 'f', 'd', 'l', 'c', 'f'], + ['nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo'], [ - ['n', 'k', 'g', 't', 'u', 'g', 'd'], ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], - [ - 'tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', - 'tsuʔndzɨkɔʔɔ' - ], - ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'] - ], - u, - [ - ['n', 'k', 't', 't', 's', 'z', 'k', 'f', 'd', 'l', 'c', 'f'], - ['nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo'], - [ - 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', - 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', - 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', - 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', 'ndzɔ̀ŋèfwòo' - ] - ], - u, - [['SK', 'BK'], u, ['Sěe Kɨ̀lesto', 'Bǎa Kɨ̀lesto']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'XAF', - 'FCFA', - 'CFA Fàlâŋ BEAC', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', + 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', + 'ndzɔ̀ŋèfwòo' + ] + ], + u, + [['SK', 'BK'], u, ['Sěe Kɨ̀lesto', 'Bǎa Kɨ̀lesto']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'XAF', + 'FCFA', + 'CFA Fàlâŋ BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ak.js b/packages/common/locales/global/ak.js index 60e5be2218..944fc2cf6c 100644 --- a/packages/common/locales/global/ak.js +++ b/packages/common/locales/global/ak.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ak'] = [ - 'ak', - [['AN', 'EW'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ak'] = [ + 'ak', + [['AN', 'EW'], u, u], + u, + [ + ['K', 'D', 'B', 'W', 'Y', 'F', 'M'], ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], + ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'], + ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ'], [ - ['K', 'D', 'B', 'W', 'Y', 'F', 'M'], ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], - ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'], - ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ'], - [ - 'Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', - 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', - 'Difuu-Ɔsandaa', 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', - 'Mumu-Ɔpɛnimba' - ] - ], - u, - [['AK', 'KE'], u, ['Ansa Kristo', 'Kristo Ekyiri']], - 1, - [6, 0], - ['yy/MM/dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GHS', - 'GH₵', - 'Ghana Sidi', - {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', + 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', 'Difuu-Ɔsandaa', + 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', 'Mumu-Ɔpɛnimba' + ] + ], + u, + [['AK', 'KE'], u, ['Ansa Kristo', 'Kristo Ekyiri']], + 1, + [6, 0], + ['yy/MM/dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GHS', + 'GH₵', + 'Ghana Sidi', + {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/am.js b/packages/common/locales/global/am.js index 0f597a4f75..925950226a 100644 --- a/packages/common/locales/global/am.js +++ b/packages/common/locales/global/am.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,70 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['am'] = [ - 'am', - [['ጠ', 'ከ'], ['ጥዋት', 'ከሰዓት'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['am'] = [ + 'am', + [['ጠ', 'ከ'], ['ጥዋት', 'ከሰዓት'], u], + u, + [ + ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], + ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'] + ], + u, + [ + ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], + ['ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'], [ - ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], - ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], - ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], - ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'] - ], - u, - [ - ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], - [ - 'ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', - 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም' - ], - [ - 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', - 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', - 'ዲሴምበር' - ] - ], - u, - [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምሕረት']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ETB', - 'ብር', - 'የኢትዮጵያ ብር', - { - 'AUD': ['AU$', '$'], - 'CNH': ['የቻይና ዩዋን'], - 'ETB': ['ብር'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['እኩለ ሌሊት', 'ቀ', 'ጥዋት1', 'ከሰዓት1', 'ማታ1', 'ሌሊት1'], - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7', 'ማታ1', - 'ሌሊት1' - ], - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7 ሰዓት', 'ማታ1', - 'ሌሊት1' - ] - ], - [ - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት', 'ከሰዓት በኋላ', 'ማታ', - 'ሌሊት' - ], - [ - 'እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት በኋላ', 'ማታ', - 'ሌሊት' - ], - u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', + 'ዲሴምበር' ] - ]; + ], + u, + [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምሕረት']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ETB', + 'ብር', + 'የኢትዮጵያ ብር', + { + 'AUD': ['AU$', '$'], + 'CNH': ['የቻይና ዩዋን'], + 'ETB': ['ብር'], + 'JPY': ['JP¥', '¥'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['እኩለ ሌሊት', 'ቀ', 'ጥዋት1', 'ከሰዓት1', 'ማታ1', 'ሌሊት1'], + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7', 'ማታ1', 'ሌሊት1'], + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት 7 ሰዓት', 'ማታ1', 'ሌሊት1'] + ], + [ + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት', 'ከሰዓት በኋላ', 'ማታ', 'ሌሊት'], + ['እኩለ ሌሊት', 'ቀትር', 'ጥዋት1', 'ከሰዓት በኋላ', 'ማታ', 'ሌሊት'], u + ], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-AE.js b/packages/common/locales/global/ar-AE.js index 37e655b587..13d285088d 100644 --- a/packages/common/locales/global/ar-AE.js +++ b/packages/common/locales/global/ar-AE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,130 +10,114 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ae'] = [ - 'ar-AE', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ae'] = [ + 'ar-AE', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'AED', + 'د.إ.\u200f', + 'درهم إماراتي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'AED', - 'د.إ.\u200f', - 'درهم إماراتي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-BH.js b/packages/common/locales/global/ar-BH.js index e190d93b54..3f3616804c 100644 --- a/packages/common/locales/global/ar-BH.js +++ b/packages/common/locales/global/ar-BH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-bh'] = [ - 'ar-BH', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-bh'] = [ + 'ar-BH', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'BHD', + 'د.ب.\u200f', + 'دينار بحريني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'BHD', - 'د.ب.\u200f', - 'دينار بحريني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-DJ.js b/packages/common/locales/global/ar-DJ.js index e8d43396a2..3d7530be90 100644 --- a/packages/common/locales/global/ar-DJ.js +++ b/packages/common/locales/global/ar-DJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,116 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-dj'] = [ - 'ar-DJ', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-dj'] = [ + 'ar-DJ', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'DJF', + 'Fdj', + 'فرنك جيبوتي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DJF': ['Fdj'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'DJF', - 'Fdj', - 'فرنك جيبوتي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DJF': ['Fdj'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-DZ.js b/packages/common/locales/global/ar-DZ.js index 0177a24685..15aedd1ee4 100644 --- a/packages/common/locales/global/ar-DZ.js +++ b/packages/common/locales/global/ar-DZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-dz'] = [ - 'ar-DZ', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-dz'] = [ + 'ar-DZ', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'DZD', + 'د.ج.\u200f', + 'دينار جزائري', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], - [ - 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', - 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'DZD', - 'د.ج.\u200f', - 'دينار جزائري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-EG.js b/packages/common/locales/global/ar-EG.js index 974b5c95bc..798cfe79db 100644 --- a/packages/common/locales/global/ar-EG.js +++ b/packages/common/locales/global/ar-EG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-eg'] = [ - 'ar-EG', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-eg'] = [ + 'ar-EG', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'EGP', + 'ج.م.\u200f', + 'جنيه مصري', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EGP', - 'ج.م.\u200f', - 'جنيه مصري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-EH.js b/packages/common/locales/global/ar-EH.js index fa2269483f..1ede4bf6d6 100644 --- a/packages/common/locales/global/ar-EH.js +++ b/packages/common/locales/global/ar-EH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-eh'] = [ - 'ar-EH', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-eh'] = [ + 'ar-EH', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MAD', + 'د.م.\u200f', + 'درهم مغربي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MAD', - 'د.م.\u200f', - 'درهم مغربي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-ER.js b/packages/common/locales/global/ar-ER.js index feacf13a10..dba55ee7db 100644 --- a/packages/common/locales/global/ar-ER.js +++ b/packages/common/locales/global/ar-ER.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,116 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-er'] = [ - 'ar-ER', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-er'] = [ + 'ar-ER', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'ERN', + 'Nfk', + 'ناكفا أريتري', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'ERN': ['Nfk'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'ERN', - 'Nfk', - 'ناكفا أريتري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'ERN': ['Nfk'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-IL.js b/packages/common/locales/global/ar-IL.js index c8c839612e..07ae65e21e 100644 --- a/packages/common/locales/global/ar-IL.js +++ b/packages/common/locales/global/ar-IL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-il'] = [ - 'ar-IL', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-il'] = [ + 'ar-IL', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 0, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'ILS', + '₪', + 'شيكل إسرائيلي جديد', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 0, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'ILS', - '₪', - 'شيكل إسرائيلي جديد', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-IQ.js b/packages/common/locales/global/ar-IQ.js index 9e8ce9047f..68c0abe583 100644 --- a/packages/common/locales/global/ar-IQ.js +++ b/packages/common/locales/global/ar-IQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,21 +9,126 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-iq'] = ['ar-IQ',[['ص','م'],u,u],[['ص','م'],u,['صباحًا','مساءً']],[['ح','ن','ث','ر','خ','ج','س'],['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],u,['أحد','إثنين','ثلاثاء','أربعاء','خميس','جمعة','سبت']],u,[['ك','ش','آ','ن','أ','ح','ت','آ','أ','ت','ت','ك'],['كانون الثاني','شباط','آذار','نيسان','أيار','حزيران','تموز','آب','أيلول','تشرين الأول','تشرين الثاني','كانون الأول'],['كانون الثاني','شباط','آذار','نيسان','أيار','حزيران','تموز','آب','أيلول','تشرين الأول','تشرين الثاني','كانون الأول']],[['ك','ش','آ','ن','أ','ح','ت','آ','أ','ت','ت','ك'],['كانون الثاني','شباط','آذار','نيسان','أيار','حزيران','تموز','آب','أيلول','تشرين الأول','تشرين الثاني','كانون الأول'],u],[['ق.م','م'],u,['قبل الميلاد','ميلادي']],6,[5,6],['d\u200f/M\u200f/y','dd\u200f/MM\u200f/y','d MMMM y','EEEE، d MMMM y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1} {0}',u,u,u],['.',',',';','\u200e%\u200e','\u200e+','\u200e-','E','×','‰','∞','ليس رقمًا',':'],['#,##0.###','#,##0%','¤ #,##0.00','#E0'],'IQD','د.ع.\u200f','دينار عراقي',{'AED':['د.إ.\u200f'],'ARS':[u,'AR$'],'AUD':['AU$'],'BBD':[u,'BB$'],'BHD':['د.ب.\u200f'],'BMD':[u,'BM$'],'BND':[u,'BN$'],'BSD':[u,'BS$'],'BZD':[u,'BZ$'],'CAD':['CA$'],'CLP':[u,'CL$'],'CNY':['CN¥'],'COP':[u,'CO$'],'CUP':[u,'CU$'],'DOP':[u,'DO$'],'DZD':['د.ج.\u200f'],'EGP':['ج.م.\u200f','E£'],'FJD':[u,'FJ$'],'GBP':['UK£'],'GYD':[u,'GY$'],'HKD':['HK$'],'IQD':['د.ع.\u200f'],'IRR':['ر.إ.'],'JMD':[u,'JM$'],'JOD':['د.أ.\u200f'],'JPY':['JP¥'],'KWD':['د.ك.\u200f'],'KYD':[u,'KY$'],'LBP':['ل.ل.\u200f','L£'],'LRD':[u,'$LR'],'LYD':['د.ل.\u200f'],'MAD':['د.م.\u200f'],'MRU':['أ.م.'],'MXN':['MX$'],'NZD':['NZ$'],'OMR':['ر.ع.\u200f'],'QAR':['ر.ق.\u200f'],'SAR':['ر.س.\u200f'],'SBD':[u,'SB$'],'SDD':['د.س.\u200f'],'SDG':['ج.س.'],'SRD':[u,'SR$'],'SYP':['ل.س.\u200f','£'],'THB':['฿'],'TND':['د.ت.\u200f'],'TTD':[u,'TT$'],'TWD':['NT$'],'USD':['US$'],'UYU':[u,'UY$'],'XXX':['***'],'YER':['ر.ي.\u200f']},'rtl', plural, [[['فجرًا','صباحًا','ظهرًا','بعد الظهر','مساءً','منتصف الليل','ليلاً'],['فجرًا','ص','ظهرًا','بعد الظهر','مساءً','منتصف الليل','ليلاً'],['فجرًا','صباحًا','ظهرًا','بعد الظهر','مساءً','منتصف الليل','ليلاً']],u,[['03:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','18:00'],['18:00','24:00'],['00:00','01:00'],['01:00','03:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-iq'] = [ + 'ar-IQ', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ] + ], + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + u + ], + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IQD', + 'د.ع.\u200f', + 'دينار عراقي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] + ], + u, + [ + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-JO.js b/packages/common/locales/global/ar-JO.js index df04d870be..2c6c98c9e0 100644 --- a/packages/common/locales/global/ar-JO.js +++ b/packages/common/locales/global/ar-JO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-jo'] = [ - 'ar-JO', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-jo'] = [ + 'ar-JO', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'JOD', + 'د.أ.\u200f', + 'دينار أردني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], - [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'JOD', - 'د.أ.\u200f', - 'دينار أردني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-KM.js b/packages/common/locales/global/ar-KM.js index 62150af6f4..73fe106732 100644 --- a/packages/common/locales/global/ar-KM.js +++ b/packages/common/locales/global/ar-KM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,116 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-km'] = [ - 'ar-KM', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-km'] = [ + 'ar-KM', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'KMF', + 'CF', + 'فرنك جزر القمر', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KMF': ['CF'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'KMF', - 'CF', - 'فرنك جزر القمر', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KMF': ['CF'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-KW.js b/packages/common/locales/global/ar-KW.js index b0f4919386..c5ca0ee3fc 100644 --- a/packages/common/locales/global/ar-KW.js +++ b/packages/common/locales/global/ar-KW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-kw'] = [ - 'ar-KW', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-kw'] = [ + 'ar-KW', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'KWD', + 'د.ك.\u200f', + 'دينار كويتي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'KWD', - 'د.ك.\u200f', - 'دينار كويتي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-LB.js b/packages/common/locales/global/ar-LB.js index 6d808580ff..43740981ee 100644 --- a/packages/common/locales/global/ar-LB.js +++ b/packages/common/locales/global/ar-LB.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,114 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-lb'] = [ - 'ar-LB', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-lb'] = [ + 'ar-LB', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'LBP', + 'ل.ل.\u200f', + 'جنيه لبناني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], - [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'LBP', - 'ل.ل.\u200f', - 'جنيه لبناني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-LY.js b/packages/common/locales/global/ar-LY.js index 3493caa11b..a2bb200762 100644 --- a/packages/common/locales/global/ar-LY.js +++ b/packages/common/locales/global/ar-LY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,144 +10,119 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ly'] = [ - 'ar-LY', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ly'] = [ + 'ar-LY', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], - u, + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'LYD', + 'د.ل.\u200f', + 'دينار ليبي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ل'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'LYD', - 'د.ل.\u200f', - 'دينار ليبي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ل' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-MA.js b/packages/common/locales/global/ar-MA.js index 1147e34b11..78daf65932 100644 --- a/packages/common/locales/global/ar-MA.js +++ b/packages/common/locales/global/ar-MA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ma'] = [ - 'ar-MA', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ma'] = [ + 'ar-MA', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'م', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', + 'نونبر', 'دجنبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MAD', + 'د.م.\u200f', + 'درهم مغربي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'م', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', - 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MAD', - 'د.م.\u200f', - 'درهم مغربي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-MR.js b/packages/common/locales/global/ar-MR.js index 1aabaeb4a6..7bc511fe15 100644 --- a/packages/common/locales/global/ar-MR.js +++ b/packages/common/locales/global/ar-MR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-mr'] = [ - 'ar-MR', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-mr'] = [ + 'ar-MR', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'إ', 'و', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', + 'نوفمبر', 'دجمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MRU', + 'أ.م.', + 'أوقية موريتانية', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'إ', 'و', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', - 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MRU', - 'أ.م.', - 'أوقية موريتانية', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-OM.js b/packages/common/locales/global/ar-OM.js index fae36199b8..414585fd08 100644 --- a/packages/common/locales/global/ar-OM.js +++ b/packages/common/locales/global/ar-OM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-om'] = [ - 'ar-OM', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-om'] = [ + 'ar-OM', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'OMR', + 'ر.ع.\u200f', + 'ريال عماني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'OMR', - 'ر.ع.\u200f', - 'ريال عماني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-PS.js b/packages/common/locales/global/ar-PS.js index 4d26adce61..b8acec8c66 100644 --- a/packages/common/locales/global/ar-PS.js +++ b/packages/common/locales/global/ar-PS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ps'] = [ - 'ar-PS', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ps'] = [ + 'ar-PS', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'ILS', + '₪', + 'شيكل إسرائيلي جديد', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], - [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'ILS', - '₪', - 'شيكل إسرائيلي جديد', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-QA.js b/packages/common/locales/global/ar-QA.js index d2eab7bbea..ec0bb90a18 100644 --- a/packages/common/locales/global/ar-QA.js +++ b/packages/common/locales/global/ar-QA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-qa'] = [ - 'ar-QA', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-qa'] = [ + 'ar-QA', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'QAR', + 'ر.ق.\u200f', + 'ريال قطري', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'QAR', - 'ر.ق.\u200f', - 'ريال قطري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-SA.js b/packages/common/locales/global/ar-SA.js index c1b189ca85..21c7b1721b 100644 --- a/packages/common/locales/global/ar-SA.js +++ b/packages/common/locales/global/ar-SA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,141 +10,119 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-sa'] = [ - 'ar-SA', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-sa'] = [ + 'ar-SA', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' ], - u, + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 0, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '٪', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SAR', + 'ر.س.\u200f', + 'ريال سعودي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ل'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 0, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '٪', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SAR', - 'ر.س.\u200f', - 'ريال سعودي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ل' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] + ], + [ + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-SD.js b/packages/common/locales/global/ar-SD.js index 6b7060f6a7..b6706f1616 100644 --- a/packages/common/locales/global/ar-SD.js +++ b/packages/common/locales/global/ar-SD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-sd'] = [ - 'ar-SD', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-sd'] = [ + 'ar-SD', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SDG', + 'ج.س.', + 'جنيه سوداني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SDG', - 'ج.س.', - 'جنيه سوداني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-SO.js b/packages/common/locales/global/ar-SO.js index 489a94418f..e9a88007b1 100644 --- a/packages/common/locales/global/ar-SO.js +++ b/packages/common/locales/global/ar-SO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,129 +10,116 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-so'] = [ - 'ar-SO', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-so'] = [ + 'ar-SO', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '٪', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SOS', + 'S', + 'شلن صومالي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SOS': ['S'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '٪', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SOS', - 'S', - 'شلن صومالي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SOS': ['S'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-SS.js b/packages/common/locales/global/ar-SS.js index 007be5fddb..d708a81cda 100644 --- a/packages/common/locales/global/ar-SS.js +++ b/packages/common/locales/global/ar-SS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,116 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ss'] = [ - 'ar-SS', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ss'] = [ + 'ar-SS', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SSP', + '£', + 'جنيه جنوب السودان', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['GB£', 'UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SSP': ['£'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SSP', - '£', - 'جنيه جنوب السودان', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['GB£', 'UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SSP': ['£'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-SY.js b/packages/common/locales/global/ar-SY.js index d800ae1645..0adf776c93 100644 --- a/packages/common/locales/global/ar-SY.js +++ b/packages/common/locales/global/ar-SY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,132 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-sy'] = [ - 'ar-SY', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-sy'] = [ + 'ar-SY', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', + 'تشرين الأول', 'تشرين الثاني', 'كانون الأول' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SYP', + 'ل.س.\u200f', + 'ليرة سورية', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], - [ - 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', - 'كانون الأول' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SYP', - 'ل.س.\u200f', - 'ليرة سورية', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-TD.js b/packages/common/locales/global/ar-TD.js index 2ae8956f31..a7a08c9da1 100644 --- a/packages/common/locales/global/ar-TD.js +++ b/packages/common/locales/global/ar-TD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-td'] = [ - 'ar-TD', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-td'] = [ + 'ar-TD', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'فرنك وسط أفريقي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'فرنك وسط أفريقي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-TN.js b/packages/common/locales/global/ar-TN.js index a139f1aa48..5cd7b79796 100644 --- a/packages/common/locales/global/ar-TN.js +++ b/packages/common/locales/global/ar-TN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-tn'] = [ - 'ar-TN', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-tn'] = [ + 'ar-TN', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 1, + [6, 0], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'TND', + 'د.ت.\u200f', + 'دينار تونسي', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], - [ - 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', - 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 1, - [6, 0], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - ',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'TND', - 'د.ت.\u200f', - 'دينار تونسي', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar-YE.js b/packages/common/locales/global/ar-YE.js index a424bfeec6..685d0837f3 100644 --- a/packages/common/locales/global/ar-YE.js +++ b/packages/common/locales/global/ar-YE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar-ye'] = [ - 'ar-YE', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar-ye'] = [ + 'ar-YE', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 0, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'YER', + 'ر.ي.\u200f', + 'ريال يمني', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 0, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'YER', - 'ر.ي.\u200f', - 'ريال يمني', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ar.js b/packages/common/locales/global/ar.js index a3b36fc52c..09bcaf856e 100644 --- a/packages/common/locales/global/ar.js +++ b/packages/common/locales/global/ar.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,131 +10,115 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; - return 5; - } - global.ng.common.locales['ar'] = [ - 'ar', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4; + return 5; +} +global.ng.common.locales['ar'] = [ + 'ar', + [['ص', 'م'], u, u], + [['ص', 'م'], u, ['صباحًا', 'مساءً']], + [ + ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, + ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + ], + u, + [ + ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - [ - 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', - 'الجمعة', 'السبت' - ], - u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', + 'نوفمبر', 'ديسمبر' + ], + u + ], + u, + [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], + 6, + [5, 6], + ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'EGP', + 'ج.م.\u200f', + 'جنيه مصري', + { + 'AED': ['د.إ.\u200f'], + 'ARS': [u, 'AR$'], + 'AUD': ['AU$'], + 'BBD': [u, 'BB$'], + 'BHD': ['د.ب.\u200f'], + 'BMD': [u, 'BM$'], + 'BND': [u, 'BN$'], + 'BSD': [u, 'BS$'], + 'BZD': [u, 'BZ$'], + 'CAD': ['CA$'], + 'CLP': [u, 'CL$'], + 'CNY': ['CN¥'], + 'COP': [u, 'CO$'], + 'CUP': [u, 'CU$'], + 'DOP': [u, 'DO$'], + 'DZD': ['د.ج.\u200f'], + 'EGP': ['ج.م.\u200f', 'E£'], + 'FJD': [u, 'FJ$'], + 'GBP': ['UK£'], + 'GYD': [u, 'GY$'], + 'HKD': ['HK$'], + 'IQD': ['د.ع.\u200f'], + 'IRR': ['ر.إ.'], + 'JMD': [u, 'JM$'], + 'JOD': ['د.أ.\u200f'], + 'JPY': ['JP¥'], + 'KWD': ['د.ك.\u200f'], + 'KYD': [u, 'KY$'], + 'LBP': ['ل.ل.\u200f', 'L£'], + 'LRD': [u, '$LR'], + 'LYD': ['د.ل.\u200f'], + 'MAD': ['د.م.\u200f'], + 'MRU': ['أ.م.'], + 'MXN': ['MX$'], + 'NZD': ['NZ$'], + 'OMR': ['ر.ع.\u200f'], + 'QAR': ['ر.ق.\u200f'], + 'SAR': ['ر.س.\u200f'], + 'SBD': [u, 'SB$'], + 'SDD': ['د.س.\u200f'], + 'SDG': ['ج.س.'], + 'SRD': [u, 'SR$'], + 'SYP': ['ل.س.\u200f', '£'], + 'THB': ['฿'], + 'TND': ['د.ت.\u200f'], + 'TTD': [u, 'TT$'], + 'TWD': ['NT$'], + 'USD': ['US$'], + 'UYU': [u, 'UY$'], + 'XXX': ['***'], + 'YER': ['ر.ي.\u200f'] + }, + 'rtl', + plural, + [ + [ + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'], + ['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'] ], u, [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', - 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', - 'ليس رقمًا', ':' - ], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EGP', - 'ج.م.\u200f', - 'جنيه مصري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural, - [ - [ - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'ص', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ], - [ - 'فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', - 'منتصف الليل', 'ليلاً' - ] - ], - u, - [ - ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] - ] + ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '01:00'], ['01:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/as.js b/packages/common/locales/global/as.js index 9ee490fd81..bf2bfd6b04 100644 --- a/packages/common/locales/global/as.js +++ b/packages/common/locales/global/as.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,69 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['as'] = [ - 'as', - [['পূৰ্বাহ্ন', 'অপৰাহ্ন'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['as'] = [ + 'as', + [['পূৰ্বাহ্ন', 'অপৰাহ্ন'], u, u], + u, + [ + ['দ', 'স', 'ম', 'ব', 'ব', 'শ', 'শ'], ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', 'শনি'], + ['দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', 'বৃহস্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ'], + ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', 'শনি'] + ], + u, + [ + ['জ', 'ফ', 'ম', 'এ', 'ম', 'জ', 'জ', 'আ', 'ছ', 'অ', 'ন', 'ড'], + ['জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগ', 'ছেপ্তে', 'অক্টো', 'নৱে', 'ডিচে'], [ - ['দ', 'স', 'ম', 'ব', 'ব', 'শ', 'শ'], - [ - 'দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', - 'শনি' - ], - [ - 'দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', - 'বুধবাৰ', 'বৃহস্পতিবাৰ', 'শুক্ৰবাৰ', - 'শনিবাৰ' - ], - [ - 'দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্ৰ', - 'শনি' - ] - ], - u, - [ - ['জ', 'ফ', 'ম', 'এ', 'ম', 'জ', 'জ', 'আ', 'ছ', 'অ', 'ন', 'ড'], - [ - 'জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', - 'জুন', 'জুলাই', 'আগ', 'ছেপ্তে', 'অক্টো', - 'নৱে', 'ডিচে' - ], - [ - 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', - 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগষ্ট', - 'ছেপ্তেম্বৰ', 'অক্টোবৰ', 'নৱেম্বৰ', - 'ডিচেম্বৰ' - ] - ], - u, - [ - ['খ্ৰীঃ পূঃ', 'খ্ৰীঃ'], u, - ['খ্ৰীষ্টপূৰ্ব', 'খ্ৰীষ্টাব্দ'] - ], - 0, - [0, 0], - ['d-M-y', 'dd-MM-y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['a h.mm', 'a h.mm.ss', 'a h.mm.ss z', 'a h.mm.ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'INR', - '₹', - 'ভাৰতীয় ৰুপী', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', 'এপ্ৰিল', 'মে’', 'জুন', 'জুলাই', 'আগষ্ট', 'ছেপ্তেম্বৰ', 'অক্টোবৰ', + 'নৱেম্বৰ', 'ডিচেম্বৰ' + ] + ], + u, + [['খ্ৰীঃ পূঃ', 'খ্ৰীঃ'], u, ['খ্ৰীষ্টপূৰ্ব', 'খ্ৰীষ্টাব্দ']], + 0, + [0, 0], + ['d-M-y', 'dd-MM-y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['a h.mm', 'a h.mm.ss', 'a h.mm.ss z', 'a h.mm.ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], + 'INR', + '₹', + 'ভাৰতীয় ৰুপী', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/asa.js b/packages/common/locales/global/asa.js index fbb1bfeb4e..96538ece70 100644 --- a/packages/common/locales/global/asa.js +++ b/packages/common/locales/global/asa.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['asa'] = [ - 'asa', - [['icheheavo', 'ichamthi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['asa'] = [ + 'asa', + [['icheheavo', 'ichamthi'], u, u], + u, + [ + ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'], [ - ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KM', 'BM'], u, ['Kabla yakwe Yethu', 'Baada yakwe Yethu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'TZS', - 'TSh', - 'shilingi ya Tandhania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['KM', 'BM'], u, ['Kabla yakwe Yethu', 'Baada yakwe Yethu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'TZS', + 'TSh', + 'shilingi ya Tandhania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ast.js b/packages/common/locales/global/ast.js index 0a9c664f00..cfd91bda37 100644 --- a/packages/common/locales/global/ast.js +++ b/packages/common/locales/global/ast.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ast'] = [ - 'ast', - [['a', 'p'], ['AM', 'PM'], ['de la mañana', 'de la tarde']], - [['a', 'p'], ['AM', 'PM'], ['mañana', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ast'] = [ + 'ast', + [['a', 'p'], ['AM', 'PM'], ['de la mañana', 'de la tarde']], + [['a', 'p'], ['AM', 'PM'], ['mañana', 'tarde']], + [ + ['D', 'L', 'M', 'M', 'X', 'V', 'S'], ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'], + ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'], + ['do', 'll', 'ma', 'mi', 'xu', 'vi', 'sá'] + ], + u, + [ + ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], + ['xin', 'feb', 'mar', 'abr', 'may', 'xun', 'xnt', 'ago', 'set', 'och', 'pay', 'avi'], [ - ['D', 'L', 'M', 'M', 'X', 'V', 'S'], ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'], - ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'], - ['do', 'll', 'ma', 'mi', 'xu', 'vi', 'sá'] - ], - u, + 'de xineru', 'de febreru', 'de marzu', 'd’abril', 'de mayu', 'de xunu', 'de xunetu', + 'd’agostu', 'de setiembre', 'd’ochobre', 'de payares', 'd’avientu' + ] + ], + [ + ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], + ['Xin', 'Feb', 'Mar', 'Abr', 'May', 'Xun', 'Xnt', 'Ago', 'Set', 'Och', 'Pay', 'Avi'], [ - ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], - ['xin', 'feb', 'mar', 'abr', 'may', 'xun', 'xnt', 'ago', 'set', 'och', 'pay', 'avi'], - [ - 'de xineru', 'de febreru', 'de marzu', 'd’abril', 'de mayu', 'de xunu', 'de xunetu', - 'd’agostu', 'de setiembre', 'd’ochobre', 'de payares', 'd’avientu' - ] - ], - [ - ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], - ['Xin', 'Feb', 'Mar', 'Abr', 'May', 'Xun', 'Xnt', 'Ago', 'Set', 'Och', 'Pay', 'Avi'], - [ - 'xineru', 'febreru', 'marzu', 'abril', 'mayu', 'xunu', 'xunetu', 'agostu', 'setiembre', - 'ochobre', 'payares', 'avientu' - ] - ], - [['e.C.', 'd.C.'], u, ['enantes de Cristu', 'después de Cristu']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ND', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BYN': [], - 'DKK': [], - 'HRK': [], - 'ISK': [], - 'NOK': [], - 'PLN': [], - 'RUR': [], - 'SEK': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [] - }, - 'ltr', - plural, - [] - ]; + 'xineru', 'febreru', 'marzu', 'abril', 'mayu', 'xunu', 'xunetu', 'agostu', 'setiembre', + 'ochobre', 'payares', 'avientu' + ] + ], + [['e.C.', 'd.C.'], u, ['enantes de Cristu', 'después de Cristu']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ND', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'BYN': [], + 'DKK': [], + 'HRK': [], + 'ISK': [], + 'NOK': [], + 'PLN': [], + 'RUR': [], + 'SEK': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/az-Cyrl.js b/packages/common/locales/global/az-Cyrl.js index b89692d60f..c71fc2add5 100644 --- a/packages/common/locales/global/az-Cyrl.js +++ b/packages/common/locales/global/az-Cyrl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['az-cyrl'] = [ - 'az-Cyrl', - [['а', 'п'], ['АМ', 'ПМ'], u], - [['АМ', 'ПМ'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['az-cyrl'] = [ + 'az-Cyrl', + [['а', 'п'], ['АМ', 'ПМ'], u], + [['АМ', 'ПМ'], u, u], + [ + ['7', '1', '2', '3', '4', '5', '6'], ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], + ['базар', 'базар ертәси', 'чәршәнбә ахшамы', 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә'], + ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', 'окт', 'ној', 'дек'], [ - ['7', '1', '2', '3', '4', '5', '6'], - ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], - [ - 'базар', 'базар ертәси', 'чәршәнбә ахшамы', - 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә' - ], - ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', - 'окт', 'ној', 'дек' - ], - [ - 'јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', - 'август', 'сентјабр', 'октјабр', 'нојабр', 'декабр' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', - 'окт', 'ној', 'дек' - ], - [ - 'Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', 'Ијул', - 'Август', 'Сентјабр', 'Октјабр', 'Нојабр', 'Декабр' - ] - ], - [['е.ә.', 'ј.е.'], u, ['ерамыздан әввәл', 'јени ера']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AZN', - '₼', - 'AZN', - {'AZN': ['₼'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'ҝеҹәјары', 'ҝ', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', - 'ахшам', 'ҝеҹә' - ], - [ - 'ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', - 'ахшамүстү', 'ахшам', 'ҝеҹә' - ], - u - ], - [ - [ - 'ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', - 'ахшамүстү', 'ахшам', 'ҝеҹә' - ], - u, u - ], - [ - '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], - ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] - ] + 'јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', 'август', 'сентјабр', 'октјабр', + 'нојабр', 'декабр' ] - ]; + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', 'окт', 'ној', 'дек'], + [ + 'Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', 'Ијул', 'Август', 'Сентјабр', 'Октјабр', + 'Нојабр', 'Декабр' + ] + ], + [['е.ә.', 'ј.е.'], u, ['ерамыздан әввәл', 'јени ера']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AZN', + '₼', + 'AZN', + {'AZN': ['₼'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['ҝеҹәјары', 'ҝ', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], + ['ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], u + ], + [['ҝеҹәјары', 'ҝүнорта', 'сүбһ', 'сәһәр', 'ҝүндүз', 'ахшамүстү', 'ахшам', 'ҝеҹә'], u, u], + [ + '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], + ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/az-Latn.js b/packages/common/locales/global/az-Latn.js index c001130b9e..e66077ed17 100644 --- a/packages/common/locales/global/az-Latn.js +++ b/packages/common/locales/global/az-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,77 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['az-latn'] = [ - 'az-Latn', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['az-latn'] = [ + 'az-Latn', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], + ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] + ], + [ + ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], + ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], [ - ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], - ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] - ], - [ - ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], - ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', - 'noyabr', 'dekabr' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', - 'Oktyabr', 'Noyabr', 'dekabr' - ] - ], - [['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AZN', - '₼', - 'Azərbaycan Manatı', - { - 'AZN': ['₼'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'ley'], - 'SYP': [u, 'S£'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], - [ - 'gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', - 'gecə' - ], - u - ], - [ - [ - 'gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', - 'gecə' - ], - u, u - ], - [ - '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], - ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] - ] + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', + 'noyabr', 'dekabr' ] - ]; + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + [ + 'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', + 'Noyabr', 'dekabr' + ] + ], + [['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AZN', + '₼', + 'Azərbaycan Manatı', + { + 'AZN': ['₼'], + 'JPY': ['JP¥', '¥'], + 'RON': [u, 'ley'], + 'SYP': [u, 'S£'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], + ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u + ], + [['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u, u], + [ + '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], + ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/az.js b/packages/common/locales/global/az.js index 334cd9dd20..ff0bc05095 100644 --- a/packages/common/locales/global/az.js +++ b/packages/common/locales/global/az.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,77 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['az'] = [ - 'az', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['az'] = [ + 'az', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], + ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] + ], + [ + ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'], + ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], [ - ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], - ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] - ], - [ - ['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], - [ - 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', - 'cümə', 'şənbə' - ], - ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', - 'noyabr', 'dekabr' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', - 'Oktyabr', 'Noyabr', 'dekabr' - ] - ], - [['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AZN', - '₼', - 'Azərbaycan Manatı', - { - 'AZN': ['₼'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'ley'], - 'SYP': [u, 'S£'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], - [ - 'gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', - 'gecə' - ], - u - ], - [ - [ - 'gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', - 'gecə' - ], - u, u - ], - [ - '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], - ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] - ] + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', + 'noyabr', 'dekabr' ] - ]; + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + [ + 'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', + 'Noyabr', 'dekabr' + ] + ], + [['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AZN', + '₼', + 'Azərbaycan Manatı', + { + 'AZN': ['₼'], + 'JPY': ['JP¥', '¥'], + 'RON': [u, 'ley'], + 'SYP': [u, 'S£'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['gecəyarı', 'g', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], + ['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u + ], + [['gecəyarı', 'günorta', 'sübh', 'səhər', 'gündüz', 'axşamüstü', 'axşam', 'gecə'], u, u], + [ + '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '17:00'], + ['17:00', '19:00'], ['19:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bas.js b/packages/common/locales/global/bas.js index aceccdc63c..467032fe8b 100644 --- a/packages/common/locales/global/bas.js +++ b/packages/common/locales/global/bas.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['bas'] = [ - 'bas', - [['I bikɛ̂glà', 'I ɓugajɔp'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['bas'] = [ + 'bas', + [['I bikɛ̂glà', 'I ɓugajɔp'], u, u], + u, + [ + ['n', 'n', 'u', 'ŋ', 'm', 'k', 'j'], ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], + ['ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', 'ŋgwà kɔɔ', 'ŋgwà jôn'], + ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'] + ], + u, + [ + ['k', 'm', 'm', 'm', 'm', 'h', 'n', 'h', 'd', 'b', 'm', 'l'], + ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'], [ - ['n', 'n', 'u', 'ŋ', 'm', 'k', 'j'], ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], - [ - 'ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', - 'ŋgwà kɔɔ', 'ŋgwà jôn' - ], - ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'] - ], - u, - [ - ['k', 'm', 'm', 'm', 'm', 'h', 'n', 'h', 'd', 'b', 'm', 'l'], - ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'], - [ - 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', - 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Màyɛsèp', 'Lìbuy li ńyèe' - ] - ], - u, - [['b.Y.K', 'm.Y.K'], u, ['bisū bi Yesù Krǐstò', 'i mbūs Yesù Krǐstò']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Frǎŋ CFA (BEAC)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', + 'Màyɛsèp', 'Lìbuy li ńyèe' + ] + ], + u, + [['b.Y.K', 'm.Y.K'], u, ['bisū bi Yesù Krǐstò', 'i mbūs Yesù Krǐstò']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Frǎŋ CFA (BEAC)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/be.js b/packages/common/locales/global/be.js index 618da2dbff..fd0132e83f 100644 --- a/packages/common/locales/global/be.js +++ b/packages/common/locales/global/be.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,104 +10,89 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n % 10 === 1 && !(n % 100 === 11)) return 1; - if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 && - !(n % 100 >= 12 && n % 100 <= 14)) - return 3; - if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 || - n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['be'] = [ - 'be', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n % 10 === 1 && !(n % 100 === 11)) return 1; + if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 && + !(n % 100 >= 12 && n % 100 <= 14)) + return 3; + if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 || + n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['be'] = [ + 'be', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'], + ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'] + ], + u, + [ + ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + ['сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], [ - ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], - ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], - [ - 'нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', - 'пятніца', 'субота' - ], - ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'] - ], - u, + 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', + 'верасня', 'кастрычніка', 'лістапада', 'снежня' + ] + ], + [ + ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + ['сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], [ - ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], - [ - 'сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', - 'кас', 'ліс', 'сне' - ], - [ - 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', - 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', - 'кастрычніка', 'лістапада', 'снежня' - ] - ], - [ - ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], - [ - 'сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', - 'кас', 'ліс', 'сне' - ], - [ - 'студзень', 'люты', 'сакавік', 'красавік', 'май', - 'чэрвень', 'ліпень', 'жнівень', 'верасень', - 'кастрычнік', 'лістапад', 'снежань' - ] - ], - [ - ['да н.э.', 'н.э.'], u, - ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова'] - ], - 1, - [6, 0], - ['d.MM.yy', 'd.MM.y', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss, zzzz'], - ['{1}, {0}', u, '{1} \'у\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'BYN', - 'Br', - 'беларускі рубель', - { - 'AUD': ['A$'], - 'BBD': [u, 'Bds$'], - 'BMD': [u, 'BD$'], - 'BRL': [u, 'R$'], - 'BSD': [u, 'B$'], - 'BYN': ['Br'], - 'BZD': [u, 'BZ$'], - 'CAD': [u, 'CA$'], - 'CUC': [u, 'CUC$'], - 'CUP': [u, '$MN'], - 'DOP': [u, 'RD$'], - 'FJD': [u, 'FJ$'], - 'FKP': [u, 'FK£'], - 'GYD': [u, 'G$'], - 'ISK': [u, 'Íkr'], - 'JMD': [u, 'J$'], - 'KYD': [u, 'CI$'], - 'LRD': [u, 'L$'], - 'MXN': ['MX$'], - 'NAD': [u, 'N$'], - 'NZD': [u, 'NZ$'], - 'RUB': ['₽', 'руб.'], - 'SBD': [u, 'SI$'], - 'SGD': [u, 'S$'], - 'TTD': [u, 'TT$'], - 'UYU': [u, '$U'], - 'XCD': ['EC$'] - }, - 'ltr', - plural, - [] - ]; + 'студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', + 'кастрычнік', 'лістапад', 'снежань' + ] + ], + [['да н.э.', 'н.э.'], u, ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова']], + 1, + [6, 0], + ['d.MM.yy', 'd.MM.y', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss, zzzz'], + ['{1}, {0}', u, '{1} \'у\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BYN', + 'Br', + 'беларускі рубель', + { + 'AUD': ['A$'], + 'BBD': [u, 'Bds$'], + 'BMD': [u, 'BD$'], + 'BRL': [u, 'R$'], + 'BSD': [u, 'B$'], + 'BYN': ['Br'], + 'BZD': [u, 'BZ$'], + 'CAD': [u, 'CA$'], + 'CUC': [u, 'CUC$'], + 'CUP': [u, '$MN'], + 'DOP': [u, 'RD$'], + 'FJD': [u, 'FJ$'], + 'FKP': [u, 'FK£'], + 'GYD': [u, 'G$'], + 'ISK': [u, 'Íkr'], + 'JMD': [u, 'J$'], + 'KYD': [u, 'CI$'], + 'LRD': [u, 'L$'], + 'MXN': ['MX$'], + 'NAD': [u, 'N$'], + 'NZD': [u, 'NZ$'], + 'RUB': ['₽', 'руб.'], + 'SBD': [u, 'SI$'], + 'SGD': [u, 'S$'], + 'TTD': [u, 'TT$'], + 'UYU': [u, '$U'], + 'XCD': ['EC$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bem.js b/packages/common/locales/global/bem.js index 55d87dbeef..68925df516 100644 --- a/packages/common/locales/global/bem.js +++ b/packages/common/locales/global/bem.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['bem'] = [ - 'bem', - [['uluchelo', 'akasuba'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['bem'] = [ + 'bem', + [['uluchelo', 'akasuba'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', - 'Pachibelushi' - ], - u, u + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' ], - u, + u, u + ], + u, + [ + ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'], [ - ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'], - [ - 'Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', - 'Oktoba', 'Novemba', 'Disemba' - ] - ], - u, - [['BC', 'AD'], u, ['Before Yesu', 'After Yesu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZMW', - 'K', - 'ZMW', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZMW': ['K', 'ZK']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', + 'Oktoba', 'Novemba', 'Disemba' + ] + ], + u, + [['BC', 'AD'], u, ['Before Yesu', 'After Yesu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZMW', + 'K', + 'ZMW', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZMW': ['K', 'ZK']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bez.js b/packages/common/locales/global/bez.js index 10172145da..84fd45a574 100644 --- a/packages/common/locales/global/bez.js +++ b/packages/common/locales/global/bez.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['bez'] = [ - 'bez', - [['pamilau', 'pamunyi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['bez'] = [ + 'bez', + [['pamilau', 'pamunyi'], u, u], + u, + [ + ['M', 'J', 'H', 'H', 'H', 'W', 'J'], ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], [ - ['M', 'J', 'H', 'H', 'H', 'W', 'J'], ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], - [ - 'pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', - 'pa shahulembela' - ], - ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'] + 'pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', + 'pa shahulembela' ], - u, + ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'] + ], + u, + [ + ['H', 'V', 'D', 'T', 'H', 'S', 'S', 'N', 'T', 'K', 'K', 'K'], + ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'], [ - ['H', 'V', 'D', 'T', 'H', 'S', 'S', 'N', 'T', 'K', 'K', 'K'], - ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'], - [ - 'pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', - 'pa mwedzi gwa wutai', 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', - 'pa mwedzi gwa nane', 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', - 'pa mwedzi gwa kumi na moja', 'pa mwedzi gwa kumi na mbili' - ] - ], - u, - [['KM', 'BM'], u, ['Kabla ya Mtwaa', 'Baada ya Mtwaa']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Hutanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', 'pa mwedzi gwa wutai', + 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', 'pa mwedzi gwa nane', + 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', 'pa mwedzi gwa kumi na moja', + 'pa mwedzi gwa kumi na mbili' + ] + ], + u, + [['KM', 'BM'], u, ['Kabla ya Mtwaa', 'Baada ya Mtwaa']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Hutanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bg.js b/packages/common/locales/global/bg.js index e5bb8ce111..0bb752d059 100644 --- a/packages/common/locales/global/bg.js +++ b/packages/common/locales/global/bg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,124 +10,109 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['bg'] = [ - 'bg', - [['am', 'pm'], u, ['пр.об.', 'сл.об.']], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['bg'] = [ + 'bg', + [['am', 'pm'], u, ['пр.об.', 'сл.об.']], + [['am', 'pm'], u, u], + [ + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'], + ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + u, + [ + ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], + ['яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'], [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'неделя', 'понеделник', 'вторник', 'сряда', - 'четвъртък', 'петък', 'събота' - ], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - u, - [ - ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], - [ - 'яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', - 'окт', 'ное', 'дек' - ], - [ - 'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', - 'август', 'септември', 'октомври', 'ноември', - 'декември' - ] - ], - u, - [['пр.Хр.', 'сл.Хр.'], u, ['преди Христа', 'след Христа']], - 1, - [6, 0], - ['d.MM.yy \'г\'.', 'd.MM.y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '0.00 ¤', '#E0'], - 'BGN', - 'лв.', - 'Български лев', - { - 'ARS': [], - 'AUD': [], - 'BBD': [], - 'BDT': [], - 'BGN': ['лв.'], - 'BMD': [], - 'BND': [], - 'BRL': [], - 'BSD': [], - 'BYN': [], - 'BZD': [], - 'CAD': [], - 'CLP': [], - 'CNY': [], - 'COP': [], - 'CRC': [], - 'CUP': [], - 'DOP': [], - 'FJD': [], - 'FKP': [], - 'GBP': [u, '£'], - 'GIP': [], - 'GYD': [], - 'HKD': [], - 'ILS': [], - 'INR': [], - 'JMD': [], - 'JPY': [u, '¥'], - 'KHR': [], - 'KRW': [], - 'KYD': [], - 'KZT': [], - 'LAK': [], - 'LRD': [], - 'MNT': [], - 'MXN': [], - 'NAD': [], - 'NGN': [], - 'NZD': [], - 'PHP': [], - 'PYG': [], - 'RON': [], - 'SBD': [], - 'SGD': [], - 'SRD': [], - 'SSP': [], - 'TRY': [], - 'TTD': [], - 'TWD': [], - 'UAH': [], - 'USD': ['щ.д.', '$'], - 'UYU': [], - 'VND': [], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - [ - 'полунощ', 'сутринта', 'на обяд', 'следобед', - 'вечерта', 'през нощта' - ], - u, u - ], - u, - [ - '00:00', ['04:00', '11:00'], ['11:00', '14:00'], ['14:00', '18:00'], ['18:00', '22:00'], - ['22:00', '04:00'] - ] + 'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', + 'ноември', 'декември' ] - ]; + ], + u, + [['пр.Хр.', 'сл.Хр.'], u, ['преди Христа', 'след Христа']], + 1, + [6, 0], + ['d.MM.yy \'г\'.', 'd.MM.y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '0.00 ¤', '#E0'], + 'BGN', + 'лв.', + 'Български лев', + { + 'ARS': [], + 'AUD': [], + 'BBD': [], + 'BDT': [], + 'BGN': ['лв.'], + 'BMD': [], + 'BND': [], + 'BRL': [], + 'BSD': [], + 'BYN': [], + 'BZD': [], + 'CAD': [], + 'CLP': [], + 'CNY': [], + 'COP': [], + 'CRC': [], + 'CUP': [], + 'DOP': [], + 'FJD': [], + 'FKP': [], + 'GBP': [u, '£'], + 'GIP': [], + 'GYD': [], + 'HKD': [], + 'ILS': [], + 'INR': [], + 'JMD': [], + 'JPY': [u, '¥'], + 'KHR': [], + 'KRW': [], + 'KYD': [], + 'KZT': [], + 'LAK': [], + 'LRD': [], + 'MNT': [], + 'MXN': [], + 'NAD': [], + 'NGN': [], + 'NZD': [], + 'PHP': [], + 'PYG': [], + 'RON': [], + 'SBD': [], + 'SGD': [], + 'SRD': [], + 'SSP': [], + 'TRY': [], + 'TTD': [], + 'TWD': [], + 'UAH': [], + 'USD': ['щ.д.', '$'], + 'UYU': [], + 'VND': [], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [['полунощ', 'сутринта', 'на обяд', 'следобед', 'вечерта', 'през нощта'], u, u], u, + [ + '00:00', ['04:00', '11:00'], ['11:00', '14:00'], ['14:00', '18:00'], ['18:00', '22:00'], + ['22:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bm.js b/packages/common/locales/global/bm.js index 72375841f7..b7375ec145 100644 --- a/packages/common/locales/global/bm.js +++ b/packages/common/locales/global/bm.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['bm'] = [ - 'bm', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['bm'] = [ + 'bm', + [['AM', 'PM'], u, u], + u, + [ + ['K', 'N', 'T', 'A', 'A', 'J', 'S'], ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], + ['kari', 'ntɛnɛ', 'tarata', 'araba', 'alamisa', 'juma', 'sibiri'], + ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'] + ], + u, + [ + ['Z', 'F', 'M', 'A', 'M', 'Z', 'Z', 'U', 'S', 'Ɔ', 'N', 'D'], + ['zan', 'feb', 'mar', 'awi', 'mɛ', 'zuw', 'zul', 'uti', 'sɛt', 'ɔku', 'now', 'des'], [ - ['K', 'N', 'T', 'A', 'A', 'J', 'S'], ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], - ['kari', 'ntɛnɛ', 'tarata', 'araba', 'alamisa', 'juma', 'sibiri'], - ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'] - ], - u, - [ - ['Z', 'F', 'M', 'A', 'M', 'Z', 'Z', 'U', 'S', 'Ɔ', 'N', 'D'], - ['zan', 'feb', 'mar', 'awi', 'mɛ', 'zuw', 'zul', 'uti', 'sɛt', 'ɔku', 'now', 'des'], - [ - 'zanwuye', 'feburuye', 'marisi', 'awirili', 'mɛ', 'zuwɛn', 'zuluye', 'uti', 'sɛtanburu', - 'ɔkutɔburu', 'nowanburu', 'desanburu' - ] - ], - u, - [['J.-C. ɲɛ', 'ni J.-C.'], u, ['jezu krisiti ɲɛ', 'jezu krisiti minkɛ']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XOF', - 'CFA', - 'sefa Fraŋ (BCEAO)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'zanwuye', 'feburuye', 'marisi', 'awirili', 'mɛ', 'zuwɛn', 'zuluye', 'uti', 'sɛtanburu', + 'ɔkutɔburu', 'nowanburu', 'desanburu' + ] + ], + u, + [['J.-C. ɲɛ', 'ni J.-C.'], u, ['jezu krisiti ɲɛ', 'jezu krisiti minkɛ']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XOF', + 'CFA', + 'sefa Fraŋ (BCEAO)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bn-IN.js b/packages/common/locales/global/bn-IN.js index b0acd07684..14e5787c0a 100644 --- a/packages/common/locales/global/bn-IN.js +++ b/packages/common/locales/global/bn-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,104 +10,69 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['bn-in'] = [ - 'bn-IN', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['bn-in'] = [ + 'bn-IN', + [['AM', 'PM'], u, u], + u, + [ + ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'], + ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'], + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] + ], + u, + [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], - [ - 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', - 'শুক্র', 'শনি' - ], - [ - 'রবিবার', 'সোমবার', 'মঙ্গলবার', - 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', - 'শনিবার' - ], - ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] - ], - u, - [ - [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', - 'অ', 'ন', 'ডি' - ], - [ - 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', - 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', - 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' - ] + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' ], [ - [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', - 'অ', 'ন', 'ডি' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' - ], - u - ], - [ - ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, - ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], - 'INR', - '₹', - 'ভারতীয় রুপি', - {'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রি' - ], - u, - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রিতে' - ] - ], - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রি' - ], - u, u - ], - [ - ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], - ['18:00', '20:00'], ['20:00', '04:00'] - ] + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ] - ]; + ], + [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], + [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' + ], + u + ], + [['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ']], + 0, + [0, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], + 'INR', + '₹', + 'ভারতীয় রুপি', + {'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রিতে'] + ], + [['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, u], + [ + ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], + ['18:00', '20:00'], ['20:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bn.js b/packages/common/locales/global/bn.js index feecae0005..04c9ac6b43 100644 --- a/packages/common/locales/global/bn.js +++ b/packages/common/locales/global/bn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,104 +10,69 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['bn'] = [ - 'bn', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['bn'] = [ + 'bn', + [['AM', 'PM'], u, u], + u, + [ + ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'], + ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'], + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] + ], + u, + [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], [ - ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], - [ - 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', - 'শুক্র', 'শনি' - ], - [ - 'রবিবার', 'সোমবার', 'মঙ্গলবার', - 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', - 'শনিবার' - ], - ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] - ], - u, - [ - [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', - 'অ', 'ন', 'ডি' - ], - [ - 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', - 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', - 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' - ] + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' ], [ - [ - 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', - 'অ', 'ন', 'ডি' - ], - [ - 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', - 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', - 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', - 'ডিসেম্বর' - ], - u - ], - [ - ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, - ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ'] - ], - 0, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], - 'BDT', - '৳', - 'বাংলাদেশী টাকা', - {'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রি' - ], - u, - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রিতে' - ] - ], - [ - [ - 'ভোর', 'সকাল', 'দুপুর', 'বিকাল', - 'সন্ধ্যা', 'রাত্রি' - ], - u, u - ], - [ - ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], - ['18:00', '20:00'], ['20:00', '04:00'] - ] + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' ] - ]; + ], + [ + ['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'], + [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', + 'নভেম্বর', 'ডিসেম্বর' + ], + u + ], + [['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ']], + 0, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], + 'BDT', + '৳', + 'বাংলাদেশী টাকা', + {'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, + ['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রিতে'] + ], + [['ভোর', 'সকাল', 'দুপুর', 'বিকাল', 'সন্ধ্যা', 'রাত্রি'], u, u], + [ + ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], + ['18:00', '20:00'], ['20:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bo-IN.js b/packages/common/locales/global/bo-IN.js index e72f00df2a..dea603af34 100644 --- a/packages/common/locales/global/bo-IN.js +++ b/packages/common/locales/global/bo-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['bo-in'] = [ - 'bo-IN', - [['སྔ་དྲོ་', 'ཕྱི་དྲོ་'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['bo-in'] = [ + 'bo-IN', + [['སྔ་དྲོ་', 'ཕྱི་དྲོ་'], u, u], + u, + [ + ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'], + ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ], - [ - 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', - 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', - 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', - 'གཟའ་སྤེན་པ་' - ], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ] - ], - u, + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', + 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ' + ] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', - 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', - 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', - 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', - 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', - 'ཟླ་བ་བཅུ་གཅིག་པ', - 'ཟླ་བ་བཅུ་གཉིས་པ' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', - 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', - 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', - 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', - 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', - 'ཟླ་བ་བཅུ་གཅིག་པ་', - 'ཟླ་བ་བཅུ་གཉིས་པ་' - ] - ], - [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], - 0, - [0, 0], - [ - 'y-MM-dd', 'y ལོའི་MMMཚེས་d', - 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE' - ], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'INR', - '₹', - 'རྒྱ་གར་སྒོར་', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', + 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་' + ] + ], + [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], + 0, + [0, 0], + ['y-MM-dd', 'y ལོའི་MMMཚེས་d', 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'INR', + '₹', + 'རྒྱ་གར་སྒོར་', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bo.js b/packages/common/locales/global/bo.js index 9eef9ff0c3..e4417a95af 100644 --- a/packages/common/locales/global/bo.js +++ b/packages/common/locales/global/bo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['bo'] = [ - 'bo', - [['སྔ་དྲོ་', 'ཕྱི་དྲོ་'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['bo'] = [ + 'bo', + [['སྔ་དྲོ་', 'ཕྱི་དྲོ་'], u, u], + u, + [ + ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'], + ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'], + ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - ['ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན'], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ], - [ - 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', - 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', - 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', - 'གཟའ་སྤེན་པ་' - ], - [ - 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', - 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' - ] - ], - u, + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', + 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ' + ] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', - 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', - 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', - 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', - 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', - 'ཟླ་བ་བཅུ་གཅིག་པ', - 'ཟླ་བ་བཅུ་གཉིས་པ' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', - 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', - 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', - 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', - 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', - 'ཟླ་བ་བཅུ་གཅིག་པ་', - 'ཟླ་བ་བཅུ་གཉིས་པ་' - ] - ], - [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], - 0, - [6, 0], - [ - 'y-MM-dd', 'y ལོའི་MMMཚེས་d', - 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE' - ], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'CNY', - '¥', - 'ཡུ་ཨན་', - {'CNY': ['¥'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', + 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་' + ] + ], + [['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], u, u], + 0, + [6, 0], + ['y-MM-dd', 'y ལོའི་MMMཚེས་d', 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', 'y MMMMའི་ཚེས་d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'CNY', + '¥', + 'ཡུ་ཨན་', + {'CNY': ['¥'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/br.js b/packages/common/locales/global/br.js index 42bc652c2e..360519f801 100644 --- a/packages/common/locales/global/br.js +++ b/packages/common/locales/global/br.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return 1; - if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return 2; - if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) && - !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 || - n % 100 >= 90 && n % 100 <= 99)) - return 3; - if (!(n === 0) && n % 1e6 === 0) return 4; - return 5; - } - global.ng.common.locales['br'] = [ - 'br', - [['am', 'gm'], ['A.M.', 'G.M.'], u], - [['A.M.', 'G.M.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return 1; + if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return 2; + if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) && + !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 || + n % 100 >= 90 && n % 100 <= 99)) + return 3; + if (!(n === 0) && n % 1e6 === 0) return 4; + return 5; +} +global.ng.common.locales['br'] = [ + 'br', + [['am', 'gm'], ['A.M.', 'G.M.'], u], + [['A.M.', 'G.M.'], u, u], + [ + ['Su', 'L', 'Mz', 'Mc', 'Y', 'G', 'Sa'], ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], + ['Sul', 'Lun', 'Meurzh', 'Mercʼher', 'Yaou', 'Gwener', 'Sadorn'], + ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'] + ], + u, + [ + ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], [ - ['Su', 'L', 'Mz', 'Mc', 'Y', 'G', 'Sa'], - ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], - ['Sul', 'Lun', 'Meurzh', 'Mercʼher', 'Yaou', 'Gwener', 'Sadorn'], - ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'] + 'Gen.', 'Cʼhwe.', 'Meur.', 'Ebr.', 'Mae', 'Mezh.', 'Goue.', 'Eost', 'Gwen.', 'Here', 'Du', + 'Kzu.' ], - u, [ - ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], - [ - 'Gen.', 'Cʼhwe.', 'Meur.', 'Ebr.', 'Mae', 'Mezh.', 'Goue.', 'Eost', 'Gwen.', 'Here', 'Du', - 'Kzu.' - ], - [ - 'Genver', 'Cʼhwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', 'Gwengolo', - 'Here', 'Du', 'Kerzu' - ] - ], - u, - [['a-raok J.K.', 'goude J.K.'], u, ['a-raok Jezuz-Krist', 'goude Jezuz-Krist']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1}, {0}', '{1} \'da\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['$A', '$'], - 'BRL': [u, 'R$'], - 'CAD': ['$CA', '$'], - 'CNY': [u, '¥'], - 'EGP': [u, '£ E'], - 'GBP': ['£ RU', '£'], - 'HKD': ['$ HK', '$'], - 'ILS': [u, '₪'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'LBP': [u, '£L'], - 'NZD': ['$ ZN', '$'], - 'TOP': [u, '$ T'], - 'TWD': [u, '$'], - 'USD': ['$ SU', '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'], - 'XXX': [] - }, - 'ltr', - plural, - [] - ]; + 'Genver', 'Cʼhwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', 'Gwengolo', + 'Here', 'Du', 'Kerzu' + ] + ], + u, + [['a-raok J.K.', 'goude J.K.'], u, ['a-raok Jezuz-Krist', 'goude Jezuz-Krist']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'da\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['$A', '$'], + 'BRL': [u, 'R$'], + 'CAD': ['$CA', '$'], + 'CNY': [u, '¥'], + 'EGP': [u, '£ E'], + 'GBP': ['£ RU', '£'], + 'HKD': ['$ HK', '$'], + 'ILS': [u, '₪'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'LBP': [u, '£L'], + 'NZD': ['$ ZN', '$'], + 'TOP': [u, '$ T'], + 'TWD': [u, '$'], + 'USD': ['$ SU', '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/brx.js b/packages/common/locales/global/brx.js index 80445432a8..6cc04b3c04 100644 --- a/packages/common/locales/global/brx.js +++ b/packages/common/locales/global/brx.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['brx'] = [ - 'brx', - [['फुं', 'बेलासे'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['brx'] = [ + 'brx', + [['फुं', 'बेलासे'], u, u], + u, + [ + ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'], + ['रबिबार', 'समबार', 'मंगलबार', 'बुदबार', 'बिसथिबार', 'सुखुरबार', 'सुनिबार'], + ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'] + ], + u, + [ + ['ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', 'न', 'दि'], [ - ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], - [ - 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', - 'सुनि' - ], - [ - 'रबिबार', 'समबार', 'मंगलबार', 'बुदबार', - 'बिसथिबार', 'सुखुरबार', 'सुनिबार' - ], - [ - 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', - 'सुनि' - ] + 'जानुवारी', 'फेब्रुवारी', 'मार्स', 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'दिसेज्ब़र' ], - u, - [ - [ - 'ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', - 'न', 'दि' - ], - [ - 'जानुवारी', 'फेब्रुवारी', 'मार्स', - 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', - 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', - 'दिसेज्ब़र' - ], - u - ], - u, - [['ईसा.पूर्व', 'सन'], u, u], - 0, - [0, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'INR', - '₹', - 'रां', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['ईसा.पूर्व', 'सन'], u, u], + 0, + [0, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], + 'INR', + '₹', + 'रां', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bs-Cyrl.js b/packages/common/locales/global/bs-Cyrl.js index 224c86112c..37a5f9ae02 100644 --- a/packages/common/locales/global/bs-Cyrl.js +++ b/packages/common/locales/global/bs-Cyrl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,81 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['bs-cyrl'] = [ - 'bs-Cyrl', +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['bs-cyrl'] = [ + 'bs-Cyrl', + [['пре подне', 'поподне'], u, ['прије подне', 'послије подне']], + u, + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + ['недјеља', 'понедјељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], + ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'ауг', 'сеп', 'окт', 'нов', 'дец'], [ - ['пре подне', 'поподне'], u, - ['прије подне', 'послије подне'] - ], - u, - [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедјељак', 'уторак', 'сриједа', - 'четвртак', 'петак', 'субота' - ], - ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'ауг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', - 'јули', 'аугуст', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'BAM', - 'КМ', - 'Конвертибилна марка', - { - 'BAM': ['КМ', 'KM'], - 'CZK': ['Кч', 'Kč'], - 'PLN': ['зл', 'zł'], - 'RSD': ['дин.'], - 'TRY': ['Тл', '₺'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'ујутру', 'у подне', 'увече', 'ноћу'], u, - u - ], - [ - [ - 'поноћ', 'подне', 'јутро', 'послийеподне', 'вече', 'ноћ' - ], - u, u - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', 'јули', 'аугуст', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'BAM', + 'КМ', + 'Конвертибилна марка', + { + 'BAM': ['КМ', 'KM'], + 'CZK': ['Кч', 'Kč'], + 'PLN': ['зл', 'zł'], + 'RSD': ['дин.'], + 'TRY': ['Тл', '₺'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [['поноћ', 'подне', 'ујутру', 'у подне', 'увече', 'ноћу'], u, u], + [['поноћ', 'подне', 'јутро', 'послийеподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bs-Latn.js b/packages/common/locales/global/bs-Latn.js index d53e41a4e5..569b4be23c 100644 --- a/packages/common/locales/global/bs-Latn.js +++ b/packages/common/locales/global/bs-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,25 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) - return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['bs-latn'] = ['bs-Latn',[['prijepodne','popodne'],['AM','PM'],['prijepodne','popodne']],u,[['N','P','U','S','Č','P','S'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['n','p','u','s','č','p','s'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['j','f','m','a','m','j','j','a','s','o','n','d'],['jan','feb','mar','apr','maj','jun','jul','aug','sep','okt','nov','dec'],['januar','februar','mart','april','maj','juni','juli','august','septembar','oktobar','novembar','decembar']],u,[['p.n.e.','n.e.'],['p. n. e.','n. e.'],['prije nove ere','nove ere']],1,[6,0],['d. M. y.','d. MMM y.','d. MMMM y.','EEEE, d. MMMM y.'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'u\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'BAM','KM','Bosanskohercegovačka konvertibilna marka',{'AUD':[u,'$'],'BAM':['KM'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'GBP':[u,'£'],'HKD':[u,'$'],'HRK':['kn'],'ILS':[u,'₪'],'MXN':[u,'$'],'NZD':[u,'$'],'RSD':['din.'],'THB':['฿'],'TWD':['NT$'],'USD':[u,'$'],'XCD':[u,'$'],'XPF':[]},'ltr', plural, [[['ponoć','podne','ujutro','poslijepodne','navečer','po noći'],u,u],u,['00:00','12:00',['04:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','04:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['bs-latn'] = [ + 'bs-Latn', + [['prijepodne', 'popodne'], ['AM', 'PM'], ['prijepodne', 'popodne']], + u, + [ + ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', + 'novembar', 'decembar' + ] + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], + 1, + [6, 0], + ['d. M. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'u\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BAM', + 'KM', + 'Bosanskohercegovačka konvertibilna marka', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'HRK': ['kn'], + 'ILS': [u, '₪'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RSD': ['din.'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': [u, '$'], + 'XCD': [u, '$'], + 'XPF': [] + }, + 'ltr', + plural, + [ + [['ponoć', 'podne', 'ujutro', 'poslijepodne', 'navečer', 'po noći'], u, u], u, + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/bs.js b/packages/common/locales/global/bs.js index fac88cea2f..6078fd53dc 100644 --- a/packages/common/locales/global/bs.js +++ b/packages/common/locales/global/bs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,25 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) - return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['bs'] = ['bs',[['prijepodne','popodne'],['AM','PM'],['prijepodne','popodne']],u,[['N','P','U','S','Č','P','S'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['n','p','u','s','č','p','s'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['j','f','m','a','m','j','j','a','s','o','n','d'],['jan','feb','mar','apr','maj','jun','jul','aug','sep','okt','nov','dec'],['januar','februar','mart','april','maj','juni','juli','august','septembar','oktobar','novembar','decembar']],u,[['p.n.e.','n.e.'],['p. n. e.','n. e.'],['prije nove ere','nove ere']],1,[6,0],['d. M. y.','d. MMM y.','d. MMMM y.','EEEE, d. MMMM y.'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'u\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'BAM','KM','Bosanskohercegovačka konvertibilna marka',{'AUD':[u,'$'],'BAM':['KM'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'GBP':[u,'£'],'HKD':[u,'$'],'HRK':['kn'],'ILS':[u,'₪'],'MXN':[u,'$'],'NZD':[u,'$'],'RSD':['din.'],'THB':['฿'],'TWD':['NT$'],'USD':[u,'$'],'XCD':[u,'$'],'XPF':[]},'ltr', plural, [[['ponoć','podne','ujutro','poslijepodne','navečer','po noći'],u,u],u,['00:00','12:00',['04:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','04:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['bs'] = [ + 'bs', + [['prijepodne', 'popodne'], ['AM', 'PM'], ['prijepodne', 'popodne']], + u, + [ + ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', + 'novembar', 'decembar' + ] + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], + 1, + [6, 0], + ['d. M. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'u\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BAM', + 'KM', + 'Bosanskohercegovačka konvertibilna marka', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'HRK': ['kn'], + 'ILS': [u, '₪'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RSD': ['din.'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': [u, '$'], + 'XCD': [u, '$'], + 'XPF': [] + }, + 'ltr', + plural, + [ + [['ponoć', 'podne', 'ujutro', 'poslijepodne', 'navečer', 'po noći'], u, u], u, + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ca-AD.js b/packages/common/locales/global/ca-AD.js index 2ba18a2495..c0c8da0ced 100644 --- a/packages/common/locales/global/ca-AD.js +++ b/packages/common/locales/global/ca-AD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ca-ad'] = ['ca-AD',[['a. m.','p. m.'],u,u],u,[['dg','dl','dt','dc','dj','dv','ds'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.'],['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.']],u,[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['de gen.','de febr.','de març','d’abr.','de maig','de juny','de jul.','d’ag.','de set.','d’oct.','de nov.','de des.'],['de gener','de febrer','de març','d’abril','de maig','de juny','de juliol','d’agost','de setembre','d’octubre','de novembre','de desembre']],[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['gen.','febr.','març','abr.','maig','juny','jul.','ag.','set.','oct.','nov.','des.'],['gener','febrer','març','abril','maig','juny','juliol','agost','setembre','octubre','novembre','desembre']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['d/M/yy','d MMM y','d MMMM \'de\' y','EEEE, d MMMM \'de\' y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}','{1}, {0}','{1} \'a\' \'les\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AUD':['AU$','$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'MXN':[u,'$'],'THB':['฿'],'USD':[u,'$'],'VEF':[u,'Bs F'],'XCD':[u,'$'],'XXX':[]},'ltr', plural, [[['mitjanit','mat.','matí','md','tarda','vespre','nit'],['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u],[['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','19:00'],['19:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ca-ad'] = [ + 'ca-AD', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'], + ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'] + ], + u, + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + ], + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' + ], + [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', + 'novembre', 'desembre' + ] + ], + [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'MXN': [u, '$'], + 'THB': ['฿'], + 'USD': [u, '$'], + 'VEF': [u, 'Bs F'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mitjanit', 'mat.', 'matí', 'md', 'tarda', 'vespre', 'nit'], + ['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u + ], + [['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ca-ES-VALENCIA.js b/packages/common/locales/global/ca-ES-VALENCIA.js index 4a7def3856..8271eccbd9 100644 --- a/packages/common/locales/global/ca-ES-VALENCIA.js +++ b/packages/common/locales/global/ca-ES-VALENCIA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ca-es-valencia'] = ['ca-ES-VALENCIA',[['a. m.','p. m.'],u,u],u,[['dg','dl','dt','dc','dj','dv','ds'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.'],['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.']],u,[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['de gen.','de febr.','de març','d’abr.','de maig','de juny','de jul.','d’ag.','de set.','d’oct.','de nov.','de des.'],['de gener','de febrer','de març','d’abril','de maig','de juny','de juliol','d’agost','de setembre','d’octubre','de novembre','de desembre']],[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['gen.','febr.','març','abr.','maig','juny','jul.','ag.','set.','oct.','nov.','des.'],['gener','febrer','març','abril','maig','juny','juliol','agost','setembre','octubre','novembre','desembre']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['d/M/yy','d MMM y','d MMMM \'de\' y','EEEE, d MMMM \'de\' y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}','{1}, {0}','{1} \'a\' \'les\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AUD':['AU$','$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'MXN':[u,'$'],'THB':['฿'],'USD':[u,'$'],'VEF':[u,'Bs F'],'XCD':[u,'$'],'XXX':[]},'ltr', plural, [[['mitjanit','mat.','matí','md','tarda','vespre','nit'],['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u],[['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','19:00'],['19:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ca-es-valencia'] = [ + 'ca-ES-VALENCIA', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'], + ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'] + ], + u, + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + ], + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' + ], + [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', + 'novembre', 'desembre' + ] + ], + [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'MXN': [u, '$'], + 'THB': ['฿'], + 'USD': [u, '$'], + 'VEF': [u, 'Bs F'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mitjanit', 'mat.', 'matí', 'md', 'tarda', 'vespre', 'nit'], + ['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u + ], + [['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ca-FR.js b/packages/common/locales/global/ca-FR.js index c3a416eaec..c0ee04fbee 100644 --- a/packages/common/locales/global/ca-FR.js +++ b/packages/common/locales/global/ca-FR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,85 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ca-fr'] = ['ca-FR',[['a. m.','p. m.'],u,u],u,[['dg','dl','dt','dc','dj','dv','ds'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.'],['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.']],u,[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['de gen.','de febr.','de març','d’abr.','de maig','de juny','de jul.','d’ag.','de set.','d’oct.','de nov.','de des.'],['de gener','de febrer','de març','d’abril','de maig','de juny','de juliol','d’agost','de setembre','d’octubre','de novembre','de desembre']],[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['gen.','febr.','març','abr.','maig','juny','jul.','ag.','set.','oct.','nov.','des.'],['gener','febrer','març','abril','maig','juny','juliol','agost','setembre','octubre','novembre','desembre']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['d/M/yy','d MMM y','d MMMM \'de\' y','EEEE, d MMMM \'de\' y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}','{1}, {0}','{1} \'a\' \'les\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AUD':['AU$','$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'FRF':['F'],'MXN':[u,'$'],'THB':['฿'],'USD':[u,'$'],'VEF':[u,'Bs F'],'XCD':[u,'$'],'XXX':[]},'ltr', plural, [[['mitjanit','mat.','matí','md','tarda','vespre','nit'],['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u],[['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','19:00'],['19:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ca-fr'] = [ + 'ca-FR', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'], + ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'] + ], + u, + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + ], + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' + ], + [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', + 'novembre', 'desembre' + ] + ], + [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'FRF': ['F'], + 'MXN': [u, '$'], + 'THB': ['฿'], + 'USD': [u, '$'], + 'VEF': [u, 'Bs F'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mitjanit', 'mat.', 'matí', 'md', 'tarda', 'vespre', 'nit'], + ['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u + ], + [['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ca-IT.js b/packages/common/locales/global/ca-IT.js index 81c1a67557..54802d85b1 100644 --- a/packages/common/locales/global/ca-IT.js +++ b/packages/common/locales/global/ca-IT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ca-it'] = ['ca-IT',[['a. m.','p. m.'],u,u],u,[['dg','dl','dt','dc','dj','dv','ds'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.'],['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.']],u,[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['de gen.','de febr.','de març','d’abr.','de maig','de juny','de jul.','d’ag.','de set.','d’oct.','de nov.','de des.'],['de gener','de febrer','de març','d’abril','de maig','de juny','de juliol','d’agost','de setembre','d’octubre','de novembre','de desembre']],[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['gen.','febr.','març','abr.','maig','juny','jul.','ag.','set.','oct.','nov.','des.'],['gener','febrer','març','abril','maig','juny','juliol','agost','setembre','octubre','novembre','desembre']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['d/M/yy','d MMM y','d MMMM \'de\' y','EEEE, d MMMM \'de\' y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}','{1}, {0}','{1} \'a\' \'les\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AUD':['AU$','$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'MXN':[u,'$'],'THB':['฿'],'USD':[u,'$'],'VEF':[u,'Bs F'],'XCD':[u,'$'],'XXX':[]},'ltr', plural, [[['mitjanit','mat.','matí','md','tarda','vespre','nit'],['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u],[['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','19:00'],['19:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ca-it'] = [ + 'ca-IT', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'], + ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'] + ], + u, + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + ], + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' + ], + [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', + 'novembre', 'desembre' + ] + ], + [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'MXN': [u, '$'], + 'THB': ['฿'], + 'USD': [u, '$'], + 'VEF': [u, 'Bs F'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mitjanit', 'mat.', 'matí', 'md', 'tarda', 'vespre', 'nit'], + ['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u + ], + [['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ca.js b/packages/common/locales/global/ca.js index 47a968af35..6aa49ec29a 100644 --- a/packages/common/locales/global/ca.js +++ b/packages/common/locales/global/ca.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ca'] = ['ca',[['a. m.','p. m.'],u,u],u,[['dg','dl','dt','dc','dj','dv','ds'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.'],['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],['dg.','dl.','dt.','dc.','dj.','dv.','ds.']],u,[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['de gen.','de febr.','de març','d’abr.','de maig','de juny','de jul.','d’ag.','de set.','d’oct.','de nov.','de des.'],['de gener','de febrer','de març','d’abril','de maig','de juny','de juliol','d’agost','de setembre','d’octubre','de novembre','de desembre']],[['GN','FB','MÇ','AB','MG','JN','JL','AG','ST','OC','NV','DS'],['gen.','febr.','març','abr.','maig','juny','jul.','ag.','set.','oct.','nov.','des.'],['gener','febrer','març','abril','maig','juny','juliol','agost','setembre','octubre','novembre','desembre']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['d/M/yy','d MMM y','d MMMM \'de\' y','EEEE, d MMMM \'de\' y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}','{1}, {0}','{1} \'a\' \'les\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AUD':['AU$','$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'MXN':[u,'$'],'THB':['฿'],'USD':[u,'$'],'VEF':[u,'Bs F'],'XCD':[u,'$'],'XXX':[]},'ltr', plural, [[['mitjanit','mat.','matí','md','tarda','vespre','nit'],['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u],[['mitjanit','matinada','matí','migdia','tarda','vespre','nit'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','19:00'],['19:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ca'] = [ + 'ca', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'], + ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'] + ], + u, + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost', + 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + ], + [ + ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.' + ], + [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', + 'novembre', 'desembre' + ] + ], + [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'MXN': [u, '$'], + 'THB': ['฿'], + 'USD': [u, '$'], + 'VEF': [u, 'Bs F'], + 'XCD': [u, '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mitjanit', 'mat.', 'matí', 'md', 'tarda', 'vespre', 'nit'], + ['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u + ], + [['mitjanit', 'matinada', 'matí', 'migdia', 'tarda', 'vespre', 'nit'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ccp-IN.js b/packages/common/locales/global/ccp-IN.js index edc5814355..1c4bf80448 100644 --- a/packages/common/locales/global/ccp-IN.js +++ b/packages/common/locales/global/ccp-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,69 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ccp-in'] = [ - 'ccp-IN', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ccp-in'] = [ + 'ccp-IN', + [['AM', 'PM'], u, u], + u, + [ + ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'], + ['𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴'], + ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'] + ], + u, + [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ], - [ - '𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', - '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', - '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴' - ], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ] - ], - u, - [ - [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', - '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', - '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' - ] + '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' ], [ - [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' - ], - u - ], - [ - [ - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧' - ], - u, u - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], - 'INR', - '₹', - '𑄃𑄨𑄚𑄴𑄘𑄨𑄠𑄚𑄴 𑄢𑄪𑄛𑄨', - { - 'BDT': ['৳'], - 'JPY': ['JP¥', '¥'], - 'STD': [u, 'Db'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - [ - '𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', - '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', - '𑄢𑄬𑄖𑄴' - ], - u, u - ], - u, - [ - ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], - ['18:00', '20:00'], ['20:00', '04:00'] - ] + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ] - ]; + ], + [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], + [ + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' + ], + u + ], + [['𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧'], u, u], + 0, + [0, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], + 'INR', + '₹', + '𑄃𑄨𑄚𑄴𑄘𑄨𑄠𑄚𑄴 𑄢𑄪𑄛𑄨', + { + 'BDT': ['৳'], + 'JPY': ['JP¥', '¥'], + 'STD': [u, 'Db'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [['𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', '𑄢𑄬𑄖𑄴'], u, u], u, + [ + ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], + ['18:00', '20:00'], ['20:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ccp.js b/packages/common/locales/global/ccp.js index 658bae826e..0e81600299 100644 --- a/packages/common/locales/global/ccp.js +++ b/packages/common/locales/global/ccp.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,69 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ccp'] = [ - 'ccp', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ccp'] = [ + 'ccp', + [['AM', 'PM'], u, u], + u, + [ + ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'], + ['𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴'], + ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'] + ], + u, + [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], [ - ['𑄢𑄧', '𑄥𑄧', '𑄟𑄧', '𑄝𑄪', '𑄝𑄳𑄢𑄨', '𑄥𑄪', '𑄥𑄧'], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ], - [ - '𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', - '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', - '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴' - ], - [ - '𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', - '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨' - ] - ], - u, - [ - [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', - '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', - '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' - ] + '𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴' ], [ - [ - '𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', - '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨' - ], - [ - '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', - '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', - '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', - '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', - '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' - ], - u - ], - [ - [ - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', - '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧' - ], - u, u - ], - 0, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], - 'BDT', - '৳', - '𑄝𑄁𑄣𑄘𑄬𑄥𑄨 𑄑𑄬𑄋', - { - 'BDT': ['৳'], - 'JPY': ['JP¥', '¥'], - 'STD': [u, 'Db'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - [ - '𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', - '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', - '𑄢𑄬𑄖𑄴' - ], - u, u - ], - u, - [ - ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], - ['18:00', '20:00'], ['20:00', '04:00'] - ] + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' ] - ]; + ], + [ + ['𑄎', '𑄜𑄬', '𑄟', '𑄃𑄬', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪', '𑄃', '𑄥𑄬', '𑄃𑄧', '𑄚𑄧', '𑄓𑄨'], + [ + '𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣𑄭', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴', + '𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴' + ], + u + ], + [['𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄴𑄛𑄫𑄢𑄴𑄝𑄧', '𑄈𑄳𑄢𑄨𑄌𑄴𑄑𑄛𑄴𑄘𑄧'], u, u], + 0, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], + 'BDT', + '৳', + '𑄝𑄁𑄣𑄘𑄬𑄥𑄨 𑄑𑄬𑄋', + { + 'BDT': ['৳'], + 'JPY': ['JP¥', '¥'], + 'STD': [u, 'Db'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [['𑄛𑄧𑄖𑄳𑄠𑄃𑄟𑄧𑄣𑄳𑄠𑄬', '𑄝𑄬𑄚𑄳𑄠𑄬', '𑄘𑄨𑄝𑄪𑄎𑄳𑄠', '𑄝𑄬𑄣𑄳𑄠𑄬', '𑄥𑄎𑄧𑄚𑄳𑄠', '𑄢𑄬𑄖𑄴'], u, u], u, + [ + ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], + ['18:00', '20:00'], ['20:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ce.js b/packages/common/locales/global/ce.js index cffb720673..7382f0d4fc 100644 --- a/packages/common/locales/global/ce.js +++ b/packages/common/locales/global/ce.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,69 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ce'] = [ - 'ce', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ce'] = [ + 'ce', + [['AM', 'PM'], u, u], + u, + [ + ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], u, + ['кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', 'шуот'], + ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] + ], + [ + ['кӀ', 'о', 'ш', 'кх', 'е', 'пӀ', 'ш'], ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], + ['кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', 'шуот'], + ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], [ - ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], u, - [ - 'кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', - 'шуот' - ], - ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] - ], - [ - ['кӀ', 'о', 'ш', 'кх', 'е', 'пӀ', 'ш'], - ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'], - [ - 'кӀира', 'оршот', 'шинара', 'кхаара', 'еара', 'пӀераска', - 'шуот' - ], - ['кӀи', 'ор', 'ши', 'кха', 'еа', 'пӀе', 'шуо'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', - 'окт', 'ноя', 'дек' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - u, - [ - ['в. э. тӀ. я', 'в. э'], u, - [ - 'Ӏийса пайхамар вина де кхачале', - 'Ӏийса пайхамар вина дийнахь дуьйна' - ] - ], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'Терхьаш дац', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RUB', - '₽', - 'Российн сом', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'лей'], 'RUB': ['₽'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + u, + [ + ['в. э. тӀ. я', 'в. э'], u, + ['Ӏийса пайхамар вина де кхачале', 'Ӏийса пайхамар вина дийнахь дуьйна'] + ], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'Терхьаш дац', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'RUB', + '₽', + 'Российн сом', + {'JPY': ['JP¥', '¥'], 'RON': [u, 'лей'], 'RUB': ['₽'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ceb.js b/packages/common/locales/global/ceb.js index 22a96dbfee..f99a3afd4a 100644 --- a/packages/common/locales/global/ceb.js +++ b/packages/common/locales/global/ceb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ceb'] = [ - 'ceb', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ceb'] = [ + 'ceb', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['D', 'L', 'M', 'M', 'H', 'B', 'S'], ['Dom', 'Lun', 'Mar', 'Mks', 'Hu', 'Bi', 'Sa'], + ['Domingo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'], + ['Dom', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'] + ], + u, + [ + ['E', 'P', 'M', 'A', 'M', 'H', 'H', 'A', 'S', 'O', 'N', 'D'], + ['En', 'Peb', 'Mar', 'Apr', 'May', 'Hun', 'Hul', 'Ag', 'Set', 'Okt', 'Nob', 'Dis'], [ - ['D', 'L', 'M', 'M', 'H', 'B', 'S'], ['Dom', 'Lun', 'Mar', 'Mks', 'Hu', 'Bi', 'Sa'], - ['Domingo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'], - ['Dom', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'] - ], - u, - [ - ['E', 'P', 'M', 'A', 'M', 'H', 'H', 'A', 'S', 'O', 'N', 'D'], - ['En', 'Peb', 'Mar', 'Apr', 'May', 'Hun', 'Hul', 'Ag', 'Set', 'Okt', 'Nob', 'Dis'], - [ - 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', - 'Oktubre', 'Nobyembre', 'Disyembre' - ] - ], - u, - [['WK', 'KP'], u, u], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'sa\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,#0%', '¤#,##0.00', '#E0'], - 'PHP', - '₱', - 'Philippine Piso', - {'JPY': ['JP¥', '¥'], 'PHP': ['₱'], 'USD': ['US $', '$']}, - 'ltr', - plural, - [] - ]; + 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', + 'Oktubre', 'Nobyembre', 'Disyembre' + ] + ], + u, + [['WK', 'KP'], u, u], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'sa\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,#0%', '¤#,##0.00', '#E0'], + 'PHP', + '₱', + 'Philippine Piso', + {'JPY': ['JP¥', '¥'], 'PHP': ['₱'], 'USD': ['US $', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/cgg.js b/packages/common/locales/global/cgg.js index 4eb7401e23..c8352cac5b 100644 --- a/packages/common/locales/global/cgg.js +++ b/packages/common/locales/global/cgg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['cgg'] = [ - 'cgg', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['cgg'] = [ + 'cgg', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'K', 'R', 'S', 'N', 'T', 'M'], ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'], + ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], [ - ['S', 'K', 'R', 'S', 'N', 'T', 'M'], ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], - [ - 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', - 'Orwamukaaga' - ], - ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], - [ - 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', - 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', - 'Okwaikumi na ibiri' - ] - ], - u, - [['BC', 'AD'], u, ['Kurisito Atakaijire', 'Kurisito Yaijire']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'UGX', - 'USh', - 'Eshiringi ya Uganda', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + ], + u, + [['BC', 'AD'], u, ['Kurisito Atakaijire', 'Kurisito Yaijire']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'UGX', + 'USh', + 'Eshiringi ya Uganda', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/chr.js b/packages/common/locales/global/chr.js index 761f06bfc4..e18120606b 100644 --- a/packages/common/locales/global/chr.js +++ b/packages/common/locales/global/chr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['chr'] = [ - 'chr', - [['Ꮜ', 'Ꮢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], - [['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], u, ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], - [ - ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], - ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], - [ - 'ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', - 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ' - ], - ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'] - ], - u, - [ - ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], - [ - 'ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', - 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ' - ], - [ - 'ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', - 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ' - ] - ], - u, - [['BC', 'AD'], u, ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} ᎤᎾᎢ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US ᎠᏕᎳ', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural, - [ - [ - ['Ꭲ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], ['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u - ], - [['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u, u], - ['12:00', ['00:00', '12:00'], ['12:00', '24:00']] - ] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['chr'] = [ + 'chr', + [['Ꮜ', 'Ꮢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], + [['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], u, ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], + [ + ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], + ['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'], + ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'] + ], + u, + [ + ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], + ['ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ'], + ['ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ'] + ], + u, + [['BC', 'AD'], u, ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} ᎤᎾᎢ {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US ᎠᏕᎳ', + {'JPY': ['JP¥', '¥']}, + 'ltr', + plural, + [ + [['Ꭲ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], ['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u], [['ᎢᎦ', 'ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ'], u, u], + ['12:00', ['00:00', '12:00'], ['12:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ckb-IR.js b/packages/common/locales/global/ckb-IR.js index d565245c9f..c163620f9c 100644 --- a/packages/common/locales/global/ckb-IR.js +++ b/packages/common/locales/global/ckb-IR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ckb-ir'] = [ - 'ckb-IR', - [['ب.ن', 'د.ن'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ckb-ir'] = [ + 'ckb-IR', + [['ب.ن', 'د.ن'], u, u], + u, + [ + ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'ھەینی', 'شەممە'], u, + ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + ], + u, + [ + ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], [ - ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], - [ - 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', - 'پێنجشەممە', 'ھەینی', 'شەممە' - ], - u, ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', + 'تشرینی یەکەم', 'تشرینی دووەم', 'کانونی یەکەم' ], - u, - [ - ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], - [ - 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', - 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', - 'تشرینی دووەم', 'کانونی یەکەم' - ], - u - ], - u, - [['پێش زایین', 'زایینی'], u, u], - 6, - [5, 5], - ['y-MM-dd', 'y MMM d', 'dی MMMMی y', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IRR', - 'IRR', - 'IRR', - {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['پێش زایین', 'زایینی'], u, u], + 6, + [5, 5], + ['y-MM-dd', 'y MMM d', 'dی MMMMی y', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IRR', + 'IRR', + 'IRR', + {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ckb.js b/packages/common/locales/global/ckb.js index a185b9ecfa..2451fdd995 100644 --- a/packages/common/locales/global/ckb.js +++ b/packages/common/locales/global/ckb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ckb'] = [ - 'ckb', - [['ب.ن', 'د.ن'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ckb'] = [ + 'ckb', + [['ب.ن', 'د.ن'], u, u], + u, + [ + ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'ھەینی', 'شەممە'], u, + ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + ], + u, + [ + ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], [ - ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], - [ - 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', - 'پێنجشەممە', 'ھەینی', 'شەممە' - ], - u, ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'] + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', + 'تشرینی یەکەم', 'تشرینی دووەم', 'کانونی یەکەم' ], - u, - [ - ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], - [ - 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', - 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', - 'تشرینی دووەم', 'کانونی یەکەم' - ], - u - ], - u, - [['پێش زایین', 'زایینی'], u, u], - 6, - [5, 6], - ['y-MM-dd', 'y MMM d', 'dی MMMMی y', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IQD', - 'د.ع.\u200f', - 'IQD', - {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['پێش زایین', 'زایینی'], u, u], + 6, + [5, 6], + ['y-MM-dd', 'y MMM d', 'dی MMMMی y', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IQD', + 'د.ع.\u200f', + 'IQD', + {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/cs.js b/packages/common/locales/global/cs.js index aa9946508c..c9684f7f65 100644 --- a/packages/common/locales/global/cs.js +++ b/packages/common/locales/global/cs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,88 +10,85 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3; - if (!(v === 0)) return 4; - return 5; - } - global.ng.common.locales['cs'] = [ - 'cs', - [['dop.', 'odp.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3; + if (!(v === 0)) return 4; + return 5; +} +global.ng.common.locales['cs'] = [ + 'cs', + [['dop.', 'odp.'], u, u], + u, + [ + ['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], + ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], [ - ['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], - ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], - ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], - [ - 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', - 'září', 'října', 'listopadu', 'prosince' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], - [ - 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', - 'říjen', 'listopad', 'prosinec' - ] - ], - [ - ['př.n.l.', 'n.l.'], ['př. n. l.', 'n. l.'], - ['před naším letopočtem', 'našeho letopočtu'] - ], - 1, - [6, 0], - ['dd.MM.yy', 'd. M. y', 'd. MMMM y', 'EEEE d. MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CZK', - 'Kč', - 'česká koruna', - { - 'AUD': ['AU$', '$'], - 'CSK': ['Kčs'], - 'CZK': ['Kč'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'], - 'XEU': ['ECU'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['půl.', 'pol.', 'r.', 'd.', 'o.', 'v.', 'n.'], - ['půln.', 'pol.', 'r.', 'dop.', 'odp.', 'več.', 'v n.'], - ['půlnoc', 'poledne', 'ráno', 'dopoledne', 'odpoledne', 'večer', 'v noci'] - ], - [ - ['půl.', 'pol.', 'ráno', 'dop.', 'odp.', 'več.', 'noc'], - ['půlnoc', 'poledne', 'ráno', 'dopoledne', 'odpoledne', 'večer', 'noc'], u - ], - [ - '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '22:00'], ['22:00', '04:00'] - ] + 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', + 'listopadu', 'prosince' ] - ]; + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], + [ + 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', + 'listopad', 'prosinec' + ] + ], + [['př.n.l.', 'n.l.'], ['př. n. l.', 'n. l.'], ['před naším letopočtem', 'našeho letopočtu']], + 1, + [6, 0], + ['dd.MM.yy', 'd. M. y', 'd. MMMM y', 'EEEE d. MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CZK', + 'Kč', + 'česká koruna', + { + 'AUD': ['AU$', '$'], + 'CSK': ['Kčs'], + 'CZK': ['Kč'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': ['JP¥', '¥'], + 'RON': [u, 'L'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'], + 'XEU': ['ECU'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['půl.', 'pol.', 'r.', 'd.', 'o.', 'v.', 'n.'], + ['půln.', 'pol.', 'r.', 'dop.', 'odp.', 'več.', 'v n.'], + ['půlnoc', 'poledne', 'ráno', 'dopoledne', 'odpoledne', 'večer', 'v noci'] + ], + [ + ['půl.', 'pol.', 'ráno', 'dop.', 'odp.', 'več.', 'noc'], + ['půlnoc', 'poledne', 'ráno', 'dopoledne', 'odpoledne', 'večer', 'noc'], u + ], + [ + '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '22:00'], ['22:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/cu.js b/packages/common/locales/global/cu.js index 0e413ac445..343d145048 100644 --- a/packages/common/locales/global/cu.js +++ b/packages/common/locales/global/cu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,37 +10,39 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['cu'] = [ - 'cu', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'RUB', - '₽', - 'RUB', - {'JPY': ['JP¥', '¥'], 'RUB': ['₽'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['cu'] = [ + 'cu', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'RUB', + '₽', + 'RUB', + {'JPY': ['JP¥', '¥'], 'RUB': ['₽'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/cy.js b/packages/common/locales/global/cy.js index 0f502e5b9b..154a191e26 100644 --- a/packages/common/locales/global/cy.js +++ b/packages/common/locales/global/cy.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,92 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - if (n === 2) return 2; - if (n === 3) return 3; - if (n === 6) return 4; - return 5; - } - global.ng.common.locales['cy'] = [ - 'cy', - [['b', 'h'], ['AM', 'PM'], ['yb', 'yh']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + if (n === 2) return 2; + if (n === 3) return 3; + if (n === 6) return 4; + return 5; +} +global.ng.common.locales['cy'] = [ + 'cy', + [['b', 'h'], ['AM', 'PM'], ['yb', 'yh']], + [['AM', 'PM'], u, u], + [ + ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwen', 'Sad'], [ - ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwen', 'Sad'], - [ - 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', - 'Dydd Sadwrn' - ], - ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'] + 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', + 'Dydd Sadwrn' ], + ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'] + ], + [ + ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], [ - ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], - [ - 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', - 'Dydd Sadwrn' - ], - ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'] + 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', + 'Dydd Sadwrn' ], + ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'] + ], + [ + ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], + ['Ion', 'Chwef', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], [ - ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], - ['Ion', 'Chwef', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], - [ - 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', - 'Hydref', 'Tachwedd', 'Rhagfyr' - ] - ], - [ - ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], - ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], - [ - 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', - 'Hydref', 'Tachwedd', 'Rhagfyr' - ] - ], - [['C', 'O'], ['CC', 'OC'], ['Cyn Crist', 'Oed Crist']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'am\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'Punt Prydain', - { - 'BDT': [u, 'TK'], - 'BWP': [], - 'HKD': ['HK$'], - 'JPY': ['JP¥', '¥'], - 'KRW': [u, '₩'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural, - [ - [ - ['canol nos', 'canol dydd', 'yn y bore', 'yn y prynhawn', 'min nos'], - ['canol nos', 'canol dydd', 'y bore', 'y prynhawn', 'yr hwyr'], u - ], - [ - ['canol nos', 'canol dydd', 'bore', 'prynhawn', 'min nos'], - ['canol nos', 'canol dydd', 'bore', 'prynhawn', 'yr hwyr'], - ['canol nos', 'canol dydd', 'y bore', 'y prynhawn', 'yr hwyr'] - ], - ['00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00']] + 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', + 'Hydref', 'Tachwedd', 'Rhagfyr' ] - ]; + ], + [ + ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], + ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], + [ + 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', + 'Hydref', 'Tachwedd', 'Rhagfyr' + ] + ], + [['C', 'O'], ['CC', 'OC'], ['Cyn Crist', 'Oed Crist']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'am\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'Punt Prydain', + { + 'BDT': [u, 'TK'], + 'BWP': [], + 'HKD': ['HK$'], + 'JPY': ['JP¥', '¥'], + 'KRW': [u, '₩'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [], + 'ZAR': [], + 'ZMW': [] + }, + 'ltr', + plural, + [ + [ + ['canol nos', 'canol dydd', 'yn y bore', 'yn y prynhawn', 'min nos'], + ['canol nos', 'canol dydd', 'y bore', 'y prynhawn', 'yr hwyr'], u + ], + [ + ['canol nos', 'canol dydd', 'bore', 'prynhawn', 'min nos'], + ['canol nos', 'canol dydd', 'bore', 'prynhawn', 'yr hwyr'], + ['canol nos', 'canol dydd', 'y bore', 'y prynhawn', 'yr hwyr'] + ], + ['00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/da-GL.js b/packages/common/locales/global/da-GL.js index cdf3c8d273..72a79787fc 100644 --- a/packages/common/locales/global/da-GL.js +++ b/packages/common/locales/global/da-GL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), - t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; - if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1; - return 5; - } - global.ng.common.locales['da-gl'] = [ - 'da-GL', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), + t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; + if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1; + return 5; +} +global.ng.common.locales['da-gl'] = [ + 'da-GL', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] + ], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], - ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] - ], - [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr.', - 'dansk krone', - { - 'AUD': ['AU$', '$'], - 'DKK': ['kr.'], - 'ISK': [u, 'kr.'], - 'JPY': ['JP¥', '¥'], - 'NOK': [u, 'kr.'], - 'RON': [u, 'L'], - 'SEK': [u, 'kr.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['midnat', 'om morgenen', 'om formiddagen', 'om eftermiddagen', 'om aftenen', 'om natten'], - u, u - ], - [['midnat', 'morgen', 'formiddag', 'eftermiddag', 'aften', 'nat'], u, u], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], + 1, + [6, 0], + ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1} {0}', u, '{1} \'kl\'. {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DKK', + 'kr.', + 'dansk krone', + { + 'AUD': ['AU$', '$'], + 'DKK': ['kr.'], + 'ISK': [u, 'kr.'], + 'JPY': ['JP¥', '¥'], + 'NOK': [u, 'kr.'], + 'RON': [u, 'L'], + 'SEK': [u, 'kr.'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['midnat', 'om morgenen', 'om formiddagen', 'om eftermiddagen', 'om aftenen', 'om natten'], u, + u + ], + [['midnat', 'morgen', 'formiddag', 'eftermiddag', 'aften', 'nat'], u, u], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/da.js b/packages/common/locales/global/da.js index 0046ebb767..d18f3bf0a2 100644 --- a/packages/common/locales/global/da.js +++ b/packages/common/locales/global/da.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), - t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; - if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1; - return 5; - } - global.ng.common.locales['da'] = [ - 'da', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), + t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; + if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1; + return 5; +} +global.ng.common.locales['da'] = [ + 'da', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] + ], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], - ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] - ], - [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr.', - 'dansk krone', - { - 'AUD': ['AU$', '$'], - 'DKK': ['kr.'], - 'ISK': [u, 'kr.'], - 'JPY': ['JP¥', '¥'], - 'NOK': [u, 'kr.'], - 'RON': [u, 'L'], - 'SEK': [u, 'kr.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['midnat', 'om morgenen', 'om formiddagen', 'om eftermiddagen', 'om aftenen', 'om natten'], - u, u - ], - [['midnat', 'morgen', 'formiddag', 'eftermiddag', 'aften', 'nat'], u, u], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], + 1, + [6, 0], + ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1} {0}', u, '{1} \'kl\'. {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DKK', + 'kr.', + 'dansk krone', + { + 'AUD': ['AU$', '$'], + 'DKK': ['kr.'], + 'ISK': [u, 'kr.'], + 'JPY': ['JP¥', '¥'], + 'NOK': [u, 'kr.'], + 'RON': [u, 'L'], + 'SEK': [u, 'kr.'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['midnat', 'om morgenen', 'om formiddagen', 'om eftermiddagen', 'om aftenen', 'om natten'], u, + u + ], + [['midnat', 'morgen', 'formiddag', 'eftermiddag', 'aften', 'nat'], u, u], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dav.js b/packages/common/locales/global/dav.js index 8be697e5bd..9fe38e24e0 100644 --- a/packages/common/locales/global/dav.js +++ b/packages/common/locales/global/dav.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['dav'] = [ - 'dav', - [['Luma lwa K', 'luma lwa p'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['dav'] = [ + 'dav', + [['Luma lwa K', 'luma lwa p'], u, u], + u, + [ + ['J', 'J', 'K', 'K', 'K', 'K', 'N'], ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], [ - ['J', 'J', 'K', 'K', 'K', 'K', 'N'], ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], - [ - 'Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', - 'Kuramuka kasanu', 'Kifula nguwo' - ], - ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'] + 'Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', + 'Kuramuka kasanu', 'Kifula nguwo' ], - u, + ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'] + ], + u, + [ + ['I', 'K', 'K', 'K', 'K', 'K', 'M', 'W', 'I', 'I', 'I', 'I'], + ['Imb', 'Kaw', 'Kad', 'Kan', 'Kas', 'Kar', 'Mfu', 'Wun', 'Ike', 'Iku', 'Imw', 'Iwi'], [ - ['I', 'K', 'K', 'K', 'K', 'K', 'M', 'W', 'I', 'I', 'I', 'I'], - ['Imb', 'Kaw', 'Kad', 'Kan', 'Kas', 'Kar', 'Mfu', 'Wun', 'Ike', 'Iku', 'Imw', 'Iwi'], - [ - 'Mori ghwa imbiri', 'Mori ghwa kawi', 'Mori ghwa kadadu', 'Mori ghwa kana', - 'Mori ghwa kasanu', 'Mori ghwa karandadu', 'Mori ghwa mfungade', 'Mori ghwa wunyanya', - 'Mori ghwa ikenda', 'Mori ghwa ikumi', 'Mori ghwa ikumi na imweri', 'Mori ghwa ikumi na iwi' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mori ghwa imbiri', 'Mori ghwa kawi', 'Mori ghwa kadadu', 'Mori ghwa kana', + 'Mori ghwa kasanu', 'Mori ghwa karandadu', 'Mori ghwa mfungade', 'Mori ghwa wunyanya', + 'Mori ghwa ikenda', 'Mori ghwa ikumi', 'Mori ghwa ikumi na imweri', 'Mori ghwa ikumi na iwi' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-AT.js b/packages/common/locales/global/de-AT.js index bf064c7b5c..b2e672bb18 100644 --- a/packages/common/locales/global/de-AT.js +++ b/packages/common/locales/global/de-AT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,90 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-at'] = [ - 'de-AT', - [['AM', 'PM'], u, u], - [['vm.', 'nm.'], ['AM', 'PM'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-at'] = [ + 'de-AT', + [['AM', 'PM'], u, u], + [['vm.', 'nm.'], ['AM', 'PM'], u], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':', u, '.'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':', u, '.'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-BE.js b/packages/common/locales/global/de-BE.js index b6b6cde58a..5e562447d5 100644 --- a/packages/common/locales/global/de-BE.js +++ b/packages/common/locales/global/de-BE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-be'] = [ - 'de-BE', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-be'] = [ + 'de-BE', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-CH.js b/packages/common/locales/global/de-CH.js index 7d73241a07..aba2ec95ce 100644 --- a/packages/common/locales/global/de-CH.js +++ b/packages/common/locales/global/de-CH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,94 +10,93 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-ch'] = [ - 'de-CH', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-ch'] = [ + 'de-CH', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'] + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], - 'CHF', - 'CHF', - 'Schweizer Franken', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'EUR': [], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], + 'CHF', + 'CHF', + 'Schweizer Franken', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'EUR': [], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-IT.js b/packages/common/locales/global/de-IT.js index b90769e392..5c074a0882 100644 --- a/packages/common/locales/global/de-IT.js +++ b/packages/common/locales/global/de-IT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,90 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-it'] = [ - 'de-IT', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-it'] = [ + 'de-IT', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-LI.js b/packages/common/locales/global/de-LI.js index 7d82d5a35d..855cc1eb38 100644 --- a/packages/common/locales/global/de-LI.js +++ b/packages/common/locales/global/de-LI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,94 +10,93 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-li'] = [ - 'de-LI', - [['AM', 'PM'], u, u], - [['vm.', 'nm.'], ['AM', 'PM'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-li'] = [ + 'de-LI', + [['AM', 'PM'], u, u], + [['vm.', 'nm.'], ['AM', 'PM'], u], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'CHF', - 'CHF', - 'Schweizer Franken', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'EUR': [u, '€'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'CHF', + 'CHF', + 'Schweizer Franken', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'EUR': [u, '€'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de-LU.js b/packages/common/locales/global/de-LU.js index a9e844a010..a846067d29 100644 --- a/packages/common/locales/global/de-LU.js +++ b/packages/common/locales/global/de-LU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,94 +10,93 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de-lu'] = [ - 'de-LU', - [['vorm.', 'nachm.'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de-lu'] = [ + 'de-LU', + [['vorm.', 'nachm.'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'LUF': ['F'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'LUF': ['F'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/de.js b/packages/common/locales/global/de.js index 1379bbaacf..3b76e41d95 100644 --- a/packages/common/locales/global/de.js +++ b/packages/common/locales/global/de.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['de'] = [ - 'de', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['de'] = [ + 'de', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], + ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' ], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], - ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'um\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural, - [ - [ - ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, - ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] - ], - [ - ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, - ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], - ['18:00', '24:00'], ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', + 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'um\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'ATS': ['öS'], + 'AUD': ['AU$', '$'], + 'BGM': ['BGK'], + 'BGO': ['BGJ'], + 'CUC': [u, 'Cub$'], + 'DEM': ['DM'], + 'FKP': [u, 'Fl£'], + 'GNF': [u, 'F.G.'], + 'KMF': [u, 'FC'], + 'RON': [u, 'L'], + 'RWF': [u, 'F.Rw'], + 'SYP': [], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XXX': [], + 'ZMW': [u, 'K'] + }, + 'ltr', + plural, + [ + [ + ['Mitternacht', 'morgens', 'vorm.', 'mittags', 'nachm.', 'abends', 'nachts'], u, + ['Mitternacht', 'morgens', 'vormittags', 'mittags', 'nachmittags', 'abends', 'nachts'] + ], + [ + ['Mitternacht', 'Morgen', 'Vorm.', 'Mittag', 'Nachm.', 'Abend', 'Nacht'], u, + ['Mitternacht', 'Morgen', 'Vormittag', 'Mittag', 'Nachmittag', 'Abend', 'Nacht'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '13:00'], ['13:00', '18:00'], + ['18:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dje.js b/packages/common/locales/global/dje.js index 82a7c7ff40..edad141104 100644 --- a/packages/common/locales/global/dje.js +++ b/packages/common/locales/global/dje.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['dje'] = [ - 'dje', - [['Subbaahi', 'Zaarikay b'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['dje'] = [ + 'dje', + [['Subbaahi', 'Zaarikay b'], u, u], + u, + [ + ['H', 'T', 'T', 'L', 'M', 'Z', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'], + ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] + ], + u, + [ + ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], [ - ['H', 'T', 'T', 'L', 'M', 'Z', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], - ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'], - ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] - ], - u, - [ - ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], - ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], - [ - 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', - 'Oktoobur', 'Noowanbur', 'Deesanbur' - ] - ], - u, - [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'XOF', - 'CFA', - 'CFA Fraŋ (BCEAO)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + ], + u, + [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'XOF', + 'CFA', + 'CFA Fraŋ (BCEAO)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dsb.js b/packages/common/locales/global/dsb.js index 736887461d..ecb952135d 100644 --- a/packages/common/locales/global/dsb.js +++ b/packages/common/locales/global/dsb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,63 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1; - if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2; - if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || - f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) - return 3; - return 5; - } - global.ng.common.locales['dsb'] = [ - 'dsb', - [['dop.', 'wótp.'], ['dopołdnja', 'wótpołdnja'], u], - [['dopołdnja', 'wótpołdnja'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1; + if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || + f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) + return 3; + return 5; +} +global.ng.common.locales['dsb'] = [ + 'dsb', + [['dop.', 'wótp.'], ['dopołdnja', 'wótpołdnja'], u], + [['dopołdnja', 'wótpołdnja'], u, u], + [ + ['n', 'p', 'w', 's', 's', 'p', 's'], ['nje', 'pón', 'wał', 'srj', 'stw', 'pět', 'sob'], + ['njeźela', 'pónjeźele', 'wałtora', 'srjoda', 'stwórtk', 'pětk', 'sobota'], + ['nj', 'pó', 'wa', 'sr', 'st', 'pě', 'so'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], [ - ['n', 'p', 'w', 's', 's', 'p', 's'], ['nje', 'pón', 'wał', 'srj', 'stw', 'pět', 'sob'], - ['njeźela', 'pónjeźele', 'wałtora', 'srjoda', 'stwórtk', 'pětk', 'sobota'], - ['nj', 'pó', 'wa', 'sr', 'st', 'pě', 'so'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - [ - 'jan.', 'feb.', 'měr.', 'apr.', 'maj.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', - 'dec.' - ], - [ - 'januara', 'februara', 'měrca', 'apryla', 'maja', 'junija', 'julija', 'awgusta', - 'septembra', 'oktobra', 'nowembra', 'decembra' - ] + 'jan.', 'feb.', 'měr.', 'apr.', 'maj.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', 'dec.' ], [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'měr', 'apr', 'maj', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], - [ - 'januar', 'februar', 'měrc', 'apryl', 'maj', 'junij', 'julij', 'awgust', 'september', - 'oktober', 'nowember', 'december' - ] - ], + 'januara', 'februara', 'měrca', 'apryla', 'maja', 'junija', 'julija', 'awgusta', 'septembra', + 'oktobra', 'nowembra', 'decembra' + ] + ], + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'měr', 'apr', 'maj', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], [ - ['pś.Chr.n.', 'pó Chr.n.'], u, - ['pśed Kristusowym naroźenim', 'pó Kristusowem naroźenju'] - ], - 1, - [6, 0], - ['d.M.yy', 'd.M.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - {'AUD': [u, '$'], 'PLN': ['zł'], 'THB': ['฿']}, - 'ltr', - plural, - [] - ]; + 'januar', 'februar', 'měrc', 'apryl', 'maj', 'junij', 'julij', 'awgust', 'september', + 'oktober', 'nowember', 'december' + ] + ], + [['pś.Chr.n.', 'pó Chr.n.'], u, ['pśed Kristusowym naroźenim', 'pó Kristusowem naroźenju']], + 1, + [6, 0], + ['d.M.yy', 'd.M.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + {'AUD': [u, '$'], 'PLN': ['zł'], 'THB': ['฿']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dua.js b/packages/common/locales/global/dua.js index b145567ede..3a3260d591 100644 --- a/packages/common/locales/global/dua.js +++ b/packages/common/locales/global/dua.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['dua'] = [ - 'dua', - [['idiɓa', 'ebyámu'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['dua'] = [ + 'dua', + [['idiɓa', 'ebyámu'], u, u], + u, + [ + ['e', 'm', 'k', 'm', 'ŋ', 'ɗ', 'e'], ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], + ['éti', 'mɔ́sú', 'kwasú', 'mukɔ́sú', 'ŋgisú', 'ɗónɛsú', 'esaɓasú'], + ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'] + ], + u, + [ + ['d', 'ŋ', 's', 'd', 'e', 'e', 'm', 'd', 'n', 'm', 't', 'e'], + ['di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', 'elá'], [ - ['e', 'm', 'k', 'm', 'ŋ', 'ɗ', 'e'], - ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], - ['éti', 'mɔ́sú', 'kwasú', 'mukɔ́sú', 'ŋgisú', 'ɗónɛsú', 'esaɓasú'], - ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'] - ], - u, - [ - ['d', 'ŋ', 's', 'd', 'e', 'e', 'm', 'd', 'n', 'm', 't', 'e'], - [ - 'di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', 'elá' - ], - [ - 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', - 'madiɓɛ́díɓɛ́', 'diŋgindi', 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' - ] - ], - u, - [['ɓ.Ys', 'mb.Ys'], u, ['ɓoso ɓwá yáɓe lá', 'mbúsa kwédi a Yés']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'XAF', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', 'madiɓɛ́díɓɛ́', 'diŋgindi', + 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' + ] + ], + u, + [['ɓ.Ys', 'mb.Ys'], u, ['ɓoso ɓwá yáɓe lá', 'mbúsa kwédi a Yés']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'XAF', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dyo.js b/packages/common/locales/global/dyo.js index 80c4e69119..08f1a21b3a 100644 --- a/packages/common/locales/global/dyo.js +++ b/packages/common/locales/global/dyo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['dyo'] = [ - 'dyo', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['dyo'] = [ + 'dyo', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'T', 'T', 'A', 'A', 'A', 'S'], ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], + ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'], + ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'] + ], + u, + [ + ['S', 'F', 'M', 'A', 'M', 'S', 'S', 'U', 'S', 'O', 'N', 'D'], + ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'], [ - ['D', 'T', 'T', 'A', 'A', 'A', 'S'], ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], - ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'], - ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'] - ], - u, - [ - ['S', 'F', 'M', 'A', 'M', 'S', 'S', 'U', 'S', 'O', 'N', 'D'], - ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'], - [ - 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', - 'Oktobar', 'Novembar', 'Disambar' - ] - ], - u, - [['ArY', 'AtY'], u, ['Ariŋuu Yeesu', 'Atooŋe Yeesu']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'seefa yati BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', 'Oktobar', + 'Novembar', 'Disambar' + ] + ], + u, + [['ArY', 'AtY'], u, ['Ariŋuu Yeesu', 'Atooŋe Yeesu']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'seefa yati BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/dz.js b/packages/common/locales/global/dz.js index a7383c10aa..968c06f503 100644 --- a/packages/common/locales/global/dz.js +++ b/packages/common/locales/global/dz.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,94 +10,63 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['dz'] = [ - 'dz', - [['སྔ་ཆ་', 'ཕྱི་ཆ་'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['dz'] = [ + 'dz', + [['སྔ་ཆ་', 'ཕྱི་ཆ་'], u, u], + u, + [ + ['ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི'], ['ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', 'སྤེན་', 'ཉི་'], + ['གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', 'གཟའ་ཉི་མ་'], + ['ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', 'སྤེན་', 'ཉི་'] + ], + u, + [ + ['༡', '༢', '༣', '4', '༥', '༦', '༧', '༨', '9', '༡༠', '༡༡', '༡༢'], + ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '12'], [ - ['ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི'], - [ - 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', - 'སྤེན་', 'ཉི་' - ], - [ - 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', - 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', - 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', - 'གཟའ་ཉི་མ་' - ], - [ - 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', - 'སྤེན་', 'ཉི་' - ] - ], - u, + 'ཟླ་དངཔ་', 'ཟླ་གཉིས་པ་', 'ཟླ་གསུམ་པ་', 'ཟླ་བཞི་པ་', 'ཟླ་ལྔ་པ་', 'ཟླ་དྲུག་པ', 'ཟླ་བདུན་པ་', 'ཟླ་བརྒྱད་པ་', + 'ཟླ་དགུ་པ་', 'ཟླ་བཅུ་པ་', 'ཟླ་བཅུ་གཅིག་པ་', 'ཟླ་བཅུ་གཉིས་པ་' + ] + ], + [ + ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '༡༢'], + ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'], [ - ['༡', '༢', '༣', '4', '༥', '༦', '༧', '༨', '9', '༡༠', '༡༡', '༡༢'], - ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '12'], - [ - 'ཟླ་དངཔ་', 'ཟླ་གཉིས་པ་', 'ཟླ་གསུམ་པ་', - 'ཟླ་བཞི་པ་', 'ཟླ་ལྔ་པ་', 'ཟླ་དྲུག་པ', - 'ཟླ་བདུན་པ་', 'ཟླ་བརྒྱད་པ་', - 'ཟླ་དགུ་པ་', 'ཟླ་བཅུ་པ་', - 'ཟླ་བཅུ་གཅིག་པ་', 'ཟླ་བཅུ་གཉིས་པ་' - ] - ], - [ - ['༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '༡༢'], - [ - 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', - 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', - 'ཟླ་༡༡', 'ཟླ་༡༢' - ], - [ - 'སྤྱི་ཟླ་དངཔ་', 'སྤྱི་ཟླ་གཉིས་པ་', - 'སྤྱི་ཟླ་གསུམ་པ་', 'སྤྱི་ཟླ་བཞི་པ', - 'སྤྱི་ཟླ་ལྔ་པ་', 'སྤྱི་ཟླ་དྲུག་པ', - 'སྤྱི་ཟླ་བདུན་པ་', - 'སྤྱི་ཟླ་བརྒྱད་པ་', - 'སྤྱི་ཟླ་དགུ་པ་', 'སྤྱི་ཟླ་བཅུ་པ་', - 'སྤྱི་ཟླ་བཅུ་གཅིག་པ་', - 'སྤྱི་ཟླ་བཅུ་གཉིས་པ་' - ] - ], - [['BCE', 'CE'], u, u], - 0, - [6, 0], - [ - 'y-MM-dd', 'སྤྱི་ལོ་y ཟླ་MMM ཚེས་dd', - 'སྤྱི་ལོ་y MMMM ཚེས་ dd', - 'EEEE, སྤྱི་ལོ་y MMMM ཚེས་dd' - ], - [ - 'ཆུ་ཚོད་ h སྐར་མ་ mm a', 'ཆུ་ཚོད་h:mm:ss a', - 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a z', - 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a zzzz' - ], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0 %', '¤#,##,##0.00', '#E0'], - 'INR', - '₹', - 'རྒྱ་གར་གྱི་དངུལ་ རུ་པི', - { - 'AUD': ['AU$', '$'], - 'BTN': ['Nu.'], - 'ILS': [u, '₪'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['KR₩', '₩'], - 'THB': ['TH฿', '฿'], - 'USD': ['US$', '$'], - 'XAF': [] - }, - 'ltr', - plural, - [] - ]; + 'སྤྱི་ཟླ་དངཔ་', 'སྤྱི་ཟླ་གཉིས་པ་', 'སྤྱི་ཟླ་གསུམ་པ་', 'སྤྱི་ཟླ་བཞི་པ', 'སྤྱི་ཟླ་ལྔ་པ་', 'སྤྱི་ཟླ་དྲུག་པ', 'སྤྱི་ཟླ་བདུན་པ་', + 'སྤྱི་ཟླ་བརྒྱད་པ་', 'སྤྱི་ཟླ་དགུ་པ་', 'སྤྱི་ཟླ་བཅུ་པ་', 'སྤྱི་ཟླ་བཅུ་གཅིག་པ་', 'སྤྱི་ཟླ་བཅུ་གཉིས་པ་' + ] + ], + [['BCE', 'CE'], u, u], + 0, + [6, 0], + ['y-MM-dd', 'སྤྱི་ལོ་y ཟླ་MMM ཚེས་dd', 'སྤྱི་ལོ་y MMMM ཚེས་ dd', 'EEEE, སྤྱི་ལོ་y MMMM ཚེས་dd'], + ['ཆུ་ཚོད་ h སྐར་མ་ mm a', 'ཆུ་ཚོད་h:mm:ss a', 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a z', 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0 %', '¤#,##,##0.00', '#E0'], + 'INR', + '₹', + 'རྒྱ་གར་གྱི་དངུལ་ རུ་པི', + { + 'AUD': ['AU$', '$'], + 'BTN': ['Nu.'], + 'ILS': [u, '₪'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['KR₩', '₩'], + 'THB': ['TH฿', '฿'], + 'USD': ['US$', '$'], + 'XAF': [] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ebu.js b/packages/common/locales/global/ebu.js index 3b93c21ef8..6aa2dbf6c8 100644 --- a/packages/common/locales/global/ebu.js +++ b/packages/common/locales/global/ebu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,47 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ebu'] = [ - 'ebu', - [['KI', 'UT'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ebu'] = [ + 'ebu', + [['KI', 'UT'], u, u], + u, + [ + ['K', 'N', 'N', 'N', 'A', 'M', 'N'], ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], + ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'], + ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'] + ], + u, + [ + ['M', 'K', 'K', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'I'], + ['Mbe', 'Kai', 'Kat', 'Kan', 'Gat', 'Gan', 'Mug', 'Knn', 'Ken', 'Iku', 'Imw', 'Igi'], [ - ['K', 'N', 'N', 'N', 'A', 'M', 'N'], ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], - ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'], - ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'] - ], - u, - [ - ['M', 'K', 'K', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'I'], - ['Mbe', 'Kai', 'Kat', 'Kan', 'Gat', 'Gan', 'Mug', 'Knn', 'Ken', 'Iku', 'Imw', 'Igi'], - [ - 'Mweri wa mbere', 'Mweri wa kaĩri', 'Mweri wa kathatũ', 'Mweri wa kana', - 'Mweri wa gatano', 'Mweri wa gatantatũ', 'Mweri wa mũgwanja', 'Mweri wa kanana', - 'Mweri wa kenda', 'Mweri wa ikũmi', 'Mweri wa ikũmi na ũmwe', - 'Mweri wa ikũmi na Kaĩrĩ' - ] - ], - u, - [['MK', 'TK'], u, ['Mbere ya Kristo', 'Thutha wa Kristo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mweri wa mbere', 'Mweri wa kaĩri', 'Mweri wa kathatũ', 'Mweri wa kana', 'Mweri wa gatano', + 'Mweri wa gatantatũ', 'Mweri wa mũgwanja', 'Mweri wa kanana', 'Mweri wa kenda', + 'Mweri wa ikũmi', 'Mweri wa ikũmi na ũmwe', 'Mweri wa ikũmi na Kaĩrĩ' + ] + ], + u, + [['MK', 'TK'], u, ['Mbere ya Kristo', 'Thutha wa Kristo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ee-TG.js b/packages/common/locales/global/ee-TG.js index 29176223bf..f0301bb783 100644 --- a/packages/common/locales/global/ee-TG.js +++ b/packages/common/locales/global/ee-TG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,60 +10,54 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ee-tg'] = [ - 'ee-TG', - [['ŋ', 'ɣ'], ['ŋdi', 'ɣetrɔ'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ee-tg'] = [ + 'ee-TG', + [['ŋ', 'ɣ'], ['ŋdi', 'ɣetrɔ'], u], + u, + [ + ['k', 'd', 'b', 'k', 'y', 'f', 'm'], ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'], + ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'] + ], + u, + [ + ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], [ - ['k', 'd', 'b', 'k', 'y', 'f', 'm'], ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], - ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'], - ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'] - ], - u, - [ - ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], - ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], - [ - 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', - 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' - ] - ], - u, - [['HYV', 'Yŋ'], u, ['Hafi Yesu Va', 'Yesu ŋɔli']], - 1, - [6, 0], - ['M/d/yy', 'MMM d \'lia\', y', 'MMMM d \'lia\' y', 'EEEE, MMMM d \'lia\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{0} {1}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XOF', - 'CFA', - 'ɣetoɖofe afrikaga CFA franc BCEAO', - { - 'AUD': ['AU$', '$'], - 'GHS': ['GH₵'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [['fɔŋli', 'ŋdi', 'ŋdɔ', 'ɣetrɔ', 'fiẽ', 'zã'], u, u], u, - [ - ['04:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], - ['18:00', '21:00'], ['21:00', '04:00'] - ] + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', 'anyɔnyɔ', + 'kele', 'adeɛmekpɔxe', 'dzome' ] - ]; + ], + u, + [['HYV', 'Yŋ'], u, ['Hafi Yesu Va', 'Yesu ŋɔli']], + 1, + [6, 0], + ['M/d/yy', 'MMM d \'lia\', y', 'MMMM d \'lia\' y', 'EEEE, MMMM d \'lia\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{0} {1}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XOF', + 'CFA', + 'ɣetoɖofe afrikaga CFA franc BCEAO', + {'AUD': ['AU$', '$'], 'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['fɔŋli', 'ŋdi', 'ŋdɔ', 'ɣetrɔ', 'fiẽ', 'zã'], u, u], u, + [ + ['04:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], + ['18:00', '21:00'], ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ee.js b/packages/common/locales/global/ee.js index 57c5d0a879..7fc5d354c3 100644 --- a/packages/common/locales/global/ee.js +++ b/packages/common/locales/global/ee.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,60 +10,54 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ee'] = [ - 'ee', - [['ŋ', 'ɣ'], ['ŋdi', 'ɣetrɔ'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ee'] = [ + 'ee', + [['ŋ', 'ɣ'], ['ŋdi', 'ɣetrɔ'], u], + u, + [ + ['k', 'd', 'b', 'k', 'y', 'f', 'm'], ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'], + ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'] + ], + u, + [ + ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], [ - ['k', 'd', 'b', 'k', 'y', 'f', 'm'], ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], - ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'], - ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'] - ], - u, - [ - ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], - ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], - [ - 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', - 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' - ] - ], - u, - [['HYV', 'Yŋ'], u, ['Hafi Yesu Va', 'Yesu ŋɔli']], - 1, - [6, 0], - ['M/d/yy', 'MMM d \'lia\', y', 'MMMM d \'lia\' y', 'EEEE, MMMM d \'lia\' y'], - ['a \'ga\' h:mm', 'a \'ga\' h:mm:ss', 'a \'ga\' h:mm:ss z', 'a \'ga\' h:mm:ss zzzz'], - ['{0} {1}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GHS', - 'GH₵', - 'ghana siɖi', - { - 'AUD': ['AU$', '$'], - 'GHS': ['GH₵'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [['fɔŋli', 'ŋdi', 'ŋdɔ', 'ɣetrɔ', 'fiẽ', 'zã'], u, u], u, - [ - ['04:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], - ['18:00', '21:00'], ['21:00', '04:00'] - ] + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', 'anyɔnyɔ', + 'kele', 'adeɛmekpɔxe', 'dzome' ] - ]; + ], + u, + [['HYV', 'Yŋ'], u, ['Hafi Yesu Va', 'Yesu ŋɔli']], + 1, + [6, 0], + ['M/d/yy', 'MMM d \'lia\', y', 'MMMM d \'lia\' y', 'EEEE, MMMM d \'lia\' y'], + ['a \'ga\' h:mm', 'a \'ga\' h:mm:ss', 'a \'ga\' h:mm:ss z', 'a \'ga\' h:mm:ss zzzz'], + ['{0} {1}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GHS', + 'GH₵', + 'ghana siɖi', + {'AUD': ['AU$', '$'], 'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['fɔŋli', 'ŋdi', 'ŋdɔ', 'ɣetrɔ', 'fiẽ', 'zã'], u, u], u, + [ + ['04:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], + ['18:00', '21:00'], ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/el-CY.js b/packages/common/locales/global/el-CY.js index 37f97c384d..3c767f590a 100644 --- a/packages/common/locales/global/el-CY.js +++ b/packages/common/locales/global/el-CY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['el-cy'] = [ - 'el-CY', - [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['el-cy'] = [ + 'el-CY', + [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], + u, + [ + ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'], + ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] + ], + u, + [ + ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], [ - ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], - ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], - [ - 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', - 'Παρασκευή', 'Σάββατο' - ], - ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] - ], - u, - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - [ - 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', - 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' - ], - [ - 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', - 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', - 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' - ] - ], - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - [ - 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', - 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ' - ], - [ - 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', - 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', - 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' - ] - ], - [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} - {0}', u], - [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Ευρώ', - {'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, - 'ltr', - plural, - [ - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] - ], - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ'] - ], - [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', + 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' ] - ]; + ], + [ + ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], + [ + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', + 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' + ] + ], + [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} - {0}', u], + [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Ευρώ', + {'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, + 'ltr', + plural, + [ + [ + ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] + ], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ']], + [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/el.js b/packages/common/locales/global/el.js index 1ab2d32cdb..5ddd1bb5ec 100644 --- a/packages/common/locales/global/el.js +++ b/packages/common/locales/global/el.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['el'] = [ - 'el', - [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['el'] = [ + 'el', + [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], + u, + [ + ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'], + ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] + ], + u, + [ + ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], [ - ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], - ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], - [ - 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', - 'Παρασκευή', 'Σάββατο' - ], - ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] - ], - u, - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - [ - 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', - 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' - ], - [ - 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', - 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', - 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' - ] - ], - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - [ - 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', - 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ' - ], - [ - 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', - 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', - 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' - ] - ], - [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} - {0}', u], - [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Ευρώ', - {'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, - 'ltr', - plural, - [ - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] - ], - [ - ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, - ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ'] - ], - [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', + 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' ] - ]; + ], + [ + ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], + [ + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', + 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' + ] + ], + [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} - {0}', u], + [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Ευρώ', + {'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, + 'ltr', + plural, + [ + [ + ['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['το πρωί', 'το μεσημέρι', 'το απόγευμα', 'το βράδυ'] + ], + [['πρωί', 'μεσημ.', 'απόγ.', 'βράδυ'], u, ['πρωί', 'μεσημέρι', 'απόγευμα', 'βράδυ']], + [['04:00', '12:00'], ['12:00', '17:00'], ['17:00', '20:00'], ['20:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-001.js b/packages/common/locales/global/en-001.js index 5b6c65bb38..d18575d15d 100644 --- a/packages/common/locales/global/en-001.js +++ b/packages/common/locales/global/en-001.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-001'] = [ - 'en-001', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-001'] = [ + 'en-001', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-150.js b/packages/common/locales/global/en-150.js index 3e9dc483fa..93367b480a 100644 --- a/packages/common/locales/global/en-150.js +++ b/packages/common/locales/global/en-150.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-150'] = [ - 'en-150', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-150'] = [ + 'en-150', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AE.js b/packages/common/locales/global/en-AE.js index e6c14527c8..b633fd7d06 100644 --- a/packages/common/locales/global/en-AE.js +++ b/packages/common/locales/global/en-AE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ae'] = [ - 'en-AE', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ae'] = [ + 'en-AE', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 6, - [5, 6], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AED', - 'AED', - 'United Arab Emirates Dirham', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 6, + [5, 6], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AED', + 'AED', + 'United Arab Emirates Dirham', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AG.js b/packages/common/locales/global/en-AG.js index 078f168fe5..cda575a586 100644 --- a/packages/common/locales/global/en-AG.js +++ b/packages/common/locales/global/en-AG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ag'] = [ - 'en-AG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ag'] = [ + 'en-AG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AI.js b/packages/common/locales/global/en-AI.js index 8e1057e1bd..b8282765fd 100644 --- a/packages/common/locales/global/en-AI.js +++ b/packages/common/locales/global/en-AI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ai'] = [ - 'en-AI', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ai'] = [ + 'en-AI', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AS.js b/packages/common/locales/global/en-AS.js index 6b288707dd..689c033776 100644 --- a/packages/common/locales/global/en-AS.js +++ b/packages/common/locales/global/en-AS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-as'] = [ - 'en-AS', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-as'] = [ + 'en-AS', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AT.js b/packages/common/locales/global/en-AT.js index 765b638621..7ea41cf1a3 100644 --- a/packages/common/locales/global/en-AT.js +++ b/packages/common/locales/global/en-AT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-at'] = [ - 'en-AT', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-at'] = [ + 'en-AT', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-AU.js b/packages/common/locales/global/en-AU.js index 5cc7523db9..370a3d9de0 100644 --- a/packages/common/locales/global/en-AU.js +++ b/packages/common/locales/global/en-AU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,91 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-au'] = ['en-AU',[['am','pm'],u,u],u,[['Su.','M.','Tu.','W.','Th.','F.','Sa.'],['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],['Su','Mon','Tu','Wed','Th','Fri','Sat']],u,[['J','F','M','A','M','J','J','A','S','O','N','D'],['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],['January','February','March','April','May','June','July','August','September','October','November','December']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],0,[6,0],['d/M/yy','d MMM y','d MMMM y','EEEE, d MMMM y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1}, {0}',u,'{1} \'at\' {0}',u],['.',',',';','%','+','-','e','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'AUD','$','Australian Dollar',{'AUD':['$'],'BDT':[u,'Tk'],'BOB':[u,'$b'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'CUP':[u,'₱'],'EGP':[u,'£'],'EUR':[u,'€'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'ISK':[u,'Kr'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'PYG':[u,'Gs'],'SCR':['Rs'],'SEK':[u,'Kr'],'TWD':[u,'$'],'USD':[u,'$'],'UYU':[u,'$U'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[],'XPF':['CFP']},'ltr', plural, [[['midnight','midday','morning','afternoon','evening','night'],u,['midnight','midday','in the morning','in the afternoon','in the evening','at night']],[['midnight','midday','morning','afternoon','evening','night'],u,u],['00:00','12:00',['06:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','06:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-au'] = [ + 'en-AU', + [['am', 'pm'], u, u], + u, + [ + ['Su.', 'M.', 'Tu.', 'W.', 'Th.', 'F.', 'Sa.'], + ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mon', 'Tu', 'Wed', 'Th', 'Fri', 'Sat'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + { + 'AUD': ['$'], + 'BDT': [u, 'Tk'], + 'BOB': [u, '$b'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'CUP': [u, '₱'], + 'EGP': [u, '£'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'ISK': [u, 'Kr'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PYG': [u, 'Gs'], + 'SCR': ['Rs'], + 'SEK': [u, 'Kr'], + 'TWD': [u, '$'], + 'USD': [u, '$'], + 'UYU': [u, '$U'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [], + 'XPF': ['CFP'] + }, + 'ltr', + plural, + [ + [ + ['midnight', 'midday', 'morning', 'afternoon', 'evening', 'night'], u, + ['midnight', 'midday', 'in the morning', 'in the afternoon', 'in the evening', 'at night'] + ], + [['midnight', 'midday', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BB.js b/packages/common/locales/global/en-BB.js index 3476054b26..5db43b3482 100644 --- a/packages/common/locales/global/en-BB.js +++ b/packages/common/locales/global/en-BB.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bb'] = [ - 'en-BB', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bb'] = [ + 'en-BB', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BBD', - '$', - 'Barbadian Dollar', - {'BBD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BBD', + '$', + 'Barbadian Dollar', + {'BBD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BE.js b/packages/common/locales/global/en-BE.js index 0e5e65193d..8bdea3331c 100644 --- a/packages/common/locales/global/en-BE.js +++ b/packages/common/locales/global/en-BE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-be'] = [ - 'en-BE', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-be'] = [ + 'en-BE', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/yy', 'dd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/yy', 'dd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BI.js b/packages/common/locales/global/en-BI.js index 8de64318bb..9668ee7e1b 100644 --- a/packages/common/locales/global/en-BI.js +++ b/packages/common/locales/global/en-BI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bi'] = [ - 'en-BI', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bi'] = [ + 'en-BI', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BIF', - 'FBu', - 'Burundian Franc', - {'BIF': ['FBu']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BIF', + 'FBu', + 'Burundian Franc', + {'BIF': ['FBu']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BM.js b/packages/common/locales/global/en-BM.js index 5b322c8867..f2e880c023 100644 --- a/packages/common/locales/global/en-BM.js +++ b/packages/common/locales/global/en-BM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bm'] = [ - 'en-BM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bm'] = [ + 'en-BM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BMD', - '$', - 'Bermudan Dollar', - {'BMD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BMD', + '$', + 'Bermudan Dollar', + {'BMD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BS.js b/packages/common/locales/global/en-BS.js index 60618313a3..0d773dfe52 100644 --- a/packages/common/locales/global/en-BS.js +++ b/packages/common/locales/global/en-BS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bs'] = [ - 'en-BS', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bs'] = [ + 'en-BS', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BSD', - '$', - 'Bahamian Dollar', - {'BSD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BSD', + '$', + 'Bahamian Dollar', + {'BSD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BW.js b/packages/common/locales/global/en-BW.js index 4f4c5a99ab..b36e02238b 100644 --- a/packages/common/locales/global/en-BW.js +++ b/packages/common/locales/global/en-BW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bw'] = [ - 'en-BW', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bw'] = [ + 'en-BW', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/yy', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BWP', - 'P', - 'Botswanan Pula', - {'BWP': ['P'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/yy', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BWP', + 'P', + 'Botswanan Pula', + {'BWP': ['P'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-BZ.js b/packages/common/locales/global/en-BZ.js index 64e8e8f066..ae7eeb5ac2 100644 --- a/packages/common/locales/global/en-BZ.js +++ b/packages/common/locales/global/en-BZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-bz'] = [ - 'en-BZ', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-bz'] = [ + 'en-BZ', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'BZD', - '$', - 'Belize Dollar', - {'BZD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'BZD', + '$', + 'Belize Dollar', + {'BZD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CA.js b/packages/common/locales/global/en-CA.js index 3c31c19e20..02a16243a2 100644 --- a/packages/common/locales/global/en-CA.js +++ b/packages/common/locales/global/en-CA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,65 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ca'] = [ - 'en-CA', - [['am', 'pm'], ['a.m.', 'p.m.'], u], - [['a.m.', 'pm'], ['a.m.', 'p.m.'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ca'] = [ + 'en-CA', + [['am', 'pm'], ['a.m.', 'p.m.'], u], + [['a.m.', 'pm'], ['a.m.', 'p.m.'], u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', - 'Dec.' - ], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['y-MM-dd', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CAD', - '$', - 'Canadian Dollar', - {'CAD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mid', 'n', 'mor', 'aft', 'eve', 'night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [ - ['mid', 'noon', 'mor', 'aft', 'eve', 'night'], - ['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['y-MM-dd', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'CAD', + '$', + 'Canadian Dollar', + {'CAD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mid', 'n', 'mor', 'aft', 'eve', 'night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [ + ['mid', 'noon', 'mor', 'aft', 'eve', 'night'], + ['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u + ], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CC.js b/packages/common/locales/global/en-CC.js index 17ee2e3fd8..f966866439 100644 --- a/packages/common/locales/global/en-CC.js +++ b/packages/common/locales/global/en-CC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-cc'] = [ - 'en-CC', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-cc'] = [ + 'en-CC', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CH.js b/packages/common/locales/global/en-CH.js index d04abb05fd..da9f5a2291 100644 --- a/packages/common/locales/global/en-CH.js +++ b/packages/common/locales/global/en-CH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ch'] = [ - 'en-CH', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ch'] = [ + 'en-CH', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], - 'CHF', - 'CHF', - 'Swiss Franc', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], + 'CHF', + 'CHF', + 'Swiss Franc', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CK.js b/packages/common/locales/global/en-CK.js index 9d93825802..c973cf1d41 100644 --- a/packages/common/locales/global/en-CK.js +++ b/packages/common/locales/global/en-CK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ck'] = [ - 'en-CK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ck'] = [ + 'en-CK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NZD', - '$', - 'New Zealand Dollar', - {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NZD', + '$', + 'New Zealand Dollar', + {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CM.js b/packages/common/locales/global/en-CM.js index efcafac9f1..3b1692b512 100644 --- a/packages/common/locales/global/en-CM.js +++ b/packages/common/locales/global/en-CM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-cm'] = [ - 'en-CM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-cm'] = [ + 'en-CM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'Central African CFA Franc', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'Central African CFA Franc', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CX.js b/packages/common/locales/global/en-CX.js index f62312d48c..fe5c860fce 100644 --- a/packages/common/locales/global/en-CX.js +++ b/packages/common/locales/global/en-CX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-cx'] = [ - 'en-CX', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-cx'] = [ + 'en-CX', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-CY.js b/packages/common/locales/global/en-CY.js index f2bc8bef4c..1fd756b6f8 100644 --- a/packages/common/locales/global/en-CY.js +++ b/packages/common/locales/global/en-CY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-cy'] = [ - 'en-CY', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-cy'] = [ + 'en-CY', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-DE.js b/packages/common/locales/global/en-DE.js index f80a3d7347..6e3a29ad23 100644 --- a/packages/common/locales/global/en-DE.js +++ b/packages/common/locales/global/en-DE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-de'] = [ - 'en-DE', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-de'] = [ + 'en-DE', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-DG.js b/packages/common/locales/global/en-DG.js index 34256c3fe0..d82126e939 100644 --- a/packages/common/locales/global/en-DG.js +++ b/packages/common/locales/global/en-DG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-dg'] = [ - 'en-DG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-dg'] = [ + 'en-DG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-DK.js b/packages/common/locales/global/en-DK.js index 78fa0c6146..f423aca90f 100644 --- a/packages/common/locales/global/en-DK.js +++ b/packages/common/locales/global/en-DK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-dk'] = [ - 'en-DK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-dk'] = [ + 'en-DK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr.', - 'Danish Krone', - {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DKK', + 'kr.', + 'Danish Krone', + {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-DM.js b/packages/common/locales/global/en-DM.js index c850ef2dc4..5cba71a536 100644 --- a/packages/common/locales/global/en-DM.js +++ b/packages/common/locales/global/en-DM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-dm'] = [ - 'en-DM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-dm'] = [ + 'en-DM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-ER.js b/packages/common/locales/global/en-ER.js index 993c85bc39..8a255a2beb 100644 --- a/packages/common/locales/global/en-ER.js +++ b/packages/common/locales/global/en-ER.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-er'] = [ - 'en-ER', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-er'] = [ + 'en-ER', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ERN', - 'Nfk', - 'Eritrean Nakfa', - {'ERN': ['Nfk'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ERN', + 'Nfk', + 'Eritrean Nakfa', + {'ERN': ['Nfk'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-FI.js b/packages/common/locales/global/en-FI.js index ff6c12041b..bed5d19db8 100644 --- a/packages/common/locales/global/en-FI.js +++ b/packages/common/locales/global/en-FI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-fi'] = [ - 'en-FI', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-fi'] = [ + 'en-FI', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-FJ.js b/packages/common/locales/global/en-FJ.js index a7c0b92fd3..6fe0772a5a 100644 --- a/packages/common/locales/global/en-FJ.js +++ b/packages/common/locales/global/en-FJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-fj'] = [ - 'en-FJ', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-fj'] = [ + 'en-FJ', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'FJD', - '$', - 'Fijian Dollar', - {'FJD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'FJD', + '$', + 'Fijian Dollar', + {'FJD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-FK.js b/packages/common/locales/global/en-FK.js index 4af4727e15..148a43a314 100644 --- a/packages/common/locales/global/en-FK.js +++ b/packages/common/locales/global/en-FK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-fk'] = [ - 'en-FK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-fk'] = [ + 'en-FK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'FKP', - '£', - 'Falkland Islands Pound', - {'FKP': ['£'], 'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'FKP', + '£', + 'Falkland Islands Pound', + {'FKP': ['£'], 'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-FM.js b/packages/common/locales/global/en-FM.js index 97c0f85e60..771d4c6964 100644 --- a/packages/common/locales/global/en-FM.js +++ b/packages/common/locales/global/en-FM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-fm'] = [ - 'en-FM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-fm'] = [ + 'en-FM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GB.js b/packages/common/locales/global/en-GB.js index c174fd35d4..7bd58291d2 100644 --- a/packages/common/locales/global/en-GB.js +++ b/packages/common/locales/global/en-GB.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gb'] = [ - 'en-GB', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gb'] = [ + 'en-GB', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'British Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'British Pound', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GD.js b/packages/common/locales/global/en-GD.js index 4eb58a1b49..4ac78bab48 100644 --- a/packages/common/locales/global/en-GD.js +++ b/packages/common/locales/global/en-GD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gd'] = [ - 'en-GD', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gd'] = [ + 'en-GD', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GG.js b/packages/common/locales/global/en-GG.js index 4ad6f137f5..597024454f 100644 --- a/packages/common/locales/global/en-GG.js +++ b/packages/common/locales/global/en-GG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gg'] = [ - 'en-GG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gg'] = [ + 'en-GG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'UK Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'UK Pound', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GH.js b/packages/common/locales/global/en-GH.js index e7e30f5ad7..0b788195e9 100644 --- a/packages/common/locales/global/en-GH.js +++ b/packages/common/locales/global/en-GH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gh'] = [ - 'en-GH', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gh'] = [ + 'en-GH', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GHS', - 'GH₵', - 'Ghanaian Cedi', - {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GHS', + 'GH₵', + 'Ghanaian Cedi', + {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GI.js b/packages/common/locales/global/en-GI.js index f37963fb4c..49ba38c2a3 100644 --- a/packages/common/locales/global/en-GI.js +++ b/packages/common/locales/global/en-GI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gi'] = [ - 'en-GI', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gi'] = [ + 'en-GI', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GIP', - '£', - 'Gibraltar Pound', - {'GBP': ['GB£', '£'], 'GIP': ['£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GIP', + '£', + 'Gibraltar Pound', + {'GBP': ['GB£', '£'], 'GIP': ['£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GM.js b/packages/common/locales/global/en-GM.js index eb6316c2d5..32a03b9d8c 100644 --- a/packages/common/locales/global/en-GM.js +++ b/packages/common/locales/global/en-GM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gm'] = [ - 'en-GM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gm'] = [ + 'en-GM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GMD', - 'D', - 'Gambian Dalasi', - {'GMD': ['D'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GMD', + 'D', + 'Gambian Dalasi', + {'GMD': ['D'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GU.js b/packages/common/locales/global/en-GU.js index 6a58f2de19..756f81d510 100644 --- a/packages/common/locales/global/en-GU.js +++ b/packages/common/locales/global/en-GU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gu'] = [ - 'en-GU', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gu'] = [ + 'en-GU', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-GY.js b/packages/common/locales/global/en-GY.js index 9293f01435..cec18f71c8 100644 --- a/packages/common/locales/global/en-GY.js +++ b/packages/common/locales/global/en-GY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-gy'] = [ - 'en-GY', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-gy'] = [ + 'en-GY', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GYD', - '$', - 'Guyanaese Dollar', - {'GYD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GYD', + '$', + 'Guyanaese Dollar', + {'GYD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-HK.js b/packages/common/locales/global/en-HK.js index bb3c267a7f..36282f39e8 100644 --- a/packages/common/locales/global/en-HK.js +++ b/packages/common/locales/global/en-HK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-hk'] = [ - 'en-HK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-hk'] = [ + 'en-HK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - 'Hong Kong Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'HKD', + 'HK$', + 'Hong Kong Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-IE.js b/packages/common/locales/global/en-IE.js index ebbfdbabbb..d6df7574d2 100644 --- a/packages/common/locales/global/en-IE.js +++ b/packages/common/locales/global/en-IE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ie'] = [ - 'en-IE', - [['a', 'p'], ['am', 'pm'], ['a.m.', 'p.m.']], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ie'] = [ + 'en-IE', + [['a', 'p'], ['am', 'pm'], ['a.m.', 'p.m.']], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-IL.js b/packages/common/locales/global/en-IL.js index 08f452f6d2..ebb2b79b8a 100644 --- a/packages/common/locales/global/en-IL.js +++ b/packages/common/locales/global/en-IL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-il'] = [ - 'en-IL', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-il'] = [ + 'en-IL', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [5, 6], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ILS', - '₪', - 'Israeli New Shekel', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [5, 6], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ILS', + '₪', + 'Israeli New Shekel', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-IM.js b/packages/common/locales/global/en-IM.js index f7eb391040..52adb802b4 100644 --- a/packages/common/locales/global/en-IM.js +++ b/packages/common/locales/global/en-IM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-im'] = [ - 'en-IM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-im'] = [ + 'en-IM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'UK Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'UK Pound', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-IN.js b/packages/common/locales/global/en-IN.js index 931d986449..562e4a2c35 100644 --- a/packages/common/locales/global/en-IN.js +++ b/packages/common/locales/global/en-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-in'] = [ - 'en-IN', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-in'] = [ + 'en-IN', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [0, 0], - ['dd/MM/yy', 'dd-MMM-y', 'd MMMM y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '#E0'], - 'INR', - '₹', - 'Indian Rupee', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [0, 0], + ['dd/MM/yy', 'dd-MMM-y', 'd MMMM y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '#E0'], + 'INR', + '₹', + 'Indian Rupee', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-IO.js b/packages/common/locales/global/en-IO.js index 7be7cb49c5..c812618bb3 100644 --- a/packages/common/locales/global/en-IO.js +++ b/packages/common/locales/global/en-IO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-io'] = [ - 'en-IO', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-io'] = [ + 'en-IO', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-JE.js b/packages/common/locales/global/en-JE.js index 93c24c5dea..94336dbe0a 100644 --- a/packages/common/locales/global/en-JE.js +++ b/packages/common/locales/global/en-JE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-je'] = [ - 'en-JE', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-je'] = [ + 'en-JE', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'UK Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'UK Pound', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-JM.js b/packages/common/locales/global/en-JM.js index 408a1dd842..44fe556b5a 100644 --- a/packages/common/locales/global/en-JM.js +++ b/packages/common/locales/global/en-JM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-jm'] = [ - 'en-JM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-jm'] = [ + 'en-JM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'JMD', - '$', - 'Jamaican Dollar', - {'JMD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'JMD', + '$', + 'Jamaican Dollar', + {'JMD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-KE.js b/packages/common/locales/global/en-KE.js index b050ba9242..2c2459c909 100644 --- a/packages/common/locales/global/en-KE.js +++ b/packages/common/locales/global/en-KE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ke'] = [ - 'en-KE', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ke'] = [ + 'en-KE', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Kenyan Shilling', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Kenyan Shilling', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-KI.js b/packages/common/locales/global/en-KI.js index c0033bddba..039bfeb6ec 100644 --- a/packages/common/locales/global/en-KI.js +++ b/packages/common/locales/global/en-KI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ki'] = [ - 'en-KI', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ki'] = [ + 'en-KI', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-KN.js b/packages/common/locales/global/en-KN.js index 39da662be4..89e1f509b1 100644 --- a/packages/common/locales/global/en-KN.js +++ b/packages/common/locales/global/en-KN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-kn'] = [ - 'en-KN', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-kn'] = [ + 'en-KN', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-KY.js b/packages/common/locales/global/en-KY.js index 74499ae280..602751b93d 100644 --- a/packages/common/locales/global/en-KY.js +++ b/packages/common/locales/global/en-KY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ky'] = [ - 'en-KY', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ky'] = [ + 'en-KY', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KYD', - '$', - 'Cayman Islands Dollar', - {'JPY': ['JP¥', '¥'], 'KYD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KYD', + '$', + 'Cayman Islands Dollar', + {'JPY': ['JP¥', '¥'], 'KYD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-LC.js b/packages/common/locales/global/en-LC.js index fe549aff2c..7edca24dd9 100644 --- a/packages/common/locales/global/en-LC.js +++ b/packages/common/locales/global/en-LC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-lc'] = [ - 'en-LC', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-lc'] = [ + 'en-LC', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-LR.js b/packages/common/locales/global/en-LR.js index 3890a885ca..af9c8f9a93 100644 --- a/packages/common/locales/global/en-LR.js +++ b/packages/common/locales/global/en-LR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-lr'] = [ - 'en-LR', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-lr'] = [ + 'en-LR', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'LRD', - '$', - 'Liberian Dollar', - {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'LRD', + '$', + 'Liberian Dollar', + {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-LS.js b/packages/common/locales/global/en-LS.js index 4e28db09a9..193703e32c 100644 --- a/packages/common/locales/global/en-LS.js +++ b/packages/common/locales/global/en-LS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ls'] = [ - 'en-LS', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ls'] = [ + 'en-LS', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'South African Rand', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'South African Rand', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MG.js b/packages/common/locales/global/en-MG.js index ca6ce4e4d6..026853642f 100644 --- a/packages/common/locales/global/en-MG.js +++ b/packages/common/locales/global/en-MG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mg'] = [ - 'en-MG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mg'] = [ + 'en-MG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MGA', - 'Ar', - 'Malagasy Ariary', - {'JPY': ['JP¥', '¥'], 'MGA': ['Ar'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MGA', + 'Ar', + 'Malagasy Ariary', + {'JPY': ['JP¥', '¥'], 'MGA': ['Ar'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MH.js b/packages/common/locales/global/en-MH.js index 499e8a6bd5..2a3d638bc6 100644 --- a/packages/common/locales/global/en-MH.js +++ b/packages/common/locales/global/en-MH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mh'] = [ - 'en-MH', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mh'] = [ + 'en-MH', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MO.js b/packages/common/locales/global/en-MO.js index 4a7457d478..7154698e2a 100644 --- a/packages/common/locales/global/en-MO.js +++ b/packages/common/locales/global/en-MO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mo'] = [ - 'en-MO', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mo'] = [ + 'en-MO', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MOP', - 'MOP$', - 'Macanese Pataca', - {'JPY': ['JP¥', '¥'], 'MOP': ['MOP$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MOP', + 'MOP$', + 'Macanese Pataca', + {'JPY': ['JP¥', '¥'], 'MOP': ['MOP$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MP.js b/packages/common/locales/global/en-MP.js index 8afe11c18e..147df1bb5c 100644 --- a/packages/common/locales/global/en-MP.js +++ b/packages/common/locales/global/en-MP.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mp'] = [ - 'en-MP', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mp'] = [ + 'en-MP', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MS.js b/packages/common/locales/global/en-MS.js index eefe032f5a..69dff52f55 100644 --- a/packages/common/locales/global/en-MS.js +++ b/packages/common/locales/global/en-MS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ms'] = [ - 'en-MS', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ms'] = [ + 'en-MS', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MT.js b/packages/common/locales/global/en-MT.js index 4e88841ac2..1fd26fb2a6 100644 --- a/packages/common/locales/global/en-MT.js +++ b/packages/common/locales/global/en-MT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mt'] = [ - 'en-MT', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mt'] = [ + 'en-MT', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'dd MMM y', 'dd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'dd MMM y', 'dd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MU.js b/packages/common/locales/global/en-MU.js index 0c5f51a0a0..fdc0fd1683 100644 --- a/packages/common/locales/global/en-MU.js +++ b/packages/common/locales/global/en-MU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mu'] = [ - 'en-MU', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mu'] = [ + 'en-MU', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MUR', - 'Rs', - 'Mauritian Rupee', - {'JPY': ['JP¥', '¥'], 'MUR': ['Rs'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MUR', + 'Rs', + 'Mauritian Rupee', + {'JPY': ['JP¥', '¥'], 'MUR': ['Rs'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MW.js b/packages/common/locales/global/en-MW.js index d936b75bf6..c8b1a552f0 100644 --- a/packages/common/locales/global/en-MW.js +++ b/packages/common/locales/global/en-MW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-mw'] = [ - 'en-MW', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-mw'] = [ + 'en-MW', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MWK', - 'MK', - 'Malawian Kwacha', - {'JPY': ['JP¥', '¥'], 'MWK': ['MK'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MWK', + 'MK', + 'Malawian Kwacha', + {'JPY': ['JP¥', '¥'], 'MWK': ['MK'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-MY.js b/packages/common/locales/global/en-MY.js index 3102a86043..83391bdb92 100644 --- a/packages/common/locales/global/en-MY.js +++ b/packages/common/locales/global/en-MY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-my'] = [ - 'en-MY', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-my'] = [ + 'en-MY', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MYR', - 'RM', - 'Malaysian Ringgit', - {'JPY': ['JP¥', '¥'], 'MYR': ['RM'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MYR', + 'RM', + 'Malaysian Ringgit', + {'JPY': ['JP¥', '¥'], 'MYR': ['RM'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NA.js b/packages/common/locales/global/en-NA.js index dee551b0c8..2a33e9f12f 100644 --- a/packages/common/locales/global/en-NA.js +++ b/packages/common/locales/global/en-NA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-na'] = [ - 'en-NA', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-na'] = [ + 'en-NA', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'ZAR', - 'South African Rand', - {'JPY': ['JP¥', '¥'], 'NAD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'ZAR', + 'South African Rand', + {'JPY': ['JP¥', '¥'], 'NAD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NF.js b/packages/common/locales/global/en-NF.js index 1cce502afa..a590cc312a 100644 --- a/packages/common/locales/global/en-NF.js +++ b/packages/common/locales/global/en-NF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-nf'] = [ - 'en-NF', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-nf'] = [ + 'en-NF', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NG.js b/packages/common/locales/global/en-NG.js index 2d339ef24b..4364bad3f4 100644 --- a/packages/common/locales/global/en-NG.js +++ b/packages/common/locales/global/en-NG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ng'] = [ - 'en-NG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ng'] = [ + 'en-NG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NGN', - '₦', - 'Nigerian Naira', - {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NGN', + '₦', + 'Nigerian Naira', + {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NL.js b/packages/common/locales/global/en-NL.js index fcde4a243c..1e33ce09c3 100644 --- a/packages/common/locales/global/en-NL.js +++ b/packages/common/locales/global/en-NL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-nl'] = [ - 'en-NL', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-nl'] = [ + 'en-NL', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NR.js b/packages/common/locales/global/en-NR.js index b6f9732968..6d27b0a215 100644 --- a/packages/common/locales/global/en-NR.js +++ b/packages/common/locales/global/en-NR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-nr'] = [ - 'en-NR', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-nr'] = [ + 'en-NR', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NU.js b/packages/common/locales/global/en-NU.js index 466ef028a7..b6d566c25a 100644 --- a/packages/common/locales/global/en-NU.js +++ b/packages/common/locales/global/en-NU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-nu'] = [ - 'en-NU', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-nu'] = [ + 'en-NU', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NZD', - '$', - 'New Zealand Dollar', - {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NZD', + '$', + 'New Zealand Dollar', + {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-NZ.js b/packages/common/locales/global/en-NZ.js index 15229a37a5..4b69ee2394 100644 --- a/packages/common/locales/global/en-NZ.js +++ b/packages/common/locales/global/en-NZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-nz'] = [ - 'en-NZ', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-nz'] = [ + 'en-NZ', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['d/MM/yy', 'd/MM/y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NZD', - '$', - 'New Zealand Dollar', - {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['d/MM/yy', 'd/MM/y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NZD', + '$', + 'New Zealand Dollar', + {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PG.js b/packages/common/locales/global/en-PG.js index ff6edcad39..fb56361965 100644 --- a/packages/common/locales/global/en-PG.js +++ b/packages/common/locales/global/en-PG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-pg'] = [ - 'en-PG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-pg'] = [ + 'en-PG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'PGK', - 'K', - 'Papua New Guinean Kina', - {'JPY': ['JP¥', '¥'], 'PGK': ['K'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'PGK', + 'K', + 'Papua New Guinean Kina', + {'JPY': ['JP¥', '¥'], 'PGK': ['K'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PH.js b/packages/common/locales/global/en-PH.js index 38c481b481..3c7c5e83de 100644 --- a/packages/common/locales/global/en-PH.js +++ b/packages/common/locales/global/en-PH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ph'] = [ - 'en-PH', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ph'] = [ + 'en-PH', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'PHP', - '₱', - 'Philippine Piso', - {'JPY': ['JP¥', '¥'], 'PHP': ['₱'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'PHP', + '₱', + 'Philippine Piso', + {'JPY': ['JP¥', '¥'], 'PHP': ['₱'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PK.js b/packages/common/locales/global/en-PK.js index a1526e78b5..e318f122e9 100644 --- a/packages/common/locales/global/en-PK.js +++ b/packages/common/locales/global/en-PK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-pk'] = [ - 'en-PK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-pk'] = [ + 'en-PK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'dd-MMM-y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'PKR', - 'Rs', - 'Pakistani Rupee', - {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'dd-MMM-y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'PKR', + 'Rs', + 'Pakistani Rupee', + {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PN.js b/packages/common/locales/global/en-PN.js index c8fa0348dd..7650234263 100644 --- a/packages/common/locales/global/en-PN.js +++ b/packages/common/locales/global/en-PN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-pn'] = [ - 'en-PN', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-pn'] = [ + 'en-PN', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NZD', - '$', - 'New Zealand Dollar', - {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NZD', + '$', + 'New Zealand Dollar', + {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PR.js b/packages/common/locales/global/en-PR.js index ca573c7075..d7cbf45bbb 100644 --- a/packages/common/locales/global/en-PR.js +++ b/packages/common/locales/global/en-PR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-pr'] = [ - 'en-PR', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-pr'] = [ + 'en-PR', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-PW.js b/packages/common/locales/global/en-PW.js index 0de86f3573..313ed44535 100644 --- a/packages/common/locales/global/en-PW.js +++ b/packages/common/locales/global/en-PW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-pw'] = [ - 'en-PW', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-pw'] = [ + 'en-PW', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-RW.js b/packages/common/locales/global/en-RW.js index 12a60eb6cc..6a27dcb30d 100644 --- a/packages/common/locales/global/en-RW.js +++ b/packages/common/locales/global/en-RW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-rw'] = [ - 'en-RW', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-rw'] = [ + 'en-RW', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'RWF', - 'RF', - 'Rwandan Franc', - {'JPY': ['JP¥', '¥'], 'RWF': ['RF'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'RWF', + 'RF', + 'Rwandan Franc', + {'JPY': ['JP¥', '¥'], 'RWF': ['RF'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SB.js b/packages/common/locales/global/en-SB.js index d4a5f27874..7cacb15bba 100644 --- a/packages/common/locales/global/en-SB.js +++ b/packages/common/locales/global/en-SB.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sb'] = [ - 'en-SB', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sb'] = [ + 'en-SB', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SBD', - '$', - 'Solomon Islands Dollar', - {'JPY': ['JP¥', '¥'], 'SBD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SBD', + '$', + 'Solomon Islands Dollar', + {'JPY': ['JP¥', '¥'], 'SBD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SC.js b/packages/common/locales/global/en-SC.js index 6b25fd1bbd..f7c9551503 100644 --- a/packages/common/locales/global/en-SC.js +++ b/packages/common/locales/global/en-SC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sc'] = [ - 'en-SC', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sc'] = [ + 'en-SC', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SCR', - 'SR', - 'Seychellois Rupee', - {'JPY': ['JP¥', '¥'], 'SCR': ['SR'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SCR', + 'SR', + 'Seychellois Rupee', + {'JPY': ['JP¥', '¥'], 'SCR': ['SR'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SD.js b/packages/common/locales/global/en-SD.js index ae72a66cec..0e269bc38d 100644 --- a/packages/common/locales/global/en-SD.js +++ b/packages/common/locales/global/en-SD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sd'] = [ - 'en-SD', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sd'] = [ + 'en-SD', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 6, - [5, 6], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SDG', - 'SDG', - 'Sudanese Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 6, + [5, 6], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SDG', + 'SDG', + 'Sudanese Pound', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SE.js b/packages/common/locales/global/en-SE.js index eddb4e1578..85843d300a 100644 --- a/packages/common/locales/global/en-SE.js +++ b/packages/common/locales/global/en-SE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-se'] = [ - 'en-SE', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-se'] = [ + 'en-SE', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', ' ', ';', '%', '+', '-', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SEK', - 'kr', - 'Swedish Krona', - {'JPY': ['JP¥', '¥'], 'SEK': ['kr'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', ' ', ';', '%', '+', '-', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'SEK', + 'kr', + 'Swedish Krona', + {'JPY': ['JP¥', '¥'], 'SEK': ['kr'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SG.js b/packages/common/locales/global/en-SG.js index 8e9de3572b..96fdb2a9b0 100644 --- a/packages/common/locales/global/en-SG.js +++ b/packages/common/locales/global/en-SG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sg'] = [ - 'en-SG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sg'] = [ + 'en-SG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SGD', - '$', - 'Singapore Dollar', - {'JPY': ['JP¥', '¥'], 'SGD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SGD', + '$', + 'Singapore Dollar', + {'JPY': ['JP¥', '¥'], 'SGD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SH.js b/packages/common/locales/global/en-SH.js index c66dbb29a9..d2a85aa343 100644 --- a/packages/common/locales/global/en-SH.js +++ b/packages/common/locales/global/en-SH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sh'] = [ - 'en-SH', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sh'] = [ + 'en-SH', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SHP', - '£', - 'St Helena Pound', - {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SHP': ['£'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SHP', + '£', + 'St Helena Pound', + {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SHP': ['£'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SI.js b/packages/common/locales/global/en-SI.js index 4aad71c3f9..9d68b36c3e 100644 --- a/packages/common/locales/global/en-SI.js +++ b/packages/common/locales/global/en-SI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-si'] = [ - 'en-SI', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-si'] = [ + 'en-SI', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SL.js b/packages/common/locales/global/en-SL.js index 2ee48417ad..3cddf56088 100644 --- a/packages/common/locales/global/en-SL.js +++ b/packages/common/locales/global/en-SL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sl'] = [ - 'en-SL', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sl'] = [ + 'en-SL', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SLL', - 'Le', - 'Sierra Leonean Leone', - {'JPY': ['JP¥', '¥'], 'SLL': ['Le'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SLL', + 'Le', + 'Sierra Leonean Leone', + {'JPY': ['JP¥', '¥'], 'SLL': ['Le'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SS.js b/packages/common/locales/global/en-SS.js index 12202ac75a..8d28b543f5 100644 --- a/packages/common/locales/global/en-SS.js +++ b/packages/common/locales/global/en-SS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ss'] = [ - 'en-SS', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ss'] = [ + 'en-SS', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SSP', - '£', - 'South Sudanese Pound', - {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SSP': ['£'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SSP', + '£', + 'South Sudanese Pound', + {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SSP': ['£'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SX.js b/packages/common/locales/global/en-SX.js index 25b0237a2f..7001caf140 100644 --- a/packages/common/locales/global/en-SX.js +++ b/packages/common/locales/global/en-SX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sx'] = [ - 'en-SX', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sx'] = [ + 'en-SX', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ANG', - 'NAf.', - 'Netherlands Antillean Guilder', - {'ANG': ['NAf.'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ANG', + 'NAf.', + 'Netherlands Antillean Guilder', + {'ANG': ['NAf.'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-SZ.js b/packages/common/locales/global/en-SZ.js index 755d49edad..240ef7dfd3 100644 --- a/packages/common/locales/global/en-SZ.js +++ b/packages/common/locales/global/en-SZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-sz'] = [ - 'en-SZ', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-sz'] = [ + 'en-SZ', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SZL', - 'E', - 'Swazi Lilangeni', - {'JPY': ['JP¥', '¥'], 'SZL': ['E'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SZL', + 'E', + 'Swazi Lilangeni', + {'JPY': ['JP¥', '¥'], 'SZL': ['E'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TC.js b/packages/common/locales/global/en-TC.js index 4615c0ee70..eba6e75403 100644 --- a/packages/common/locales/global/en-TC.js +++ b/packages/common/locales/global/en-TC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-tc'] = [ - 'en-TC', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-tc'] = [ + 'en-TC', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TK.js b/packages/common/locales/global/en-TK.js index 4e02f43a3d..dd8493d9de 100644 --- a/packages/common/locales/global/en-TK.js +++ b/packages/common/locales/global/en-TK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-tk'] = [ - 'en-TK', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-tk'] = [ + 'en-TK', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NZD', - '$', - 'New Zealand Dollar', - {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NZD', + '$', + 'New Zealand Dollar', + {'JPY': ['JP¥', '¥'], 'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TO.js b/packages/common/locales/global/en-TO.js index 4bc3f20af9..5e4b7c742f 100644 --- a/packages/common/locales/global/en-TO.js +++ b/packages/common/locales/global/en-TO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-to'] = [ - 'en-TO', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-to'] = [ + 'en-TO', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TOP', - 'T$', - 'Tongan Paʻanga', - {'JPY': ['JP¥', '¥'], 'TOP': ['T$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TOP', + 'T$', + 'Tongan Paʻanga', + {'JPY': ['JP¥', '¥'], 'TOP': ['T$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TT.js b/packages/common/locales/global/en-TT.js index 7197069cd3..4d3035750a 100644 --- a/packages/common/locales/global/en-TT.js +++ b/packages/common/locales/global/en-TT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-tt'] = [ - 'en-TT', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-tt'] = [ + 'en-TT', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TTD', - '$', - 'Trinidad & Tobago Dollar', - {'JPY': ['JP¥', '¥'], 'TTD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TTD', + '$', + 'Trinidad & Tobago Dollar', + {'JPY': ['JP¥', '¥'], 'TTD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TV.js b/packages/common/locales/global/en-TV.js index cb6ce847ec..bf0aa7cc1c 100644 --- a/packages/common/locales/global/en-TV.js +++ b/packages/common/locales/global/en-TV.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-tv'] = [ - 'en-TV', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-tv'] = [ + 'en-TV', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'AUD', + '$', + 'Australian Dollar', + {'AUD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-TZ.js b/packages/common/locales/global/en-TZ.js index 67094aecbe..9fbf7b7ea5 100644 --- a/packages/common/locales/global/en-TZ.js +++ b/packages/common/locales/global/en-TZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-tz'] = [ - 'en-TZ', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-tz'] = [ + 'en-TZ', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Tanzanian Shilling', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Tanzanian Shilling', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-UG.js b/packages/common/locales/global/en-UG.js index ca7f59b1c0..47decde25c 100644 --- a/packages/common/locales/global/en-UG.js +++ b/packages/common/locales/global/en-UG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ug'] = [ - 'en-UG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ug'] = [ + 'en-UG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'UGX', - 'USh', - 'Ugandan Shilling', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'UGX', + 'USh', + 'Ugandan Shilling', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-UM.js b/packages/common/locales/global/en-UM.js index 382278a166..b14f7a813d 100644 --- a/packages/common/locales/global/en-UM.js +++ b/packages/common/locales/global/en-UM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-um'] = [ - 'en-UM', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-um'] = [ + 'en-UM', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-US-POSIX.js b/packages/common/locales/global/en-US-POSIX.js index 228879be92..cf0e40f7d8 100644 --- a/packages/common/locales/global/en-US-POSIX.js +++ b/packages/common/locales/global/en-US-POSIX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-us-posix'] = [ - 'en-US-POSIX', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-us-posix'] = [ + 'en-US-POSIX', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '0/00', 'INF', 'NaN', ':'], - ['0.######', '0%', '¤ 0.00', '0.000000E+000'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '0/00', 'INF', 'NaN', ':'], + ['0.######', '0%', '¤ 0.00', '0.000000E+000'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-VC.js b/packages/common/locales/global/en-VC.js index a436135deb..f1be293ba0 100644 --- a/packages/common/locales/global/en-VC.js +++ b/packages/common/locales/global/en-VC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-vc'] = [ - 'en-VC', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-vc'] = [ + 'en-VC', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XCD', - '$', - 'East Caribbean Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XCD', + '$', + 'East Caribbean Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'XCD': ['$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-VG.js b/packages/common/locales/global/en-VG.js index 3b3ddb8d2b..b79af9e572 100644 --- a/packages/common/locales/global/en-VG.js +++ b/packages/common/locales/global/en-VG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-vg'] = [ - 'en-VG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-vg'] = [ + 'en-VG', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-VI.js b/packages/common/locales/global/en-VI.js index 84f9c115e1..c318d013f2 100644 --- a/packages/common/locales/global/en-VI.js +++ b/packages/common/locales/global/en-VI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-vi'] = [ - 'en-VI', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-vi'] = [ + 'en-VI', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-VU.js b/packages/common/locales/global/en-VU.js index 65232c1f5b..ea4e8b15f9 100644 --- a/packages/common/locales/global/en-VU.js +++ b/packages/common/locales/global/en-VU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-vu'] = [ - 'en-VU', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-vu'] = [ + 'en-VU', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'VUV', - 'VT', - 'Vanuatu Vatu', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'VUV': ['VT']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'VUV', + 'VT', + 'Vanuatu Vatu', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'VUV': ['VT']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-WS.js b/packages/common/locales/global/en-WS.js index 3b0d4be8d2..285121e489 100644 --- a/packages/common/locales/global/en-WS.js +++ b/packages/common/locales/global/en-WS.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-ws'] = [ - 'en-WS', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-ws'] = [ + 'en-WS', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'WST', - 'WS$', - 'Samoan Tala', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'WST': ['WS$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'WST', + 'WS$', + 'Samoan Tala', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'WST': ['WS$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-ZA.js b/packages/common/locales/global/en-ZA.js index f9e330d69a..cf886c3632 100644 --- a/packages/common/locales/global/en-ZA.js +++ b/packages/common/locales/global/en-ZA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-za'] = [ - 'en-ZA', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-za'] = [ + 'en-ZA', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['y/MM/dd', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'South African Rand', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['y/MM/dd', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'South African Rand', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-ZM.js b/packages/common/locales/global/en-ZM.js index 75ecaa50ed..ab0382e9c9 100644 --- a/packages/common/locales/global/en-ZM.js +++ b/packages/common/locales/global/en-ZM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-zm'] = [ - 'en-ZM', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-zm'] = [ + 'en-ZM', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZMW', - 'K', - 'Zambian Kwacha', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZMW': ['K', 'ZK']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZMW', + 'K', + 'Zambian Kwacha', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZMW': ['K', 'ZK']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en-ZW.js b/packages/common/locales/global/en-ZW.js index f408a96404..176703d3b2 100644 --- a/packages/common/locales/global/en-ZW.js +++ b/packages/common/locales/global/en-ZW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en-zw'] = [ - 'en-ZW', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en-zw'] = [ + 'en-ZW', + [['a', 'p'], ['am', 'pm'], u], + [['am', 'pm'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['d/M/y', 'dd MMM,y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'US Dollar', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['d/M/y', 'dd MMM,y', 'dd MMMM y', 'EEEE, dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'US Dollar', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/en.js b/packages/common/locales/global/en.js index e4f3e8830a..4753e8cbf4 100644 --- a/packages/common/locales/global/en.js +++ b/packages/common/locales/global/en.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['en'] = [ - 'en', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['en'] = [ + 'en', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/eo.js b/packages/common/locales/global/eo.js index 62e1a1d1ea..6e5fa70f6f 100644 --- a/packages/common/locales/global/eo.js +++ b/packages/common/locales/global/eo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['eo'] = [ - 'eo', - [['atm', 'ptm'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['eo'] = [ + 'eo', + [['atm', 'ptm'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'], + ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], - ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'], - ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], - [ - 'januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', - 'oktobro', 'novembro', 'decembro' - ] - ], - u, - [['aK', 'pK'], u, u], - 1, - [6, 0], - ['yy-MM-dd', 'y-MMM-dd', 'y-MMMM-dd', 'EEEE, d-\'a\' \'de\' MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'H-\'a\' \'horo\' \'kaj\' m:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', + 'oktobro', 'novembro', 'decembro' + ] + ], + u, + [['aK', 'pK'], u, u], + 1, + [6, 0], + ['yy-MM-dd', 'y-MMM-dd', 'y-MMMM-dd', 'EEEE, d-\'a\' \'de\' MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'H-\'a\' \'horo\' \'kaj\' m:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-419.js b/packages/common/locales/global/es-419.js index 89716bbf05..54119d841f 100644 --- a/packages/common/locales/global/es-419.js +++ b/packages/common/locales/global/es-419.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,85 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-419'] = ['es-419',[['a. m.','p. m.'],['a.m.','p.m.'],u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'EUR','EUR','euro',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-419'] = [ + 'es-419', + [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'EUR', + 'EUR', + 'euro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-AR.js b/packages/common/locales/global/es-AR.js index ba96bc05d2..729f6fcc5d 100644 --- a/packages/common/locales/global/es-AR.js +++ b/packages/common/locales/global/es-AR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,87 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ar'] = [ - 'es-AR', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ar'] = [ + 'es-AR', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'ARS', - '$', - 'peso argentino', - { - 'ARS': ['$'], - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'FKP': [u, 'FK£'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SSP': [u, 'SD£'], - 'SYP': [u, 'S£'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VEF': [u, 'BsF'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [ - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u - ], - [ - ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u - ], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'ARS', + '$', + 'peso argentino', + { + 'ARS': ['$'], + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u + ], + [ + ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u + ], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-BO.js b/packages/common/locales/global/es-BO.js index 86a30a2c68..b845d9ca6f 100644 --- a/packages/common/locales/global/es-BO.js +++ b/packages/common/locales/global/es-BO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-bo'] = ['es-BO',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM \'de\' y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'BOB','Bs','boliviano',{'AUD':[u,'$'],'BOB':['Bs'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-bo'] = [ + 'es-BO', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'BOB', + 'Bs', + 'boliviano', + { + 'AUD': [u, '$'], + 'BOB': ['Bs'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-BR.js b/packages/common/locales/global/es-BR.js index 65dc00aba8..2c612f8ebf 100644 --- a/packages/common/locales/global/es-BR.js +++ b/packages/common/locales/global/es-BR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-br'] = ['es-BR',[['a. m.','p. m.'],['a.m.','p.m.'],u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'BRL','R$','real brasileño',{'AUD':[u,'$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-br'] = [ + 'es-BR', + [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'BRL', + 'R$', + 'real brasileño', + { + 'AUD': [u, '$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-BZ.js b/packages/common/locales/global/es-BZ.js index ff53cc45c4..90dee103e0 100644 --- a/packages/common/locales/global/es-BZ.js +++ b/packages/common/locales/global/es-BZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-bz'] = ['es-BZ',[['a. m.','p. m.'],['a.m.','p.m.'],u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'BZD','$','dólar beliceño',{'AUD':[u,'$'],'BRL':[u,'R$'],'BZD':['$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-bz'] = [ + 'es-BZ', + [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'BZD', + '$', + 'dólar beliceño', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'BZD': ['$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-CL.js b/packages/common/locales/global/es-CL.js index 7ddf2309d3..92b1f6156e 100644 --- a/packages/common/locales/global/es-CL.js +++ b/packages/common/locales/global/es-CL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,96 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-cl'] = ['es-CL',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['do','lu','ma','mi','ju','vi','sá']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sept.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['dd-MM-yy','dd-MM-y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00;¤-#,##0.00','#E0'],'CLP','$','Peso chileno',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CLP':['$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':['US$','$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-cl'] = [ + 'es-CL', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['dd-MM-yy', 'dd-MM-y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], + 'CLP', + '$', + 'Peso chileno', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CLP': ['$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-CO.js b/packages/common/locales/global/es-CO.js index c4cc34c392..e8ea625a46 100644 --- a/packages/common/locales/global/es-CO.js +++ b/packages/common/locales/global/es-CO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,105 +10,102 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-co'] = [ - 'es-CO', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-co'] = [ + 'es-CO', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' ], [ - ['d', 'l', 'm', 'm', 'j', 'v', 's'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] - ], - [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/MM/yy', 'd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'a\' \'las\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'COP', - '$', - 'peso colombiano', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'COP': ['$'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'FKP': [u, 'FK£'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SSP': [u, 'SD£'], - 'SYP': [u, 'S£'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VEF': [u, 'BsF'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [ - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], - ['m.', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'] - ], - [ - ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], u, - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'] - ], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/MM/yy', 'd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'COP', + '$', + 'peso colombiano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'COP': ['$'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], + ['m.', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'] + ], + [ + ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], u, + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'] + ], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-CR.js b/packages/common/locales/global/es-CR.js index d16216b8fb..5e4e0e7c76 100644 --- a/packages/common/locales/global/es-CR.js +++ b/packages/common/locales/global/es-CR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-cr'] = ['es-CR',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'CRC','₡','colón costarricense',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'CRC':['₡'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-cr'] = [ + 'es-CR', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'CRC', + '₡', + 'colón costarricense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'CRC': ['₡'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-CU.js b/packages/common/locales/global/es-CU.js index c4c4d1dbb9..16343b3244 100644 --- a/packages/common/locales/global/es-CU.js +++ b/packages/common/locales/global/es-CU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-cu'] = ['es-CU',[['a. m.','p. m.'],['a.m.','p.m.'],u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'CUP','$','peso cubano',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'CUP':['$'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':['US$','$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-cu'] = [ + 'es-CU', + [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'CUP', + '$', + 'peso cubano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'CUP': ['$'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-DO.js b/packages/common/locales/global/es-DO.js index 88dbf09caf..3f8b8f326d 100644 --- a/packages/common/locales/global/es-DO.js +++ b/packages/common/locales/global/es-DO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,87 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-do'] = [ - 'es-DO', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-do'] = [ + 'es-DO', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'DOP', - 'RD$', - 'peso dominicano', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'DOP': ['RD$', '$'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'FKP': [u, 'FK£'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SSP': [u, 'SD£'], - 'SYP': [u, 'S£'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VEF': [u, 'BsF'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [ - ['mediodía', 'día', 'mañana', 'tarde', 'noche'], - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u - ], - [ - ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u - ], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'DOP', + 'RD$', + 'peso dominicano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'DOP': ['RD$', '$'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['mediodía', 'día', 'mañana', 'tarde', 'noche'], + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u + ], + [ + ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u + ], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-EA.js b/packages/common/locales/global/es-EA.js index ad22653f6d..71511065cd 100644 --- a/packages/common/locales/global/es-EA.js +++ b/packages/common/locales/global/es-EA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ea'] = [ - 'es-EA', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ea'] = [ + 'es-EA', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], + ['{1} {0}', u, '{1}, {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CNY': [u, '¥'], + 'EGP': [], + 'ESP': ['₧'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-EC.js b/packages/common/locales/global/es-EC.js index 5f9f691db3..a744d32ed0 100644 --- a/packages/common/locales/global/es-EC.js +++ b/packages/common/locales/global/es-EC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ec'] = ['es-EC',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00;¤-#,##0.00','#E0'],'USD','$','dólar estadounidense',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ec'] = [ + 'es-EC', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], + 'USD', + '$', + 'dólar estadounidense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-GQ.js b/packages/common/locales/global/es-GQ.js index 65d5cfdbfe..15a3e96e4c 100644 --- a/packages/common/locales/global/es-GQ.js +++ b/packages/common/locales/global/es-GQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,76 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-gq'] = [ - 'es-GQ', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-gq'] = [ + 'es-GQ', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'franco CFA de África Central', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], + ['{1} {0}', u, '{1}, {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'franco CFA de África Central', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CNY': [u, '¥'], + 'EGP': [], + 'ESP': ['₧'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-GT.js b/packages/common/locales/global/es-GT.js index 7e3d07e20f..5a1f51d73d 100644 --- a/packages/common/locales/global/es-GT.js +++ b/packages/common/locales/global/es-GT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-gt'] = ['es-GT',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/MM/yy','d/MM/y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'GTQ','Q','quetzal',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'GTQ':['Q'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-gt'] = [ + 'es-GT', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/MM/yy', 'd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'GTQ', + 'Q', + 'quetzal', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'GTQ': ['Q'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-HN.js b/packages/common/locales/global/es-HN.js index 4ad92812ef..43e475abfa 100644 --- a/packages/common/locales/global/es-HN.js +++ b/packages/common/locales/global/es-HN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-hn'] = ['es-HN',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/M/yy','d MMM y','dd \'de\' MMMM \'de\' y','EEEE dd \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'HNL','L','lempira hondureño',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'HNL':['L'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-hn'] = [ + 'es-HN', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'dd \'de\' MMMM \'de\' y', 'EEEE dd \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'HNL', + 'L', + 'lempira hondureño', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'HNL': ['L'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-IC.js b/packages/common/locales/global/es-IC.js index b8c513415f..ddd55552ac 100644 --- a/packages/common/locales/global/es-IC.js +++ b/packages/common/locales/global/es-IC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ic'] = [ - 'es-IC', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ic'] = [ + 'es-IC', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], + ['{1} {0}', u, '{1}, {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CNY': [u, '¥'], + 'EGP': [], + 'ESP': ['₧'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-MX.js b/packages/common/locales/global/es-MX.js index 7f17449cba..cdf3c4f90d 100644 --- a/packages/common/locales/global/es-MX.js +++ b/packages/common/locales/global/es-MX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,83 +10,81 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-mx'] = [ - 'es-MX', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-mx'] = [ + 'es-MX', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'MXN', - '$', - 'peso mexicano', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'BYN': [u, 'p.'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MRO': ['MRU'], - 'MRU': ['UM'], - 'MXN': ['$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [ - ['del mediodía', 'de la madrugada', 'mañana', 'de la tarde', 'de la noche'], - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u - ], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'MXN', + '$', + 'peso mexicano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'BYN': [u, 'p.'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MRO': ['MRU'], + 'MRU': ['UM'], + 'MXN': ['$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['del mediodía', 'de la madrugada', 'mañana', 'de la tarde', 'de la noche'], + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u + ], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-NI.js b/packages/common/locales/global/es-NI.js index 3927165457..55bd3665fa 100644 --- a/packages/common/locales/global/es-NI.js +++ b/packages/common/locales/global/es-NI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,86 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ni'] = ['es-NI',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'NIO','C$','córdoba nicaragüense',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NIO':['C$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ni'] = [ + 'es-NI', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'NIO', + 'C$', + 'córdoba nicaragüense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NIO': ['C$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-PA.js b/packages/common/locales/global/es-PA.js index 15b395b39a..c063550dcb 100644 --- a/packages/common/locales/global/es-PA.js +++ b/packages/common/locales/global/es-PA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,89 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-pa'] = ['es-PA',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['MM/dd/yy','MM/dd/y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'PAB','B/.','balboa panameño',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'PAB':['B/.'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],['mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-pa'] = [ + 'es-PA', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['MM/dd/yy', 'MM/dd/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'PAB', + 'B/.', + 'balboa panameño', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PAB': ['B/.'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], + ['mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u + ], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-PE.js b/packages/common/locales/global/es-PE.js index 1370da8869..9765cffc8c 100644 --- a/packages/common/locales/global/es-PE.js +++ b/packages/common/locales/global/es-PE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,95 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-pe'] = ['es-PE',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','set.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','setiembre','octubre','noviembre','diciembre']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['Ene.','Feb.','Mar.','Abr.','May.','Jun.','Jul.','Ago.','Set.','Oct.','Nov.','Dic.'],['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Setiembre','Octubre','Noviembre','Diciembre']],[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/MM/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤ #,##0.00','#E0'],'PEN','S/','sol peruano',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'PEN':['S/'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':[u,'$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-pe'] = [ + 'es-PE', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'set.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'setiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'Ene.', 'Feb.', 'Mar.', 'Abr.', 'May.', 'Jun.', 'Jul.', 'Ago.', 'Set.', 'Oct.', 'Nov.', 'Dic.' + ], + [ + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + ], + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/MM/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'PEN', + 'S/', + 'sol peruano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PEN': ['S/'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-PH.js b/packages/common/locales/global/es-PH.js index 2565a82b13..691ea66424 100644 --- a/packages/common/locales/global/es-PH.js +++ b/packages/common/locales/global/es-PH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,78 +10,77 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ph'] = [ - 'es-PH', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ph'] = [ + 'es-PH', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'PHP', - '₱', - 'peso filipino', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'PHP': ['₱'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1}, {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'PHP', + '₱', + 'peso filipino', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CNY': [u, '¥'], + 'EGP': [], + 'ESP': ['₧'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PHP': ['₱'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-PR.js b/packages/common/locales/global/es-PR.js index 50bd9b60e3..0fdbb9a7d7 100644 --- a/packages/common/locales/global/es-PR.js +++ b/packages/common/locales/global/es-PR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-pr'] = ['es-PR',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['MM/dd/yy','MM/dd/y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'USD','$','dólar estadounidense',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-pr'] = [ + 'es-PR', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['MM/dd/yy', 'MM/dd/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'dólar estadounidense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-PY.js b/packages/common/locales/global/es-PY.js index 1f035aacf1..9c5ea31c54 100644 --- a/packages/common/locales/global/es-PY.js +++ b/packages/common/locales/global/es-PY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,91 +10,89 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-py'] = [ - 'es-PY', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-py'] = [ + 'es-PY', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sa'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['d', 'l', 'm', 'm', 'j', 'v', 's'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sa'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] - ], - [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'PYG', - 'Gs.', - 'guaraní paraguayo', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'FKP': [u, 'FK£'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'PYG': ['Gs.', '₲'], - 'RON': [u, 'L'], - 'SSP': [u, 'SD£'], - 'SYP': [u, 'S£'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VEF': [u, 'BsF'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [ - ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u - ], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'PYG', + 'Gs.', + 'guaraní paraguayo', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PYG': ['Gs.', '₲'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [ + ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u + ], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-SV.js b/packages/common/locales/global/es-SV.js index 8cfda5a099..6bb9603c76 100644 --- a/packages/common/locales/global/es-SV.js +++ b/packages/common/locales/global/es-SV.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,84 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-sv'] = ['es-SV',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','sep.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'USD','$','dólar estadounidense',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-sv'] = [ + 'es-SV', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'dólar estadounidense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-US.js b/packages/common/locales/global/es-US.js index 62048686b5..0555d44de1 100644 --- a/packages/common/locales/global/es-US.js +++ b/packages/common/locales/global/es-US.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,77 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-us'] = [ - 'es-US', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-us'] = [ + 'es-US', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/M/y', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'dólar estadounidense', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'BYN': [u, 'p.'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [ - ['del mediodía', 'de la madrugada', 'mañana', 'de la tarde', 'de la noche'], - ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u - ], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/y', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'dólar estadounidense', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'BYN': [u, 'p.'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [ + ['del mediodía', 'de la madrugada', 'mañana', 'de la tarde', 'de la noche'], + ['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u + ], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-UY.js b/packages/common/locales/global/es-UY.js index 82e44cfd0d..d5c1ae7461 100644 --- a/packages/common/locales/global/es-UY.js +++ b/packages/common/locales/global/es-UY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,17 +9,96 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-uy'] = ['es-UY',[['a. m.','p. m.'],u,u],u,[['d','l','m','m','j','v','s'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['D','L','M','M','J','V','S'],['dom.','lun.','mar.','mié.','jue.','vie.','sáb.'],['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],['DO','LU','MA','MI','JU','VI','SA']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['ene.','feb.','mar.','abr.','may.','jun.','jul.','ago.','set.','oct.','nov.','dic.'],['enero','febrero','marzo','abril','mayo','junio','julio','agosto','setiembre','octubre','noviembre','diciembre']],[['E','F','M','A','M','J','J','A','S','O','N','D'],['Ene.','Feb.','Mar.','Abr.','May.','Jun.','Jul.','Ago.','Set.','Oct.','Nov.','Dic.'],['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Setiembre','Octubre','Noviembre','Diciembre']],[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,'{1} \'a\' \'las\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤ #,##0.00','#E0'],'UYU','$','peso uruguayo',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'ESP':['₧'],'EUR':[u,'€'],'FKP':[u,'FK£'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'RON':[u,'L'],'SSP':[u,'SD£'],'SYP':[u,'S£'],'TWD':[u,'NT$'],'USD':['US$','$'],'UYU':['$'],'UYW':['UP'],'VEF':[u,'BsF'],'VND':[u,'₫'],'XAF':[],'XCD':[u,'$'],'XOF':[]},'ltr', plural, [[['del mediodía','de la madrugada','de la mañana','de la tarde','de la noche'],u,u],[['mediodía','madrugada','mañana','tarde','noche'],u,u],['12:00',['00:00','06:00'],['06:00','12:00'],['12:00','20:00'],['20:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-uy'] = [ + 'es-UY', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'set.', 'oct.', 'nov.', 'dic.' + ], + [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'setiembre', + 'octubre', 'noviembre', 'diciembre' + ] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + [ + 'Ene.', 'Feb.', 'Mar.', 'Abr.', 'May.', 'Jun.', 'Jul.', 'Ago.', 'Set.', 'Oct.', 'Nov.', 'Dic.' + ], + [ + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + ], + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'UYU', + '$', + 'peso uruguayo', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'UYU': ['$'], + 'UYW': ['UP'], + 'VEF': [u, 'BsF'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es-VE.js b/packages/common/locales/global/es-VE.js index 4e247a1ec5..acb47ebd75 100644 --- a/packages/common/locales/global/es-VE.js +++ b/packages/common/locales/global/es-VE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,91 +10,89 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es-ve'] = [ - 'es-VE', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es-ve'] = [ + 'es-VE', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] + ], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] + ], + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['d', 'l', 'm', 'm', 'j', 'v', 's'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'] - ], - [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], - 'VES', - 'Bs.S', - 'bolívar soberano', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'FKP': [u, 'FK£'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SSP': [u, 'SD£'], - 'SYP': [u, 'S£'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VEF': ['Bs.'], - 'VES': ['Bs.S'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [ - ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], - ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u - ], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], + 'VES', + 'Bs.S', + 'bolívar soberano', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'ESP': ['₧'], + 'EUR': [u, '€'], + 'FKP': [u, 'FK£'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SSP': [u, 'SD£'], + 'SYP': [u, 'S£'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VEF': ['Bs.'], + 'VES': ['Bs.S'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [ + ['m.', 'madrugada', 'mañana', 'tarde', 'noche'], + ['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u + ], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/es.js b/packages/common/locales/global/es.js index 403be2819b..3e69482f76 100644 --- a/packages/common/locales/global/es.js +++ b/packages/common/locales/global/es.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,77 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['es'] = [ - 'es', - [['a. m.', 'p. m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['es'] = [ + 'es', + [['a. m.', 'p. m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], + ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], - ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], - ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'], - ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'] + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' ], - u, [ - ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', - 'dic.' - ], - [ - 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', - 'octubre', 'noviembre', 'diciembre' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural, - [ - [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], - [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], - ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' ] - ]; + ], + u, + [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], + ['{1} {0}', u, '{1}, {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CNY': [u, '¥'], + 'EGP': [], + 'ESP': ['₧'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [] + }, + 'ltr', + plural, + [ + [['del mediodía', 'de la madrugada', 'de la mañana', 'de la tarde', 'de la noche'], u, u], + [['mediodía', 'madrugada', 'mañana', 'tarde', 'noche'], u, u], + ['12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '20:00'], ['20:00', '24:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/et.js b/packages/common/locales/global/et.js index df789d76d2..2f09c1f41c 100644 --- a/packages/common/locales/global/et.js +++ b/packages/common/locales/global/et.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['et'] = [ - 'et', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['et'] = [ + 'et', + [['AM', 'PM'], u, u], + u, + [ + ['P', 'E', 'T', 'K', 'N', 'R', 'L'], u, + ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'], + ['P', 'E', 'T', 'K', 'N', 'R', 'L'] + ], + u, + [ + ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'], [ - ['P', 'E', 'T', 'K', 'N', 'R', 'L'], u, - ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'], - ['P', 'E', 'T', 'K', 'N', 'R', 'L'] - ], - u, - [ - ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', - 'dets' - ], - [ - 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', - 'oktoober', 'november', 'detsember' - ] - ], - u, - [['eKr', 'pKr'], u, ['enne Kristust', 'pärast Kristust']], - 1, - [6, 0], - ['dd.MM.yy', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - {'AUD': ['AU$', '$'], 'EEK': ['kr'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [['keskööl', 'keskpäeval', 'hommikul', 'pärastlõunal', 'õhtul', 'öösel'], u, u], - [['kesköö', 'keskpäev', 'hommik', 'pärastlõuna', 'õhtu', 'öö'], u, u], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], - ['23:00', '05:00'] - ] + 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', + 'oktoober', 'november', 'detsember' ] - ]; + ], + u, + [['eKr', 'pKr'], u, ['enne Kristust', 'pärast Kristust']], + 1, + [6, 0], + ['dd.MM.yy', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + {'AUD': ['AU$', '$'], 'EEK': ['kr'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [['keskööl', 'keskpäeval', 'hommikul', 'pärastlõunal', 'õhtul', 'öösel'], u, u], + [['kesköö', 'keskpäev', 'hommik', 'pärastlõuna', 'õhtu', 'öö'], u, u], + [ + '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], + ['23:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/eu.js b/packages/common/locales/global/eu.js index 9605e1e58f..b4063a4032 100644 --- a/packages/common/locales/global/eu.js +++ b/packages/common/locales/global/eu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['eu'] = [ - 'eu', - [['g', 'a'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['eu'] = [ + 'eu', + [['g', 'a'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['I', 'A', 'A', 'A', 'O', 'O', 'L'], ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], + ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'], + ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'] + ], + u, + [ + ['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'], [ - ['I', 'A', 'A', 'A', 'O', 'O', 'L'], ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], - ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'], - ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'] + 'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', 'abe.' ], - u, [ - ['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'], - [ - 'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', - 'abe.' - ], - [ - 'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', - 'iraila', 'urria', 'azaroa', 'abendua' - ] - ], - u, - [['K.a.', 'K.o.'], u, ['K.a.', 'Kristo ondoren']], - 1, - [6, 0], - [ - 'yy/M/d', 'y(\'e\')\'ko\' MMM d(\'a\')', 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\')', - 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\'), EEEE' - ], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '% #,##0', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euroa', - {'ESP': ['₧'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - ['gauerdia', 'goizald.', 'goizeko', 'eguerd.', 'arrats.', 'iluntz.', 'gaueko'], u, - ['gauerdia', 'goizaldeko', 'goizeko', 'eguerdiko', 'arratsaldeko', 'iluntzeko', 'gaueko'] - ], - [ - ['gauerdia', 'goizald.', 'goiza', 'eguerd.', 'arrats.', 'iluntz.', 'gaua'], - ['gauerdia', 'goiz.', 'goiza', 'eguerd.', 'arrats.', 'iluntz.', 'gaua'], - ['gauerdia', 'goizaldea', 'goiza', 'eguerdia', 'arratsaldea', 'iluntzea', 'gaua'] - ], - [ - '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], - ['19:00', '21:00'], ['21:00', '24:00'] - ] + 'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', + 'iraila', 'urria', 'azaroa', 'abendua' ] - ]; + ], + u, + [['K.a.', 'K.o.'], u, ['K.a.', 'Kristo ondoren']], + 1, + [6, 0], + [ + 'yy/M/d', 'y(\'e\')\'ko\' MMM d(\'a\')', 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\')', + 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\'), EEEE' + ], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '% #,##0', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euroa', + {'ESP': ['₧'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['gauerdia', 'goizald.', 'goizeko', 'eguerd.', 'arrats.', 'iluntz.', 'gaueko'], u, + ['gauerdia', 'goizaldeko', 'goizeko', 'eguerdiko', 'arratsaldeko', 'iluntzeko', 'gaueko'] + ], + [ + ['gauerdia', 'goizald.', 'goiza', 'eguerd.', 'arrats.', 'iluntz.', 'gaua'], + ['gauerdia', 'goiz.', 'goiza', 'eguerd.', 'arrats.', 'iluntz.', 'gaua'], + ['gauerdia', 'goizaldea', 'goiza', 'eguerdia', 'arratsaldea', 'iluntzea', 'gaua'] + ], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], + ['19:00', '21:00'], ['21:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ewo.js b/packages/common/locales/global/ewo.js index e7d6ce2be8..3360a26f53 100644 --- a/packages/common/locales/global/ewo.js +++ b/packages/common/locales/global/ewo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ewo'] = [ - 'ewo', - [['kíkíríg', 'ngəgógəle'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ewo'] = [ + 'ewo', + [['kíkíríg', 'ngəgógəle'], u, u], + u, + [ + ['s', 'm', 's', 's', 's', 'f', 's'], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], [ - ['s', 'm', 's', 's', 's', 'f', 's'], - ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], - [ - 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', - 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' - ], - ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'] + 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' ], - u, + ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'] + ], + u, + [ + ['o', 'b', 'l', 'n', 't', 's', 'z', 'm', 'e', 'a', 'd', 'b'], + ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'], [ - ['o', 'b', 'l', 'n', 't', 's', 'z', 'm', 'e', 'a', 'd', 'b'], - ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'], - [ - 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', - 'ngɔn zamgbála', 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', - 'ngɔn awóm ai bɛ̌' - ] - ], - u, - [['oyk', 'ayk'], u, ['osúsúa Yésus kiri', 'ámvus Yésus Kirís']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Fəláŋ CFA (BEAC)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', 'ngɔn zamgbála', + 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', 'ngɔn awóm ai bɛ̌' + ] + ], + u, + [['oyk', 'ayk'], u, ['osúsúa Yésus kiri', 'ámvus Yésus Kirís']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Fəláŋ CFA (BEAC)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fa-AF.js b/packages/common/locales/global/fa-AF.js index d39cdecac6..312dce4431 100644 --- a/packages/common/locales/global/fa-AF.js +++ b/packages/common/locales/global/fa-AF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,81 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['fa-af'] = [ - 'fa-AF', - [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['fa-af'] = [ + 'fa-AF', + [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], + u, + [ + ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u, + ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] + ], + u, + [ + ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], - u, ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] - ], - u, - [ - ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'جنو', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جول', 'اگست', - 'سپتمبر', 'اکتوبر', 'نومبر', 'دسم' - ], - [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ] + 'جنو', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جول', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسم' ], [ - ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u - ], - [['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], - 6, - [4, 5], - ['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u], - ['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'AFN', - '؋', - 'افغانی افغانستان', - { - 'AFN': ['؋'], - 'CAD': ['$CA', '$'], - 'CNY': ['¥CN', '¥'], - 'HKD': ['$HK', '$'], - 'IRR': ['ریال'], - 'MXN': ['$MX', '$'], - 'NZD': ['$NZ', '$'], - 'THB': ['฿'], - 'XCD': ['$EC', '$'] - }, - 'rtl', - plural, - [ - [ - ['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], - ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u - ], - [ - ['ب', 'ص', 'بعد از چاشت', 'ع', 'ش', 'ن'], - ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u - ], - [ - ['01:00', '04:00'], ['04:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '01:00'] - ] + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ] - ]; + ], + [ + ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], + [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' + ], + u + ], + [['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], + 6, + [4, 5], + ['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], + ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u], + ['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'AFN', + '؋', + 'افغانی افغانستان', + { + 'AFN': ['؋'], + 'CAD': ['$CA', '$'], + 'CNY': ['¥CN', '¥'], + 'HKD': ['$HK', '$'], + 'IRR': ['ریال'], + 'MXN': ['$MX', '$'], + 'NZD': ['$NZ', '$'], + 'THB': ['฿'], + 'XCD': ['$EC', '$'] + }, + 'rtl', + plural, + [ + [ + ['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u + ], + [ + ['ب', 'ص', 'بعد از چاشت', 'ع', 'ش', 'ن'], + ['بامداد', 'صبح', 'ظهر', 'بعدازچاشت', 'شب', 'نیمه\u200cشب'], u + ], + [ + ['01:00', '04:00'], ['04:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '01:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fa.js b/packages/common/locales/global/fa.js index da637bf952..1671e5aa41 100644 --- a/packages/common/locales/global/fa.js +++ b/packages/common/locales/global/fa.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,72 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['fa'] = [ - 'fa', - [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['fa'] = [ + 'fa', + [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], + u, + [ + ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u, + ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] + ], + u, + [ + ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], [ - ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], - u, ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] + 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], - u, + u + ], + [ + ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], [ - ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', - 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' - ], - u + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], + u + ], + [['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], + 6, + [5, 5], + ['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], + ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u], + ['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'], + ['#,##0.###', '#,##0%', '\u200e¤ #,##0.00', '#E0'], + 'IRR', + 'ریال', + 'ریال ایران', + { + 'AFN': ['؋'], + 'CAD': ['$CA', '$'], + 'CNY': ['¥CN', '¥'], + 'HKD': ['$HK', '$'], + 'IRR': ['ریال'], + 'MXN': ['$MX', '$'], + 'NZD': ['$NZ', '$'], + 'THB': ['฿'], + 'XCD': ['$EC', '$'] + }, + 'rtl', + plural, + [ + [['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], ['بامداد', 'صبح', 'ظهر', 'عصر', 'شب', 'نیمه\u200cشب'], u], u, [ - ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', - 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' - ], - u - ], - [['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], - 6, - [5, 5], - ['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u], - ['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'], - ['#,##0.###', '#,##0%', '\u200e¤ #,##0.00', '#E0'], - 'IRR', - 'ریال', - 'ریال ایران', - { - 'AFN': ['؋'], - 'CAD': ['$CA', '$'], - 'CNY': ['¥CN', '¥'], - 'HKD': ['$HK', '$'], - 'IRR': ['ریال'], - 'MXN': ['$MX', '$'], - 'NZD': ['$NZ', '$'], - 'THB': ['฿'], - 'XCD': ['$EC', '$'] - }, - 'rtl', - plural, - [ - [ - ['ب', 'ص', 'ظ', 'ع', 'ش', 'ن'], - ['بامداد', 'صبح', 'ظهر', 'عصر', 'شب', 'نیمه\u200cشب'], u - ], - u, - [ - ['01:00', '04:00'], ['04:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '01:00'] - ] + ['01:00', '04:00'], ['04:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '01:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-CM.js b/packages/common/locales/global/ff-CM.js index eb006e3ab4..a286b74c08 100644 --- a/packages/common/locales/global/ff-CM.js +++ b/packages/common/locales/global/ff-CM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,47 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - root.ng.common.locales['ff-cm'] = [ - 'ff-CM', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-cm'] = [ + 'ff-CM', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'FCFA', - 'Mbuuɗi Seefaa BEAC', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'FCFA', + 'Mbuuɗi Seefaa BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-GN.js b/packages/common/locales/global/ff-GN.js index 5f3024a115..bbe69aaa05 100644 --- a/packages/common/locales/global/ff-GN.js +++ b/packages/common/locales/global/ff-GN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,47 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - root.ng.common.locales['ff-gn'] = [ - 'ff-GN', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-gn'] = [ + 'ff-GN', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'FG', - 'GNF', - {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'FG', + 'GNF', + {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-BF.js b/packages/common/locales/global/ff-Latn-BF.js index b2450efe23..b605a697f3 100644 --- a/packages/common/locales/global/ff-Latn-BF.js +++ b/packages/common/locales/global/ff-Latn-BF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-bf'] = [ - 'ff-Latn-BF', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-bf'] = [ + 'ff-Latn-BF', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'Mbuuɗu Seefaa BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'Mbuuɗu Seefaa BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-CM.js b/packages/common/locales/global/ff-Latn-CM.js index cde16b99e0..4b55e71656 100644 --- a/packages/common/locales/global/ff-Latn-CM.js +++ b/packages/common/locales/global/ff-Latn-CM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-cm'] = [ - 'ff-Latn-CM', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-cm'] = [ + 'ff-Latn-CM', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Mbuuɗi Seefaa BEAC', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Mbuuɗi Seefaa BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-GH.js b/packages/common/locales/global/ff-Latn-GH.js index 040449270f..5732fa1cc4 100644 --- a/packages/common/locales/global/ff-Latn-GH.js +++ b/packages/common/locales/global/ff-Latn-GH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-gh'] = [ - 'ff-Latn-GH', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-gh'] = [ + 'ff-Latn-GH', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'GHS', - 'GH₵', - 'GHS', - {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'GHS', + 'GH₵', + 'GHS', + {'GHS': ['GH₵'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-GM.js b/packages/common/locales/global/ff-Latn-GM.js index 7a7c14b48c..f05003089b 100644 --- a/packages/common/locales/global/ff-Latn-GM.js +++ b/packages/common/locales/global/ff-Latn-GM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-gm'] = [ - 'ff-Latn-GM', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-gm'] = [ + 'ff-Latn-GM', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'GMD', - 'D', - 'Dalasi Gammbi', - {'GMD': ['D'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'GMD', + 'D', + 'Dalasi Gammbi', + {'GMD': ['D'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-GN.js b/packages/common/locales/global/ff-Latn-GN.js index e79d8f8fce..40eafb511b 100644 --- a/packages/common/locales/global/ff-Latn-GN.js +++ b/packages/common/locales/global/ff-Latn-GN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-gn'] = [ - 'ff-Latn-GN', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-gn'] = [ + 'ff-Latn-GN', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'GNF', - 'FG', - 'GNF', - {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'GNF', + 'FG', + 'GNF', + {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-GW.js b/packages/common/locales/global/ff-Latn-GW.js index 143eb1e0eb..c03309b2c3 100644 --- a/packages/common/locales/global/ff-Latn-GW.js +++ b/packages/common/locales/global/ff-Latn-GW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-gw'] = [ - 'ff-Latn-GW', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-gw'] = [ + 'ff-Latn-GW', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'Mbuuɗu Seefaa BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'Mbuuɗu Seefaa BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-LR.js b/packages/common/locales/global/ff-Latn-LR.js index 2f7a9abe55..5da45e7213 100644 --- a/packages/common/locales/global/ff-Latn-LR.js +++ b/packages/common/locales/global/ff-Latn-LR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-lr'] = [ - 'ff-Latn-LR', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-lr'] = [ + 'ff-Latn-LR', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'LRD', - '$', - 'Dolaar Liberiyaa', - {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'LRD', + '$', + 'Dolaar Liberiyaa', + {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-MR.js b/packages/common/locales/global/ff-Latn-MR.js index 0eeddd3ca7..b65b138c77 100644 --- a/packages/common/locales/global/ff-Latn-MR.js +++ b/packages/common/locales/global/ff-Latn-MR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-mr'] = [ - 'ff-Latn-MR', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-mr'] = [ + 'ff-Latn-MR', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MRU', - 'UM', - 'Ugiyya Muritani', - {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MRU', + 'UM', + 'Ugiyya Muritani', + {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-NE.js b/packages/common/locales/global/ff-Latn-NE.js index fdd3598325..888780c3e8 100644 --- a/packages/common/locales/global/ff-Latn-NE.js +++ b/packages/common/locales/global/ff-Latn-NE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-ne'] = [ - 'ff-Latn-NE', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-ne'] = [ + 'ff-Latn-NE', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'Mbuuɗu Seefaa BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'Mbuuɗu Seefaa BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-NG.js b/packages/common/locales/global/ff-Latn-NG.js index b3379cd49f..95d9a82f87 100644 --- a/packages/common/locales/global/ff-Latn-NG.js +++ b/packages/common/locales/global/ff-Latn-NG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-ng'] = [ - 'ff-Latn-NG', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-ng'] = [ + 'ff-Latn-NG', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'NGN', - '₦', - 'Nayraa Nijeriyaa', - {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'NGN', + '₦', + 'Nayraa Nijeriyaa', + {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn-SL.js b/packages/common/locales/global/ff-Latn-SL.js index 09635ebc38..d4ebb2544b 100644 --- a/packages/common/locales/global/ff-Latn-SL.js +++ b/packages/common/locales/global/ff-Latn-SL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn-sl'] = [ - 'ff-Latn-SL', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn-sl'] = [ + 'ff-Latn-SL', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'SLL', - 'Le', - 'Lewoon Seraa Liyon', - {'JPY': ['JP¥', '¥'], 'SLL': ['Le'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'SLL', + 'Le', + 'Lewoon Seraa Liyon', + {'JPY': ['JP¥', '¥'], 'SLL': ['Le'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-Latn.js b/packages/common/locales/global/ff-Latn.js index 47a9da1709..29d6c0c397 100644 --- a/packages/common/locales/global/ff-Latn.js +++ b/packages/common/locales/global/ff-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff-latn'] = [ - 'ff-Latn', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff-latn'] = [ + 'ff-Latn', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'Mbuuɗu Seefaa BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'Mbuuɗu Seefaa BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-MR.js b/packages/common/locales/global/ff-MR.js index a0e549af82..14bfdae3df 100644 --- a/packages/common/locales/global/ff-MR.js +++ b/packages/common/locales/global/ff-MR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,47 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - root.ng.common.locales['ff-mr'] = [ - 'ff-MR', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-mr'] = [ + 'ff-MR', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UM', - 'Ugiyya Muritani', - {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UM', + 'Ugiyya Muritani', + {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff.js b/packages/common/locales/global/ff.js index 8255730de3..adc63bf365 100644 --- a/packages/common/locales/global/ff.js +++ b/packages/common/locales/global/ff.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['ff'] = [ - 'ff', - [['subaka', 'kikiiɗe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['ff'] = [ + 'ff', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ - ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], - ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], - ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] - ], - u, - [ - ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], - ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], - [ - 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', - 'yarkomaa', 'jolal', 'bowte' - ] - ], - u, - [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'Mbuuɗu Seefaa BCEAO', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'Mbuuɗu Seefaa BCEAO', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fi.js b/packages/common/locales/global/fi.js index e6296457d2..7f03b6eaf6 100644 --- a/packages/common/locales/global/fi.js +++ b/packages/common/locales/global/fi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,15 +10,181 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['fi'] = ['fi',[['ap.','ip.'],u,u],u,[['S','M','T','K','T','P','L'],['su','ma','ti','ke','to','pe','la'],['sunnuntaina','maanantaina','tiistaina','keskiviikkona','torstaina','perjantaina','lauantaina'],['su','ma','ti','ke','to','pe','la']],[['S','M','T','K','T','P','L'],['su','ma','ti','ke','to','pe','la'],['sunnuntai','maanantai','tiistai','keskiviikko','torstai','perjantai','lauantai'],['su','ma','ti','ke','to','pe','la']],[['T','H','M','H','T','K','H','E','S','L','M','J'],['tammik.','helmik.','maalisk.','huhtik.','toukok.','kesäk.','heinäk.','elok.','syysk.','lokak.','marrask.','jouluk.'],['tammikuuta','helmikuuta','maaliskuuta','huhtikuuta','toukokuuta','kesäkuuta','heinäkuuta','elokuuta','syyskuuta','lokakuuta','marraskuuta','joulukuuta']],[['T','H','M','H','T','K','H','E','S','L','M','J'],['tammi','helmi','maalis','huhti','touko','kesä','heinä','elo','syys','loka','marras','joulu'],['tammikuu','helmikuu','maaliskuu','huhtikuu','toukokuu','kesäkuu','heinäkuu','elokuu','syyskuu','lokakuu','marraskuu','joulukuu']],[['eKr','jKr'],['eKr.','jKr.'],['ennen Kristuksen syntymää','jälkeen Kristuksen syntymän']],1,[6,0],['d.M.y',u,'d. MMMM y','cccc d. MMMM y'],['H.mm','H.mm.ss','H.mm.ss z','H.mm.ss zzzz'],['{1} {0}','{1} \'klo\' {0}',u,u],[',',' ',';','%','+','−','E','×','‰','∞','epäluku','.'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{'AOA':[],'ARS':[],'AUD':[],'BAM':[],'BBD':[],'BDT':[],'BMD':[],'BND':[],'BOB':[],'BRL':[],'BSD':[],'BWP':[],'BYN':[],'BZD':[],'CAD':[],'CLP':[],'CNY':[],'COP':[],'CRC':[],'CUC':[],'CUP':[],'CZK':[],'DKK':[],'DOP':[],'EGP':[],'ESP':[],'FIM':['mk'],'FJD':[],'FKP':[],'GEL':[],'GIP':[],'GNF':[],'GTQ':[],'GYD':[],'HKD':[],'HNL':[],'HRK':[],'HUF':[],'IDR':[],'ILS':[],'INR':[],'ISK':[],'JMD':[],'KHR':[],'KMF':[],'KPW':[],'KRW':[],'KYD':[],'KZT':[],'LAK':[],'LBP':[],'LKR':[],'LRD':[],'LTL':[],'LVL':[],'MGA':[],'MMK':[],'MNT':[],'MUR':[],'MXN':[],'MYR':[],'NAD':[],'NGN':[],'NIO':[],'NOK':[],'NPR':[],'NZD':[],'PHP':[],'PKR':[],'PLN':[],'PYG':[],'RON':[],'RUR':[],'RWF':[],'SBD':[],'SEK':[],'SGD':[],'SHP':[],'SRD':[],'SSP':[],'STN':[u,'STD'],'SYP':[],'THB':[],'TOP':[],'TRY':[],'TTD':[],'TWD':[],'UAH':[],'UYU':[],'VEF':[],'VND':[],'XCD':[],'XPF':[],'XXX':[],'ZAR':[],'ZMW':[]},'ltr', plural, [[['ky.','kp.','aamulla','ap.','ip.','illalla','yöllä'],['keskiyöllä','keskip.','aamulla','aamup.','iltap.','illalla','yöllä'],['keskiyöllä','keskipäivällä','aamulla','aamupäivällä','iltapäivällä','illalla','yöllä']],[['ky.','kp.','aamu','ap.','ip.','ilta','yö'],['keskiyö','keskip.','aamu','aamup.','iltap.','ilta','yö'],['keskiyö','keskipäivä','aamu','aamupäivä','iltapäivä','ilta','yö']],['00:00','12:00',['05:00','10:00'],['10:00','12:00'],['12:00','18:00'],['18:00','23:00'],['23:00','05:00']]]]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['fi'] = [ + 'fi', + [['ap.', 'ip.'], u, u], + u, + [ + ['S', 'M', 'T', 'K', 'T', 'P', 'L'], ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + [ + 'sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', + 'lauantaina' + ], + ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'] + ], + [ + ['S', 'M', 'T', 'K', 'T', 'P', 'L'], ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'], + ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'] + ], + [ + ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + [ + 'tammik.', 'helmik.', 'maalisk.', 'huhtik.', 'toukok.', 'kesäk.', 'heinäk.', 'elok.', + 'syysk.', 'lokak.', 'marrask.', 'jouluk.' + ], + [ + 'tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta', + 'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta' + ] + ], + [ + ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + [ + 'tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', + 'marras', 'joulu' + ], + [ + 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', + 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' + ] + ], + [['eKr', 'jKr'], ['eKr.', 'jKr.'], ['ennen Kristuksen syntymää', 'jälkeen Kristuksen syntymän']], + 1, + [6, 0], + ['d.M.y', u, 'd. MMMM y', 'cccc d. MMMM y'], + ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], + ['{1} {0}', '{1} \'klo\' {0}', u, u], + [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'epäluku', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AOA': [], + 'ARS': [], + 'AUD': [], + 'BAM': [], + 'BBD': [], + 'BDT': [], + 'BMD': [], + 'BND': [], + 'BOB': [], + 'BRL': [], + 'BSD': [], + 'BWP': [], + 'BYN': [], + 'BZD': [], + 'CAD': [], + 'CLP': [], + 'CNY': [], + 'COP': [], + 'CRC': [], + 'CUC': [], + 'CUP': [], + 'CZK': [], + 'DKK': [], + 'DOP': [], + 'EGP': [], + 'ESP': [], + 'FIM': ['mk'], + 'FJD': [], + 'FKP': [], + 'GEL': [], + 'GIP': [], + 'GNF': [], + 'GTQ': [], + 'GYD': [], + 'HKD': [], + 'HNL': [], + 'HRK': [], + 'HUF': [], + 'IDR': [], + 'ILS': [], + 'INR': [], + 'ISK': [], + 'JMD': [], + 'KHR': [], + 'KMF': [], + 'KPW': [], + 'KRW': [], + 'KYD': [], + 'KZT': [], + 'LAK': [], + 'LBP': [], + 'LKR': [], + 'LRD': [], + 'LTL': [], + 'LVL': [], + 'MGA': [], + 'MMK': [], + 'MNT': [], + 'MUR': [], + 'MXN': [], + 'MYR': [], + 'NAD': [], + 'NGN': [], + 'NIO': [], + 'NOK': [], + 'NPR': [], + 'NZD': [], + 'PHP': [], + 'PKR': [], + 'PLN': [], + 'PYG': [], + 'RON': [], + 'RUR': [], + 'RWF': [], + 'SBD': [], + 'SEK': [], + 'SGD': [], + 'SHP': [], + 'SRD': [], + 'SSP': [], + 'STN': [u, 'STD'], + 'SYP': [], + 'THB': [], + 'TOP': [], + 'TRY': [], + 'TTD': [], + 'TWD': [], + 'UAH': [], + 'UYU': [], + 'VEF': [], + 'VND': [], + 'XCD': [], + 'XPF': [], + 'XXX': [], + 'ZAR': [], + 'ZMW': [] + }, + 'ltr', + plural, + [ + [ + ['ky.', 'kp.', 'aamulla', 'ap.', 'ip.', 'illalla', 'yöllä'], + ['keskiyöllä', 'keskip.', 'aamulla', 'aamup.', 'iltap.', 'illalla', 'yöllä'], + ['keskiyöllä', 'keskipäivällä', 'aamulla', 'aamupäivällä', 'iltapäivällä', 'illalla', 'yöllä'] + ], + [ + ['ky.', 'kp.', 'aamu', 'ap.', 'ip.', 'ilta', 'yö'], + ['keskiyö', 'keskip.', 'aamu', 'aamup.', 'iltap.', 'ilta', 'yö'], + ['keskiyö', 'keskipäivä', 'aamu', 'aamupäivä', 'iltapäivä', 'ilta', 'yö'] + ], + [ + '00:00', '12:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], + ['18:00', '23:00'], ['23:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fil.js b/packages/common/locales/global/fil.js index cb59ad85c3..7f8169930a 100644 --- a/packages/common/locales/global/fil.js +++ b/packages/common/locales/global/fil.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,79 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && (i === 1 || i === 2 || i === 3) || - v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) || - !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9)) - return 1; - return 5; - } - global.ng.common.locales['fil'] = [ - 'fil', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && (i === 1 || i === 2 || i === 3) || + v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) || + !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9)) + return 1; + return 5; +} +global.ng.common.locales['fil'] = [ + 'fil', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], u, + ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'], + ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa'] + ], + u, + [ + ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], u, [ - ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], u, - ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'], - ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa'] - ], - u, - [ - ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], u, - [ - 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', - 'Oktubre', 'Nobyembre', 'Disyembre' - ] - ], - [ - ['E', 'P', 'M', 'A', 'M', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], - ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], - [ - 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', - 'Oktubre', 'Nobyembre', 'Disyembre' - ] - ], - [['BC', 'AD'], u, ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'nang\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'PHP', - '₱', - 'Piso ng Pilipinas', - {'PHP': ['₱'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'sa hapon', 'sa gabi', 'gabi'], - [ - 'hatinggabi', 'tanghaling-tapat', 'nang umaga', 'madaling-araw', 'tanghali', 'ng hapon', - 'gabi' - ], - [ - 'hatinggabi', 'tanghaling-tapat', 'nang umaga', 'madaling-araw', 'tanghali', 'ng hapon', - 'ng gabi' - ] - ], - [ - ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'tanghali', 'gabi', 'gabi'], - ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'tanghali', 'hapon', 'gabi'], u - ], - [ - '00:00', '12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], - ['16:00', '18:00'], ['18:00', '24:00'] - ] + 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', + 'Oktubre', 'Nobyembre', 'Disyembre' ] - ]; + ], + [ + ['E', 'P', 'M', 'A', 'M', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + [ + 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', + 'Oktubre', 'Nobyembre', 'Disyembre' + ] + ], + [['BC', 'AD'], u, ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'nang\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'PHP', + '₱', + 'Piso ng Pilipinas', + {'PHP': ['₱'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'sa hapon', 'sa gabi', 'gabi'], + [ + 'hatinggabi', 'tanghaling-tapat', 'nang umaga', 'madaling-araw', 'tanghali', 'ng hapon', + 'gabi' + ], + [ + 'hatinggabi', 'tanghaling-tapat', 'nang umaga', 'madaling-araw', 'tanghali', 'ng hapon', + 'ng gabi' + ] + ], + [ + ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'tanghali', 'gabi', 'gabi'], + ['hatinggabi', 'tanghaling-tapat', 'umaga', 'madaling-araw', 'tanghali', 'hapon', 'gabi'], u + ], + [ + '00:00', '12:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], + ['16:00', '18:00'], ['18:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fo-DK.js b/packages/common/locales/global/fo-DK.js index c0f93453f9..046627536d 100644 --- a/packages/common/locales/global/fo-DK.js +++ b/packages/common/locales/global/fo-DK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,69 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['fo-dk'] = [ - 'fo-DK', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['fo-dk'] = [ + 'fo-DK', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], + ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] + ], + [ + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], + ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], - ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], - ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] - ], + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], - ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'des.' - ], - [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], - [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr.', - 'donsk króna', - {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', u], + [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DKK', + 'kr.', + 'donsk króna', + {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fo.js b/packages/common/locales/global/fo.js index 809712a01c..10e6e1df60 100644 --- a/packages/common/locales/global/fo.js +++ b/packages/common/locales/global/fo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,69 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['fo'] = [ - 'fo', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['fo'] = [ + 'fo', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], + ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] + ], + [ + ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], + ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'], + ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], - ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], - ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'] - ], + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], [ - ['S', 'M', 'T', 'M', 'H', 'F', 'L'], ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], - [ - 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', - 'leygardagur' - ], - ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'des.' - ], - [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], - [ - 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr', - 'donsk króna', - {'DKK': ['kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], ['fyri Krist', 'eftir Krist']], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', u], + [',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DKK', + 'kr', + 'donsk króna', + {'DKK': ['kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-BE.js b/packages/common/locales/global/fr-BE.js index 391249f601..8d37ae2939 100644 --- a/packages/common/locales/global/fr-BE.js +++ b/packages/common/locales/global/fr-BE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-be'] = [ - 'fr-BE', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-be'] = [ + 'fr-BE', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'H \'h\' mm \'min\' ss \'s\' zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'H \'h\' mm \'min\' ss \'s\' zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-BF.js b/packages/common/locales/global/fr-BF.js index 103371a94a..883ac3ca1f 100644 --- a/packages/common/locales/global/fr-BF.js +++ b/packages/common/locales/global/fr-BF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-bf'] = [ - 'fr-BF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-bf'] = [ + 'fr-BF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-BI.js b/packages/common/locales/global/fr-BI.js index f4311189e2..f4dffa710b 100644 --- a/packages/common/locales/global/fr-BI.js +++ b/packages/common/locales/global/fr-BI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-bi'] = [ - 'fr-BI', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-bi'] = [ + 'fr-BI', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'BIF', - 'FBu', - 'franc burundais', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BIF': ['FBu'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BIF', + 'FBu', + 'franc burundais', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BIF': ['FBu'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-BJ.js b/packages/common/locales/global/fr-BJ.js index 114f6d3bd7..aecad61722 100644 --- a/packages/common/locales/global/fr-BJ.js +++ b/packages/common/locales/global/fr-BJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-bj'] = [ - 'fr-BJ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-bj'] = [ + 'fr-BJ', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-BL.js b/packages/common/locales/global/fr-BL.js index a95b8a8190..f8c911dbb7 100644 --- a/packages/common/locales/global/fr-BL.js +++ b/packages/common/locales/global/fr-BL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-bl'] = [ - 'fr-BL', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-bl'] = [ + 'fr-BL', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CA.js b/packages/common/locales/global/fr-CA.js index 4f1b1e8950..82c66acd21 100644 --- a/packages/common/locales/global/fr-CA.js +++ b/packages/common/locales/global/fr-CA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,102 +10,102 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ca'] = [ - 'fr-CA', - [['a', 'p'], ['a.m.', 'p.m.'], u], - [['a.m.', 'p.m.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ca'] = [ + 'fr-CA', + [['a', 'p'], ['a.m.', 'p.m.'], u], + [['a.m.', 'p.m.'], u, u], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juill.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juill.', 'août', 'sept.', 'oct.', - 'nov.', 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 0, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - [ - 'HH \'h\' mm', 'HH \'h\' mm \'min\' ss \'s\'', 'HH \'h\' mm \'min\' ss \'s\' z', - 'HH \'h\' mm \'min\' ss \'s\' zzzz' - ], - ['{1} {0}', u, '{1} \'à\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CAD', - '$', - 'dollar canadien', - { - 'AUD': ['$ AU', '$'], - 'BEF': ['FB'], - 'BYN': [u, 'Br'], - 'CAD': ['$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FRF': ['F'], - 'GEL': [], - 'HKD': ['$ HK', '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'ITL': ['₤IT'], - 'KRW': [u, '₩'], - 'LBP': [u, '£L'], - 'MTP': ['£MT'], - 'MXN': [u, '$'], - 'NZD': ['$ NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SGD': ['$ SG', '$'], - 'TOP': [u, '$T'], - 'TWD': [u, 'NT$'], - 'USD': ['$ US', '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [], - 'XPF': [] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'mat.'], - ['minuit', 'midi', 'du mat.', 'après-midi', 'du soir', 'du mat.'], - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'mat.'], - ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'nuit'], - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 0, + [6, 0], + ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + [ + 'HH \'h\' mm', 'HH \'h\' mm \'min\' ss \'s\'', 'HH \'h\' mm \'min\' ss \'s\' z', + 'HH \'h\' mm \'min\' ss \'s\' zzzz' + ], + ['{1} {0}', u, '{1} \'à\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CAD', + '$', + 'dollar canadien', + { + 'AUD': ['$ AU', '$'], + 'BEF': ['FB'], + 'BYN': [u, 'Br'], + 'CAD': ['$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FRF': ['F'], + 'GEL': [], + 'HKD': ['$ HK', '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'ITL': ['₤IT'], + 'KRW': [u, '₩'], + 'LBP': [u, '£L'], + 'MTP': ['£MT'], + 'MXN': [u, '$'], + 'NZD': ['$ NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SGD': ['$ SG', '$'], + 'TOP': [u, '$T'], + 'TWD': [u, 'NT$'], + 'USD': ['$ US', '$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [], + 'XPF': [] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'mat.'], + ['minuit', 'midi', 'du mat.', 'après-midi', 'du soir', 'du mat.'], + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'mat.'], + ['minuit', 'midi', 'mat.', 'après-midi', 'soir', 'nuit'], + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CD.js b/packages/common/locales/global/fr-CD.js index 3c40538fd6..ee4cae4e0b 100644 --- a/packages/common/locales/global/fr-CD.js +++ b/packages/common/locales/global/fr-CD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,113 +10,113 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-cd'] = [ - 'fr-CD', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-cd'] = [ + 'fr-CD', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CDF', - 'FC', - 'franc congolais', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CDF': ['FC'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CDF', + 'FC', + 'franc congolais', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CDF': ['FC'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CF.js b/packages/common/locales/global/fr-CF.js index e71ad66237..67e27fff7e 100644 --- a/packages/common/locales/global/fr-CF.js +++ b/packages/common/locales/global/fr-CF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-cf'] = [ - 'fr-CF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-cf'] = [ + 'fr-CF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CG.js b/packages/common/locales/global/fr-CG.js index f3711b2bde..e5313c8864 100644 --- a/packages/common/locales/global/fr-CG.js +++ b/packages/common/locales/global/fr-CG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-cg'] = [ - 'fr-CG', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-cg'] = [ + 'fr-CG', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CH.js b/packages/common/locales/global/fr-CH.js index 36728bb5a6..b88e3f3b52 100644 --- a/packages/common/locales/global/fr-CH.js +++ b/packages/common/locales/global/fr-CH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ch'] = [ - 'fr-CH', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ch'] = [ + 'fr-CH', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH.mm:ss \'h\' zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':', '.'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'franc suisse', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['min.', 'midi', 'du mat.', 'de l’ap.m.', 'du soir', 'du mat.'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH.mm:ss \'h\' zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':', '.'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'CHF', + 'CHF', + 'franc suisse', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['min.', 'midi', 'du mat.', 'de l’ap.m.', 'du soir', 'du mat.'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CI.js b/packages/common/locales/global/fr-CI.js index ac0362af1d..7527ea9c80 100644 --- a/packages/common/locales/global/fr-CI.js +++ b/packages/common/locales/global/fr-CI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ci'] = [ - 'fr-CI', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ci'] = [ + 'fr-CI', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-CM.js b/packages/common/locales/global/fr-CM.js index 8b8372f2ca..57efd173bb 100644 --- a/packages/common/locales/global/fr-CM.js +++ b/packages/common/locales/global/fr-CM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-cm'] = [ - 'fr-CM', - [['mat.', 'soir'], u, ['matin', 'soir']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-cm'] = [ + 'fr-CM', + [['mat.', 'soir'], u, ['matin', 'soir']], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-DJ.js b/packages/common/locales/global/fr-DJ.js index 09098da1db..d020a76888 100644 --- a/packages/common/locales/global/fr-DJ.js +++ b/packages/common/locales/global/fr-DJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-dj'] = [ - 'fr-DJ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-dj'] = [ + 'fr-DJ', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 6, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DJF', - 'Fdj', - 'franc djiboutien', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'DJF': ['Fdj'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 6, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DJF', + 'Fdj', + 'franc djiboutien', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'DJF': ['Fdj'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-DZ.js b/packages/common/locales/global/fr-DZ.js index 2fdf877eaa..a104157093 100644 --- a/packages/common/locales/global/fr-DZ.js +++ b/packages/common/locales/global/fr-DZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-dz'] = [ - 'fr-DZ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-dz'] = [ + 'fr-DZ', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 6, - [5, 6], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DZD', - 'DA', - 'dinar algérien', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'DZD': ['DA'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 6, + [5, 6], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'DZD', + 'DA', + 'dinar algérien', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'DZD': ['DA'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-GA.js b/packages/common/locales/global/fr-GA.js index 3b3fcd8c28..bda7409214 100644 --- a/packages/common/locales/global/fr-GA.js +++ b/packages/common/locales/global/fr-GA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ga'] = [ - 'fr-GA', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ga'] = [ + 'fr-GA', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-GF.js b/packages/common/locales/global/fr-GF.js index 89284fc2c1..49cd5d8274 100644 --- a/packages/common/locales/global/fr-GF.js +++ b/packages/common/locales/global/fr-GF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-gf'] = [ - 'fr-GF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-gf'] = [ + 'fr-GF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-GN.js b/packages/common/locales/global/fr-GN.js index 75a480d7a7..7b7466cd4c 100644 --- a/packages/common/locales/global/fr-GN.js +++ b/packages/common/locales/global/fr-GN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-gn'] = [ - 'fr-GN', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-gn'] = [ + 'fr-GN', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'GNF', - 'FG', - 'franc guinéen', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'GNF': ['FG'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'GNF', + 'FG', + 'franc guinéen', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'GNF': ['FG'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-GP.js b/packages/common/locales/global/fr-GP.js index e75c673580..8d78aaf074 100644 --- a/packages/common/locales/global/fr-GP.js +++ b/packages/common/locales/global/fr-GP.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-gp'] = [ - 'fr-GP', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-gp'] = [ + 'fr-GP', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-GQ.js b/packages/common/locales/global/fr-GQ.js index 11deee8d51..49297ebf26 100644 --- a/packages/common/locales/global/fr-GQ.js +++ b/packages/common/locales/global/fr-GQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-gq'] = [ - 'fr-GQ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-gq'] = [ + 'fr-GQ', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-HT.js b/packages/common/locales/global/fr-HT.js index 1b436b12bd..7f032c7626 100644 --- a/packages/common/locales/global/fr-HT.js +++ b/packages/common/locales/global/fr-HT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ht'] = [ - 'fr-HT', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ht'] = [ + 'fr-HT', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'HTG', - 'G', - 'gourde haïtienne', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'HTG': ['G'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'de la nuit'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'HTG', + 'G', + 'gourde haïtienne', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'HTG': ['G'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'de la nuit'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-KM.js b/packages/common/locales/global/fr-KM.js index 4954b27880..40aa055577 100644 --- a/packages/common/locales/global/fr-KM.js +++ b/packages/common/locales/global/fr-KM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-km'] = [ - 'fr-KM', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-km'] = [ + 'fr-KM', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'KMF', - 'CF', - 'franc comorien', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': ['CF', 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'KMF', + 'CF', + 'franc comorien', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': ['CF', 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-LU.js b/packages/common/locales/global/fr-LU.js index 4edd776e05..28fa767c55 100644 --- a/packages/common/locales/global/fr-LU.js +++ b/packages/common/locales/global/fr-LU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-lu'] = [ - 'fr-LU', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-lu'] = [ + 'fr-LU', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'LUF': ['F'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'LUF': ['F'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MA.js b/packages/common/locales/global/fr-MA.js index a93d9821fb..e2fbec0992 100644 --- a/packages/common/locales/global/fr-MA.js +++ b/packages/common/locales/global/fr-MA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ma'] = [ - 'fr-MA', - [['AM', 'PM'], u, ['a.m.', 'p.m.']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ma'] = [ + 'fr-MA', + [['AM', 'PM'], u, ['a.m.', 'p.m.']], + [['AM', 'PM'], u, u], + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'jan.', 'fév.', 'mar.', 'avr.', 'mai', 'jui.', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fév.', 'mar.', 'avr.', 'mai', 'jui.', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MAD', - 'MAD', - 'dirham marocain', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MAD', + 'MAD', + 'dirham marocain', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MC.js b/packages/common/locales/global/fr-MC.js index ae9bde399d..5791b4953a 100644 --- a/packages/common/locales/global/fr-MC.js +++ b/packages/common/locales/global/fr-MC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mc'] = [ - 'fr-MC', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mc'] = [ + 'fr-MC', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MF.js b/packages/common/locales/global/fr-MF.js index df342fd9a6..14b1ade702 100644 --- a/packages/common/locales/global/fr-MF.js +++ b/packages/common/locales/global/fr-MF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mf'] = [ - 'fr-MF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mf'] = [ + 'fr-MF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MG.js b/packages/common/locales/global/fr-MG.js index 72891a999b..7998d4cdc7 100644 --- a/packages/common/locales/global/fr-MG.js +++ b/packages/common/locales/global/fr-MG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mg'] = [ - 'fr-MG', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mg'] = [ + 'fr-MG', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MGA', - 'Ar', - 'ariary malgache', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MGA': ['Ar'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MGA', + 'Ar', + 'ariary malgache', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MGA': ['Ar'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-ML.js b/packages/common/locales/global/fr-ML.js index 3eff899b9d..f4b42c21b4 100644 --- a/packages/common/locales/global/fr-ML.js +++ b/packages/common/locales/global/fr-ML.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ml'] = [ - 'fr-ML', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ml'] = [ + 'fr-ML', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'à\' {0}', u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'à\' {0}', u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MQ.js b/packages/common/locales/global/fr-MQ.js index 256902f232..3fd53b1062 100644 --- a/packages/common/locales/global/fr-MQ.js +++ b/packages/common/locales/global/fr-MQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mq'] = [ - 'fr-MQ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mq'] = [ + 'fr-MQ', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MR.js b/packages/common/locales/global/fr-MR.js index c90be32699..6b16b895c7 100644 --- a/packages/common/locales/global/fr-MR.js +++ b/packages/common/locales/global/fr-MR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mr'] = [ - 'fr-MR', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mr'] = [ + 'fr-MR', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MRU', - 'UM', - 'ouguiya mauritanien', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MRU': ['UM'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MRU', + 'UM', + 'ouguiya mauritanien', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MRU': ['UM'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-MU.js b/packages/common/locales/global/fr-MU.js index 437271ae51..e1bdd3555b 100644 --- a/packages/common/locales/global/fr-MU.js +++ b/packages/common/locales/global/fr-MU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-mu'] = [ - 'fr-MU', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-mu'] = [ + 'fr-MU', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MUR', - 'Rs', - 'roupie mauricienne', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MUR': ['Rs'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MUR', + 'Rs', + 'roupie mauricienne', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MUR': ['Rs'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-NC.js b/packages/common/locales/global/fr-NC.js index 622525f99a..f6955a92c2 100644 --- a/packages/common/locales/global/fr-NC.js +++ b/packages/common/locales/global/fr-NC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-nc'] = [ - 'fr-NC', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-nc'] = [ + 'fr-NC', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XPF', - 'FCFP', - 'franc CFP', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XPF', + 'FCFP', + 'franc CFP', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-NE.js b/packages/common/locales/global/fr-NE.js index d97c8c510c..58edca7deb 100644 --- a/packages/common/locales/global/fr-NE.js +++ b/packages/common/locales/global/fr-NE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-ne'] = [ - 'fr-NE', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-ne'] = [ + 'fr-NE', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-PF.js b/packages/common/locales/global/fr-PF.js index 8e18925250..e01779491a 100644 --- a/packages/common/locales/global/fr-PF.js +++ b/packages/common/locales/global/fr-PF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-pf'] = [ - 'fr-PF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-pf'] = [ + 'fr-PF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XPF', - 'FCFP', - 'franc CFP', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XPF', + 'FCFP', + 'franc CFP', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-PM.js b/packages/common/locales/global/fr-PM.js index 200be437d5..b8d7651f8f 100644 --- a/packages/common/locales/global/fr-PM.js +++ b/packages/common/locales/global/fr-PM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-pm'] = [ - 'fr-PM', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-pm'] = [ + 'fr-PM', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-RE.js b/packages/common/locales/global/fr-RE.js index aac33e3a0d..2dd8fdf4ee 100644 --- a/packages/common/locales/global/fr-RE.js +++ b/packages/common/locales/global/fr-RE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-re'] = [ - 'fr-RE', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-re'] = [ + 'fr-RE', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-RW.js b/packages/common/locales/global/fr-RW.js index be31eef96f..bd0e6dbf1d 100644 --- a/packages/common/locales/global/fr-RW.js +++ b/packages/common/locales/global/fr-RW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-rw'] = [ - 'fr-RW', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-rw'] = [ + 'fr-RW', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RWF', - 'RF', - 'franc rwandais', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': ['RF', 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'RWF', + 'RF', + 'franc rwandais', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': ['RF', 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-SC.js b/packages/common/locales/global/fr-SC.js index 66d1b20a6c..cf44f62d5b 100644 --- a/packages/common/locales/global/fr-SC.js +++ b/packages/common/locales/global/fr-SC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-sc'] = [ - 'fr-SC', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-sc'] = [ + 'fr-SC', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SCR', - 'SR', - 'roupie des Seychelles', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SCR': ['SR'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'SCR', + 'SR', + 'roupie des Seychelles', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SCR': ['SR'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-SN.js b/packages/common/locales/global/fr-SN.js index 7f84ea9704..269ff954a9 100644 --- a/packages/common/locales/global/fr-SN.js +++ b/packages/common/locales/global/fr-SN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-sn'] = [ - 'fr-SN', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-sn'] = [ + 'fr-SN', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['min.', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-SY.js b/packages/common/locales/global/fr-SY.js index 5404df5ce0..da6903cf05 100644 --- a/packages/common/locales/global/fr-SY.js +++ b/packages/common/locales/global/fr-SY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-sy'] = [ - 'fr-SY', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-sy'] = [ + 'fr-SY', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 6, - [5, 6], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SYP', - 'LS', - 'livre syrienne', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'SYP': ['LS', '£'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 6, + [5, 6], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'SYP', + 'LS', + 'livre syrienne', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'SYP': ['LS', '£'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-TD.js b/packages/common/locales/global/fr-TD.js index 4c379d8741..923c6065e4 100644 --- a/packages/common/locales/global/fr-TD.js +++ b/packages/common/locales/global/fr-TD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-td'] = [ - 'fr-TD', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-td'] = [ + 'fr-TD', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franc CFA (BEAC)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franc CFA (BEAC)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-TG.js b/packages/common/locales/global/fr-TG.js index cb3a8a9658..278c29a155 100644 --- a/packages/common/locales/global/fr-TG.js +++ b/packages/common/locales/global/fr-TG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-tg'] = [ - 'fr-TG', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-tg'] = [ + 'fr-TG', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franc CFA (BCEAO)', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franc CFA (BCEAO)', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-TN.js b/packages/common/locales/global/fr-TN.js index 8e58e32880..0abf8d55aa 100644 --- a/packages/common/locales/global/fr-TN.js +++ b/packages/common/locales/global/fr-TN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-tn'] = [ - 'fr-TN', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-tn'] = [ + 'fr-TN', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'TND', - 'DT', - 'dinar tunisien', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TND': ['DT'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'TND', + 'DT', + 'dinar tunisien', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TND': ['DT'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-VU.js b/packages/common/locales/global/fr-VU.js index c5a6e715b0..d5231d401c 100644 --- a/packages/common/locales/global/fr-VU.js +++ b/packages/common/locales/global/fr-VU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,111 +10,111 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-vu'] = [ - 'fr-VU', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-vu'] = [ + 'fr-VU', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'VUV', - 'VT', - 'vatu vanuatuan', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'VUV': ['VT'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'VUV', + 'VT', + 'vatu vanuatuan', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'VUV': ['VT'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-WF.js b/packages/common/locales/global/fr-WF.js index effd70cb60..64e779a191 100644 --- a/packages/common/locales/global/fr-WF.js +++ b/packages/common/locales/global/fr-WF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-wf'] = [ - 'fr-WF', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-wf'] = [ + 'fr-WF', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'XPF', - 'FCFP', - 'franc CFP', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'XPF', + 'FCFP', + 'franc CFP', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr-YT.js b/packages/common/locales/global/fr-YT.js index 4842c78851..2628d8a8b3 100644 --- a/packages/common/locales/global/fr-YT.js +++ b/packages/common/locales/global/fr-YT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr-yt'] = [ - 'fr-YT', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr-yt'] = [ + 'fr-YT', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fr.js b/packages/common/locales/global/fr.js index 41852a1be6..ee22833e5d 100644 --- a/packages/common/locales/global/fr.js +++ b/packages/common/locales/global/fr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,110 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['fr'] = [ - 'fr', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['fr'] = [ + 'fr', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], + ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], - ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'], - ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'] + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' ], - u, [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', - 'déc.' - ], - [ - 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', - 'octobre', 'novembre', 'décembre' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural, - [ - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] - ], - [ - ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, - ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' ] - ]; + ], + u, + [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1} \'à\' {0}', u, u], + [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'ARS': ['$AR', '$'], + 'AUD': ['$AU', '$'], + 'BEF': ['FB'], + 'BMD': ['$BM', '$'], + 'BND': ['$BN', '$'], + 'BZD': ['$BZ', '$'], + 'CAD': ['$CA', '$'], + 'CLP': ['$CL', '$'], + 'CNY': [u, '¥'], + 'COP': ['$CO', '$'], + 'CYP': ['£CY'], + 'EGP': [u, '£E'], + 'FJD': ['$FJ', '$'], + 'FKP': ['£FK', '£'], + 'FRF': ['F'], + 'GBP': ['£GB', '£'], + 'GIP': ['£GI', '£'], + 'HKD': [u, '$'], + 'IEP': ['£IE'], + 'ILP': ['£IL'], + 'ITL': ['₤IT'], + 'JPY': [u, '¥'], + 'KMF': [u, 'FC'], + 'LBP': ['£LB', '£L'], + 'MTP': ['£MT'], + 'MXN': ['$MX', '$'], + 'NAD': ['$NA', '$'], + 'NIO': [u, '$C'], + 'NZD': ['$NZ', '$'], + 'RHD': ['$RH'], + 'RON': [u, 'L'], + 'RWF': [u, 'FR'], + 'SBD': ['$SB', '$'], + 'SGD': ['$SG', '$'], + 'SRD': ['$SR', '$'], + 'TOP': [u, '$T'], + 'TTD': ['$TT', '$'], + 'TWD': [u, 'NT$'], + 'USD': ['$US', '$'], + 'UYU': ['$UY', '$'], + 'WST': ['$WS'], + 'XCD': [u, '$'], + 'XPF': ['FCFP'], + 'ZMW': [u, 'Kw'] + }, + 'ltr', + plural, + [ + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'du matin', 'de l’après-midi', 'du soir', 'du matin'] + ], + [ + ['minuit', 'midi', 'mat.', 'ap.m.', 'soir', 'nuit'], u, + ['minuit', 'midi', 'matin', 'après-midi', 'soir', 'nuit'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fur.js b/packages/common/locales/global/fur.js index 2d2590bb1a..07d2f3d679 100644 --- a/packages/common/locales/global/fur.js +++ b/packages/common/locales/global/fur.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['fur'] = [ - 'fur', - [['a.', 'p.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['fur'] = [ + 'fur', + [['a.', 'p.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], + ['domenie', 'lunis', 'martars', 'miercus', 'joibe', 'vinars', 'sabide'], + ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'] + ], + u, + [ + ['Z', 'F', 'M', 'A', 'M', 'J', 'L', 'A', 'S', 'O', 'N', 'D'], + ['Zen', 'Fev', 'Mar', 'Avr', 'Mai', 'Jug', 'Lui', 'Avo', 'Set', 'Otu', 'Nov', 'Dic'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], - ['domenie', 'lunis', 'martars', 'miercus', 'joibe', 'vinars', 'sabide'], - ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'] - ], - u, - [ - ['Z', 'F', 'M', 'A', 'M', 'J', 'L', 'A', 'S', 'O', 'N', 'D'], - ['Zen', 'Fev', 'Mar', 'Avr', 'Mai', 'Jug', 'Lui', 'Avo', 'Set', 'Otu', 'Nov', 'Dic'], - [ - 'Zenâr', 'Fevrâr', 'Març', 'Avrîl', 'Mai', 'Jugn', 'Lui', 'Avost', 'Setembar', 'Otubar', - 'Novembar', 'Dicembar' - ] - ], - u, - [['pdC', 'ddC'], u, u], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'di\' MMMM \'dal\' y', 'EEEE d \'di\' MMMM \'dal\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Zenâr', 'Fevrâr', 'Març', 'Avrîl', 'Mai', 'Jugn', 'Lui', 'Avost', 'Setembar', 'Otubar', + 'Novembar', 'Dicembar' + ] + ], + u, + [['pdC', 'ddC'], u, u], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'di\' MMMM \'dal\' y', 'EEEE d \'di\' MMMM \'dal\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'EUR', + '€', + 'euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/fy.js b/packages/common/locales/global/fy.js index 0ba917deef..a23e49f078 100644 --- a/packages/common/locales/global/fy.js +++ b/packages/common/locales/global/fy.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['fy'] = [ - 'fy', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['fy'] = [ + 'fy', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'], + ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mrt', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], - ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'], - ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mrt', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Jannewaris', 'Febrewaris', 'Maart', 'April', 'Maaie', 'Juny', 'July', 'Augustus', - 'Septimber', 'Oktober', 'Novimber', 'Desimber' - ] - ], - u, - [['f.K.', 'n.K.'], ['f.Kr.', 'n.Kr.'], ['Foar Kristus', 'nei Kristus']], - 1, - [6, 0], - ['dd-MM-yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ #,##0.00-', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'USD': ['US$', '$'], - 'XPF': [] - }, - 'ltr', - plural, - [] - ]; + 'Jannewaris', 'Febrewaris', 'Maart', 'April', 'Maaie', 'Juny', 'July', 'Augustus', + 'Septimber', 'Oktober', 'Novimber', 'Desimber' + ] + ], + u, + [['f.K.', 'n.K.'], ['f.Kr.', 'n.Kr.'], ['Foar Kristus', 'nei Kristus']], + 1, + [6, 0], + ['dd-MM-yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ #,##0.00-', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'USD': ['US$', '$'], + 'XPF': [] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ga-GB.js b/packages/common/locales/global/ga-GB.js index 0deb956941..879225b191 100644 --- a/packages/common/locales/global/ga-GB.js +++ b/packages/common/locales/global/ga-GB.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - if (n === Math.floor(n) && n >= 3 && n <= 6) return 3; - if (n === Math.floor(n) && n >= 7 && n <= 10) return 4; - return 5; - } - global.ng.common.locales['ga-gb'] = [ - 'ga-GB', - [['r.n.', 'i.n.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + if (n === Math.floor(n) && n >= 3 && n <= 6) return 3; + if (n === Math.floor(n) && n >= 7 && n <= 10) return 4; + return 5; +} +global.ng.common.locales['ga-gb'] = [ + 'ga-GB', + [['r.n.', 'i.n.'], u, u], + u, + [ + ['D', 'L', 'M', 'C', 'D', 'A', 'S'], ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], [ - ['D', 'L', 'M', 'C', 'D', 'A', 'S'], - ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], - [ - 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', - 'Dé Sathairn' - ], - ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn' ], - u, + ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], [ - ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], - [ - 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', - 'Samh', 'Noll' - ], - [ - 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', - 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' - ] + 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', 'Samh', + 'Noll' ], - u, - [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'Punt Steirling', - {'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, - 'ltr', - plural, - [] - ]; + [ + 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', + 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' + ] + ], + u, + [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'Punt Steirling', + {'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ga.js b/packages/common/locales/global/ga.js index 222542f3d7..e372070807 100644 --- a/packages/common/locales/global/ga.js +++ b/packages/common/locales/global/ga.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - if (n === Math.floor(n) && n >= 3 && n <= 6) return 3; - if (n === Math.floor(n) && n >= 7 && n <= 10) return 4; - return 5; - } - global.ng.common.locales['ga'] = [ - 'ga', - [['r.n.', 'i.n.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + if (n === Math.floor(n) && n >= 3 && n <= 6) return 3; + if (n === Math.floor(n) && n >= 7 && n <= 10) return 4; + return 5; +} +global.ng.common.locales['ga'] = [ + 'ga', + [['r.n.', 'i.n.'], u, u], + u, + [ + ['D', 'L', 'M', 'C', 'D', 'A', 'S'], ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], [ - ['D', 'L', 'M', 'C', 'D', 'A', 'S'], - ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], - [ - 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', - 'Dé Sathairn' - ], - ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn' ], - u, + ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'] + ], + u, + [ + ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], [ - ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], - [ - 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', - 'Samh', 'Noll' - ], - [ - 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', - 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' - ] + 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', 'Samh', + 'Noll' ], - u, - [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, - 'ltr', - plural, - [] - ]; + [ + 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', + 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' + ] + ], + u, + [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gd.js b/packages/common/locales/global/gd.js index c809a0e86b..068eed79f7 100644 --- a/packages/common/locales/global/gd.js +++ b/packages/common/locales/global/gd.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,65 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1 || n === 11) return 1; - if (n === 2 || n === 12) return 2; - if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19)) return 3; - return 5; - } - global.ng.common.locales['gd'] = [ - 'gd', - [['m', 'f'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1 || n === 11) return 1; + if (n === 2 || n === 12) return 2; + if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19)) return 3; + return 5; +} +global.ng.common.locales['gd'] = [ + 'gd', + [['m', 'f'], u, u], + u, + [ + ['D', 'L', 'M', 'C', 'A', 'H', 'S'], ['DiD', 'DiL', 'DiM', 'DiC', 'Dia', 'Dih', 'DiS'], + ['DiDòmhnaich', 'DiLuain', 'DiMàirt', 'DiCiadain', 'DiarDaoin', 'DihAoine', 'DiSathairne'], + ['Dò', 'Lu', 'Mà', 'Ci', 'Da', 'hA', 'Sa'] + ], + u, + [ + ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], [ - ['D', 'L', 'M', 'C', 'A', 'H', 'S'], ['DiD', 'DiL', 'DiM', 'DiC', 'Dia', 'Dih', 'DiS'], - ['DiDòmhnaich', 'DiLuain', 'DiMàirt', 'DiCiadain', 'DiarDaoin', 'DihAoine', 'DiSathairne'], - ['Dò', 'Lu', 'Mà', 'Ci', 'Da', 'hA', 'Sa'] - ], - u, - [ - ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], - [ - 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', - 'Samh', 'Dùbh' - ], - [ - 'dhen Fhaoilleach', 'dhen Ghearran', 'dhen Mhàrt', 'dhen Ghiblean', 'dhen Chèitean', - 'dhen Ògmhios', 'dhen Iuchar', 'dhen Lùnastal', 'dhen t-Sultain', 'dhen Dàmhair', - 'dhen t-Samhain', 'dhen Dùbhlachd' - ] + 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', 'Samh', + 'Dùbh' ], [ - ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], - [ - 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', - 'Samh', 'Dùbh' - ], - [ - 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', - 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', - 'An Dùbhlachd' - ] + 'dhen Fhaoilleach', 'dhen Ghearran', 'dhen Mhàrt', 'dhen Ghiblean', 'dhen Chèitean', + 'dhen Ògmhios', 'dhen Iuchar', 'dhen Lùnastal', 'dhen t-Sultain', 'dhen Dàmhair', + 'dhen t-Samhain', 'dhen Dùbhlachd' + ] + ], + [ + ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], + [ + 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', 'Samh', + 'Dùbh' ], - [['R', 'A'], ['RC', 'AD'], ['Ro Chrìosta', 'An dèidh Chrìosta']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd\'mh\' MMMM y', 'EEEE, d\'mh\' MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'Punnd Sasannach', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'leu'], 'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, - 'ltr', - plural, - [] - ]; + [ + 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', + 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' + ] + ], + [['R', 'A'], ['RC', 'AD'], ['Ro Chrìosta', 'An dèidh Chrìosta']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd\'mh\' MMMM y', 'EEEE, d\'mh\' MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'Punnd Sasannach', + {'JPY': ['JP¥', '¥'], 'RON': [u, 'leu'], 'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gl.js b/packages/common/locales/global/gl.js index befcf63be6..0888338b94 100644 --- a/packages/common/locales/global/gl.js +++ b/packages/common/locales/global/gl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,83 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['gl'] = ['gl',[['a.m.','p.m.'],u,u],u,[['d.','l.','m.','m.','x.','v.','s.'],['dom.','luns','mar.','mér.','xov.','ven.','sáb.'],['domingo','luns','martes','mércores','xoves','venres','sábado'],['do.','lu.','ma.','mé.','xo.','ve.','sá.']],[['D','L','M','M','X','V','S'],['Dom.','Luns','Mar.','Mér.','Xov.','Ven.','Sáb.'],['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],['Do','Lu','Ma','Mé','Xo','Ve','Sá']],[['x.','f.','m.','a.','m.','x.','x.','a.','s.','o.','n.','d.'],['xan.','feb.','mar.','abr.','maio','xuño','xul.','ago.','set.','out.','nov.','dec.'],['xaneiro','febreiro','marzo','abril','maio','xuño','xullo','agosto','setembro','outubro','novembro','decembro']],[['X','F','M','A','M','X','X','A','S','O','N','D'],['Xan.','Feb.','Mar.','Abr.','Maio','Xuño','Xul.','Ago.','Set.','Out.','Nov.','Dec.'],['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño','Xullo','Agosto','Setembro','Outubro','Novembro','Decembro']],[['a.C.','d.C.'],u,['antes de Cristo','despois de Cristo']],1,[6,0],['dd/MM/yy','d \'de\' MMM \'de\' y','d \'de\' MMMM \'de\' y','EEEE, d \'de\' MMMM \'de\' y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{0}, {1}',u,'{0} \'do\' {1}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{'BYN':[u,'Br'],'ESP':['₧'],'JPY':['JP¥','¥'],'KMF':[u,'FC'],'MXN':['$MX','$'],'RUB':[u,'руб'],'THB':['฿'],'TWD':['NT$'],'XCD':[u,'$']},'ltr', plural, [[['da noite','da madrugada','da mañá','do mediodía','da tarde','da noite'],u,u],[['medianoite','madrugada','mañá','mediodía','tarde','noite'],u,u],['00:00',['00:00','06:00'],['06:00','12:00'],['12:00','13:00'],['13:00','21:00'],['21:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['gl'] = [ + 'gl', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['d.', 'l.', 'm.', 'm.', 'x.', 'v.', 's.'], + ['dom.', 'luns', 'mar.', 'mér.', 'xov.', 'ven.', 'sáb.'], + ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'], + ['do.', 'lu.', 'ma.', 'mé.', 'xo.', 've.', 'sá.'] + ], + [ + ['D', 'L', 'M', 'M', 'X', 'V', 'S'], ['Dom.', 'Luns', 'Mar.', 'Mér.', 'Xov.', 'Ven.', 'Sáb.'], + ['Domingo', 'Luns', 'Martes', 'Mércores', 'Xoves', 'Venres', 'Sábado'], + ['Do', 'Lu', 'Ma', 'Mé', 'Xo', 'Ve', 'Sá'] + ], + [ + ['x.', 'f.', 'm.', 'a.', 'm.', 'x.', 'x.', 'a.', 's.', 'o.', 'n.', 'd.'], + [ + 'xan.', 'feb.', 'mar.', 'abr.', 'maio', 'xuño', 'xul.', 'ago.', 'set.', 'out.', 'nov.', 'dec.' + ], + [ + 'xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', + 'outubro', 'novembro', 'decembro' + ] + ], + [ + ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'N', 'D'], + [ + 'Xan.', 'Feb.', 'Mar.', 'Abr.', 'Maio', 'Xuño', 'Xul.', 'Ago.', 'Set.', 'Out.', 'Nov.', 'Dec.' + ], + [ + 'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro', + 'Outubro', 'Novembro', 'Decembro' + ] + ], + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'despois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{0}, {1}', u, '{0} \'do\' {1}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'BYN': [u, 'Br'], + 'ESP': ['₧'], + 'JPY': ['JP¥', '¥'], + 'KMF': [u, 'FC'], + 'MXN': ['$MX', '$'], + 'RUB': [u, 'руб'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [['da noite', 'da madrugada', 'da mañá', 'do mediodía', 'da tarde', 'da noite'], u, u], + [['medianoite', 'madrugada', 'mañá', 'mediodía', 'tarde', 'noite'], u, u], + [ + '00:00', ['00:00', '06:00'], ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '21:00'], + ['21:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gsw-FR.js b/packages/common/locales/global/gsw-FR.js index 51288964b1..48692845f9 100644 --- a/packages/common/locales/global/gsw-FR.js +++ b/packages/common/locales/global/gsw-FR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['gsw-fr'] = [ - 'gsw-FR', - [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], - [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['gsw-fr'] = [ + 'gsw-FR', + [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], + [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], + ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], - ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], - ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', - 'Oktoober', 'Novämber', 'Dezämber' - ] - ], - u, - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'ATS': ['öS']}, - 'ltr', - plural, - [ - [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], - [ - ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, - ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] - ], - [ - '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' ] - ]; + ], + u, + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'ATS': ['öS']}, + 'ltr', + plural, + [ + [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], + [ + ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, + ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] + ], + [ + '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gsw-LI.js b/packages/common/locales/global/gsw-LI.js index 3a1f56fae1..3404a63671 100644 --- a/packages/common/locales/global/gsw-LI.js +++ b/packages/common/locales/global/gsw-LI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['gsw-li'] = [ - 'gsw-LI', - [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], - [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['gsw-li'] = [ + 'gsw-LI', + [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], + [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], + ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], - ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], - ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', - 'Oktoober', 'Novämber', 'Dezämber' - ] - ], - u, - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'Schwiizer Franke', - {'ATS': ['öS']}, - 'ltr', - plural, - [ - [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], - [ - ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, - ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] - ], - [ - '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' ] - ]; + ], + u, + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CHF', + 'CHF', + 'Schwiizer Franke', + {'ATS': ['öS']}, + 'ltr', + plural, + [ + [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], + [ + ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, + ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] + ], + [ + '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gsw.js b/packages/common/locales/global/gsw.js index 35616f29c0..6c763907fa 100644 --- a/packages/common/locales/global/gsw.js +++ b/packages/common/locales/global/gsw.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['gsw'] = [ - 'gsw', - [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], - [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['gsw'] = [ + 'gsw', + [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], + [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], + ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], - ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'], - ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', - 'Oktoober', 'Novämber', 'Dezämber' - ] - ], - u, - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'Schwiizer Franke', - {'ATS': ['öS']}, - 'ltr', - plural, - [ - [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], - [ - ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, - ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] - ], - [ - '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' ] - ]; + ], + u, + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CHF', + 'CHF', + 'Schwiizer Franke', + {'ATS': ['öS']}, + 'ltr', + plural, + [ + [['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, u], + [ + ['Mitternacht', 'am Morge', 'zmittag', 'am Namittag', 'zaabig', 'znacht'], u, + ['Mitternacht', 'Morge', 'Mittag', 'Namittag', 'Aabig', 'Nacht'] + ], + [ + '00:00', ['05:00', '12:00'], ['12:00', '14:00'], ['14:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gu.js b/packages/common/locales/global/gu.js index df4d1bacf1..ce0e4b2266 100644 --- a/packages/common/locales/global/gu.js +++ b/packages/common/locales/global/gu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['gu'] = [ - 'gu', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['gu'] = [ + 'gu', + [['AM', 'PM'], u, u], + u, + [ + ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'], + ['રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર'], + ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'] + ], + u, + [ + ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', 'ન', 'ડિ'], + ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઑક્ટો', 'નવે', 'ડિસે'], [ - ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], - [ - 'રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', - 'શનિ' - ], - [ - 'રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', - 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર' - ], - ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'] - ], - u, - [ - [ - 'જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', - 'ન', 'ડિ' - ], - [ - 'જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', - 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', - 'ઑક્ટો', 'નવે', 'ડિસે' - ], - [ - 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', - 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', - 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', - 'ડિસેમ્બર' - ] - ], - u, - [ - ['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], - ['ઈસવીસન પૂર્વે', 'ઇસવીસન'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], - ['{1} {0}', u, '{1} એ {0} વાગ્યે', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'ભારતીય રૂપિયા', - { - 'JPY': ['JP¥', '¥'], - 'MUR': [u, 'રૂ.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - [ - 'મ.રાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - [ - 'મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - u - ], - [ - [ - 'મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', - 'રાત્રે' - ], - u, - [ - 'મધ્યરાત્રિ', 'સવાર', 'બપોર', 'સાંજ', - 'રાત્રિ' - ] - ], - ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] + 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', + 'ડિસેમ્બર' ] - ]; + ], + u, + [['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], ['ઈસવીસન પૂર્વે', 'ઇસવીસન']], + 0, + [0, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], + ['{1} {0}', u, '{1} એ {0} વાગ્યે', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], + 'INR', + '₹', + 'ભારતીય રૂપિયા', + {'JPY': ['JP¥', '¥'], 'MUR': [u, 'રૂ.'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['મ.રાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], ['મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], u], + [['મધ્યરાત્રિ', 'સવારે', 'બપોરે', 'સાંજે', 'રાત્રે'], u, ['મધ્યરાત્રિ', 'સવાર', 'બપોર', 'સાંજ', 'રાત્રિ']], + ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/guz.js b/packages/common/locales/global/guz.js index 514c3a6ab6..4c8969e44e 100644 --- a/packages/common/locales/global/guz.js +++ b/packages/common/locales/global/guz.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['guz'] = [ - 'guz', - [['Ma', 'Mo'], u, ['Mambia', 'Mog']], - [['Ma', 'Mo'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['guz'] = [ + 'guz', + [['Ma', 'Mo'], u, ['Mambia', 'Mog']], + [['Ma', 'Mo'], u, u], + [ + ['C', 'C', 'C', 'C', 'A', 'I', 'E'], ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], + ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'], + ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'] + ], + u, + [ + ['C', 'F', 'M', 'A', 'M', 'J', 'C', 'A', 'S', 'O', 'N', 'D'], + ['Can', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Cul', 'Agt', 'Sep', 'Okt', 'Nob', 'Dis'], [ - ['C', 'C', 'C', 'C', 'A', 'I', 'E'], ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], - ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'], - ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'] - ], - u, - [ - ['C', 'F', 'M', 'A', 'M', 'J', 'C', 'A', 'S', 'O', 'N', 'D'], - ['Can', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Cul', 'Agt', 'Sep', 'Okt', 'Nob', 'Dis'], - [ - 'Chanuari', 'Feburari', 'Machi', 'Apiriri', 'Mei', 'Juni', 'Chulai', 'Agosti', 'Septemba', - 'Okitoba', 'Nobemba', 'Disemba' - ] - ], - u, - [['YA', 'YK'], u, ['Yeso ataiborwa', 'Yeso kaiboirwe']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Chanuari', 'Feburari', 'Machi', 'Apiriri', 'Mei', 'Juni', 'Chulai', 'Agosti', 'Septemba', + 'Okitoba', 'Nobemba', 'Disemba' + ] + ], + u, + [['YA', 'YK'], u, ['Yeso ataiborwa', 'Yeso kaiboirwe']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/gv.js b/packages/common/locales/global/gv.js index ef367547bb..47e1788729 100644 --- a/packages/common/locales/global/gv.js +++ b/packages/common/locales/global/gv.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,57 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1) return 1; - if (v === 0 && i % 10 === 2) return 2; - if (v === 0 && - (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80)) - return 3; - if (!(v === 0)) return 4; - return 5; - } - global.ng.common.locales['gv'] = [ - 'gv', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1) return 1; + if (v === 0 && i % 10 === 2) return 2; + if (v === 0 && + (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80)) + return 3; + if (!(v === 0)) return 4; + return 5; +} +global.ng.common.locales['gv'] = [ + 'gv', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], + ['Jedoonee', 'Jelhein', 'Jemayrt', 'Jercean', 'Jerdein', 'Jeheiney', 'Jesarn'], + ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], - ['Jedoonee', 'Jelhein', 'Jemayrt', 'Jercean', 'Jerdein', 'Jeheiney', 'Jesarn'], - ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'] + 'J-guer', 'T-arree', 'Mayrnt', 'Avrril', 'Boaldyn', 'M-souree', 'J-souree', 'Luanistyn', + 'M-fouyir', 'J-fouyir', 'M-Houney', 'M-Nollick' ], - u, [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'J-guer', 'T-arree', 'Mayrnt', 'Avrril', 'Boaldyn', 'M-souree', 'J-souree', 'Luanistyn', - 'M-fouyir', 'J-fouyir', 'M-Houney', 'M-Nollick' - ], - [ - 'Jerrey-geuree', 'Toshiaght-arree', 'Mayrnt', 'Averil', 'Boaldyn', 'Mean-souree', - 'Jerrey-souree', 'Luanistyn', 'Mean-fouyir', 'Jerrey-fouyir', 'Mee Houney', 'Mee ny Nollick' - ] - ], - u, - [['RC', 'AD'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'GBP', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jerrey-geuree', 'Toshiaght-arree', 'Mayrnt', 'Averil', 'Boaldyn', 'Mean-souree', + 'Jerrey-souree', 'Luanistyn', 'Mean-fouyir', 'Jerrey-fouyir', 'Mee Houney', 'Mee ny Nollick' + ] + ], + u, + [['RC', 'AD'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'GBP', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ha-GH.js b/packages/common/locales/global/ha-GH.js index a6a745d9b2..ae5b77dd2b 100644 --- a/packages/common/locales/global/ha-GH.js +++ b/packages/common/locales/global/ha-GH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ha-gh'] = [ - 'ha-GH', - [['AM', 'PM'], u, ['Safiya', 'Yamma']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ha-gh'] = [ + 'ha-GH', + [['AM', 'PM'], u, ['Safiya', 'Yamma']], + [['AM', 'PM'], u, u], + [ + ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], + ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], [ - ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], - ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], - ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], - [ - 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', - 'Oktoba', 'Nuwamba', 'Disamba' - ] - ], - u, - [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], - 1, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'GHS', - 'GH₵', - 'GHS', - {'GHS': ['GH₵'], 'NGN': ['₦']}, - 'ltr', - plural, - [] - ]; + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + ], + u, + [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], + 1, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'GHS', + 'GH₵', + 'GHS', + {'GHS': ['GH₵'], 'NGN': ['₦']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ha-NE.js b/packages/common/locales/global/ha-NE.js index 4c9fb10ae4..f7ef113639 100644 --- a/packages/common/locales/global/ha-NE.js +++ b/packages/common/locales/global/ha-NE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ha-ne'] = [ - 'ha-NE', - [['AM', 'PM'], u, ['Safiya', 'Yamma']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ha-ne'] = [ + 'ha-NE', + [['AM', 'PM'], u, ['Safiya', 'Yamma']], + [['AM', 'PM'], u, u], + [ + ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], + ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], [ - ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], - ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], - ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], - [ - 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', - 'Oktoba', 'Nuwamba', 'Disamba' - ] - ], - u, - [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], - 1, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XOF', - 'CFA', - 'Kuɗin Sefa na Afirka Ta Yamma', - {'NGN': ['₦']}, - 'ltr', - plural, - [] - ]; + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + ], + u, + [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], + 1, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XOF', + 'CFA', + 'Kuɗin Sefa na Afirka Ta Yamma', + {'NGN': ['₦']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ha.js b/packages/common/locales/global/ha.js index 4200a66969..ef88bcdc8c 100644 --- a/packages/common/locales/global/ha.js +++ b/packages/common/locales/global/ha.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ha'] = [ - 'ha', - [['AM', 'PM'], u, ['Safiya', 'Yamma']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ha'] = [ + 'ha', + [['AM', 'PM'], u, ['Safiya', 'Yamma']], + [['AM', 'PM'], u, u], + [ + ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], + ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], [ - ['L', 'L', 'T', 'L', 'A', 'J', 'A'], ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], - ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'], - ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], - [ - 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', - 'Oktoba', 'Nuwamba', 'Disamba' - ] - ], - u, - [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], - 1, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'NGN', - '₦', - 'Nairar Najeriya', - {'NGN': ['₦']}, - 'ltr', - plural, - [] - ]; + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + ], + u, + [['K.H', 'BHAI'], u, ['Kafin haihuwar annab', 'Bayan haihuwar annab']], + 1, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'NGN', + '₦', + 'Nairar Najeriya', + {'NGN': ['₦']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/haw.js b/packages/common/locales/global/haw.js index 22f10d6bd5..6c9d911f27 100644 --- a/packages/common/locales/global/haw.js +++ b/packages/common/locales/global/haw.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['haw'] = [ - 'haw', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['haw'] = [ + 'haw', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], + ['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'], + ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], - ['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'], - ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', - 'Kek.' - ], - [ - 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', - 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa' - ] - ], - u, - [['BCE', 'CE'], u, u], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'USD', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural, - [] - ]; + 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', + 'ʻOkakopa', 'Nowemapa', 'Kekemapa' + ] + ], + u, + [['BCE', 'CE'], u, u], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'USD', + {'JPY': ['JP¥', '¥']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/he.js b/packages/common/locales/global/he.js index d6eee2ce34..27c1e4a759 100644 --- a/packages/common/locales/global/he.js +++ b/packages/common/locales/global/he.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,97 +10,66 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (i === 2 && v === 0) return 2; - if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0) return 4; - return 5; - } - global.ng.common.locales['he'] = [ - 'he', - [['לפנה״צ', 'אחה״צ'], u, u], - [['לפנה״צ', 'אחה״צ'], ['AM', 'PM'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (i === 2 && v === 0) return 2; + if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0) return 4; + return 5; +} +global.ng.common.locales['he'] = [ + 'he', + [['לפנה״צ', 'אחה״צ'], u, u], + [['לפנה״צ', 'אחה״צ'], ['AM', 'PM'], u], + [ + ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'], + ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'], + ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], [ - ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], - [ - 'יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', - 'שבת' - ], - [ - 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', - 'יום חמישי', 'יום שישי', 'יום שבת' - ], - ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', - 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳' - ], - [ - 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', - 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' - ] - ], - u, - [['לפנה״ס', 'לספירה'], u, ['לפני הספירה', 'לספירה']], - 0, - [5, 6], - ['d.M.y', 'd בMMM y', 'd בMMMM y', 'EEEE, d בMMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, '{1} בשעה {0}', u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '\u200f#,##0.00 ¤;\u200f-#,##0.00 ¤', '#E0'], - 'ILS', - '₪', - 'שקל חדש', - { - 'BYN': [u, 'р'], - 'CNY': ['\u200eCN¥\u200e', '¥'], - 'ILP': ['ל״י'], - 'THB': ['฿'], - 'TWD': ['NT$'] - }, - 'rtl', - plural, - [ - [ - [ - 'חצות', 'בבוקר', 'בצהריים', 'אחה״צ', 'בערב', 'בלילה', - 'לפנות בוקר' - ], - [ - 'חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', - 'לפנות בוקר' - ], - [ - 'חצות', 'בבוקר', 'בצהריים', 'אחר הצהריים', 'בערב', - 'בלילה', 'לפנות בוקר' - ] - ], - [ - [ - 'חצות', 'בוקר', 'צהריים', 'אחה״צ', 'ערב', 'לילה', - 'לפנות בוקר' - ], - u, - [ - 'חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', - 'לפנות בוקר' - ] - ], - [ - '00:00', ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '22:00'], - ['22:00', '03:00'], ['03:00', '06:00'] - ] + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', + 'נובמבר', 'דצמבר' ] - ]; + ], + u, + [['לפנה״ס', 'לספירה'], u, ['לפני הספירה', 'לספירה']], + 0, + [5, 6], + ['d.M.y', 'd בMMM y', 'd בMMMM y', 'EEEE, d בMMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1}, {0}', u, '{1} בשעה {0}', u], + ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '\u200f#,##0.00 ¤;\u200f-#,##0.00 ¤', '#E0'], + 'ILS', + '₪', + 'שקל חדש', + {'BYN': [u, 'р'], 'CNY': ['\u200eCN¥\u200e', '¥'], 'ILP': ['ל״י'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'rtl', + plural, + [ + [ + ['חצות', 'בבוקר', 'בצהריים', 'אחה״צ', 'בערב', 'בלילה', 'לפנות בוקר'], + ['חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', 'לפנות בוקר'], + ['חצות', 'בבוקר', 'בצהריים', 'אחר הצהריים', 'בערב', 'בלילה', 'לפנות בוקר'] + ], + [ + ['חצות', 'בוקר', 'צהריים', 'אחה״צ', 'ערב', 'לילה', 'לפנות בוקר'], u, + ['חצות', 'בוקר', 'צהריים', 'אחר הצהריים', 'ערב', 'לילה', 'לפנות בוקר'] + ], + [ + '00:00', ['06:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '22:00'], + ['22:00', '03:00'], ['03:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hi.js b/packages/common/locales/global/hi.js index ef335a399a..d3acd81acd 100644 --- a/packages/common/locales/global/hi.js +++ b/packages/common/locales/global/hi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,84 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['hi'] = [ - 'hi', - [['am', 'pm'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['hi'] = [ + 'hi', + [['am', 'pm'], u, u], + u, + [ + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] + ], + u, + [ + ['ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', 'दि'], + ['जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', 'दिस॰'], [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], - [ - 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', - 'शनि' - ], - [ - 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', - 'गुरुवार', 'शुक्रवार', 'शनिवार' - ], - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] - ], - u, - [ - [ - 'ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', - 'दि' - ], - [ - 'जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', - 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', - 'दिस॰' - ], - [ - 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', - 'जून', 'जुलाई', 'अगस्त', 'सितंबर', - 'अक्तूबर', 'नवंबर', 'दिसंबर' - ] - ], - u, - [ - ['ईसा-पूर्व', 'ईस्वी'], u, - ['ईसा-पूर्व', 'ईसवी सन'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} को {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'भारतीय रुपया', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'लेई'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', - 'रात' - ], - u, u - ], - [ - ['आधी रात', 'सुबह', 'दोपहर', 'शाम', 'रात'], - [ - 'मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', - 'रात' - ], - u - ], - ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] + 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्तूबर', 'नवंबर', + 'दिसंबर' ] - ]; + ], + u, + [['ईसा-पूर्व', 'ईस्वी'], u, ['ईसा-पूर्व', 'ईसवी सन']], + 0, + [0, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} को {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], + 'INR', + '₹', + 'भारतीय रुपया', + {'JPY': ['JP¥', '¥'], 'RON': [u, 'लेई'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], u, u], + [['आधी रात', 'सुबह', 'दोपहर', 'शाम', 'रात'], ['मध्यरात्रि', 'सुबह', 'दोपहर', 'शाम', 'रात'], u], + ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], ['20:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hr-BA.js b/packages/common/locales/global/hr-BA.js index 9777b0fe95..6d966cb106 100644 --- a/packages/common/locales/global/hr-BA.js +++ b/packages/common/locales/global/hr-BA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,21 +10,93 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['hr-ba'] = ['hr-BA',[['AM','PM'],u,u],u,[['N','P','U','S','Č','P','S'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],u,[['1.','2.','3.','4.','5.','6.','7.','8.','9.','10.','11.','12.'],['sij','velj','ožu','tra','svi','lip','srp','kol','ruj','lis','stu','pro'],['siječnja','veljače','ožujka','travnja','svibnja','lipnja','srpnja','kolovoza','rujna','listopada','studenoga','prosinca']],[['1.','2.','3.','4.','5.','6.','7.','8.','9.','10.','11.','12.'],['sij','velj','ožu','tra','svi','lip','srp','kol','ruj','lis','stu','pro'],['siječanj','veljača','ožujak','travanj','svibanj','lipanj','srpanj','kolovoz','rujan','listopad','studeni','prosinac']],[['pr.n.e.','AD'],['pr. Kr.','po. Kr.'],['prije Krista','poslije Krista']],1,[6,0],['d. M. yy.','d. MMM y.','d. MMMM y.','EEEE, d. MMMM y.'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss (zzzz)'],['{1} {0}',u,'{1} \'u\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'BAM','KM','konvertibilna marka',{'AUD':[u,'$'],'BAM':['KM'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'EUR':[u,'€'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'TWD':[u,'NT$'],'USD':[u,'$'],'VND':[u,'₫'],'XCD':[u,'$'],'XPF':[],'XXX':[]},'ltr', plural, [[['ponoć','podne','ujutro','popodne','navečer','noću'],u,['ponoć','podne','ujutro','poslije podne','navečer','noću']],[['ponoć','podne','ujutro','popodne','navečer','noću'],u,u],['00:00','12:00',['04:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','04:00']]]]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['hr-ba'] = [ + 'hr-BA', + [['AM', 'PM'], u, u], + u, + [ + ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + u, + [ + ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + [ + 'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', + 'rujna', 'listopada', 'studenoga', 'prosinca' + ] + ], + [ + ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + [ + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', + 'listopad', 'studeni', 'prosinac' + ] + ], + [['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], + 1, + [6, 0], + ['d. M. yy.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss (zzzz)'], + ['{1} {0}', u, '{1} \'u\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BAM', + 'KM', + 'konvertibilna marka', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, + ['ponoć', 'podne', 'ujutro', 'poslije podne', 'navečer', 'noću'] + ], + [['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, u], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hr.js b/packages/common/locales/global/hr.js index 51ca643469..d9e8c4f6be 100644 --- a/packages/common/locales/global/hr.js +++ b/packages/common/locales/global/hr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,21 +10,96 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['hr'] = ['hr',[['AM','PM'],u,u],u,[['N','P','U','S','Č','P','S'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['n','p','u','s','č','p','s'],['ned','pon','uto','sri','čet','pet','sub'],['nedjelja','ponedjeljak','utorak','srijeda','četvrtak','petak','subota'],['ned','pon','uto','sri','čet','pet','sub']],[['1.','2.','3.','4.','5.','6.','7.','8.','9.','10.','11.','12.'],['sij','velj','ožu','tra','svi','lip','srp','kol','ruj','lis','stu','pro'],['siječnja','veljače','ožujka','travnja','svibnja','lipnja','srpnja','kolovoza','rujna','listopada','studenoga','prosinca']],[['1.','2.','3.','4.','5.','6.','7.','8.','9.','10.','11.','12.'],['sij','velj','ožu','tra','svi','lip','srp','kol','ruj','lis','stu','pro'],['siječanj','veljača','ožujak','travanj','svibanj','lipanj','srpanj','kolovoz','rujan','listopad','studeni','prosinac']],[['pr.n.e.','AD'],['pr. Kr.','po. Kr.'],['prije Krista','poslije Krista']],1,[6,0],['dd. MM. y.','d. MMM y.','d. MMMM y.','EEEE, d. MMMM y.'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss (zzzz)'],['{1} {0}',u,'{1} \'u\' {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'HRK','HRK','hrvatska kuna',{'AUD':[u,'$'],'BRL':[u,'R$'],'CAD':[u,'$'],'CNY':[u,'¥'],'EUR':[u,'€'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'TWD':[u,'NT$'],'USD':[u,'$'],'VND':[u,'₫'],'XCD':[u,'$'],'XPF':[],'XXX':[]},'ltr', plural, [[['ponoć','podne','ujutro','popodne','navečer','noću'],u,['ponoć','podne','ujutro','poslije podne','navečer','noću']],[['ponoć','podne','ujutro','popodne','navečer','noću'],u,u],['00:00','12:00',['04:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','04:00']]]]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['hr'] = [ + 'hr', + [['AM', 'PM'], u, u], + u, + [ + ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'] + ], + [ + ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + [ + 'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', + 'rujna', 'listopada', 'studenoga', 'prosinca' + ] + ], + [ + ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + [ + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', + 'listopad', 'studeni', 'prosinac' + ] + ], + [['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], + 1, + [6, 0], + ['dd. MM. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss (zzzz)'], + ['{1} {0}', u, '{1} \'u\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'HRK', + 'HRK', + 'hrvatska kuna', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, + ['ponoć', 'podne', 'ujutro', 'poslije podne', 'navečer', 'noću'] + ], + [['ponoć', 'podne', 'ujutro', 'popodne', 'navečer', 'noću'], u, u], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hsb.js b/packages/common/locales/global/hsb.js index 90c97a1ee7..fbfe4b83bf 100644 --- a/packages/common/locales/global/hsb.js +++ b/packages/common/locales/global/hsb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,63 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1; - if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2; - if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || - f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) - return 3; - return 5; - } - global.ng.common.locales['hsb'] = [ - 'hsb', - [['dop.', 'pop.'], ['dopołdnja', 'popołdnju'], u], - [['dopołdnja', 'popołdnju'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1; + if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || + f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) + return 3; + return 5; +} +global.ng.common.locales['hsb'] = [ + 'hsb', + [['dop.', 'pop.'], ['dopołdnja', 'popołdnju'], u], + [['dopołdnja', 'popołdnju'], u, u], + [ + ['n', 'p', 'w', 's', 'š', 'p', 's'], ['nje', 'pón', 'wut', 'srj', 'štw', 'pja', 'sob'], + ['njedźela', 'póndźela', 'wutora', 'srjeda', 'štwórtk', 'pjatk', 'sobota'], + ['nj', 'pó', 'wu', 'sr', 'št', 'pj', 'so'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], [ - ['n', 'p', 'w', 's', 'š', 'p', 's'], ['nje', 'pón', 'wut', 'srj', 'štw', 'pja', 'sob'], - ['njedźela', 'póndźela', 'wutora', 'srjeda', 'štwórtk', 'pjatk', 'sobota'], - ['nj', 'pó', 'wu', 'sr', 'št', 'pj', 'so'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - [ - 'jan.', 'feb.', 'měr.', 'apr.', 'mej.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', - 'dec.' - ], - [ - 'januara', 'februara', 'měrca', 'apryla', 'meje', 'junija', 'julija', 'awgusta', - 'septembra', 'oktobra', 'nowembra', 'decembra' - ] + 'jan.', 'feb.', 'měr.', 'apr.', 'mej.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', 'dec.' ], [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'měr', 'apr', 'mej', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], - [ - 'januar', 'februar', 'měrc', 'apryl', 'meja', 'junij', 'julij', 'awgust', 'september', - 'oktober', 'nowember', 'december' - ] - ], + 'januara', 'februara', 'měrca', 'apryla', 'meje', 'junija', 'julija', 'awgusta', 'septembra', + 'oktobra', 'nowembra', 'decembra' + ] + ], + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'měr', 'apr', 'mej', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], [ - ['př.Chr.n.', 'po Chr.n.'], u, - ['před Chrystowym narodźenjom', 'po Chrystowym narodźenju'] - ], - 1, - [6, 0], - ['d.M.yy', 'd.M.y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['H:mm \'hodź\'.', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - {'AUD': [u, '$'], 'PLN': ['zł'], 'THB': ['฿']}, - 'ltr', - plural, - [] - ]; + 'januar', 'februar', 'měrc', 'apryl', 'meja', 'junij', 'julij', 'awgust', 'september', + 'oktober', 'nowember', 'december' + ] + ], + [['př.Chr.n.', 'po Chr.n.'], u, ['před Chrystowym narodźenjom', 'po Chrystowym narodźenju']], + 1, + [6, 0], + ['d.M.yy', 'd.M.y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['H:mm \'hodź\'.', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + {'AUD': [u, '$'], 'PLN': ['zł'], 'THB': ['฿']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hu.js b/packages/common/locales/global/hu.js index 15df0a9c18..f082409ca3 100644 --- a/packages/common/locales/global/hu.js +++ b/packages/common/locales/global/hu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,79 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['hu'] = [ - 'hu', - [['de.', 'du.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['hu'] = [ + 'hu', + [['de.', 'du.'], u, u], + u, + [ + ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'], + ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'] + ], + u, + [ + ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], [ - ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], - ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'], - ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'] + 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', + 'dec.' ], - u, [ - ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], - [ - 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', - 'nov.', 'dec.' - ], - [ - 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', - 'szeptember', 'október', 'november', 'december' - ] - ], - u, - [['ie.', 'isz.'], ['i. e.', 'i. sz.'], ['Krisztus előtt', 'időszámításunk szerint']], - 1, - [6, 0], - ['y. MM. dd.', 'y. MMM d.', 'y. MMMM d.', 'y. MMMM d., EEEE'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'HUF', - 'Ft', - 'magyar forint', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'HUF': ['Ft'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['éjfél', 'dél', 'reggel', 'de.', 'du.', 'este', 'éjjel', 'hajnal'], u, - ['éjfél', 'dél', 'reggel', 'délelőtt', 'délután', 'este', 'éjjel', 'hajnal'] - ], - u, - [ - '00:00', '12:00', ['06:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '21:00'], ['21:00', '04:00'], ['04:00', '06:00'] - ] + 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', + 'szeptember', 'október', 'november', 'december' ] - ]; + ], + u, + [['ie.', 'isz.'], ['i. e.', 'i. sz.'], ['Krisztus előtt', 'időszámításunk szerint']], + 1, + [6, 0], + ['y. MM. dd.', 'y. MMM d.', 'y. MMMM d.', 'y. MMMM d., EEEE'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'HUF', + 'Ft', + 'magyar forint', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'HUF': ['Ft'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['éjfél', 'dél', 'reggel', 'de.', 'du.', 'este', 'éjjel', 'hajnal'], u, + ['éjfél', 'dél', 'reggel', 'délelőtt', 'délután', 'este', 'éjjel', 'hajnal'] + ], + u, + [ + '00:00', '12:00', ['06:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '21:00'], ['21:00', '04:00'], ['04:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/hy.js b/packages/common/locales/global/hy.js index fac06183ab..51b4d2f5de 100644 --- a/packages/common/locales/global/hy.js +++ b/packages/common/locales/global/hy.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,90 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['hy'] = [ - 'hy', - [['ա', 'հ'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['hy'] = [ + 'hy', + [['ա', 'հ'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], + ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'], + ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'] + ], + u, + [ + ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], [ - ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], - ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], - [ - 'կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', - 'հինգշաբթի', 'ուրբաթ', 'շաբաթ' - ], - ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'] - ], - u, - [ - ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], - [ - 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', - 'հոկ', 'նոյ', 'դեկ' - ], - [ - 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', - 'հունիսի', 'հուլիսի', 'օգոստոսի', 'սեպտեմբերի', - 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' - ] - ], - [ - ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], - [ - 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', - 'հոկ', 'նոյ', 'դեկ' - ], - [ - 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', - 'հուլիս', 'օգոստոս', 'սեպտեմբեր', 'հոկտեմբեր', - 'նոյեմբեր', 'դեկտեմբեր' - ] - ], - [['մ.թ.ա.', 'մ.թ.'], u, ['Քրիստոսից առաջ', 'Քրիստոսից հետո']], - 1, - [6, 0], - ['dd.MM.yy', 'dd MMM, y թ.', 'dd MMMM, y թ.', 'y թ. MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ՈչԹ', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AMD', - '֏', - 'հայկական դրամ', - {'AMD': ['֏'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - ['կգ․', 'կօ․', 'առվ', 'ցրկ', 'երկ', 'գշր'], - [ - 'կեսգիշեր', 'կեսօր', 'առավոտյան', 'ցերեկը', - 'երեկոյան', 'գիշերը' - ], - [ - 'կեսգիշերին', 'կեսօրին', 'առավոտյան', 'ցերեկվա', - 'երեկոյան', 'գիշերվա' - ] - ], - [ - [ - 'կեսգիշեր', 'կեսօր', 'առավոտ', 'ցերեկ', 'երեկո', 'գիշեր' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', 'հունիսի', 'հուլիսի', 'օգոստոսի', + 'սեպտեմբերի', 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' ] - ]; + ], + [ + ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], + [ + 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', + 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր' + ] + ], + [['մ.թ.ա.', 'մ.թ.'], u, ['Քրիստոսից առաջ', 'Քրիստոսից հետո']], + 1, + [6, 0], + ['dd.MM.yy', 'dd MMM, y թ.', 'dd MMMM, y թ.', 'y թ. MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ՈչԹ', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AMD', + '֏', + 'հայկական դրամ', + {'AMD': ['֏'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['կգ․', 'կօ․', 'առվ', 'ցրկ', 'երկ', 'գշր'], + ['կեսգիշեր', 'կեսօր', 'առավոտյան', 'ցերեկը', 'երեկոյան', 'գիշերը'], + ['կեսգիշերին', 'կեսօրին', 'առավոտյան', 'ցերեկվա', 'երեկոյան', 'գիշերվա'] + ], + [['կեսգիշեր', 'կեսօր', 'առավոտ', 'ցերեկ', 'երեկո', 'գիշեր'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ia.js b/packages/common/locales/global/ia.js index 101aef6dd2..42fd9cf056 100644 --- a/packages/common/locales/global/ia.js +++ b/packages/common/locales/global/ia.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,54 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ia'] = [ - 'ia', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ia'] = [ + 'ia', + [['AM', 'PM'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom', 'lun', 'mar', 'mer', 'jov', 'ven', 'sab'], + ['dominica', 'lunedi', 'martedi', 'mercuridi', 'jovedi', 'venerdi', 'sabbato'], + ['do', 'lu', 'ma', 'me', 'jo', 've', 'sa'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'], [ - ['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom', 'lun', 'mar', 'mer', 'jov', 'ven', 'sab'], - ['dominica', 'lunedi', 'martedi', 'mercuridi', 'jovedi', 'venerdi', 'sabbato'], - ['do', 'lu', 'ma', 'me', 'jo', 've', 'sa'] - ], - u, + 'januario', 'februario', 'martio', 'april', 'maio', 'junio', 'julio', 'augusto', 'septembre', + 'octobre', 'novembre', 'decembre' + ] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'], [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'], - [ - 'januario', 'februario', 'martio', 'april', 'maio', 'junio', 'julio', 'augusto', - 'septembre', 'octobre', 'novembre', 'decembre' - ] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'], - [ - 'januario', 'februario', 'martio', 'april', 'maio', 'junio', 'julio', 'augusto', - 'septembre', 'octobre', 'novembre', 'decembre' - ] - ], - [['a.Chr.', 'p.Chr.'], u, ['ante Christo', 'post Christo']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd \'de\' MMMM y', 'EEEE \'le\' d \'de\' MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'NLG': ['ƒ'], 'RUB': ['₽'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'januario', 'februario', 'martio', 'april', 'maio', 'junio', 'julio', 'augusto', 'septembre', + 'octobre', 'novembre', 'decembre' + ] + ], + [['a.Chr.', 'p.Chr.'], u, ['ante Christo', 'post Christo']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd \'de\' MMMM y', 'EEEE \'le\' d \'de\' MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'a\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'NLG': ['ƒ'], 'RUB': ['₽'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/id.js b/packages/common/locales/global/id.js index 6e380a6de5..c15dba00bc 100644 --- a/packages/common/locales/global/id.js +++ b/packages/common/locales/global/id.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,60 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['id'] = [ - 'id', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['id'] = [ + 'id', + [['AM', 'PM'], u, u], + u, + [ + ['M', 'S', 'S', 'R', 'K', 'J', 'S'], ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'], + ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['M', 'S', 'S', 'R', 'K', 'J', 'S'], ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], - ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'], - ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', - 'Oktober', 'November', 'Desember' - ] - ], - u, - [['SM', 'M'], u, ['Sebelum Masehi', 'Masehi']], - 0, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'IDR', - 'Rp', - 'Rupiah Indonesia', - { - 'AUD': ['AU$', '$'], - 'IDR': ['Rp'], - 'INR': ['Rs', '₹'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['tengah malam', 'tengah hari', 'pagi', 'siang', 'sore', 'malam'], u, u], u, - [ - '00:00', '12:00', ['00:00', '10:00'], ['10:00', '15:00'], ['15:00', '18:00'], - ['18:00', '24:00'] - ] + 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', + 'Oktober', 'November', 'Desember' ] - ]; + ], + u, + [['SM', 'M'], u, ['Sebelum Masehi', 'Masehi']], + 0, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'IDR', + 'Rp', + 'Rupiah Indonesia', + { + 'AUD': ['AU$', '$'], + 'IDR': ['Rp'], + 'INR': ['Rs', '₹'], + 'JPY': ['JP¥', '¥'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['tengah malam', 'tengah hari', 'pagi', 'siang', 'sore', 'malam'], u, u], u, + [ + '00:00', '12:00', ['00:00', '10:00'], ['10:00', '15:00'], ['15:00', '18:00'], + ['18:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ig.js b/packages/common/locales/global/ig.js index 572c257013..6ee0ff4062 100644 --- a/packages/common/locales/global/ig.js +++ b/packages/common/locales/global/ig.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,46 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ig'] = [ - 'ig', - [['A.M.', 'P.M.'], u, ['N’ụtụtụ', 'N’abali']], - [['A.M.', 'P.M.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ig'] = [ + 'ig', + [['A.M.', 'P.M.'], u, ['N’ụtụtụ', 'N’abali']], + [['A.M.', 'P.M.'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + ['Sọndee', 'Mọnde', 'Tiuzdee', 'Wenezdee', 'Tọọzdee', 'Fraịdee', 'Satọdee'], + ['Sọn', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'] + ], + u, + [ + ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'Ọ', 'S', 'Ọ', 'N', 'D'], + ['Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgọ', 'Sep', 'Ọkt', 'Nov', 'Dis'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], - ['Sọndee', 'Mọnde', 'Tiuzdee', 'Wenezdee', 'Tọọzdee', 'Fraịdee', 'Satọdee'], - ['Sọn', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'] - ], - u, - [ - ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'Ọ', 'S', 'Ọ', 'N', 'D'], - ['Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgọ', 'Sep', 'Ọkt', 'Nov', 'Dis'], - [ - 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Epreel', 'Mee', 'Juun', 'Julaị', - 'Ọgọọst', 'Septemba', 'Ọktoba', 'Novemba', 'Disemba' - ] - ], - u, - [['T.K.', 'A.K.'], u, ['Tupu Kraist', 'Afọ Kraịst']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'na\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NGN', - '₦', - 'Naịra', - {'NGN': ['₦']}, - 'ltr', - plural, - [] - ]; + 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Epreel', 'Mee', 'Juun', 'Julaị', 'Ọgọọst', 'Septemba', + 'Ọktoba', 'Novemba', 'Disemba' + ] + ], + u, + [['T.K.', 'A.K.'], u, ['Tupu Kraist', 'Afọ Kraịst']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'na\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NGN', + '₦', + 'Naịra', + {'NGN': ['₦']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ii.js b/packages/common/locales/global/ii.js index d20f704886..abdf5fdc51 100644 --- a/packages/common/locales/global/ii.js +++ b/packages/common/locales/global/ii.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,46 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ii'] = [ - 'ii', - [['ꎸꄑ', 'ꁯꋒ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ii'] = [ + 'ii', + [['ꎸꄑ', 'ꁯꋒ'], u, u], + u, + [ + ['ꆏ', 'ꋍ', 'ꑍ', 'ꌕ', 'ꇖ', 'ꉬ', 'ꃘ'], + ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], + ['ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ'], + ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['ꆏ', 'ꋍ', 'ꑍ', 'ꌕ', 'ꇖ', 'ꉬ', 'ꃘ'], - ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], - ['ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ'], - ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'] + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', 'ꊰꆪ', 'ꊰꊪꆪ', + 'ꊰꑋꆪ' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', - 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' - ], - u - ], - u, - [['ꃅꋊꂿ', 'ꃅꋊꊂ'], u, u], - 0, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'CNY', - '¥', - 'CNY', - {'CNY': ['¥'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['ꃅꋊꂿ', 'ꃅꋊꊂ'], u, u], + 0, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'CNY', + '¥', + 'CNY', + {'CNY': ['¥'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/is.js b/packages/common/locales/global/is.js index 10b8f3f605..85aba7d5f9 100644 --- a/packages/common/locales/global/is.js +++ b/packages/common/locales/global/is.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,81 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), - t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; - if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0)) return 1; - return 5; - } - global.ng.common.locales['is'] = [ - 'is', - [['f.', 'e.'], ['f.h.', 'e.h.'], u], - [['f.h.', 'e.h.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), + t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; + if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0)) return 1; + return 5; +} +global.ng.common.locales['is'] = [ + 'is', + [['f.', 'e.'], ['f.h.', 'e.h.'], u], + [['f.h.', 'e.h.'], u, u], + [ + ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], [ - ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], - ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], - [ - 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', - 'laugardagur' - ], - ['su.', 'má.', 'þr.', 'mi.', 'fi.', 'fö.', 'la.'] + 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', + 'laugardagur' ], - u, + ['su.', 'má.', 'þr.', 'mi.', 'fi.', 'fö.', 'la.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', 'nóv.', 'des.'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', 'nóv.', - 'des.' - ], - [ - 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', - 'október', 'nóvember', 'desember' - ] - ], - u, - [['f.k.', 'e.k.'], ['f.Kr.', 'e.Kr.'], ['fyrir Krist', 'eftir Krist']], - 1, - [6, 0], - ['d.M.y', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'ISK', - 'ISK', - 'íslensk króna', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'INR': [u, '₹'], - 'JPY': ['JP¥', '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['mn.', 'h.', 'mrg.', 'sd.', 'kv.', 'n.'], - ['miðnætti', 'hádegi', 'að morgni', 'síðdegis', 'að kvöldi', 'að nóttu'], u - ], - [ - ['mn.', 'hd.', 'mrg.', 'sd.', 'kv.', 'n.'], - ['miðnætti', 'hádegi', 'morgunn', 'síðdegis', 'kvöld', 'nótt'], - ['miðnætti', 'hádegi', 'morgunn', 'eftir hádegi', 'kvöld', 'nótt'] - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', + 'nóvember', 'desember' ] - ]; + ], + u, + [['f.k.', 'e.k.'], ['f.Kr.', 'e.Kr.'], ['fyrir Krist', 'eftir Krist']], + 1, + [6, 0], + ['d.M.y', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'ISK', + 'ISK', + 'íslensk króna', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'INR': [u, '₹'], + 'JPY': ['JP¥', '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['mn.', 'h.', 'mrg.', 'sd.', 'kv.', 'n.'], + ['miðnætti', 'hádegi', 'að morgni', 'síðdegis', 'að kvöldi', 'að nóttu'], u + ], + [ + ['mn.', 'hd.', 'mrg.', 'sd.', 'kv.', 'n.'], + ['miðnætti', 'hádegi', 'morgunn', 'síðdegis', 'kvöld', 'nótt'], + ['miðnætti', 'hádegi', 'morgunn', 'eftir hádegi', 'kvöld', 'nótt'] + ], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/it-CH.js b/packages/common/locales/global/it-CH.js index 52d74c13df..3c60f075be 100644 --- a/packages/common/locales/global/it-CH.js +++ b/packages/common/locales/global/it-CH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,71 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['it-ch'] = [ - 'it-CH', - [['m.', 'p.'], ['AM', 'PM'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['it-ch'] = [ + 'it-CH', + [['m.', 'p.'], ['AM', 'PM'], u], + u, + [ + ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], + ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] + ], + u, + [ + ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], [ - ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], - ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], - ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] - ], - u, - [ - ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], - ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], - [ - 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', - 'settembre', 'ottobre', 'novembre', 'dicembre' - ] - ], - u, - [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', '’', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], - 'CHF', - 'CHF', - 'franco svizzero', - { - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'EGP': [u, '£E'], - 'HKD': [u, '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': [u, 'NKr'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, - ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] - ], - [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', + 'ottobre', 'novembre', 'dicembre' ] - ]; + ], + u, + [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', '’', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], + 'CHF', + 'CHF', + 'franco svizzero', + { + 'BRL': [u, 'R$'], + 'BYN': [u, 'Br'], + 'EGP': [u, '£E'], + 'HKD': [u, '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': [u, 'NKr'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, + ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] + ], + [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/it-SM.js b/packages/common/locales/global/it-SM.js index 0e462cce36..397ce89f25 100644 --- a/packages/common/locales/global/it-SM.js +++ b/packages/common/locales/global/it-SM.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,71 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['it-sm'] = [ - 'it-SM', - [['m.', 'p.'], ['AM', 'PM'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['it-sm'] = [ + 'it-SM', + [['m.', 'p.'], ['AM', 'PM'], u], + u, + [ + ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], + ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] + ], + u, + [ + ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], [ - ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], - ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], - ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] - ], - u, - [ - ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], - ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], - [ - 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', - 'settembre', 'ottobre', 'novembre', 'dicembre' - ] - ], - u, - [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'EGP': [u, '£E'], - 'HKD': [u, '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': [u, 'NKr'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, - ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] - ], - [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', + 'ottobre', 'novembre', 'dicembre' ] - ]; + ], + u, + [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'BRL': [u, 'R$'], + 'BYN': [u, 'Br'], + 'EGP': [u, '£E'], + 'HKD': [u, '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': [u, 'NKr'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, + ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] + ], + [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/it-VA.js b/packages/common/locales/global/it-VA.js index 76d23d169f..49ef312b36 100644 --- a/packages/common/locales/global/it-VA.js +++ b/packages/common/locales/global/it-VA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,71 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['it-va'] = [ - 'it-VA', - [['m.', 'p.'], ['AM', 'PM'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['it-va'] = [ + 'it-VA', + [['m.', 'p.'], ['AM', 'PM'], u], + u, + [ + ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], + ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] + ], + u, + [ + ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], [ - ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], - ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], - ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] - ], - u, - [ - ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], - ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], - [ - 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', - 'settembre', 'ottobre', 'novembre', 'dicembre' - ] - ], - u, - [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'EGP': [u, '£E'], - 'HKD': [u, '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': [u, 'NKr'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, - ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] - ], - [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', + 'ottobre', 'novembre', 'dicembre' ] - ]; + ], + u, + [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'BRL': [u, 'R$'], + 'BYN': [u, 'Br'], + 'EGP': [u, '£E'], + 'HKD': [u, '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': [u, 'NKr'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, + ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] + ], + [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/it.js b/packages/common/locales/global/it.js index 4f0bdb4521..61495d3396 100644 --- a/packages/common/locales/global/it.js +++ b/packages/common/locales/global/it.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,71 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['it'] = [ - 'it', - [['m.', 'p.'], ['AM', 'PM'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['it'] = [ + 'it', + [['m.', 'p.'], ['AM', 'PM'], u], + u, + [ + ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], + ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] + ], + u, + [ + ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], [ - ['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], - ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'], - ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'] - ], - u, - [ - ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], - ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], - [ - 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', - 'settembre', 'ottobre', 'novembre', 'dicembre' - ] - ], - u, - [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'EGP': [u, '£E'], - 'HKD': [u, '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': [u, 'NKr'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, - ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] - ], - [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', + 'ottobre', 'novembre', 'dicembre' ] - ]; + ], + u, + [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'BRL': [u, 'R$'], + 'BYN': [u, 'Br'], + 'EGP': [u, '£E'], + 'HKD': [u, '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': [u, 'NKr'], + 'THB': ['฿'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['mezzanotte', 'mezzogiorno', 'di mattina', 'di pomeriggio', 'di sera', 'di notte'], u, + ['mezzanotte', 'mezzogiorno', 'di mattina', 'del pomeriggio', 'di sera', 'di notte'] + ], + [['mezzanotte', 'mezzogiorno', 'mattina', 'pomeriggio', 'sera', 'notte'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ja.js b/packages/common/locales/global/ja.js index 94d6f90814..9df819e44d 100644 --- a/packages/common/locales/global/ja.js +++ b/packages/common/locales/global/ja.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ja'] = [ - 'ja', - [['午前', '午後'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ja'] = [ + 'ja', + [['午前', '午後'], u, u], + u, + [ + ['日', '月', '火', '水', '木', '金', '土'], u, + ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'], + ['日', '月', '火', '水', '木', '金', '土'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['BC', 'AD'], ['紀元前', '西暦'], u], + 0, + [6, 0], + ['y/MM/dd', u, 'y年M月d日', 'y年M月d日EEEE'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H時mm分ss秒 zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'JPY', + '¥', + '日本円', + {'CNY': ['元', '¥'], 'JPY': ['¥'], 'RON': [u, 'レイ'], 'XXX': []}, + 'ltr', + plural, + [ + [['真夜中', '正午', '朝', '昼', '夕方', '夜', '夜中'], u, u], u, [ - ['日', '月', '火', '水', '木', '金', '土'], u, - ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'], - ['日', '月', '火', '水', '木', '金', '土'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['BC', 'AD'], ['紀元前', '西暦'], u], - 0, - [6, 0], - ['y/MM/dd', u, 'y年M月d日', 'y年M月d日EEEE'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H時mm分ss秒 zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'JPY', - '¥', - '日本円', - {'CNY': ['元', '¥'], 'JPY': ['¥'], 'RON': [u, 'レイ'], 'XXX': []}, - 'ltr', - plural, - [ - [['真夜中', '正午', '朝', '昼', '夕方', '夜', '夜中'], u, u], u, - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], - ['19:00', '23:00'], ['23:00', '04:00'] - ] + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], + ['19:00', '23:00'], ['23:00', '04:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/jgo.js b/packages/common/locales/global/jgo.js index c742e0cb5d..81e1045088 100644 --- a/packages/common/locales/global/jgo.js +++ b/packages/common/locales/global/jgo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['jgo'] = [ - 'jgo', - [['mbaꞌmbaꞌ', 'ŋka mbɔ́t nji'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['jgo'] = [ + 'jgo', + [['mbaꞌmbaꞌ', 'ŋka mbɔ́t nji'], u, u], + u, + [ + ['Sɔ́', 'Mɔ́', 'ÁM', 'Wɛ́', 'Tɔ́', 'Fɛ', 'Sá'], + ['Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', 'Sásidɛ'], u, u + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['Sɔ́', 'Mɔ́', 'ÁM', 'Wɛ́', 'Tɔ́', 'Fɛ', 'Sá'], - [ - 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', - 'Sásidɛ' - ], - u, u + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', + 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Pɛsaŋ Ntsɔ̌ppá' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', - 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', - 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', - 'Pɛsaŋ Ntsɔ̌ppá' - ], - u - ], - u, - [ - ['BCE', 'CE'], u, - [ - 'tsɛttsɛt mɛŋguꞌ mi ɛ́ lɛɛnɛ Kɛlísɛtɔ gɔ ńɔ́', - 'tsɛttsɛt mɛŋguꞌ mi ɛ́ fúnɛ Kɛlísɛtɔ tɔ́ mɔ́' - ] - ], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'Fɛlâŋ', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [ + ['BCE', 'CE'], u, + ['tsɛttsɛt mɛŋguꞌ mi ɛ́ lɛɛnɛ Kɛlísɛtɔ gɔ ńɔ́', 'tsɛttsɛt mɛŋguꞌ mi ɛ́ fúnɛ Kɛlísɛtɔ tɔ́ mɔ́'] + ], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'Fɛlâŋ', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/jmc.js b/packages/common/locales/global/jmc.js index 504f88a41b..b0cea953c0 100644 --- a/packages/common/locales/global/jmc.js +++ b/packages/common/locales/global/jmc.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['jmc'] = [ - 'jmc', - [['utuko', 'kyiukonyi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['jmc'] = [ + 'jmc', + [['utuko', 'kyiukonyi'], u, u], + u, + [ + ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/jv.js b/packages/common/locales/global/jv.js index dd1c37fa1a..1fb4c1ca12 100644 --- a/packages/common/locales/global/jv.js +++ b/packages/common/locales/global/jv.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['jv'] = [ - 'jv', - [['Isuk', 'Wengi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['jv'] = [ + 'jv', + [['Isuk', 'Wengi'], u, u], + u, + [ + ['A', 'S', 'S', 'R', 'K', 'J', 'S'], ['Ahad', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + ['Ahad', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'], + ['Ahad', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['A', 'S', 'S', 'R', 'K', 'J', 'S'], ['Ahad', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], - ['Ahad', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'], - ['Ahad', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', - 'Oktober', 'November', 'Desember' - ] - ], - u, - [['SM', 'M'], u, ['Sakdurunge Masehi', 'Masehi']], - 0, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IDR', - 'Rp', - 'Rupiah Indonesia', - {'IDR': ['Rp'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', + 'Oktober', 'November', 'Desember' + ] + ], + u, + [['SM', 'M'], u, ['Sakdurunge Masehi', 'Masehi']], + 0, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IDR', + 'Rp', + 'Rupiah Indonesia', + {'IDR': ['Rp'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ka.js b/packages/common/locales/global/ka.js index d3e1892a25..69c97f7c71 100644 --- a/packages/common/locales/global/ka.js +++ b/packages/common/locales/global/ka.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,103 +10,71 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ka'] = [ - 'ka', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ka'] = [ + 'ka', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'], + ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'] + ], + u, + [ + ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], + ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'], [ - ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], - ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], - [ - 'კვირა', 'ორშაბათი', 'სამშაბათი', - 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', - 'შაბათი' - ], - ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'] - ], - u, - [ - ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], - [ - 'იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', - 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ' - ], - [ - 'იანვარი', 'თებერვალი', 'მარტი', - 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', - 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', - 'ნოემბერი', 'დეკემბერი' - ] - ], - u, - [ - ['ძვ. წ.', 'ახ. წ.'], u, - [ - 'ძველი წელთაღრიცხვით', - 'ახალი წელთაღრიცხვით' - ] - ], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM. y', 'd MMMM, y', 'EEEE, dd MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [ - ',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'არ არის რიცხვი', ':' - ], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'GEL', - '₾', - 'ქართული ლარი', - { - 'AUD': [u, '$'], - 'CNY': [u, '¥'], - 'GEL': ['₾'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - [ - 'შუაღამეს', 'შუადღ.', 'დილ.', 'ნაშუადღ.', - 'საღ.', 'ღამ.' - ], - u, - [ - 'შუაღამეს', 'შუადღეს', 'დილით', - 'ნაშუადღევს', 'საღამოს', 'ღამით' - ] - ], - [ - [ - 'შუაღამე', 'შუადღე', 'დილა', - 'ნაშუადღევი', 'საღამო', 'ღამე' - ], - u, u - ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '05:00'] - ] + 'იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', + 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი' ] - ]; + ], + u, + [['ძვ. წ.', 'ახ. წ.'], u, ['ძველი წელთაღრიცხვით', 'ახალი წელთაღრიცხვით']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM. y', 'd MMMM, y', 'EEEE, dd MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'არ არის რიცხვი', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'GEL', + '₾', + 'ქართული ლარი', + { + 'AUD': [u, '$'], + 'CNY': [u, '¥'], + 'GEL': ['₾'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['შუაღამეს', 'შუადღ.', 'დილ.', 'ნაშუადღ.', 'საღ.', 'ღამ.'], u, + ['შუაღამეს', 'შუადღეს', 'დილით', 'ნაშუადღევს', 'საღამოს', 'ღამით'] + ], + [['შუაღამე', 'შუადღე', 'დილა', 'ნაშუადღევი', 'საღამო', 'ღამე'], u, u], + [ + '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kab.js b/packages/common/locales/global/kab.js index 787cb64ea4..884dfb8c21 100644 --- a/packages/common/locales/global/kab.js +++ b/packages/common/locales/global/kab.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; - } - global.ng.common.locales['kab'] = [ - 'kab', - [['n tufat', 'n tmeddit'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +global.ng.common.locales['kab'] = [ + 'kab', + [['n tufat', 'n tmeddit'], u, u], + u, + [ + ['Y', 'S', 'K', 'K', 'S', 'S', 'S'], ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], + ['Yanass', 'Sanass', 'Kraḍass', 'Kuẓass', 'Samass', 'Sḍisass', 'Sayass'], + ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'] + ], + u, + [ + ['Y', 'F', 'M', 'Y', 'M', 'Y', 'Y', 'Ɣ', 'C', 'T', 'N', 'D'], + ['Yen', 'Fur', 'Meɣ', 'Yeb', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cte', 'Tub', 'Nun', 'Duǧ'], [ - ['Y', 'S', 'K', 'K', 'S', 'S', 'S'], - ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], - ['Yanass', 'Sanass', 'Kraḍass', 'Kuẓass', 'Samass', 'Sḍisass', 'Sayass'], - ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'] - ], - u, - [ - ['Y', 'F', 'M', 'Y', 'M', 'Y', 'Y', 'Ɣ', 'C', 'T', 'N', 'D'], - ['Yen', 'Fur', 'Meɣ', 'Yeb', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cte', 'Tub', 'Nun', 'Duǧ'], - [ - 'Yennayer', 'Fuṛar', 'Meɣres', 'Yebrir', 'Mayyu', 'Yunyu', 'Yulyu', 'Ɣuct', 'Ctembeṛ', - 'Tubeṛ', 'Nunembeṛ', 'Duǧembeṛ' - ] - ], - u, - [['snd. T.Ɛ', 'sld. T.Ɛ'], u, ['send talalit n Ɛisa', 'seld talalit n Ɛisa']], - 6, - [5, 6], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'DZD', - 'DA', - 'Adinar Azzayri', - {'DZD': ['DA'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Yennayer', 'Fuṛar', 'Meɣres', 'Yebrir', 'Mayyu', 'Yunyu', 'Yulyu', 'Ɣuct', 'Ctembeṛ', + 'Tubeṛ', 'Nunembeṛ', 'Duǧembeṛ' + ] + ], + u, + [['snd. T.Ɛ', 'sld. T.Ɛ'], u, ['send talalit n Ɛisa', 'seld talalit n Ɛisa']], + 6, + [5, 6], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'DZD', + 'DA', + 'Adinar Azzayri', + {'DZD': ['DA'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kam.js b/packages/common/locales/global/kam.js index 010a0cad91..f399f38262 100644 --- a/packages/common/locales/global/kam.js +++ b/packages/common/locales/global/kam.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['kam'] = [ - 'kam', - [['Ĩyakwakya', 'Ĩyawĩoo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['kam'] = [ + 'kam', + [['Ĩyakwakya', 'Ĩyawĩoo'], u, u], + u, + [ + ['Y', 'W', 'E', 'A', 'A', 'A', 'A'], ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], + ['Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', 'Wa thanthatũ'], + ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'] + ], + u, + [ + ['M', 'K', 'K', 'K', 'K', 'T', 'M', 'N', 'K', 'Ĩ', 'Ĩ', 'Ĩ'], + ['Mbe', 'Kel', 'Ktũ', 'Kan', 'Ktn', 'Tha', 'Moo', 'Nya', 'Knd', 'Ĩku', 'Ĩkm', 'Ĩkl'], [ - ['Y', 'W', 'E', 'A', 'A', 'A', 'A'], ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], - [ - 'Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', - 'Wa thanthatũ' - ], - ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'] - ], - u, - [ - ['M', 'K', 'K', 'K', 'K', 'T', 'M', 'N', 'K', 'Ĩ', 'Ĩ', 'Ĩ'], - ['Mbe', 'Kel', 'Ktũ', 'Kan', 'Ktn', 'Tha', 'Moo', 'Nya', 'Knd', 'Ĩku', 'Ĩkm', 'Ĩkl'], - [ - 'Mwai wa mbee', 'Mwai wa kelĩ', 'Mwai wa katatũ', 'Mwai wa kana', 'Mwai wa katano', - 'Mwai wa thanthatũ', 'Mwai wa muonza', 'Mwai wa nyaanya', 'Mwai wa kenda', - 'Mwai wa ĩkumi', 'Mwai wa ĩkumi na ĩmwe', 'Mwai wa ĩkumi na ilĩ' - ] - ], - u, - [['MY', 'IY'], u, ['Mbee wa Yesũ', 'Ĩtina wa Yesũ']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Silingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mwai wa mbee', 'Mwai wa kelĩ', 'Mwai wa katatũ', 'Mwai wa kana', 'Mwai wa katano', + 'Mwai wa thanthatũ', 'Mwai wa muonza', 'Mwai wa nyaanya', 'Mwai wa kenda', 'Mwai wa ĩkumi', + 'Mwai wa ĩkumi na ĩmwe', 'Mwai wa ĩkumi na ilĩ' + ] + ], + u, + [['MY', 'IY'], u, ['Mbee wa Yesũ', 'Ĩtina wa Yesũ']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Silingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kde.js b/packages/common/locales/global/kde.js index 6bea04324b..1ac25e715c 100644 --- a/packages/common/locales/global/kde.js +++ b/packages/common/locales/global/kde.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['kde'] = [ - 'kde', - [['Muhi', 'Chilo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['kde'] = [ + 'kde', + [['Muhi', 'Chilo'], u, u], + u, + [ + ['2', '3', '4', '5', '6', '7', '1'], ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], [ - ['2', '3', '4', '5', '6', '7', '1'], ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], - [ - 'Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', - 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi' - ], - ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'] + 'Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', + 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi' ], - u, + ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Mwedi Ntandi', 'Mwedi wa Pili', 'Mwedi wa Tatu', 'Mwedi wa Nchechi', 'Mwedi wa Nnyano', - 'Mwedi wa Nnyano na Umo', 'Mwedi wa Nnyano na Mivili', 'Mwedi wa Nnyano na Mitatu', - 'Mwedi wa Nnyano na Nchechi', 'Mwedi wa Nnyano na Nnyano', 'Mwedi wa Nnyano na Nnyano na U', - 'Mwedi wa Nnyano na Nnyano na M' - ] - ], - u, - [['AY', 'NY'], u, ['Akanapawa Yesu', 'Nankuida Yesu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mwedi Ntandi', 'Mwedi wa Pili', 'Mwedi wa Tatu', 'Mwedi wa Nchechi', 'Mwedi wa Nnyano', + 'Mwedi wa Nnyano na Umo', 'Mwedi wa Nnyano na Mivili', 'Mwedi wa Nnyano na Mitatu', + 'Mwedi wa Nnyano na Nchechi', 'Mwedi wa Nnyano na Nnyano', 'Mwedi wa Nnyano na Nnyano na U', + 'Mwedi wa Nnyano na Nnyano na M' + ] + ], + u, + [['AY', 'NY'], u, ['Akanapawa Yesu', 'Nankuida Yesu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kea.js b/packages/common/locales/global/kea.js index 47e7efa898..079f1b45e5 100644 --- a/packages/common/locales/global/kea.js +++ b/packages/common/locales/global/kea.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,60 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['kea'] = [ - 'kea', - [['am', 'pm'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['kea'] = [ + 'kea', + [['am', 'pm'], u, u], + u, + [ + ['D', 'S', 'T', 'K', 'K', 'S', 'S'], ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], + ['dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sabadu'], + ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'] + ], + [ + ['D', 'S', 'T', 'K', 'K', 'S', 'S'], ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], + ['dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sábadu'], + ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Otu', 'Nuv', 'Diz'], [ - ['D', 'S', 'T', 'K', 'K', 'S', 'S'], ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], - [ - 'dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sabadu' - ], - ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'] - ], - [ - ['D', 'S', 'T', 'K', 'K', 'S', 'S'], ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], - [ - 'dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', - 'sábadu' - ], - ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Otu', 'Nuv', 'Diz'], - [ - 'Janeru', 'Febreru', 'Marsu', 'Abril', 'Maiu', 'Junhu', 'Julhu', 'Agostu', 'Setenbru', - 'Otubru', 'Nuvenbru', 'Dizenbru' - ] - ], - u, - [['AK', 'DK'], u, ['antis di Kristu', 'dispos di Kristu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd \'di\' MMMM \'di\' y', 'EEEE, d \'di\' MMMM \'di\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CVE', - '​', - 'Skudu Kabuverdianu', - { - 'AUD': ['AU$', '$'], - 'CVE': ['​'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [] - ]; + 'Janeru', 'Febreru', 'Marsu', 'Abril', 'Maiu', 'Junhu', 'Julhu', 'Agostu', 'Setenbru', + 'Otubru', 'Nuvenbru', 'Dizenbru' + ] + ], + u, + [['AK', 'DK'], u, ['antis di Kristu', 'dispos di Kristu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd \'di\' MMMM \'di\' y', 'EEEE, d \'di\' MMMM \'di\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'CVE', + '​', + 'Skudu Kabuverdianu', + {'AUD': ['AU$', '$'], 'CVE': ['​'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/khq.js b/packages/common/locales/global/khq.js index f4507dce5b..9100aea74a 100644 --- a/packages/common/locales/global/khq.js +++ b/packages/common/locales/global/khq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['khq'] = [ - 'khq', - [['Adduha', 'Aluula'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['khq'] = [ + 'khq', + [['Adduha', 'Aluula'], u, u], + u, + [ + ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], + ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'], + ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'] + ], + u, + [ + ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], [ - ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], - ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'], - ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'] - ], - u, - [ - ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], - ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], - [ - 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', - 'Oktoobur', 'Noowanbur', 'Deesanbur' - ] - ], - u, - [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa jamanoo']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'XOF', - 'CFA', - 'CFA Fraŋ (BCEAO)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + ], + u, + [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa jamanoo']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'XOF', + 'CFA', + 'CFA Fraŋ (BCEAO)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ki.js b/packages/common/locales/global/ki.js index dae343a766..5061a45543 100644 --- a/packages/common/locales/global/ki.js +++ b/packages/common/locales/global/ki.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,46 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ki'] = [ - 'ki', - [['Kiroko', 'Hwaĩ-inĩ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ki'] = [ + 'ki', + [['Kiroko', 'Hwaĩ-inĩ'], u, u], + u, + [ + ['K', 'N', 'N', 'N', 'A', 'N', 'N'], ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], + ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'], + ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'] + ], + u, + [ + ['J', 'K', 'G', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'D'], + ['JEN', 'WKR', 'WGT', 'WKN', 'WTN', 'WTD', 'WMJ', 'WNN', 'WKD', 'WIK', 'WMW', 'DIT'], [ - ['K', 'N', 'N', 'N', 'A', 'N', 'N'], ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], - ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'], - ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'] - ], - u, - [ - ['J', 'K', 'G', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'D'], - ['JEN', 'WKR', 'WGT', 'WKN', 'WTN', 'WTD', 'WMJ', 'WNN', 'WKD', 'WIK', 'WMW', 'DIT'], - [ - 'Njenuarĩ', 'Mwere wa kerĩ', 'Mwere wa gatatũ', 'Mwere wa kana', 'Mwere wa gatano', - 'Mwere wa gatandatũ', 'Mwere wa mũgwanja', 'Mwere wa kanana', 'Mwere wa kenda', - 'Mwere wa ikũmi', 'Mwere wa ikũmi na ũmwe', 'Ndithemba' - ] - ], - u, - [['MK', 'TK'], u, ['Mbere ya Kristo', 'Thutha wa Kristo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Ciringi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Njenuarĩ', 'Mwere wa kerĩ', 'Mwere wa gatatũ', 'Mwere wa kana', 'Mwere wa gatano', + 'Mwere wa gatandatũ', 'Mwere wa mũgwanja', 'Mwere wa kanana', 'Mwere wa kenda', + 'Mwere wa ikũmi', 'Mwere wa ikũmi na ũmwe', 'Ndithemba' + ] + ], + u, + [['MK', 'TK'], u, ['Mbere ya Kristo', 'Thutha wa Kristo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Ciringi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kk.js b/packages/common/locales/global/kk.js index ecdb24f2d6..9f2ecf2c4d 100644 --- a/packages/common/locales/global/kk.js +++ b/packages/common/locales/global/kk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,93 +10,69 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['kk'] = [ - 'kk', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['kk'] = [ + 'kk', + [['AM', 'PM'], u, u], + u, + [ + ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'], + ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'] + ], + u, + [ + ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], [ - ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], - ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], - [ - 'жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', - 'бейсенбі', 'жұма', 'сенбі' - ], - ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'] - ], - u, - [ - ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], - [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', - 'қыр.', 'қаз.', 'қар.', 'жел.' - ], - [ - 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', - 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', - 'желтоқсан' - ] + 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' ], [ - ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], - [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', - 'қыр.', 'қаз.', 'қар.', 'жел.' - ], - [ - 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', - 'Шілде', 'Тамыз', 'Қыркүйек', 'Қазан', 'Қараша', - 'Желтоқсан' - ] - ], - [ - ['б.з.д.', 'б.з.'], u, - ['Біздің заманымызға дейін', 'біздің заманымыз'] - ], - 1, - [6, 0], - ['dd.MM.yy', 'y \'ж\'. dd MMM', 'y \'ж\'. d MMMM', 'y \'ж\'. d MMMM, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан емес', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'KZT', - '₸', - 'Қазақстан теңгесі', - {'JPY': ['JP¥', '¥'], 'KZT': ['₸'], 'RUB': ['₽'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'түнгі', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', - 'түнгі' - ], - [ - 'түн жарымы', 'түскі', 'таңғы', 'түстен кейінгі', - 'кешкі', 'түнгі' - ], - u - ], - [ - [ - 'түн жарымы', 'талтүс', 'таң', 'түстен кейін', 'кеш', - 'түн' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', + 'қазан', 'қараша', 'желтоқсан' ] - ]; + ], + [ + ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + [ + 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' + ], + [ + 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', 'Шілде', 'Тамыз', 'Қыркүйек', + 'Қазан', 'Қараша', 'Желтоқсан' + ] + ], + [['б.з.д.', 'б.з.'], u, ['Біздің заманымызға дейін', 'біздің заманымыз']], + 1, + [6, 0], + ['dd.MM.yy', 'y \'ж\'. dd MMM', 'y \'ж\'. d MMMM', 'y \'ж\'. d MMMM, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан емес', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'KZT', + '₸', + 'Қазақстан теңгесі', + {'JPY': ['JP¥', '¥'], 'KZT': ['₸'], 'RUB': ['₽'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['түнгі', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', 'түнгі'], + ['түн жарымы', 'түскі', 'таңғы', 'түстен кейінгі', 'кешкі', 'түнгі'], u + ], + [['түн жарымы', 'талтүс', 'таң', 'түстен кейін', 'кеш', 'түн'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kkj.js b/packages/common/locales/global/kkj.js index a7e22d62d5..cc878b8896 100644 --- a/packages/common/locales/global/kkj.js +++ b/packages/common/locales/global/kkj.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['kkj'] = [ - 'kkj', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['kkj'] = [ + 'kkj', + [['AM', 'PM'], u, u], + u, + [ + ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], u, u + ], + [ + ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], u, + ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], - ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], u, u + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', 'Nyaŋgwɛ ŋgbanja', + 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' ], - [ - ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], - ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], u, - ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'] - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', - 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' - ], - u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd/MM y', 'd MMM y', 'd MMMM y', 'EEEE dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'Franc CFA', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd/MM y', 'd MMM y', 'd MMMM y', 'EEEE dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'Franc CFA', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kl.js b/packages/common/locales/global/kl.js index c0df8b1c78..c45bd06333 100644 --- a/packages/common/locales/global/kl.js +++ b/packages/common/locales/global/kl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['kl'] = [ - 'kl', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['kl'] = [ + 'kl', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], - [ - 'sapaat', 'ataasinngorneq', 'marlunngorneq', 'pingasunngorneq', 'sisamanngorneq', - 'tallimanngorneq', 'arfininngorneq' - ], - ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'] + 'sapaat', 'ataasinngorneq', 'marlunngorneq', 'pingasunngorneq', 'sisamanngorneq', + 'tallimanngorneq', 'arfininngorneq' ], - u, + ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['jan', 'febr', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sept', 'okt', 'nov', 'dec'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['jan', 'febr', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sept', 'okt', 'nov', 'dec'], - [ - 'januaarip', 'februaarip', 'marsip', 'apriilip', 'maajip', 'juunip', 'juulip', 'aggustip', - 'septembarip', 'oktobarip', 'novembarip', 'decembarip' - ] - ], + 'januaarip', 'februaarip', 'marsip', 'apriilip', 'maajip', 'juunip', 'juulip', 'aggustip', + 'septembarip', 'oktobarip', 'novembarip', 'decembarip' + ] + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['jan', 'febr', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sept', 'okt', 'nov', 'dec'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['jan', 'febr', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sept', 'okt', 'nov', 'dec'], - [ - 'januaari', 'februaari', 'marsi', 'apriili', 'maaji', 'juuni', 'juuli', 'aggusti', - 'septembari', 'oktobari', 'novembari', 'decembari' - ] - ], - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], - 'DKK', - 'kr.', - 'DKK', - {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'januaari', 'februaari', 'marsi', 'apriili', 'maaji', 'juuni', 'juuli', 'aggusti', + 'septembari', 'oktobari', 'novembari', 'decembari' + ] + ], + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤#,##0.00;¤-#,##0.00', '#E0'], + 'DKK', + 'kr.', + 'DKK', + {'DKK': ['kr.', 'kr'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kln.js b/packages/common/locales/global/kln.js index 7a6580d8a2..3650a3aa0b 100644 --- a/packages/common/locales/global/kln.js +++ b/packages/common/locales/global/kln.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['kln'] = [ - 'kln', - [['krn', 'koosk'], u, ['karoon', 'kooskoliny']], - [['krn', 'koosk'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['kln'] = [ + 'kln', + [['krn', 'koosk'], u, ['karoon', 'kooskoliny']], + [['krn', 'koosk'], u, u], + [ + ['T', 'T', 'O', 'S', 'A', 'M', 'L'], ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], + ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'], + ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'] + ], + u, + [ + ['M', 'N', 'T', 'I', 'M', 'P', 'N', 'R', 'B', 'E', 'K', 'K'], + ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'], [ - ['T', 'T', 'O', 'S', 'A', 'M', 'L'], ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], - ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'], - ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'] - ], - u, - [ - ['M', 'N', 'T', 'I', 'M', 'P', 'N', 'R', 'B', 'E', 'K', 'K'], - ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'], - [ - 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', - 'Rooptui', 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' - ] - ], - u, - [['AM', 'KO'], u, ['Amait kesich Jesu', 'Kokakesich Jesu']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Silingitab ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', 'Rooptui', + 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' + ] + ], + u, + [['AM', 'KO'], u, ['Amait kesich Jesu', 'Kokakesich Jesu']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Silingitab ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/km.js b/packages/common/locales/global/km.js index a5242dd4e2..b0f2e8f18d 100644 --- a/packages/common/locales/global/km.js +++ b/packages/common/locales/global/km.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,87 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['km'] = [ - 'km', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['km'] = [ + 'km', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], + ['អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] + ], + [ + ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], + ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] + ], + [ + ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], + ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], u + ], + u, + [['មុន គ.ស.', 'គ.ស.'], u, ['មុន​គ្រិស្តសករាជ', 'គ្រិស្តសករាជ']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} នៅ​ម៉ោង {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'KHR', + '៛', + 'រៀល​កម្ពុជា', + {'JPY': ['JP¥', '¥'], 'KHR': ['៛'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', - 'សុក្រ', 'សៅរ៍' + 'អធ្រាត្រ', 'ថ្ងៃត្រង់', 'នៅពេល​ព្រឹក', 'នៅពេលរសៀល', + 'នៅពេល​ល្ងាច', 'នៅពេល​យប់' ], - [ - 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', - 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' - ], - ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] + u, u ], + [['អធ្រាត្រ', 'ថ្ងៃ​ត្រង់', 'ព្រឹក', 'រសៀល', 'ល្ងាច', 'យប់'], u, u], [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], - [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', - 'សុក្រ', 'សៅរ៍' - ], - [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', - 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' - ], - ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] - ], - [ - ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], - [ - 'មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', - 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', - 'តុលា', 'វិច្ឆិកា', 'ធ្នូ' - ], - u - ], - u, - [ - ['មុន គ.ស.', 'គ.ស.'], u, - ['មុន​គ្រិស្តសករាជ', 'គ្រិស្តសករាជ'] - ], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} នៅ​ម៉ោង {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'KHR', - '៛', - 'រៀល​កម្ពុជា', - {'JPY': ['JP¥', '¥'], 'KHR': ['៛'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'អធ្រាត្រ', 'ថ្ងៃត្រង់', - 'នៅពេល​ព្រឹក', 'នៅពេលរសៀល', - 'នៅពេល​ល្ងាច', 'នៅពេល​យប់' - ], - u, u - ], - [ - [ - 'អធ្រាត្រ', 'ថ្ងៃ​ត្រង់', 'ព្រឹក', - 'រសៀល', 'ល្ងាច', 'យប់' - ], - u, u - ], - [ - '00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '24:00'] - ] + '00:00', '12:00', ['00:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '24:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kn.js b/packages/common/locales/global/kn.js index aed3529b37..203ea6dd2b 100644 --- a/packages/common/locales/global/kn.js +++ b/packages/common/locales/global/kn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,108 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['kn'] = [ - 'kn', - [['ಪೂ', 'ಅ'], ['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u], - [['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['kn'] = [ + 'kn', + [['ಪೂ', 'ಅ'], ['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u], + [['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u, u], + [ + ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'], + ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'] + ], + u, + [ + ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], [ - ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], - [ - 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', - 'ಶನಿ' - ], - [ - 'ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', - 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', - 'ಶನಿವಾರ' - ], - [ - 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', - 'ಶನಿ' - ] - ], - u, - [ - [ - 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', - 'ನ', 'ಡಿ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', - 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', - 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', - 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', - 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', - 'ಡಿಸೆಂಬರ್' - ] - ], - [ - [ - 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', - 'ನ', 'ಡಿ' - ], - [ - 'ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', - 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', - 'ನವೆಂ', 'ಡಿಸೆಂ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', - 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', - 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', - 'ಡಿಸೆಂಬರ್' - ] - ], - [ - ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, - ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] - ], - 0, - [0, 0], - ['d/M/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ಭಾರತೀಯ ರೂಪಾಯಿ', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'ಲೀ'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - [ - 'ಮಧ್ಯ ರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - u - ], - [ - [ - 'ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', - 'ಸಂಜೆ', 'ರಾತ್ರಿ' - ], - u, u - ], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಡಿಸೆಂಬರ್' ] - ]; + ], + [ + ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], + [ + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಡಿಸೆಂಬರ್' + ] + ], + [['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ']], + 0, + [0, 0], + ['d/M/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'INR', + '₹', + 'ಭಾರತೀಯ ರೂಪಾಯಿ', + {'JPY': ['JP¥', '¥'], 'RON': [u, 'ಲೀ'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], ['ಮಧ್ಯ ರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], u + ], + [['ಮಧ್ಯರಾತ್ರಿ', 'ಬೆಳಗ್ಗೆ', 'ಮಧ್ಯಾಹ್ನ', 'ಸಂಜೆ', 'ರಾತ್ರಿ'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ko-KP.js b/packages/common/locales/global/ko-KP.js index 3dffa782bb..16b445cd61 100644 --- a/packages/common/locales/global/ko-KP.js +++ b/packages/common/locales/global/ko-KP.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,46 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ko-kp'] = [ - 'ko-KP', - [['AM', 'PM'], u, ['오전', '오후']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ko-kp'] = [ + 'ko-KP', + [['AM', 'PM'], u, ['오전', '오후']], + u, + [ + ['일', '월', '화', '수', '목', '금', '토'], u, + ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'], + ['일', '월', '화', '수', '목', '금', '토'] + ], + u, + [['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u], + u, + [['BC', 'AD'], u, ['기원전', '서기']], + 1, + [6, 0], + ['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'], + ['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KPW', + 'KPW', + '조선 민주주의 인민 공화국 원', + {'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['자정', '정오', '새벽', '오전', '오후', '저녁', '밤'], u, u], u, [ - ['일', '월', '화', '수', '목', '금', '토'], u, - ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'], - ['일', '월', '화', '수', '목', '금', '토'] - ], - u, - [ - [ - '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', - '12월' - ], - u, u - ], - u, - [['BC', 'AD'], u, ['기원전', '서기']], - 1, - [6, 0], - ['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'], - ['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KPW', - 'KPW', - '조선 민주주의 인민 공화국 원', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [['자정', '정오', '새벽', '오전', '오후', '저녁', '밤'], u, u], u, - [ - '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '18:00'], - ['18:00', '21:00'], ['21:00', '03:00'] - ] + '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '18:00'], + ['18:00', '21:00'], ['21:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ko.js b/packages/common/locales/global/ko.js index 1283b78118..8c83469d2e 100644 --- a/packages/common/locales/global/ko.js +++ b/packages/common/locales/global/ko.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,46 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ko'] = [ - 'ko', - [['AM', 'PM'], u, ['오전', '오후']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ko'] = [ + 'ko', + [['AM', 'PM'], u, ['오전', '오후']], + u, + [ + ['일', '월', '화', '수', '목', '금', '토'], u, + ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'], + ['일', '월', '화', '수', '목', '금', '토'] + ], + u, + [['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u], + u, + [['BC', 'AD'], u, ['기원전', '서기']], + 0, + [6, 0], + ['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'], + ['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KRW', + '₩', + '대한민국 원', + {'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['자정', '정오', '새벽', '오전', '오후', '저녁', '밤'], u, u], u, [ - ['일', '월', '화', '수', '목', '금', '토'], u, - ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'], - ['일', '월', '화', '수', '목', '금', '토'] - ], - u, - [ - [ - '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', - '12월' - ], - u, u - ], - u, - [['BC', 'AD'], u, ['기원전', '서기']], - 0, - [6, 0], - ['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'], - ['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KRW', - '₩', - '대한민국 원', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [['자정', '정오', '새벽', '오전', '오후', '저녁', '밤'], u, u], u, - [ - '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '18:00'], - ['18:00', '21:00'], ['21:00', '03:00'] - ] + '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '18:00'], + ['18:00', '21:00'], ['21:00', '03:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kok.js b/packages/common/locales/global/kok.js index 1a9f317ebf..00340a1630 100644 --- a/packages/common/locales/global/kok.js +++ b/packages/common/locales/global/kok.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,54 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['kok'] = [ - 'kok', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['kok'] = [ + 'kok', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['आ', 'सो', 'मं', 'बु', 'गु', 'शु', 'शे'], + ['आयतार', 'सोमार', 'मंगळार', 'बुधवार', 'गुरुवार', 'शुक्रार', 'शेनवार'], u, + ['आय', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शेन'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['आ', 'सो', 'मं', 'बु', 'गु', 'शु', 'शे'], - [ - 'आयतार', 'सोमार', 'मंगळार', 'बुधवार', - 'गुरुवार', 'शुक्रार', 'शेनवार' - ], - u, - [ - 'आय', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', - 'शेन' - ] + 'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलाय', 'आगोस्त', 'सप्टेंबर', 'ऑक्टोबर', + 'नोव्हेंबर', 'डिसेंबर' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'जानेवारी', 'फेब्रुवारी', 'मार्च', - 'एप्रिल', 'मे', 'जून', 'जुलाय', 'आगोस्त', - 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', - 'डिसेंबर' - ], - u - ], - u, - [['क्रिस्तपूर्व', 'क्रिस्तशखा'], u, u], - 0, - [0, 0], - ['d-M-yy', 'dd-MM-y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'INR', - '₹', - 'भारतीय रुपया', - {'JPY': ['JP¥', '¥'], 'RON': ['रॉन', 'लेई'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['क्रिस्तपूर्व', 'क्रिस्तशखा'], u, u], + 0, + [0, 0], + ['d-M-yy', 'dd-MM-y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'INR', + '₹', + 'भारतीय रुपया', + {'JPY': ['JP¥', '¥'], 'RON': ['रॉन', 'लेई'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ks.js b/packages/common/locales/global/ks.js index b92b49fc94..a31425eef3 100644 --- a/packages/common/locales/global/ks.js +++ b/packages/common/locales/global/ks.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,58 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ks'] = [ - 'ks', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ks'] = [ + 'ks', + [['AM', 'PM'], u, u], + u, + [ + ['ا', 'ژ', 'ب', 'ب', 'ب', 'ج', 'ب'], + ['آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'], + ['اَتھوار', 'ژٔندرٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'], + ['آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'] + ], + u, + [ + ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'س', 'ا', 'ن'], [ - ['ا', 'ژ', 'ب', 'ب', 'ب', 'ج', 'ب'], - [ - 'آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ], - [ - 'اَتھوار', 'ژٔندرٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ], - [ - 'آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ] + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', + 'دسمبر' ], - u, - [ - ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'س', 'ا', 'ن'], - [ - 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', - 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' - ], - u - ], - u, - [['بی سی', 'اے ڈی'], u, ['قبٕل مسیٖح', 'عیٖسوی سنہٕ']], - 0, - [0, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'INR', - '₹', - 'ہِندُستٲنۍ رۄپَے', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['بی سی', 'اے ڈی'], u, ['قبٕل مسیٖح', 'عیٖسوی سنہٕ']], + 0, + [0, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], + 'INR', + '₹', + 'ہِندُستٲنۍ رۄپَے', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ksb.js b/packages/common/locales/global/ksb.js index dfaaa3b3a5..16d23547ef 100644 --- a/packages/common/locales/global/ksb.js +++ b/packages/common/locales/global/ksb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ksb'] = [ - 'ksb', - [['makeo', 'nyiaghuo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ksb'] = [ + 'ksb', + [['makeo', 'nyiaghuo'], u, u], + u, + [ + ['2', '3', '4', '5', 'A', 'I', '1'], ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'], + ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['2', '3', '4', '5', 'A', 'I', '1'], ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'], - ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januali', 'Febluali', 'Machi', 'Aplili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Klisto', 'Baada ya Klisto']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'TZS', - 'TSh', - 'shilingi ya Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januali', 'Febluali', 'Machi', 'Aplili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Klisto', 'Baada ya Klisto']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'TZS', + 'TSh', + 'shilingi ya Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ksf.js b/packages/common/locales/global/ksf.js index 2248835c00..eea23d716e 100644 --- a/packages/common/locales/global/ksf.js +++ b/packages/common/locales/global/ksf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ksf'] = [ - 'ksf', - [['sárúwá', 'cɛɛ́nko'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ksf'] = [ + 'ksf', + [['sárúwá', 'cɛɛ́nko'], u, u], + u, + [ + ['s', 'l', 'm', 'm', 'j', 'j', 's'], ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], + ['sɔ́ndǝ', 'lǝndí', 'maadí', 'mɛkrɛdí', 'jǝǝdí', 'júmbá', 'samdí'], + ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'], [ - ['s', 'l', 'm', 'm', 'j', 'j', 's'], - ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], - ['sɔ́ndǝ', 'lǝndí', 'maadí', 'mɛkrɛdí', 'jǝǝdí', 'júmbá', 'samdí'], - ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'], - [ - 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', - 'ŋwíí akǝ táan', 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', - 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', - 'ŋwíí akǝ ntɛk di bɔ́k', 'ŋwíí akǝ ntɛk di bɛ́ɛ' - ] - ], - u, - [['d.Y.', 'k.Y.'], u, ['di Yɛ́sus aká yálɛ', 'cámɛɛn kǝ kǝbɔpka Y']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'fráŋ', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', 'ŋwíí akǝ táan', + 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', + 'ŋwíí akǝ ntɛk di bɔ́k', 'ŋwíí akǝ ntɛk di bɛ́ɛ' + ] + ], + u, + [['d.Y.', 'k.Y.'], u, ['di Yɛ́sus aká yálɛ', 'cámɛɛn kǝ kǝbɔpka Y']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'fráŋ', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ksh.js b/packages/common/locales/global/ksh.js index 755939b7a9..0fa259faeb 100644 --- a/packages/common/locales/global/ksh.js +++ b/packages/common/locales/global/ksh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 0) return 0; - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ksh'] = [ - 'ksh', - [['v.M.', 'n.M.'], u, ['Uhr vörmiddaachs', 'Uhr nommendaachs']], - [['v.M.', 'n.M.'], u, ['Vörmeddaach', 'Nommendaach']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 0) return 0; + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ksh'] = [ + 'ksh', + [['v.M.', 'n.M.'], u, ['Uhr vörmiddaachs', 'Uhr nommendaachs']], + [['v.M.', 'n.M.'], u, ['Vörmeddaach', 'Nommendaach']], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mo.', 'Di.', 'Me.', 'Du.', 'Fr.', 'Sa.'], + ['Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', 'Samsdaach'], + ['Su', 'Mo', 'Di', 'Me', 'Du', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Fäb', 'Mäz', 'Apr', 'Mai', 'Jun', 'Jul', 'Ouj', 'Säp', 'Okt', 'Nov', 'Dez'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mo.', 'Di.', 'Me.', 'Du.', 'Fr.', 'Sa.'], - ['Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', 'Samsdaach'], - ['Su', 'Mo', 'Di', 'Me', 'Du', 'Fr', 'Sa'] - ], - u, + 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', + 'Oktohber', 'Novämber', 'Dezämber' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', 'Dez.'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Fäb', 'Mäz', 'Apr', 'Mai', 'Jun', 'Jul', 'Ouj', 'Säp', 'Okt', 'Nov', 'Dez'], - [ - 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', - 'Oktohber', 'Novämber', 'Dezämber' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', - 'Oktohber', 'Novämber', 'Dezämber' - ] - ], - [['vC', 'nC'], ['v. Chr.', 'n. Chr.'], ['vür Krestos', 'noh Krestos']], - 1, - [6, 0], - ['d. M. y', 'd. MMM. y', 'd. MMMM y', 'EEEE, \'dä\' d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', + 'Oktohber', 'Novämber', 'Dezämber' + ] + ], + [['vC', 'nC'], ['v. Chr.', 'n. Chr.'], ['vür Krestos', 'noh Krestos']], + 1, + [6, 0], + ['d. M. y', 'd. MMM. y', 'd. MMMM y', 'EEEE, \'dä\' d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ku.js b/packages/common/locales/global/ku.js index 2fc30a4848..f99168e51c 100644 --- a/packages/common/locales/global/ku.js +++ b/packages/common/locales/global/ku.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,55 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ku'] = [ - 'ku', - [['BN', 'PN'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ku'] = [ + 'ku', + [['BN', 'PN'], u, u], + u, + [ + ['Y', 'D', 'S', 'Ç', 'P', 'Î', 'Ş'], ['yş', 'dş', 'sş', 'çş', 'pş', 'în', 'ş'], + ['yekşem', 'duşem', 'sêşem', 'çarşem', 'pêncşem', 'în', 'şemî'], + ['yş', 'dş', 'sş', 'çş', 'pş', 'în', 'ş'] + ], + u, + [ + ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], + ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], [ - ['Y', 'D', 'S', 'Ç', 'P', 'Î', 'Ş'], ['yş', 'dş', 'sş', 'çş', 'pş', 'în', 'ş'], - ['yekşem', 'duşem', 'sêşem', 'çarşem', 'pêncşem', 'în', 'şemî'], - ['yş', 'dş', 'sş', 'çş', 'pş', 'în', 'ş'] - ], - u, + 'rêbendanê', 'reşemiyê', 'adarê', 'avrêlê', 'gulanê', 'pûşperê', 'tîrmehê', 'gelawêjê', + 'rezberê', 'kewçêrê', 'sermawezê', 'berfanbarê' + ] + ], + [ + ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], + ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], [ - ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], - ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], - [ - 'rêbendanê', 'reşemiyê', 'adarê', 'avrêlê', 'gulanê', 'pûşperê', 'tîrmehê', - 'gelawêjê', 'rezberê', 'kewçêrê', 'sermawezê', 'berfanbarê' - ] - ], - [ - ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], - ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], - [ - 'rêbendan', 'reşemî', 'adar', 'avrêl', 'gulan', 'pûşper', 'tîrmeh', 'gelawêj', - 'rezber', 'kewçêr', 'sermawez', 'berfanbar' - ] - ], - [['BZ', 'PZ'], u, ['berî zayînê', 'piştî zayînê']], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '%#,##0', '#,##0.00 ¤', '#E0'], - 'TRY', - '₺', - 'TRY', - {'JPY': ['JP¥', '¥'], 'TRY': ['₺'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'rêbendan', 'reşemî', 'adar', 'avrêl', 'gulan', 'pûşper', 'tîrmeh', 'gelawêj', 'rezber', + 'kewçêr', 'sermawez', 'berfanbar' + ] + ], + [['BZ', 'PZ'], u, ['berî zayînê', 'piştî zayînê']], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '%#,##0', '#,##0.00 ¤', '#E0'], + 'TRY', + '₺', + 'TRY', + {'JPY': ['JP¥', '¥'], 'TRY': ['₺'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/kw.js b/packages/common/locales/global/kw.js index b55445a906..82105c3c1c 100644 --- a/packages/common/locales/global/kw.js +++ b/packages/common/locales/global/kw.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['kw'] = [ - 'kw', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['kw'] = [ + 'kw', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], + ['dy Sul', 'dy Lun', 'dy Meurth', 'dy Merher', 'dy Yow', 'dy Gwener', 'dy Sadorn'], + ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Gen', 'Hwe', 'Meu', 'Ebr', 'Me', 'Met', 'Gor', 'Est', 'Gwn', 'Hed', 'Du', 'Kev'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], - ['dy Sul', 'dy Lun', 'dy Meurth', 'dy Merher', 'dy Yow', 'dy Gwener', 'dy Sadorn'], - ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Gen', 'Hwe', 'Meu', 'Ebr', 'Me', 'Met', 'Gor', 'Est', 'Gwn', 'Hed', 'Du', 'Kev'], - [ - 'mis Genver', 'mis Hwevrer', 'mis Meurth', 'mis Ebrel', 'mis Me', 'mis Metheven', - 'mis Gortheren', 'mis Est', 'mis Gwynngala', 'mis Hedra', 'mis Du', 'mis Kevardhu' - ] - ], - u, - [['RC', 'AD'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'GBP', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'mis Genver', 'mis Hwevrer', 'mis Meurth', 'mis Ebrel', 'mis Me', 'mis Metheven', + 'mis Gortheren', 'mis Est', 'mis Gwynngala', 'mis Hedra', 'mis Du', 'mis Kevardhu' + ] + ], + u, + [['RC', 'AD'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'GBP', + '£', + 'GBP', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ky.js b/packages/common/locales/global/ky.js index fa62c3f68a..67f7991148 100644 --- a/packages/common/locales/global/ky.js +++ b/packages/common/locales/global/ky.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,115 +10,91 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ky'] = [ - 'ky', - [['тң', 'тк'], u, ['таңкы', 'түштөн кийинки']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ky'] = [ + 'ky', + [['тң', 'тк'], u, ['таңкы', 'түштөн кийинки']], + u, + [ + ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], + ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], + ['жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', 'бейшемби', 'жума', 'ишемби'], + ['жш.', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.'] + ], + u, + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.'], [ - ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], - ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], - [ - 'жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', - 'бейшемби', 'жума', 'ишемби' - ], - ['жш.', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.'] - ], - u, - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', - 'Окт', 'Ноя', 'Дек' - ], - [ - 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' - ] - ], - [ - ['б.з.ч.', 'б.з.'], u, - ['биздин заманга чейин', 'биздин заман'] - ], - 1, - [6, 0], - ['d/M/yy', 'y-\'ж\'., d-MMM', 'y-\'ж\'., d-MMMM', 'y-\'ж\'., d-MMMM, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан эмес', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'KGS', - 'сом', - 'Кыргызстан сому', - { - 'AUD': [u, '$'], - 'BMD': [u, 'BD$'], - 'BRL': [u, 'R$'], - 'BSD': [u, 'B$'], - 'BZD': [u, 'BZ$'], - 'CAD': [u, 'C$'], - 'DOP': [u, 'RD$'], - 'EGP': [u, 'LE'], - 'GBP': [u, '£'], - 'HKD': [u, 'HK$'], - 'HRK': [u, 'Kn'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JMD': [u, 'J$'], - 'JPY': ['JP¥', '¥'], - 'KGS': ['сом'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'THB': ['฿'], - 'TTD': [u, 'TT$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['түн орт', 'чт', 'эртң мн', 'түшт кйн', 'кечк', 'түн'], - [ - 'түн ортосу', 'чак түш', 'эртең менен', - 'түштөн кийин', 'кечинде', 'түн ичинде' - ], - u - ], - [ - [ - 'түн ортосу', 'чак түш', 'эртең менен', - 'түштөн кийин', 'кечкурун', 'түн' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], + [ + 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', + 'Ноябрь', 'Декабрь' + ] + ], + [['б.з.ч.', 'б.з.'], u, ['биздин заманга чейин', 'биздин заман']], + 1, + [6, 0], + ['d/M/yy', 'y-\'ж\'., d-MMM', 'y-\'ж\'., d-MMMM', 'y-\'ж\'., d-MMMM, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан эмес', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'KGS', + 'сом', + 'Кыргызстан сому', + { + 'AUD': [u, '$'], + 'BMD': [u, 'BD$'], + 'BRL': [u, 'R$'], + 'BSD': [u, 'B$'], + 'BZD': [u, 'BZ$'], + 'CAD': [u, 'C$'], + 'DOP': [u, 'RD$'], + 'EGP': [u, 'LE'], + 'GBP': [u, '£'], + 'HKD': [u, 'HK$'], + 'HRK': [u, 'Kn'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JMD': [u, 'J$'], + 'JPY': ['JP¥', '¥'], + 'KGS': ['сом'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'THB': ['฿'], + 'TTD': [u, 'TT$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['түн орт', 'чт', 'эртң мн', 'түшт кйн', 'кечк', 'түн'], + ['түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', 'кечинде', 'түн ичинде'], u + ], + [['түн ортосу', 'чак түш', 'эртең менен', 'түштөн кийин', 'кечкурун', 'түн'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lag.js b/packages/common/locales/global/lag.js index f81cdf7edd..4f098194f8 100644 --- a/packages/common/locales/global/lag.js +++ b/packages/common/locales/global/lag.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,54 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (n === 0) return 0; - if ((i === 0 || i === 1) && !(n === 0)) return 1; - return 5; - } - global.ng.common.locales['lag'] = [ - 'lag', - [['TOO', 'MUU'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (n === 0) return 0; + if ((i === 0 || i === 1) && !(n === 0)) return 1; + return 5; +} +global.ng.common.locales['lag'] = [ + 'lag', + [['TOO', 'MUU'], u, u], + u, + [ + ['P', 'T', 'E', 'O', 'A', 'I', 'M'], ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + ['Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi'], + ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'] + ], + u, + [ + ['F', 'N', 'K', 'I', 'I', 'I', 'M', 'V', 'S', 'I', 'S', 'S'], [ - ['P', 'T', 'E', 'O', 'A', 'I', 'M'], - ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], - ['Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi'], - ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'] + 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', 'Vɨɨrɨ', 'Saatʉ', + 'Inyi', 'Saano', 'Sasatʉ' ], - u, [ - ['F', 'N', 'K', 'I', 'I', 'I', 'M', 'V', 'S', 'I', 'S', 'S'], - [ - 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', 'Vɨɨrɨ', - 'Saatʉ', 'Inyi', 'Saano', 'Sasatʉ' - ], - [ - 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', - 'Kʉmʉʉnchɨ', 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' - ] - ], - u, - [['KSA', 'KA'], u, ['Kɨrɨsitʉ sɨ anavyaal', 'Kɨrɨsitʉ akavyaalwe']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilíingi ya Taansanía', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', 'Kʉmʉʉnchɨ', + 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' + ] + ], + u, + [['KSA', 'KA'], u, ['Kɨrɨsitʉ sɨ anavyaal', 'Kɨrɨsitʉ akavyaalwe']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Shilíingi ya Taansanía', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lb.js b/packages/common/locales/global/lb.js index 59fdf08fae..d72f1f0837 100644 --- a/packages/common/locales/global/lb.js +++ b/packages/common/locales/global/lb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['lb'] = [ - 'lb', - [['mo.', 'nomë.'], ['moies', 'nomëttes'], u], - [['moies', 'nomëttes'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['lb'] = [ + 'lb', + [['mo.', 'nomë.'], ['moies', 'nomëttes'], u], + [['moies', 'nomëttes'], u, u], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Son.', 'Méi.', 'Dën.', 'Mët.', 'Don.', 'Fre.', 'Sam.'], + ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], + ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], + ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], + ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan.', 'Feb.', 'Mäe.', 'Abr.', 'Mee', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], - ['Son.', 'Méi.', 'Dën.', 'Mët.', 'Don.', 'Fre.', 'Sam.'], - ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], - ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'] - ], + 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], - ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], - ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'Mäe.', 'Abr.', 'Mee', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', - 'Dez.' - ], - [ - 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - [ - 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', - 'Oktober', 'November', 'Dezember' - ] - ], - [['v. Chr.', 'n. Chr.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - {'ATS': ['öS'], 'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [] - ]; + 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + ], + [['v. Chr.', 'n. Chr.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euro', + {'ATS': ['öS'], 'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lg.js b/packages/common/locales/global/lg.js index e7ac188d99..1b21c16b39 100644 --- a/packages/common/locales/global/lg.js +++ b/packages/common/locales/global/lg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['lg'] = [ - 'lg', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['lg'] = [ + 'lg', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'B', 'L', 'L', 'L', 'L', 'L'], ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], + ['Sabbiiti', 'Balaza', 'Lwakubiri', 'Lwakusatu', 'Lwakuna', 'Lwakutaano', 'Lwamukaaga'], + ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], [ - ['S', 'B', 'L', 'L', 'L', 'L', 'L'], ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], - ['Sabbiiti', 'Balaza', 'Lwakubiri', 'Lwakusatu', 'Lwakuna', 'Lwakutaano', 'Lwamukaaga'], - ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], - [ - 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', - 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' - ] - ], - u, - [['BC', 'AD'], u, ['Kulisito nga tannaza', 'Bukya Kulisito Azaal']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'UGX', - 'USh', - 'Silingi eya Yuganda', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + ], + u, + [['BC', 'AD'], u, ['Kulisito nga tannaza', 'Bukya Kulisito Azaal']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'UGX', + 'USh', + 'Silingi eya Yuganda', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lkt.js b/packages/common/locales/global/lkt.js index 52163af6db..694d408714 100644 --- a/packages/common/locales/global/lkt.js +++ b/packages/common/locales/global/lkt.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['lkt'] = [ - 'lkt', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['lkt'] = [ + 'lkt', + [['AM', 'PM'], u, u], + u, + [ + ['A', 'W', 'N', 'Y', 'T', 'Z', 'O'], [ - ['A', 'W', 'N', 'Y', 'T', 'Z', 'O'], - [ - 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', - 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' - ], - u, u + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', 'Aŋpétuzaptaŋ', + 'Owáŋgyužažapi' ], + u, u + ], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', - 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' - ], - u, u + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', 'Aŋpétuzaptaŋ', + 'Owáŋgyužažapi' ], + u, u + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', - 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', 'Wasútȟuŋ Wí', - 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', 'Tȟahékapšuŋ Wí' - ], - u + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', 'Čhaŋwápetȟo Wí', + 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', + 'Waníyetu Wí', 'Tȟahékapšuŋ Wí' ], - u, - [['BCE', 'CE'], u, u], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'USD', - '$', - 'USD', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['BCE', 'CE'], u, u], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'USD', + '$', + 'USD', + {'JPY': ['JP¥', '¥']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ln-AO.js b/packages/common/locales/global/ln-AO.js index 09732287e5..f43746d59d 100644 --- a/packages/common/locales/global/ln-AO.js +++ b/packages/common/locales/global/ln-AO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ln-ao'] = [ - 'ln-AO', - [['ntɔ́ngɔ́', 'mpókwa'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ln-ao'] = [ + 'ln-AO', + [['ntɔ́ngɔ́', 'mpókwa'], u, u], + u, + [ + ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], - [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' - ], - ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], - u, + ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + ], + u, + [ + ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], - ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], - [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' - ] - ], - u, - [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AOA', - 'Kz', - 'Kwanza ya Angóla', - {'AOA': ['Kz'], 'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' + ] + ], + u, + [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AOA', + 'Kz', + 'Kwanza ya Angóla', + {'AOA': ['Kz'], 'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ln-CF.js b/packages/common/locales/global/ln-CF.js index bcead109e5..c23b75e4a4 100644 --- a/packages/common/locales/global/ln-CF.js +++ b/packages/common/locales/global/ln-CF.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ln-cf'] = [ - 'ln-CF', - [['ntɔ́ngɔ́', 'mpókwa'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ln-cf'] = [ + 'ln-CF', + [['ntɔ́ngɔ́', 'mpókwa'], u, u], + u, + [ + ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], - [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' - ], - ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], - u, + ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + ], + u, + [ + ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], - ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], - [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' - ] - ], - u, - [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Falánga CFA BEAC', - {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' + ] + ], + u, + [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Falánga CFA BEAC', + {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ln-CG.js b/packages/common/locales/global/ln-CG.js index 4b8b33eb55..db93df851c 100644 --- a/packages/common/locales/global/ln-CG.js +++ b/packages/common/locales/global/ln-CG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ln-cg'] = [ - 'ln-CG', - [['ntɔ́ngɔ́', 'mpókwa'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ln-cg'] = [ + 'ln-CG', + [['ntɔ́ngɔ́', 'mpókwa'], u, u], + u, + [ + ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], - [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' - ], - ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], - u, + ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + ], + u, + [ + ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], - ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], - [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' - ] - ], - u, - [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Falánga CFA BEAC', - {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' + ] + ], + u, + [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Falánga CFA BEAC', + {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ln.js b/packages/common/locales/global/ln.js index 9fc4e74df0..312964f4a2 100644 --- a/packages/common/locales/global/ln.js +++ b/packages/common/locales/global/ln.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ln'] = [ - 'ln', - [['ntɔ́ngɔ́', 'mpókwa'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ln'] = [ + 'ln', + [['ntɔ́ngɔ́', 'mpókwa'], u, u], + u, + [ + ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], - [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' - ], - ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], - u, + ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] + ], + u, + [ + ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], - ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], - [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' - ] - ], - u, - [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CDF', - 'FC', - 'Falánga ya Kongó', - {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' + ] + ], + u, + [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'CDF', + 'FC', + 'Falánga ya Kongó', + {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lo.js b/packages/common/locales/global/lo.js index ed97e65fe8..17ca92fc0b 100644 --- a/packages/common/locales/global/lo.js +++ b/packages/common/locales/global/lo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,99 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['lo'] = [ - 'lo', - [['ກ່ອນທ່ຽງ', 'ຫຼັງທ່ຽງ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['lo'] = [ + 'lo', + [['ກ່ອນທ່ຽງ', 'ຫຼັງທ່ຽງ'], u, u], + u, + [ + ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], ['ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', 'ສຸກ', 'ເສົາ'], + ['ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', 'ວັນເສົາ'], + ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], - [ - 'ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', - 'ສຸກ', 'ເສົາ' - ], - [ - 'ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', - 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', - 'ວັນເສົາ' - ], - ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'] + 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' ], - u, [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', - 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' - ], - [ - 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', - 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', - 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', 'ທັນວາ' - ] - ], - u, - [ - ['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, - ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ'] - ], - 0, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE ທີ d MMMM G y'], - [ - 'H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', - 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz' - ], - ['{1}, {0}', u, u, u], - [ - ',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'ບໍ່​ແມ່ນ​ໂຕ​ເລກ', ':' - ], - ['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#'], - 'LAK', - '₭', - 'ລາວ ກີບ', - {'JPY': ['JP¥', '¥'], 'LAK': ['₭'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນທ່ຽງ', 'ຕອນແລງ', 'ກາງຄືນ' - ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ກາງຄືນ' - ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', - 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ຕອນກາງຄືນ' - ] - ], - [ - [ - 'ທ່ຽງ​ຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສ', - 'ແລງ', '​ກາງ​ຄືນ' - ], - [ - 'ທ່ຽງ​ຄືນ', 'ທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', - 'ແລງ', '​ກາງ​ຄືນ' - ], - [ - 'ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', - 'ແລງ', '​ກາງ​ຄືນ' - ] - ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], - ['20:00', '05:00'] - ] + 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', + 'ທັນວາ' ] - ]; + ], + u, + [['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ']], + 0, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE ທີ d MMMM G y'], + ['H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz'], + ['{1}, {0}', u, u, u], + [ + ',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', + 'ບໍ່​ແມ່ນ​ໂຕ​ເລກ', ':' + ], + ['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#'], + 'LAK', + '₭', + 'ລາວ ກີບ', + {'JPY': ['JP¥', '¥'], 'LAK': ['₭'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນທ່ຽງ', 'ຕອນແລງ', 'ກາງຄືນ'], + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ກາງຄືນ'], + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', 'ຕອນເຊົ້າ', 'ຕອນບ່າຍ', 'ຕອນແລງ', 'ຕອນກາງຄືນ'] + ], + [ + [ + 'ທ່ຽງ​ຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສ', 'ແລງ', + '​ກາງ​ຄືນ' + ], + [ + 'ທ່ຽງ​ຄືນ', 'ທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', 'ແລງ', + '​ກາງ​ຄືນ' + ], + ['ທ່ຽງຄືນ', 'ຕອນທ່ຽງ', '​ເຊົ້າ', 'ສວຍ', 'ແລງ', '​ກາງ​ຄືນ'] + ], + [ + '00:00', '12:00', ['05:00', '12:00'], ['12:00', '16:00'], ['16:00', '20:00'], + ['20:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lrc-IQ.js b/packages/common/locales/global/lrc-IQ.js index 359477d9e0..bd815d6daa 100644 --- a/packages/common/locales/global/lrc-IQ.js +++ b/packages/common/locales/global/lrc-IQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,42 +10,43 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['lrc-iq'] = [ - 'lrc-IQ', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['lrc-iq'] = [ + 'lrc-IQ', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', - 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', - 'دئسامر' - ], - u + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', + 'نوڤامر', 'دئسامر' ], - u, - [['BCE', 'CE'], u, u], - 6, - [5, 6], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IQD', - 'د.ع.\u200f', - 'IQD', - {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['BCE', 'CE'], u, u], + 6, + [5, 6], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IQD', + 'د.ع.\u200f', + 'IQD', + {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lrc.js b/packages/common/locales/global/lrc.js index 091746c2ea..9e02eaa917 100644 --- a/packages/common/locales/global/lrc.js +++ b/packages/common/locales/global/lrc.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,42 +10,43 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['lrc'] = [ - 'lrc', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['lrc'] = [ + 'lrc', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', - 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', - 'دئسامر' - ], - u + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', + 'نوڤامر', 'دئسامر' ], - u, - [['BCE', 'CE'], u, u], - 6, - [5, 5], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IRR', - 'IRR', - 'IRR', - {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['BCE', 'CE'], u, u], + 6, + [5, 5], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IRR', + 'IRR', + 'IRR', + {'IQD': ['د.ع.\u200f'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lt.js b/packages/common/locales/global/lt.js index ac683f5183..c5f807e104 100644 --- a/packages/common/locales/global/lt.js +++ b/packages/common/locales/global/lt.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,22 +9,105 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19)) return 1; - if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 && - !(n % 100 >= 11 && n % 100 <= 19)) - return 3; - if (!(f === 0)) return 4; - return 5; - } - global.ng.common.locales['lt'] = ['lt',[['pr. p.','pop.'],['priešpiet','popiet'],u],u,[['S','P','A','T','K','P','Š'],['sk','pr','an','tr','kt','pn','št'],['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],['Sk','Pr','An','Tr','Kt','Pn','Št']],u,[['S','V','K','B','G','B','L','R','R','S','L','G'],['saus.','vas.','kov.','bal.','geg.','birž.','liep.','rugp.','rugs.','spal.','lapkr.','gruod.'],['sausio','vasario','kovo','balandžio','gegužės','birželio','liepos','rugpjūčio','rugsėjo','spalio','lapkričio','gruodžio']],[['S','V','K','B','G','B','L','R','R','S','L','G'],['saus.','vas.','kov.','bal.','geg.','birž.','liep.','rugp.','rugs.','spal.','lapkr.','gruod.'],['sausis','vasaris','kovas','balandis','gegužė','birželis','liepa','rugpjūtis','rugsėjis','spalis','lapkritis','gruodis']],[['pr. Kr.','po Kr.'],u,['prieš Kristų','po Kristaus']],1,[6,0],['y-MM-dd',u,'y \'m\'. MMMM d \'d\'.','y \'m\'. MMMM d \'d\'., EEEE'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,u,u],[',',' ',';','%','+','−','×10^','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','Euras',{'AUD':[u,'$'],'BDT':[],'BRL':[u,'R$'],'BYN':[u,'Br'],'CAD':[u,'$'],'CNY':[u,'¥'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[],'INR':[],'JPY':[u,'¥'],'KHR':[],'KRW':[u,'₩'],'LAK':[],'MNT':[],'MXN':[u,'$'],'NZD':[u,'$'],'PLN':[u,'zl'],'PYG':[u,'Gs'],'RUB':[u,'rb'],'TWD':[u,'$'],'USD':[u,'$'],'VND':[],'XAF':[],'XCD':[u,'$'],'XOF':[],'XPF':[]},'ltr', plural, [[['vidurnaktis','perpiet','rytas','popietė','vakaras','naktis'],u,u],[['vidurnaktis','vidurdienis','rytas','diena','vakaras','naktis'],u,u],['00:00','12:00',['06:00','12:00'],['12:00','18:00'],['18:00','24:00'],['00:00','06:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19)) return 1; + if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 && + !(n % 100 >= 11 && n % 100 <= 19)) + return 3; + if (!(f === 0)) return 4; + return 5; +} +global.ng.common.locales['lt'] = [ + 'lt', + [['pr. p.', 'pop.'], ['priešpiet', 'popiet'], u], + u, + [ + ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + [ + 'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', + 'šeštadienis' + ], + ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'] + ], + u, + [ + ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + [ + 'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', + 'lapkr.', 'gruod.' + ], + [ + 'sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjūčio', + 'rugsėjo', 'spalio', 'lapkričio', 'gruodžio' + ] + ], + [ + ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + [ + 'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', + 'lapkr.', 'gruod.' + ], + [ + 'sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', + 'rugsėjis', 'spalis', 'lapkritis', 'gruodis' + ] + ], + [['pr. Kr.', 'po Kr.'], u, ['prieš Kristų', 'po Kristaus']], + 1, + [6, 0], + ['y-MM-dd', u, 'y \'m\'. MMMM d \'d\'.', 'y \'m\'. MMMM d \'d\'., EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euras', + { + 'AUD': [u, '$'], + 'BDT': [], + 'BRL': [u, 'R$'], + 'BYN': [u, 'Br'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [], + 'INR': [], + 'JPY': [u, '¥'], + 'KHR': [], + 'KRW': [u, '₩'], + 'LAK': [], + 'MNT': [], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PLN': [u, 'zl'], + 'PYG': [u, 'Gs'], + 'RUB': [u, 'rb'], + 'TWD': [u, '$'], + 'USD': [u, '$'], + 'VND': [], + 'XAF': [], + 'XCD': [u, '$'], + 'XOF': [], + 'XPF': [] + }, + 'ltr', + plural, + [ + [['vidurnaktis', 'perpiet', 'rytas', 'popietė', 'vakaras', 'naktis'], u, u], + [['vidurnaktis', 'vidurdienis', 'rytas', 'diena', 'vakaras', 'naktis'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lu.js b/packages/common/locales/global/lu.js index cb390fc2f6..ee3141a4b7 100644 --- a/packages/common/locales/global/lu.js +++ b/packages/common/locales/global/lu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['lu'] = [ - 'lu', - [['Dinda', 'Dilolo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['lu'] = [ + 'lu', + [['Dinda', 'Dilolo'], u, u], + u, + [ + ['L', 'N', 'N', 'N', 'N', 'N', 'L'], ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], + ['Lumingu', 'Nkodya', 'Ndàayà', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'], + ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'] + ], + u, + [ + ['C', 'L', 'L', 'M', 'L', 'L', 'K', 'L', 'L', 'L', 'K', 'C'], + ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'], [ - ['L', 'N', 'N', 'N', 'N', 'N', 'L'], ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], - ['Lumingu', 'Nkodya', 'Ndàayà', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'], - ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'] - ], - u, - [ - ['C', 'L', 'L', 'M', 'L', 'L', 'K', 'L', 'L', 'L', 'K', 'C'], - ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'], - [ - 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', - 'Lùshìkà', 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' - ] - ], - u, - [['kmp. Y.K.', 'kny. Y. K.'], u, ['Kumpala kwa Yezu Kli', 'Kunyima kwa Yezu Kli']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'CDF', - 'FC', - 'Nfalanga wa Kongu', - {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', 'Lùshìkà', + 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' + ] + ], + u, + [['kmp. Y.K.', 'kny. Y. K.'], u, ['Kumpala kwa Yezu Kli', 'Kunyima kwa Yezu Kli']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'CDF', + 'FC', + 'Nfalanga wa Kongu', + {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/luo.js b/packages/common/locales/global/luo.js index 920718cede..0f2a391b99 100644 --- a/packages/common/locales/global/luo.js +++ b/packages/common/locales/global/luo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,46 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['luo'] = [ - 'luo', - [['OD', 'OT'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['luo'] = [ + 'luo', + [['OD', 'OT'], u, u], + u, + [ + ['J', 'W', 'T', 'T', 'T', 'T', 'N'], ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], + ['Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso'], + ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'] + ], + u, + [ + ['C', 'R', 'D', 'N', 'B', 'U', 'B', 'B', 'C', 'P', 'C', 'P'], + ['DAC', 'DAR', 'DAD', 'DAN', 'DAH', 'DAU', 'DAO', 'DAB', 'DOC', 'DAP', 'DGI', 'DAG'], [ - ['J', 'W', 'T', 'T', 'T', 'T', 'N'], ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], - ['Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso'], - ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'] - ], - u, - [ - ['C', 'R', 'D', 'N', 'B', 'U', 'B', 'B', 'C', 'P', 'C', 'P'], - ['DAC', 'DAR', 'DAD', 'DAN', 'DAH', 'DAU', 'DAO', 'DAB', 'DOC', 'DAP', 'DGI', 'DAG'], - [ - 'Dwe mar Achiel', 'Dwe mar Ariyo', 'Dwe mar Adek', 'Dwe mar Ang’wen', 'Dwe mar Abich', - 'Dwe mar Auchiel', 'Dwe mar Abiriyo', 'Dwe mar Aboro', 'Dwe mar Ochiko', 'Dwe mar Apar', - 'Dwe mar gi achiel', 'Dwe mar Apar gi ariyo' - ] - ], - u, - [['BC', 'AD'], u, ['Kapok Kristo obiro', 'Ka Kristo osebiro']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'KES', - 'Ksh', - 'Siling mar Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Dwe mar Achiel', 'Dwe mar Ariyo', 'Dwe mar Adek', 'Dwe mar Ang’wen', 'Dwe mar Abich', + 'Dwe mar Auchiel', 'Dwe mar Abiriyo', 'Dwe mar Aboro', 'Dwe mar Ochiko', 'Dwe mar Apar', + 'Dwe mar gi achiel', 'Dwe mar Apar gi ariyo' + ] + ], + u, + [['BC', 'AD'], u, ['Kapok Kristo obiro', 'Ka Kristo osebiro']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'KES', + 'Ksh', + 'Siling mar Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/luy.js b/packages/common/locales/global/luy.js index 2b0eabb48d..897d515967 100644 --- a/packages/common/locales/global/luy.js +++ b/packages/common/locales/global/luy.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['luy'] = [ - 'luy', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['luy'] = [ + 'luy', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], - [ - 'Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', - 'Jumamosi' - ], - ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'] + 'Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', 'Jumamosi' ], - u, + ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['BC', 'AD'], u, ['Imberi ya Kuuza Kwa', 'Muhiga Kuvita Kuuza']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00;¤- #,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Sirinji ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['BC', 'AD'], u, ['Imberi ya Kuuza Kwa', 'Muhiga Kuvita Kuuza']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00;¤- #,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Sirinji ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/lv.js b/packages/common/locales/global/lv.js index d7828a1705..b173067590 100644 --- a/packages/common/locales/global/lv.js +++ b/packages/common/locales/global/lv.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,84 +10,78 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || - v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) - return 0; - if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || - !(v === 2) && f % 10 === 1) - return 1; - return 5; - } - global.ng.common.locales['lv'] = [ - 'lv', - [['priekšp.', 'pēcp.'], u, ['priekšpusdienā', 'pēcpusdienā']], - [['priekšp.', 'pēcpusd.'], u, ['priekšpusdiena', 'pēcpusdiena']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || + v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) + return 0; + if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || + !(v === 2) && f % 10 === 1) + return 1; + return 5; +} +global.ng.common.locales['lv'] = [ + 'lv', + [['priekšp.', 'pēcp.'], u, ['priekšpusdienā', 'pēcpusdienā']], + [['priekšp.', 'pēcpusd.'], u, ['priekšpusdiena', 'pēcpusdiena']], + [ + ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena'], + ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'] + ], + [ + ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + ['Svētd.', 'Pirmd.', 'Otrd.', 'Trešd.', 'Ceturtd.', 'Piektd.', 'Sestd.'], + ['Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', 'Sestdiena'], + ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'P', 'O', 'T', 'C', 'P', 'S'], - ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], - [ - 'svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', - 'sestdiena' - ], - ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'] + 'janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', + 'dec.' ], [ - ['S', 'P', 'O', 'T', 'C', 'P', 'S'], - ['Svētd.', 'Pirmd.', 'Otrd.', 'Trešd.', 'Ceturtd.', 'Piektd.', 'Sestd.'], - [ - 'Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', - 'Sestdiena' - ], - ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', - 'nov.', 'dec.' - ], - [ - 'janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', - 'septembris', 'oktobris', 'novembris', 'decembris' - ] - ], - u, - [['p.m.ē.', 'm.ē.'], u, ['pirms mūsu ēras', 'mūsu ērā']], - 1, - [6, 0], - ['dd.MM.yy', 'y. \'gada\' d. MMM', 'y. \'gada\' d. MMMM', 'EEEE, y. \'gada\' d. MMMM'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NS', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'eiro', - {'AUD': ['AU$', '$'], 'LVL': ['Ls'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - ['pusnaktī', 'pusd.', 'no rīta', 'pēcpusd.', 'vakarā', 'naktī'], u, - ['pusnaktī', 'pusdienlaikā', 'no rīta', 'pēcpusdienā', 'vakarā', 'naktī'] - ], - [ - ['pusnakts', 'pusd.', 'rīts', 'pēcpusd.', 'vakars', 'nakts'], - ['pusnakts', 'pusd.', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'], - ['pusnakts', 'pusdienlaiks', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'] - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], - ['23:00', '06:00'] - ] + 'janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', + 'septembris', 'oktobris', 'novembris', 'decembris' ] - ]; + ], + u, + [['p.m.ē.', 'm.ē.'], u, ['pirms mūsu ēras', 'mūsu ērā']], + 1, + [6, 0], + ['dd.MM.yy', 'y. \'gada\' d. MMM', 'y. \'gada\' d. MMMM', 'EEEE, y. \'gada\' d. MMMM'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NS', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'eiro', + {'AUD': ['AU$', '$'], 'LVL': ['Ls'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['pusnaktī', 'pusd.', 'no rīta', 'pēcpusd.', 'vakarā', 'naktī'], u, + ['pusnaktī', 'pusdienlaikā', 'no rīta', 'pēcpusdienā', 'vakarā', 'naktī'] + ], + [ + ['pusnakts', 'pusd.', 'rīts', 'pēcpusd.', 'vakars', 'nakts'], + ['pusnakts', 'pusd.', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'], + ['pusnakts', 'pusdienlaiks', 'rīts', 'pēcpusdiena', 'vakars', 'nakts'] + ], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '23:00'], + ['23:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mas-TZ.js b/packages/common/locales/global/mas-TZ.js index 7b75972a5f..79ea24c962 100644 --- a/packages/common/locales/global/mas-TZ.js +++ b/packages/common/locales/global/mas-TZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['mas-tz'] = [ - 'mas-TZ', - [['Ɛnkakɛnyá', 'Ɛndámâ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['mas-tz'] = [ + 'mas-TZ', + [['Ɛnkakɛnyá', 'Ɛndámâ'], u, u], + u, + [ + ['2', '3', '4', '5', '6', '7', '1'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', 'Ntʉ́'], [ - ['2', '3', '4', '5', '6', '7', '1'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', - 'Ntʉ́' - ], - [ - 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', - 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', - 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' - ] - ], - u, - [['MY', 'EY'], u, ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Iropiyianí e Tanzania', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', + 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + ], + u, + [['MY', 'EY'], u, ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Iropiyianí e Tanzania', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mas.js b/packages/common/locales/global/mas.js index ae15b235c5..ced083ec76 100644 --- a/packages/common/locales/global/mas.js +++ b/packages/common/locales/global/mas.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['mas'] = [ - 'mas', - [['Ɛnkakɛnyá', 'Ɛndámâ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['mas'] = [ + 'mas', + [['Ɛnkakɛnyá', 'Ɛndámâ'], u, u], + u, + [ + ['2', '3', '4', '5', '6', '7', '1'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', 'Ntʉ́'], [ - ['2', '3', '4', '5', '6', '7', '1'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', - 'Ntʉ́' - ], - [ - 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', - 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', - 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' - ] - ], - u, - [['MY', 'EY'], u, ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Iropiyianí e Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', + 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + ], + u, + [['MY', 'EY'], u, ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Iropiyianí e Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mer.js b/packages/common/locales/global/mer.js index 315db7e742..8192e52710 100644 --- a/packages/common/locales/global/mer.js +++ b/packages/common/locales/global/mer.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mer'] = [ - 'mer', - [['RŨ', 'ŨG'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mer'] = [ + 'mer', + [['RŨ', 'ŨG'], u, u], + u, + [ + ['K', 'M', 'W', 'W', 'W', 'W', 'J'], ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], + ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'], + ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'] + ], + u, + [ + ['J', 'F', 'M', 'Ĩ', 'M', 'N', 'N', 'A', 'S', 'O', 'N', 'D'], + ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'], [ - ['K', 'M', 'W', 'W', 'W', 'W', 'J'], ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], - ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'], - ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'] - ], - u, - [ - ['J', 'F', 'M', 'Ĩ', 'M', 'N', 'N', 'A', 'S', 'O', 'N', 'D'], - ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'], - [ - 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', - 'Septemba', 'Oktũba', 'Novemba', 'Dicemba' - ] - ], - u, - [['MK', 'NK'], u, ['Mbere ya Kristũ', 'Nyuma ya Kristũ']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', 'Septemba', + 'Oktũba', 'Novemba', 'Dicemba' + ] + ], + u, + [['MK', 'NK'], u, ['Mbere ya Kristũ', 'Nyuma ya Kristũ']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mfe.js b/packages/common/locales/global/mfe.js index 7e4d5d267c..4bbeb9fbec 100644 --- a/packages/common/locales/global/mfe.js +++ b/packages/common/locales/global/mfe.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mfe'] = [ - 'mfe', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mfe'] = [ + 'mfe', + [['AM', 'PM'], u, u], + u, + [ + ['d', 'l', 'm', 'm', 'z', 'v', 's'], ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], + ['dimans', 'lindi', 'mardi', 'merkredi', 'zedi', 'vandredi', 'samdi'], + ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'] + ], + u, + [ + ['z', 'f', 'm', 'a', 'm', 'z', 'z', 'o', 's', 'o', 'n', 'd'], + ['zan', 'fev', 'mar', 'avr', 'me', 'zin', 'zil', 'out', 'sep', 'okt', 'nov', 'des'], [ - ['d', 'l', 'm', 'm', 'z', 'v', 's'], ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], - ['dimans', 'lindi', 'mardi', 'merkredi', 'zedi', 'vandredi', 'samdi'], - ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'] - ], - u, - [ - ['z', 'f', 'm', 'a', 'm', 'z', 'z', 'o', 's', 'o', 'n', 'd'], - ['zan', 'fev', 'mar', 'avr', 'me', 'zin', 'zil', 'out', 'sep', 'okt', 'nov', 'des'], - [ - 'zanvie', 'fevriye', 'mars', 'avril', 'me', 'zin', 'zilye', 'out', 'septam', 'oktob', - 'novam', 'desam' - ] - ], - u, - [['av. Z-K', 'ap. Z-K'], u, ['avan Zezi-Krist', 'apre Zezi-Krist']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MUR', - 'Rs', - 'roupi morisien', - {'JPY': ['JP¥', '¥'], 'MUR': ['Rs'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'zanvie', 'fevriye', 'mars', 'avril', 'me', 'zin', 'zilye', 'out', 'septam', 'oktob', 'novam', + 'desam' + ] + ], + u, + [['av. Z-K', 'ap. Z-K'], u, ['avan Zezi-Krist', 'apre Zezi-Krist']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MUR', + 'Rs', + 'roupi morisien', + {'JPY': ['JP¥', '¥'], 'MUR': ['Rs'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mg.js b/packages/common/locales/global/mg.js index 97a35f3152..a5c62a9df3 100644 --- a/packages/common/locales/global/mg.js +++ b/packages/common/locales/global/mg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['mg'] = [ - 'mg', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['mg'] = [ + 'mg', + [['AM', 'PM'], u, u], + u, + [ + ['A', 'A', 'T', 'A', 'A', 'Z', 'A'], ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], + ['Alahady', 'Alatsinainy', 'Talata', 'Alarobia', 'Alakamisy', 'Zoma', 'Asabotsy'], + ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'Mey', 'Jon', 'Jol', 'Aog', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['A', 'A', 'T', 'A', 'A', 'Z', 'A'], ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], - ['Alahady', 'Alatsinainy', 'Talata', 'Alarobia', 'Alakamisy', 'Zoma', 'Asabotsy'], - ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'Mey', 'Jon', 'Jol', 'Aog', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Janoary', 'Febroary', 'Martsa', 'Aprily', 'Mey', 'Jona', 'Jolay', 'Aogositra', 'Septambra', - 'Oktobra', 'Novambra', 'Desambra' - ] - ], - u, - [['BC', 'AD'], u, ['Alohan’i JK', 'Aorian’i JK']], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MGA', - 'Ar', - 'Ariary', - {'JPY': ['JP¥', '¥'], 'MGA': ['Ar'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Janoary', 'Febroary', 'Martsa', 'Aprily', 'Mey', 'Jona', 'Jolay', 'Aogositra', 'Septambra', + 'Oktobra', 'Novambra', 'Desambra' + ] + ], + u, + [['BC', 'AD'], u, ['Alohan’i JK', 'Aorian’i JK']], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MGA', + 'Ar', + 'Ariary', + {'JPY': ['JP¥', '¥'], 'MGA': ['Ar'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mgh.js b/packages/common/locales/global/mgh.js index 305c349589..b24c356000 100644 --- a/packages/common/locales/global/mgh.js +++ b/packages/common/locales/global/mgh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,46 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mgh'] = [ - 'mgh', - [['wichishu', 'mchochil’l'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mgh'] = [ + 'mgh', + [['wichishu', 'mchochil’l'], u, u], + u, + [ + ['S', 'J', 'J', 'J', 'A', 'I', 'J'], ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], + ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'], + ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'] + ], + u, + [ + ['K', 'U', 'R', 'C', 'T', 'M', 'S', 'N', 'T', 'K', 'M', 'Y'], + ['Kwa', 'Una', 'Rar', 'Che', 'Tha', 'Moc', 'Sab', 'Nan', 'Tis', 'Kum', 'Moj', 'Yel'], [ - ['S', 'J', 'J', 'J', 'A', 'I', 'J'], ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], - ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'], - ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'] - ], - u, - [ - ['K', 'U', 'R', 'C', 'T', 'M', 'S', 'N', 'T', 'K', 'M', 'Y'], - ['Kwa', 'Una', 'Rar', 'Che', 'Tha', 'Moc', 'Sab', 'Nan', 'Tis', 'Kum', 'Moj', 'Yel'], - [ - 'Mweri wo kwanza', 'Mweri wo unayeli', 'Mweri wo uneraru', 'Mweri wo unecheshe', - 'Mweri wo unethanu', 'Mweri wo thanu na mocha', 'Mweri wo saba', 'Mweri wo nane', - 'Mweri wo tisa', 'Mweri wo kumi', 'Mweri wo kumi na moja', 'Mweri wo kumi na yel’li' - ] - ], - u, - [['HY', 'YY'], u, ['Hinapiya yesu', 'Yopia yesu']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MZN', - 'MTn', - 'MZN', - {'JPY': ['JP¥', '¥'], 'MZN': ['MTn'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mweri wo kwanza', 'Mweri wo unayeli', 'Mweri wo uneraru', 'Mweri wo unecheshe', + 'Mweri wo unethanu', 'Mweri wo thanu na mocha', 'Mweri wo saba', 'Mweri wo nane', + 'Mweri wo tisa', 'Mweri wo kumi', 'Mweri wo kumi na moja', 'Mweri wo kumi na yel’li' + ] + ], + u, + [['HY', 'YY'], u, ['Hinapiya yesu', 'Yopia yesu']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MZN', + 'MTn', + 'MZN', + {'JPY': ['JP¥', '¥'], 'MZN': ['MTn'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mgo.js b/packages/common/locales/global/mgo.js index 01d1a6b6ed..69c640b784 100644 --- a/packages/common/locales/global/mgo.js +++ b/packages/common/locales/global/mgo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['mgo'] = [ - 'mgo', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['mgo'] = [ + 'mgo', + [['AM', 'PM'], u, u], + u, + [ + ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], + ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'], u, + ['1', '2', '3', '4', '5', '6', '7'] + ], + u, + [ + ['M1', 'A2', 'M3', 'N4', 'F5', 'I6', 'A7', 'I8', 'K9', '10', '11', '12'], [ - ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], - ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'], u, - ['1', '2', '3', '4', '5', '6', '7'] + 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', + 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed' ], - u, [ - ['M1', 'A2', 'M3', 'N4', 'F5', 'I6', 'A7', 'I8', 'K9', '10', '11', '12'], - [ - 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', - 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', - 'iməg zò', 'iməg krizmed' - ], - [ - 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', - 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', - 'iməg zò', 'iməg krizmed' - ] - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'shirè', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', + 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed' + ] + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'EEEE, y MMMM dd'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'shirè', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mi.js b/packages/common/locales/global/mi.js index 429dfc3e17..79c51d19b4 100644 --- a/packages/common/locales/global/mi.js +++ b/packages/common/locales/global/mi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mi'] = [ - 'mi', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mi'] = [ + 'mi', + [['AM', 'PM'], u, u], + u, + [ + ['T', 'H', 'T', 'A', 'P', 'M', 'H'], ['Tap', 'Hin', 'Tū', 'Apa', 'Par', 'Mer', 'Hor'], + ['Rātapu', 'Rāhina', 'Rātū', 'Rāapa', 'Rāpare', 'Rāmere', 'Rāhoroi'], + ['Tap', 'Hin', 'Tū', 'Apa', 'Par', 'Mer', 'Hor'] + ], + u, + [ + ['K', 'H', 'P', 'P', 'H', 'P', 'H', 'H', 'M', 'N', 'R', 'H'], + ['Kohi', 'Hui', 'Pou', 'Pae', 'Hara', 'Pipi', 'Hōngo', 'Here', 'Mahu', 'Nuku', 'Rangi', 'Haki'], [ - ['T', 'H', 'T', 'A', 'P', 'M', 'H'], ['Tap', 'Hin', 'Tū', 'Apa', 'Par', 'Mer', 'Hor'], - ['Rātapu', 'Rāhina', 'Rātū', 'Rāapa', 'Rāpare', 'Rāmere', 'Rāhoroi'], - ['Tap', 'Hin', 'Tū', 'Apa', 'Par', 'Mer', 'Hor'] - ], - u, - [ - ['K', 'H', 'P', 'P', 'H', 'P', 'H', 'H', 'M', 'N', 'R', 'H'], - [ - 'Kohi', 'Hui', 'Pou', 'Pae', 'Hara', 'Pipi', 'Hōngo', 'Here', 'Mahu', 'Nuku', 'Rangi', - 'Haki' - ], - [ - 'Kohitātea', 'Huitanguru', 'Poutūterangi', 'Paengawhāwhā', 'Haratua', 'Pipiri', - 'Hōngongoi', 'Hereturikōkā', 'Mahuru', 'Whiringa-ā-nuku', 'Whiringa-ā-rangi', 'Hakihea' - ] - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'NZD', - '$', - 'Tāra o Aotearoa', - {'NZD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Kohitātea', 'Huitanguru', 'Poutūterangi', 'Paengawhāwhā', 'Haratua', 'Pipiri', 'Hōngongoi', + 'Hereturikōkā', 'Mahuru', 'Whiringa-ā-nuku', 'Whiringa-ā-rangi', 'Hakihea' + ] + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'NZD', + '$', + 'Tāra o Aotearoa', + {'NZD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mk.js b/packages/common/locales/global/mk.js index 4c2a48b1d6..f9f04bfeba 100644 --- a/packages/common/locales/global/mk.js +++ b/packages/common/locales/global/mk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,86 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - return 5; - } - global.ng.common.locales['mk'] = [ - 'mk', - [['претпл.', 'попл.'], u, ['претпладне', 'попладне']], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + return 5; +} +global.ng.common.locales['mk'] = [ + 'mk', + [['претпл.', 'попл.'], u, ['претпладне', 'попладне']], + u, + [ + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], + ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], + ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] + ], + [ + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], + ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], + ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] + ], + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], - [ - 'недела', 'понеделник', 'вторник', 'среда', 'четврток', - 'петок', 'сабота' - ], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] + 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', 'септ.', 'окт.', 'ноем.', + 'дек.' ], [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], - [ - 'недела', 'понеделник', 'вторник', 'среда', 'четврток', - 'петок', 'сабота' - ], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] - ], - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', - 'септ.', 'окт.', 'ноем.', 'дек.' - ], - [ - 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', - 'јули', 'август', 'септември', 'октомври', 'ноември', - 'декември' - ] - ], - u, - [['пр.н.е.', 'н.е.'], u, ['пред нашата ера', 'од нашата ера']], - 1, - [6, 0], - ['d.M.yy', 'd.M.y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MKD', - 'ден.', - 'Македонски денар', - { - 'AUD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MKD': ['ден.'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'напл.', 'утро', 'претпл.', 'попл.', 'веч.', 'ноќе'], - [ - 'полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'ноќе' - ], - [ - 'полноќ', 'напладне', 'наутро', 'претпладне', - 'попладне', 'навечер', 'по полноќ' - ] - ], - [ - [ - 'полноќ', 'пладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'по полноќ' - ], - [ - 'полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', - 'навечер', 'по полноќ' - ], - [ - 'на полноќ', 'напладне', 'наутро', 'претпладне', - 'попладне', 'навечер', 'по полноќ' - ] - ], - [ - '00:00', '12:00', ['04:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], - ['18:00', '24:00'], ['00:00', '04:00'] - ] + 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', + 'октомври', 'ноември', 'декември' ] - ]; + ], + u, + [['пр.н.е.', 'н.е.'], u, ['пред нашата ера', 'од нашата ера']], + 1, + [6, 0], + ['d.M.yy', 'd.M.y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MKD', + 'ден.', + 'Македонски денар', + { + 'AUD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MKD': ['ден.'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'напл.', 'утро', 'претпл.', 'попл.', 'веч.', 'ноќе'], + ['полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'ноќе'], + ['полноќ', 'напладне', 'наутро', 'претпладне', 'попладне', 'навечер', 'по полноќ'] + ], + [ + ['полноќ', 'пладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'по полноќ'], + ['полноќ', 'напладне', 'наутро', 'претпл.', 'попл.', 'навечер', 'по полноќ'], + ['на полноќ', 'напладне', 'наутро', 'претпладне', 'попладне', 'навечер', 'по полноќ'] + ], + [ + '00:00', '12:00', ['04:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], + ['18:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ml.js b/packages/common/locales/global/ml.js index a8062bf890..9c430050a5 100644 --- a/packages/common/locales/global/ml.js +++ b/packages/common/locales/global/ml.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,113 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ml'] = [ - 'ml', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ml'] = [ + 'ml', + [['AM', 'PM'], u, u], + u, + [ + ['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], [ - ['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], - [ - 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', - 'വ്യാഴം', 'വെള്ളി', 'ശനി' - ], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', - 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', - 'വ്യാഴാഴ്\u200cച', 'വെള്ളിയാഴ്\u200cച', - 'ശനിയാഴ്\u200cച' - ], - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] + 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', + 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' ], + ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] + ], + [ + ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], [ - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], - [ - 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', - 'വ്യാഴം', 'വെള്ളി', 'ശനി' - ], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', - 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', - 'വ്യാഴാഴ്\u200cച', 'വെള്ളിയാഴ്\u200cച', - 'ശനിയാഴ്\u200cച' - ], - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] + 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', + 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' ], + ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] + ], + [ + ['ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', 'ന', 'ഡി'], + ['ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', 'നവം', 'ഡിസം'], [ - [ - 'ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', - 'ന', 'ഡി' - ], - [ - 'ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', - 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', - 'നവം', 'ഡിസം' - ], - [ - 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', - 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', - 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ', - 'നവംബർ', 'ഡിസംബർ' - ] - ], - u, - [ - ['ക്രി.മു.', 'എഡി'], u, - [ - 'ക്രിസ്\u200cതുവിന് മുമ്പ്', - 'ആന്നോ ഡൊമിനി' - ] - ], - 0, - [0, 0], - ['d/M/yy', 'y, MMM d', 'y, MMMM d', 'y, MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ഇന്ത്യൻ രൂപ', - {'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'അ', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', - 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', - 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി' - ], - [ - 'അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', - 'രാവിലെ', 'ഉച്ചയ്ക്ക്', - 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', - 'സന്ധ്യ', 'രാത്രി' - ], - u - ], - [ - [ - 'അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', - 'രാവിലെ', 'ഉച്ചയ്ക്ക്', - 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', - 'സന്ധ്യ', 'രാത്രി' - ], - u, u - ], - [ - '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], - ['14:00', '15:00'], ['15:00', '18:00'], ['18:00', '19:00'], ['19:00', '03:00'] - ] + 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ', + 'നവംബർ', 'ഡിസംബർ' ] - ]; + ], + u, + [['ക്രി.മു.', 'എഡി'], u, ['ക്രിസ്\u200cതുവിന് മുമ്പ്', 'ആന്നോ ഡൊമിനി']], + 0, + [0, 0], + ['d/M/yy', 'y, MMM d', 'y, MMMM d', 'y, MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'INR', + '₹', + 'ഇന്ത്യൻ രൂപ', + {'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['അ', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], + ['അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], + u + ], + [ + ['അർദ്ധരാത്രി', 'ഉച്ച', 'പുലർച്ചെ', 'രാവിലെ', 'ഉച്ചയ്ക്ക്', 'ഉച്ചതിരിഞ്ഞ്', 'വൈകുന്നേരം', 'സന്ധ്യ', 'രാത്രി'], + u, u + ], + [ + '00:00', '12:00', ['03:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], + ['14:00', '15:00'], ['15:00', '18:00'], ['18:00', '19:00'], ['19:00', '03:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mn.js b/packages/common/locales/global/mn.js index 392d0ff90d..5c1a216b37 100644 --- a/packages/common/locales/global/mn.js +++ b/packages/common/locales/global/mn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,90 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['mn'] = [ - 'mn', - [['ү.ө.', 'ү.х.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['mn'] = [ + 'mn', + [['ү.ө.', 'ү.х.'], u, u], + u, + [ + ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, + ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'], + ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] + ], + [ + ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, + ['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба'], + ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] + ], + [ + ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], [ - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, - [ - 'ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', - 'бямба' - ], - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', + '9-р сар', '10-р сар', '11-р сар', '12-р сар' ], [ - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, - [ - 'Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', - 'Бямба' - ], - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] - ], - [ - ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], - [ - '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', - '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар' - ], - [ - 'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', - 'дөрөвдүгээр сар', 'тавдугаар сар', - 'зургаадугаар сар', 'долоодугаар сар', - 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', - 'арван нэгдүгээр сар', 'арван хоёрдугаар сар' - ] - ], - [ - ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], - [ - '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', - '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар' - ], - [ - 'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', - 'Дөрөвдүгээр сар', 'Тавдугаар сар', - 'Зургаадугаар сар', 'Долоодугаар сар', - 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', - 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' - ] - ], - [['МЭӨ', 'МЭ'], u, ['манай эриний өмнөх', 'манай эриний']], - 1, - [6, 0], - [ - 'y.MM.dd', 'y \'оны\' MMM\'ын\' d', 'y \'оны\' MMMM\'ын\' d', - 'y \'оны\' MMMM\'ын\' d, EEEE \'гараг\'' - ], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MNT', - '₮', - 'Монгол төгрөг', - {'JPY': ['JP¥', '¥'], 'MNT': ['₮'], 'SEK': [u, 'кр'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - ['шөнө дунд', 'үд дунд', 'өглөө', 'өдөр', 'орой', 'шөнө'], u, - u - ], - u, - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', + 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', + 'арван нэгдүгээр сар', 'арван хоёрдугаар сар' ] - ]; + ], + [ + ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], + [ + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', + '9-р сар', '10-р сар', '11-р сар', '12-р сар' + ], + [ + 'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', + 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', + 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' + ] + ], + [['МЭӨ', 'МЭ'], u, ['манай эриний өмнөх', 'манай эриний']], + 1, + [6, 0], + [ + 'y.MM.dd', 'y \'оны\' MMM\'ын\' d', 'y \'оны\' MMMM\'ын\' d', + 'y \'оны\' MMMM\'ын\' d, EEEE \'гараг\'' + ], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MNT', + '₮', + 'Монгол төгрөг', + {'JPY': ['JP¥', '¥'], 'MNT': ['₮'], 'SEK': [u, 'кр'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [['шөнө дунд', 'үд дунд', 'өглөө', 'өдөр', 'орой', 'шөнө'], u, u], u, + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mr.js b/packages/common/locales/global/mr.js index 918bc65de8..d47a6786a1 100644 --- a/packages/common/locales/global/mr.js +++ b/packages/common/locales/global/mr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,91 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['mr'] = [ - 'mr', - [['स', 'सं'], ['म.पू.', 'म.उ.'], u], - [['म.पू.', 'म.उ.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['mr'] = [ + 'mr', + [['स', 'सं'], ['म.पू.', 'म.उ.'], u], + [['म.पू.', 'म.उ.'], u, u], + [ + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + ['रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] + ], + u, + [ + ['जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', 'नो', 'डि'], + ['जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', 'नोव्हें', 'डिसें'], [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], - [ - 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', - 'शनि' - ], - [ - 'रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', - 'गुरुवार', 'शुक्रवार', 'शनिवार' - ], - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] - ], - u, - [ - [ - 'जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', - 'नो', 'डि' - ], - [ - 'जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', - 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', - 'नोव्हें', 'डिसें' - ], - [ - 'जानेवारी', 'फेब्रुवारी', 'मार्च', - 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', - 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', - 'डिसेंबर' - ] - ], - u, - [ - ['इ. स. पू.', 'इ. स.'], u, - ['ईसवीसनपूर्व', 'ईसवीसन'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} रोजी {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '[#E0]'], - 'INR', - '₹', - 'भारतीय रुपया', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - ['म.रा.', 'दु', 'प', 'स', 'दु', 'सं', 'सा', 'रा'], - [ - 'मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', - 'दुपार', 'संध्याकाळ', 'सायंकाळ', - 'रात्र' - ], - u - ], - [ - ['म.रा.', 'म', 'प', 'स', 'दु', 'सं', 'सा', 'रात्र'], - [ - 'मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', - 'दुपार', 'संध्याकाळ', 'सायंकाळ', - 'रात्र' - ], - u - ], - [ - '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], - ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00'] - ] + 'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' ] - ]; + ], + u, + [['इ. स. पू.', 'इ. स.'], u, ['ईसवीसनपूर्व', 'ईसवीसन']], + 0, + [0, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} रोजी {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##0%', '¤#,##0.00', '[#E0]'], + 'INR', + '₹', + 'भारतीय रुपया', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['म.रा.', 'दु', 'प', 'स', 'दु', 'सं', 'सा', 'रा'], + ['मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र'], u + ], + [ + ['म.रा.', 'म', 'प', 'स', 'दु', 'सं', 'सा', 'रात्र'], + ['मध्यरात्र', 'मध्यान्ह', 'पहाट', 'सकाळ', 'दुपार', 'संध्याकाळ', 'सायंकाळ', 'रात्र'], u + ], + [ + '00:00', '12:00', ['04:00', '06:00'], ['06:00', '12:00'], ['12:00', '16:00'], + ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ms-BN.js b/packages/common/locales/global/ms-BN.js index eda717c9d5..100b51fb58 100644 --- a/packages/common/locales/global/ms-BN.js +++ b/packages/common/locales/global/ms-BN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ms-bn'] = [ - 'ms-BN', - [['a', 'p'], ['PG', 'PTG'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ms-bn'] = [ + 'ms-BN', + [['a', 'p'], ['PG', 'PTG'], u], + u, + [ + ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], + ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], [ - ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], - ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], - ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], - [ - 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', - 'Oktober', 'November', 'Disember' - ] - ], - u, - [['S.M.', 'TM'], u, u], - 1, - [6, 0], - ['d/MM/yy', 'd MMM y', 'd MMMM y', 'dd MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'BND', - '$', - 'Dolar Brunei', - { - 'BND': ['$'], - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'MYR': ['RM'], - 'TWD': ['NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] - ], - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u - ], - [ - ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], - ['19:00', '24:00'] - ] + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', + 'November', 'Disember' ] - ]; + ], + u, + [['S.M.', 'TM'], u, u], + 1, + [6, 0], + ['d/MM/yy', 'd MMM y', 'd MMMM y', 'dd MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'BND', + '$', + 'Dolar Brunei', + { + 'BND': ['$'], + 'CAD': [u, '$'], + 'JPY': ['JP¥', '¥'], + 'MXN': [u, '$'], + 'MYR': ['RM'], + 'TWD': ['NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] + ], + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u + ], + [ + ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], + ['19:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ms-SG.js b/packages/common/locales/global/ms-SG.js index 6e47535da4..968f65d0ab 100644 --- a/packages/common/locales/global/ms-SG.js +++ b/packages/common/locales/global/ms-SG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ms-sg'] = [ - 'ms-SG', - [['a', 'p'], ['PG', 'PTG'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ms-sg'] = [ + 'ms-SG', + [['a', 'p'], ['PG', 'PTG'], u], + u, + [ + ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], + ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], [ - ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], - ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], - ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], - [ - 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', - 'Oktober', 'November', 'Disember' - ] - ], - u, - [['S.M.', 'TM'], u, u], - 0, - [6, 0], - ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SGD', - '$', - 'Dolar Singapura', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'MYR': ['RM'], - 'SGD': ['$'], - 'TWD': ['NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] - ], - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u - ], - [ - ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], - ['19:00', '24:00'] - ] + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', + 'November', 'Disember' ] - ]; + ], + u, + [['S.M.', 'TM'], u, u], + 0, + [6, 0], + ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SGD', + '$', + 'Dolar Singapura', + { + 'CAD': [u, '$'], + 'JPY': ['JP¥', '¥'], + 'MXN': [u, '$'], + 'MYR': ['RM'], + 'SGD': ['$'], + 'TWD': ['NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] + ], + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u + ], + [ + ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], + ['19:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ms.js b/packages/common/locales/global/ms.js index 9a22871e8d..65087663d4 100644 --- a/packages/common/locales/global/ms.js +++ b/packages/common/locales/global/ms.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,65 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ms'] = [ - 'ms', - [['a', 'p'], ['PG', 'PTG'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ms'] = [ + 'ms', + [['a', 'p'], ['PG', 'PTG'], u], + u, + [ + ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], + ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], [ - ['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], - ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'], - ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], - [ - 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', - 'Oktober', 'November', 'Disember' - ] - ], - u, - [['S.M.', 'TM'], u, u], - 1, - [6, 0], - ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MYR', - 'RM', - 'Ringgit Malaysia', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'MYR': ['RM'], - 'TWD': ['NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] - ], - [ - ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], - ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u - ], - [ - ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], - ['19:00', '24:00'] - ] + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', + 'November', 'Disember' ] - ]; + ], + u, + [['S.M.', 'TM'], u, u], + 1, + [6, 0], + ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MYR', + 'RM', + 'Ringgit Malaysia', + { + 'CAD': [u, '$'], + 'JPY': ['JP¥', '¥'], + 'MXN': [u, '$'], + 'MYR': ['RM'], + 'TWD': ['NT$'], + 'USD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], u, + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'] + ], + [ + ['pagi', 'pagi', 'tengah hari', 'petang', 'malam'], + ['tengah malam', 'pagi', 'tengah hari', 'petang', 'malam'], u + ], + [ + ['00:00', '01:00'], ['01:00', '12:00'], ['12:00', '14:00'], ['14:00', '19:00'], + ['19:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mt.js b/packages/common/locales/global/mt.js index de28fb3c60..b19587a886 100644 --- a/packages/common/locales/global/mt.js +++ b/packages/common/locales/global/mt.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) return 3; - if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return 4; - return 5; - } - global.ng.common.locales['mt'] = [ - 'mt', - [['am', 'pm'], ['AM', 'PM'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) return 3; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return 4; + return 5; +} +global.ng.common.locales['mt'] = [ + 'mt', + [['am', 'pm'], ['AM', 'PM'], u], + u, + [ + ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], + ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] + ], + [ + ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], + ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], [ - ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], - ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] - ], + 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', + 'Ottubru', 'Novembru', 'Diċembru' + ] + ], + [ + ['Jn', 'Fr', 'Mz', 'Ap', 'Mj', 'Ġn', 'Lj', 'Aw', 'St', 'Ob', 'Nv', 'Dċ'], + ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], [ - ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], - ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], - [ - 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', - 'Ottubru', 'Novembru', 'Diċembru' - ] - ], - [ - ['Jn', 'Fr', 'Mz', 'Ap', 'Mj', 'Ġn', 'Lj', 'Aw', 'St', 'Ob', 'Nv', 'Dċ'], - ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], - [ - 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', - 'Ottubru', 'Novembru', 'Diċembru' - ] - ], - [['QK', 'WK'], u, ['Qabel Kristu', 'Wara Kristu']], - 0, - [6, 0], - ['dd/MM/y', 'dd MMM y', 'd \'ta\'’ MMMM y', 'EEEE, d \'ta\'’ MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'ewro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', + 'Ottubru', 'Novembru', 'Diċembru' + ] + ], + [['QK', 'WK'], u, ['Qabel Kristu', 'Wara Kristu']], + 0, + [6, 0], + ['dd/MM/y', 'dd MMM y', 'd \'ta\'’ MMMM y', 'EEEE, d \'ta\'’ MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'ewro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mua.js b/packages/common/locales/global/mua.js index afa6520a69..8c1ad87021 100644 --- a/packages/common/locales/global/mua.js +++ b/packages/common/locales/global/mua.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mua'] = [ - 'mua', - [['comme', 'lilli'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mua'] = [ + 'mua', + [['comme', 'lilli'], u, u], + u, + [ + ['Y', 'L', 'Z', 'O', 'A', 'G', 'E'], ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], + ['Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', 'Comzyeɓsuu'], + ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'] + ], + u, + [ + ['O', 'A', 'I', 'F', 'D', 'B', 'L', 'M', 'E', 'U', 'W', 'Y'], + ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'], [ - ['Y', 'L', 'Z', 'O', 'A', 'G', 'E'], ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], - [ - 'Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', - 'Comzyeɓsuu' - ], - ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'] - ], - u, - [ - ['O', 'A', 'I', 'F', 'D', 'B', 'L', 'M', 'E', 'U', 'W', 'Y'], - ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'], - [ - 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', - 'Mamǝŋgwãafahbii', 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', - 'Fĩi Gwahlle', 'Fĩi Yuru' - ] - ], - u, - [['KK', 'PK'], u, ['KǝPel Kristu', 'Pel Kristu']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'solai BEAC', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', 'Mamǝŋgwãafahbii', + 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', 'Fĩi Gwahlle', 'Fĩi Yuru' + ] + ], + u, + [['KK', 'PK'], u, ['KǝPel Kristu', 'Pel Kristu']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'solai BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/my.js b/packages/common/locales/global/my.js index 357fe87ae7..23cc0f89bb 100644 --- a/packages/common/locales/global/my.js +++ b/packages/common/locales/global/my.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,84 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['my'] = [ - 'my', - [['နံနက်', 'ညနေ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['my'] = [ + 'my', + [['နံနက်', 'ညနေ'], u, u], + u, + [ + ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], + ['တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ'], u, u + ], + u, + [ + ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], + ['ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', 'စက်', 'အောက်', 'နို', 'ဒီ'], [ - ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], - [ - 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', - 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' - ], - u, u - ], - u, - [ - ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], - [ - 'ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', - 'စက်', 'အောက်', 'နို', 'ဒီ' - ], - [ - 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', - 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', - 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', - 'ဒီဇင်ဘာ' - ] - ], - u, - [ - ['ဘီစီ', 'အဒေီ'], u, - ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်'] - ], - 0, - [6, 0], - ['dd-MM-yy', 'y၊ MMM d', 'y၊ d MMMM', 'y၊ MMMM d၊ EEEE'], - ['B H:mm', 'B HH:mm:ss', 'z HH:mm:ss', 'zzzz HH:mm:ss'], - ['{1} {0}', u, u, u], - [ - '.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'ဂဏန်းမဟုတ်သော', ':' - ], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MMK', - 'K', - 'မြန်မာ ကျပ်', - { - 'ANG': ['NAf'], - 'AWG': ['Afl'], - 'BBD': [u, 'Bds$'], - 'BSD': [u, 'B$'], - 'HTG': ['G'], - 'JPY': ['JP¥', '¥'], - 'MMK': ['K'], - 'PAB': ['B/.'], - 'THB': ['฿'], - 'TTD': ['TT$', '$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - [ - 'သန်းခေါင်ယံ', 'မွန်းတည့်', 'နံနက်', - 'နေ့လယ်', 'ညနေ', 'ည' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['00:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], - ['19:00', '24:00'] - ] + 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', + 'ဒီဇင်ဘာ' ] - ]; + ], + u, + [['ဘီစီ', 'အဒေီ'], u, ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်']], + 0, + [6, 0], + ['dd-MM-yy', 'y၊ MMM d', 'y၊ d MMMM', 'y၊ MMMM d၊ EEEE'], + ['B H:mm', 'B HH:mm:ss', 'z HH:mm:ss', 'zzzz HH:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ဂဏန်းမဟုတ်သော', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MMK', + 'K', + 'မြန်မာ ကျပ်', + { + 'ANG': ['NAf'], + 'AWG': ['Afl'], + 'BBD': [u, 'Bds$'], + 'BSD': [u, 'B$'], + 'HTG': ['G'], + 'JPY': ['JP¥', '¥'], + 'MMK': ['K'], + 'PAB': ['B/.'], + 'THB': ['฿'], + 'TTD': ['TT$', '$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [['သန်းခေါင်ယံ', 'မွန်းတည့်', 'နံနက်', 'နေ့လယ်', 'ညနေ', 'ည'], u, u], u, + [ + '00:00', '12:00', ['00:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], + ['19:00', '24:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/mzn.js b/packages/common/locales/global/mzn.js index bb09a4e8af..8073f5e3d2 100644 --- a/packages/common/locales/global/mzn.js +++ b/packages/common/locales/global/mzn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,41 +10,43 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['mzn'] = [ - 'mzn', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['mzn'] = [ + 'mzn', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', - 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' - ], - u + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], - u, - [['پ.م', 'م.'], u, ['قبل میلاد', 'بعد میلاد']], - 6, - [5, 5], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'IRR', - 'IRR', - 'ایران ریال', - {'JPY': ['JP¥', '¥']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['پ.م', 'م.'], u, ['قبل میلاد', 'بعد میلاد']], + 6, + [5, 5], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'IRR', + 'IRR', + 'ایران ریال', + {'JPY': ['JP¥', '¥']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/naq.js b/packages/common/locales/global/naq.js index 75aed02896..9cf3eccefe 100644 --- a/packages/common/locales/global/naq.js +++ b/packages/common/locales/global/naq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['naq'] = [ - 'naq', - [['ǁgoagas', 'ǃuias'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['naq'] = [ + 'naq', + [['ǁgoagas', 'ǃuias'], u, u], + u, + [ + ['S', 'M', 'E', 'W', 'D', 'F', 'A'], ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], [ - ['S', 'M', 'E', 'W', 'D', 'F', 'A'], ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], - [ - 'Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', - 'Fraitaxtsees', 'Satertaxtsees' - ], - ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'] + 'Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', + 'Fraitaxtsees', 'Satertaxtsees' ], - u, + ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', - 'ǂKhoesaob', 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', 'ǀHooǂgaeb', - 'Hôasoreǁkhâb' - ] - ], - u, - [['BC', 'AD'], u, ['Xristub aiǃâ', 'Xristub khaoǃgâ']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'ZAR', - 'South African Randi', - {'JPY': ['JP¥', '¥'], 'NAD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', 'ǂKhoesaob', + 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', 'ǀHooǂgaeb', 'Hôasoreǁkhâb' + ] + ], + u, + [['BC', 'AD'], u, ['Xristub aiǃâ', 'Xristub khaoǃgâ']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'ZAR', + 'South African Randi', + {'JPY': ['JP¥', '¥'], 'NAD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nb-SJ.js b/packages/common/locales/global/nb-SJ.js index 8318ae5a42..45cf78793e 100644 --- a/packages/common/locales/global/nb-SJ.js +++ b/packages/common/locales/global/nb-SJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,95 +10,91 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nb-sj'] = [ - 'nb-SJ', - [['a', 'p'], ['a.m.', 'p.m.'], u], - [['a.m.', 'p.m.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nb-sj'] = [ + 'nb-SJ', + [['a', 'p'], ['a.m.', 'p.m.'], u], + [['a.m.', 'p.m.'], u, u], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], - ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'des.' - ], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], - [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'NOK', - 'kr', - 'norske kroner', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': ['kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], - ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], - ['midnatt', 'morgenen', 'formiddagen', 'ettermiddagen', 'kvelden', 'natten'] - ], - [ - ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], - ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], - ['midnatt', 'morgen', 'formiddag', 'ettermiddag', 'kveld', 'natt'] - ], - [ - '00:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], + 1, + [6, 0], + ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], + [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'NOK', + 'kr', + 'norske kroner', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': ['kr'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], + ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], + ['midnatt', 'morgenen', 'formiddagen', 'ettermiddagen', 'kvelden', 'natten'] + ], + [ + ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], + ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], + ['midnatt', 'morgen', 'formiddag', 'ettermiddag', 'kveld', 'natt'] + ], + [ + '00:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nb.js b/packages/common/locales/global/nb.js index 0acc2d7b06..197ef2bb7d 100644 --- a/packages/common/locales/global/nb.js +++ b/packages/common/locales/global/nb.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,95 +10,91 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nb'] = [ - 'nb', - [['a', 'p'], ['a.m.', 'p.m.'], u], - [['a.m.', 'p.m.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nb'] = [ + 'nb', + [['a', 'p'], ['a.m.', 'p.m.'], u], + [['a.m.', 'p.m.'], u, u], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], + ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], - ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], - ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'], - ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'des.' - ], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], - [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'NOK', - 'kr', - 'norske kroner', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': ['kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], - ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], - ['midnatt', 'morgenen', 'formiddagen', 'ettermiddagen', 'kvelden', 'natten'] - ], - [ - ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], - ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], - ['midnatt', 'morgen', 'formiddag', 'ettermiddag', 'kveld', 'natt'] - ], - [ - '00:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '06:00'] - ] + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' ] - ]; + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], + 1, + [6, 0], + ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], + [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'NOK', + 'kr', + 'norske kroner', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': ['kr'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], + ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], + ['midnatt', 'morgenen', 'formiddagen', 'ettermiddagen', 'kvelden', 'natten'] + ], + [ + ['mn.', 'mg.', 'fm.', 'em.', 'kv.', 'nt.'], + ['midn.', 'morg.', 'form.', 'etterm.', 'kveld', 'natt'], + ['midnatt', 'morgen', 'formiddag', 'ettermiddag', 'kveld', 'natt'] + ], + [ + '00:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nd.js b/packages/common/locales/global/nd.js index 29506c7e6a..b4649ad3b4 100644 --- a/packages/common/locales/global/nd.js +++ b/packages/common/locales/global/nd.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nd'] = [ - 'nd', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nd'] = [ + 'nd', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'S', 'S', 'S', 'S', 'M'], ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], + ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'], + ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'] + ], + u, + [ + ['Z', 'N', 'M', 'M', 'N', 'N', 'N', 'N', 'M', 'M', 'L', 'M'], + ['Zib', 'Nhlo', 'Mbi', 'Mab', 'Nkw', 'Nhla', 'Ntu', 'Ncw', 'Mpan', 'Mfu', 'Lwe', 'Mpal'], [ - ['S', 'M', 'S', 'S', 'S', 'S', 'M'], ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], - ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'], - ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'] - ], - u, - [ - ['Z', 'N', 'M', 'M', 'N', 'N', 'N', 'N', 'M', 'M', 'L', 'M'], - ['Zib', 'Nhlo', 'Mbi', 'Mab', 'Nkw', 'Nhla', 'Ntu', 'Ncw', 'Mpan', 'Mfu', 'Lwe', 'Mpal'], - [ - 'Zibandlela', 'Nhlolanja', 'Mbimbitho', 'Mabasa', 'Nkwenkwezi', 'Nhlangula', 'Ntulikazi', - 'Ncwabakazi', 'Mpandula', 'Mfumfu', 'Lwezi', 'Mpalakazi' - ] - ], - u, - [['BC', 'AD'], u, ['UKristo angakabuyi', 'Ukristo ebuyile']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'Dola yase Amelika', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Zibandlela', 'Nhlolanja', 'Mbimbitho', 'Mabasa', 'Nkwenkwezi', 'Nhlangula', 'Ntulikazi', + 'Ncwabakazi', 'Mpandula', 'Mfumfu', 'Lwezi', 'Mpalakazi' + ] + ], + u, + [['BC', 'AD'], u, ['UKristo angakabuyi', 'Ukristo ebuyile']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'Dola yase Amelika', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nds-NL.js b/packages/common/locales/global/nds-NL.js index 90cb3d38fb..720a883672 100644 --- a/packages/common/locales/global/nds-NL.js +++ b/packages/common/locales/global/nds-NL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,37 +10,39 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['nds-nl'] = [ - 'nds-NL', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'EUR', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['nds-nl'] = [ + 'nds-NL', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'EUR', + '€', + 'EUR', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nds.js b/packages/common/locales/global/nds.js index 79c4b1f134..9309162c0a 100644 --- a/packages/common/locales/global/nds.js +++ b/packages/common/locales/global/nds.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,37 +10,39 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['nds'] = [ - 'nds', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'EUR', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['nds'] = [ + 'nds', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'EUR', + '€', + 'EUR', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ne-IN.js b/packages/common/locales/global/ne-IN.js index 505bdd3360..1b8941ddda 100644 --- a/packages/common/locales/global/ne-IN.js +++ b/packages/common/locales/global/ne-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ne-in'] = [ - 'ne-IN', - [['पूर्वाह्न', 'अपराह्न'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ne-in'] = [ + 'ne-IN', + [['पूर्वाह्न', 'अपराह्न'], u, u], + u, + [ + ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], + ['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], + ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'] + ], + u, + [ + ['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ], - [ - 'आइतबार', 'सोमबार', 'मङ्गलबार', - 'बुधबार', 'बिहिबार', 'शुक्रबार', - 'शनिबार' - ], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ] + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], - u, + u + ], + [ + ['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - [ - 'जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', - 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], + u + ], + [['ईसा पूर्व', 'सन्'], u, u], + 0, + [0, 0], + ['yy/M/d', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'INR', + '₹', + 'भारतीय रूपिँया', + {'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['मध्यरात', 'मध्यान्ह', 'बिहान', 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात'], u, u], u, [ - [ - 'जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', - 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u - ], - [['ईसा पूर्व', 'सन्'], u, u], - 0, - [0, 0], - ['yy/M/d', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'INR', - '₹', - 'भारतीय रूपिँया', - {'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'मध्यरात', 'मध्यान्ह', 'बिहान', - 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], - ['19:00', '22:00'], ['22:00', '04:00'] - ] + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], + ['19:00', '22:00'], ['22:00', '04:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ne.js b/packages/common/locales/global/ne.js index 59ea879fd0..13ad07d65b 100644 --- a/packages/common/locales/global/ne.js +++ b/packages/common/locales/global/ne.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ne'] = [ - 'ne', - [['पूर्वाह्न', 'अपराह्न'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ne'] = [ + 'ne', + [['पूर्वाह्न', 'अपराह्न'], u, u], + u, + [ + ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], + ['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], + ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'] + ], + u, + [ + ['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ], - [ - 'आइतबार', 'सोमबार', 'मङ्गलबार', - 'बुधबार', 'बिहिबार', 'शुक्रबार', - 'शनिबार' - ], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ] + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], - u, + u + ], + [ + ['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - [ - 'जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', - 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], + u + ], + [['ईसा पूर्व', 'सन्'], u, u], + 0, + [6, 0], + ['yy/M/d', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'NPR', + 'नेरू', + 'नेपाली रूपैयाँ', + {'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [['मध्यरात', 'मध्यान्ह', 'बिहान', 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात'], u, u], u, [ - [ - 'जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', - 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u - ], - [['ईसा पूर्व', 'सन्'], u, u], - 0, - [6, 0], - ['yy/M/d', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'NPR', - 'नेरू', - 'नेपाली रूपैयाँ', - {'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'मध्यरात', 'मध्यान्ह', 'बिहान', - 'अपरान्ह', 'साँझ', 'बेलुकी', 'रात' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], - ['19:00', '22:00'], ['22:00', '04:00'] - ] + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '19:00'], + ['19:00', '22:00'], ['22:00', '04:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-AW.js b/packages/common/locales/global/nl-AW.js index 16097d539b..7e7c3a97a7 100644 --- a/packages/common/locales/global/nl-AW.js +++ b/packages/common/locales/global/nl-AW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-aw'] = [ - 'nl-AW', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-aw'] = [ + 'nl-AW', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'AWG', - 'Afl.', - 'Arubaanse gulden', - { - 'AUD': ['AU$', '$'], - 'AWG': ['Afl.'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'AWG', + 'Afl.', + 'Arubaanse gulden', + { + 'AUD': ['AU$', '$'], + 'AWG': ['Afl.'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-BE.js b/packages/common/locales/global/nl-BE.js index 20588592b3..ee6d8f59e1 100644 --- a/packages/common/locales/global/nl-BE.js +++ b/packages/common/locales/global/nl-BE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-be'] = [ - 'nl-BE', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-be'] = [ + 'nl-BE', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['d/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['d/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-BQ.js b/packages/common/locales/global/nl-BQ.js index 241e1e53d8..e4b51f960f 100644 --- a/packages/common/locales/global/nl-BQ.js +++ b/packages/common/locales/global/nl-BQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,63 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-bq'] = [ - 'nl-BQ', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-bq'] = [ + 'nl-BQ', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'USD', - '$', - 'Amerikaanse dollar', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'USD', + '$', + 'Amerikaanse dollar', + { + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-CW.js b/packages/common/locales/global/nl-CW.js index d11ae5dc3a..55cfed49ab 100644 --- a/packages/common/locales/global/nl-CW.js +++ b/packages/common/locales/global/nl-CW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-cw'] = [ - 'nl-CW', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-cw'] = [ + 'nl-CW', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'ANG', - 'NAf.', - 'Nederlands-Antilliaanse gulden', - { - 'ANG': ['NAf.'], - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'ANG', + 'NAf.', + 'Nederlands-Antilliaanse gulden', + { + 'ANG': ['NAf.'], + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-SR.js b/packages/common/locales/global/nl-SR.js index 8d5b154012..464c03ada2 100644 --- a/packages/common/locales/global/nl-SR.js +++ b/packages/common/locales/global/nl-SR.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-sr'] = [ - 'nl-SR', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-sr'] = [ + 'nl-SR', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'SRD', - '$', - 'Surinaamse dollar', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'SRD': ['$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'SRD', + '$', + 'Surinaamse dollar', + { + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'SRD': ['$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl-SX.js b/packages/common/locales/global/nl-SX.js index e8c4c77e83..5e282262aa 100644 --- a/packages/common/locales/global/nl-SX.js +++ b/packages/common/locales/global/nl-SX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl-sx'] = [ - 'nl-SX', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl-sx'] = [ + 'nl-SX', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'ANG', - 'NAf.', - 'Nederlands-Antilliaanse gulden', - { - 'ANG': ['NAf.'], - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'ANG', + 'NAf.', + 'Nederlands-Antilliaanse gulden', + { + 'ANG': ['NAf.'], + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nl.js b/packages/common/locales/global/nl.js index c4556ce50c..657da4146e 100644 --- a/packages/common/locales/global/nl.js +++ b/packages/common/locales/global/nl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['nl'] = [ - 'nl', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['nl'] = [ + 'nl', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], - ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], - [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1} \'om\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + { + 'AUD': ['AU$', '$'], + 'CAD': ['C$', '$'], + 'FJD': ['FJ$', '$'], + 'JPY': ['JP¥', '¥'], + 'SBD': ['SI$', '$'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XPF': [], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['middernacht', '’s ochtends', '’s middags', '’s avonds', '’s nachts'], u, u], + [['middernacht', 'ochtend', 'middag', 'avond', 'nacht'], u, u], + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], ['00:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nmg.js b/packages/common/locales/global/nmg.js index c0144eb2b8..75730e360d 100644 --- a/packages/common/locales/global/nmg.js +++ b/packages/common/locales/global/nmg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['nmg'] = [ - 'nmg', - [['maná', 'kugú'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['nmg'] = [ + 'nmg', + [['maná', 'kugú'], u, u], + u, + [ + ['s', 'm', 's', 's', 's', 'm', 's'], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], [ - ['s', 'm', 's', 's', 's', 'm', 's'], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], - [ - 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', - 'sɔ́ndɔ mafú mána', 'mabágá má sukul', 'sásadi' - ], - ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'] + 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', 'sɔ́ndɔ mafú mána', 'mabágá má sukul', + 'sásadi' ], - u, + ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'], - [ - 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', - 'ngwɛn ńtuó', 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', - 'ngwɛn wum navǔr', 'krísimin' - ] - ], - u, - [['BL', 'PB'], u, ['Bó Lahlɛ̄', 'Pfiɛ Burī']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'Fraŋ CFA BEAC', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', 'ngwɛn ńtuó', + 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', 'ngwɛn wum navǔr', 'krísimin' + ] + ], + u, + [['BL', 'PB'], u, ['Bó Lahlɛ̄', 'Pfiɛ Burī']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'Fraŋ CFA BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nn.js b/packages/common/locales/global/nn.js index 8e8c3b8846..5d7517a0b1 100644 --- a/packages/common/locales/global/nn.js +++ b/packages/common/locales/global/nn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,82 +10,79 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nn'] = [ - 'nn', - [['f.m.', 'e.m.'], u, ['formiddag', 'ettermiddag']], - [['f.m.', 'e.m.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nn'] = [ + 'nn', + [['f.m.', 'e.m.'], u, ['formiddag', 'ettermiddag']], + [['f.m.', 'e.m.'], u, u], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'], + ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'], + ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'] + ], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'mån', 'tys', 'ons', 'tor', 'fre', 'lau'], + ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'], + ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'], - ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'], - ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'] - ], + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'mån', 'tys', 'ons', 'tor', 'fre', 'lau'], - ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'], - ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', - 'des.' - ], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], - [ - 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', - 'oktober', 'november', 'desember' - ] - ], - [['f.Kr.', 'e.Kr.'], u, u], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], - [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'NOK', - 'kr', - 'norske kroner', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': ['kr'], - 'NZD': [u, '$'], - 'TWD': [u, '$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XPF': [] - }, - 'ltr', - plural, - [] - ]; + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', + 'november', 'desember' + ] + ], + [['f.Kr.', 'e.Kr.'], u, u], + 1, + [6, 0], + ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], + [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'NOK', + 'kr', + 'norske kroner', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NOK': ['kr'], + 'NZD': [u, '$'], + 'TWD': [u, '$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XAF': [], + 'XCD': [u, '$'], + 'XPF': [] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nnh.js b/packages/common/locales/global/nnh.js index 3c160fb899..4b449d84da 100644 --- a/packages/common/locales/global/nnh.js +++ b/packages/common/locales/global/nnh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nnh'] = [ - 'nnh', - [['mbaʼámbaʼ', 'ncwònzém'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nnh'] = [ + 'nnh', + [['mbaʼámbaʼ', 'ncwònzém'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', - 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', - 'màga lyɛ̌ʼ' - ], - u, u + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', + 'mvfò màga lyɛ̌ʼ', 'màga lyɛ̌ʼ' ], - u, + u, u + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', - 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', 'saŋ mbʉ̀ŋ', - 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', 'saŋ lùm' - ], - u + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', 'saŋ tsɛ̀ɛ cÿó', + 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', + 'saŋ mejwoŋó', 'saŋ lùm' ], - u, - [['m.z.Y.', 'm.g.n.Y.'], u, ['mé zyé Yěsô', 'mé gÿo ńzyé Yěsô']], - 1, - [6, 0], - [ - 'dd/MM/yy', 'd MMM, y', '\'lyɛ\'̌ʼ d \'na\' MMMM, y', - 'EEEE , \'lyɛ\'̌ʼ d \'na\' MMMM, y' - ], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1}, {0}', '{1},{0}'], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'feláŋ CFA', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['m.z.Y.', 'm.g.n.Y.'], u, ['mé zyé Yěsô', 'mé gÿo ńzyé Yěsô']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM, y', '\'lyɛ\'̌ʼ d \'na\' MMMM, y', 'EEEE , \'lyɛ\'̌ʼ d \'na\' MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{1}, {0}', '{1},{0}'], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'feláŋ CFA', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nus.js b/packages/common/locales/global/nus.js index 4efa858c3a..b503d55b72 100644 --- a/packages/common/locales/global/nus.js +++ b/packages/common/locales/global/nus.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['nus'] = [ - 'nus', - [['RW', 'TŊ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['nus'] = [ + 'nus', + [['RW', 'TŊ'], u, u], + u, + [ + ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], [ - ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], - ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], - [ - 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', - 'Dhieec lätni', 'Bäkɛl lätni' - ], - ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'] + 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', 'Dhieec lätni', + 'Bäkɛl lätni' ], - u, + ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'] + ], + u, + [ + ['T', 'P', 'D', 'G', 'D', 'K', 'P', 'T', 'T', 'L', 'K', 'T'], + ['Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', 'Tid'], [ - ['T', 'P', 'D', 'G', 'D', 'K', 'P', 'T', 'T', 'L', 'K', 'T'], - [ - 'Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', - 'Tid' - ], - [ - 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', - 'Tho̱o̱r', 'Tɛɛr', 'Laath', 'Kur', 'Tio̱p in di̱i̱t' - ] - ], - u, - [['AY', 'ƐY'], u, ['A ka̱n Yecu ni dap', 'Ɛ ca Yecu dap']], - 1, - [6, 0], - ['d/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'z h:mm:ss a', 'zzzz h:mm:ss a'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SSP', - '£', - 'SSP', - {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SSP': ['£'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', 'Tho̱o̱r', 'Tɛɛr', + 'Laath', 'Kur', 'Tio̱p in di̱i̱t' + ] + ], + u, + [['AY', 'ƐY'], u, ['A ka̱n Yecu ni dap', 'Ɛ ca Yecu dap']], + 1, + [6, 0], + ['d/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'z h:mm:ss a', 'zzzz h:mm:ss a'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SSP', + '£', + 'SSP', + {'GBP': ['GB£', '£'], 'JPY': ['JP¥', '¥'], 'SSP': ['£'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/nyn.js b/packages/common/locales/global/nyn.js index 1d216526a4..af386a0537 100644 --- a/packages/common/locales/global/nyn.js +++ b/packages/common/locales/global/nyn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['nyn'] = [ - 'nyn', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['nyn'] = [ + 'nyn', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'K', 'R', 'S', 'N', 'T', 'M'], ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'], + ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], [ - ['S', 'K', 'R', 'S', 'N', 'T', 'M'], ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], - [ - 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', - 'Orwamukaaga' - ], - ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], - [ - 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', - 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', - 'Okwaikumi na ibiri' - ] - ], - u, - [['BC', 'AD'], u, ['Kurisito Atakaijire', 'Kurisito Yaijire']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'UGX', - 'USh', - 'Eshiringi ya Uganda', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + ], + u, + [['BC', 'AD'], u, ['Kurisito Atakaijire', 'Kurisito Yaijire']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'UGX', + 'USh', + 'Eshiringi ya Uganda', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/om-KE.js b/packages/common/locales/global/om-KE.js index ab9ca6dba3..545b4f4200 100644 --- a/packages/common/locales/global/om-KE.js +++ b/packages/common/locales/global/om-KE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,55 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['om-ke'] = [ - 'om-KE', - [['WD', 'WB'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['om-ke'] = [ + 'om-KE', + [['WD', 'WB'], u, u], + u, + [ + ['D', 'W', 'Q', 'R', 'K', 'J', 'S'], ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'], + ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], [ - ['D', 'W', 'Q', 'R', 'K', 'J', 'S'], ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], - ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'], - ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'] - ], - u, + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + ], + [ + ['A', 'G', 'B', 'E', 'C', 'W', 'A', 'H', 'F', 'O', 'S', 'M'], + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], - [ - 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', - 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' - ] - ], - [ - ['A', 'G', 'B', 'E', 'C', 'W', 'A', 'H', 'F', 'O', 'S', 'M'], - ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], - [ - 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', - 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' - ] - ], - [['KD', 'CE'], u, ['Dheengadda Jeesu', 'CE']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM d, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'KES', - {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + ], + [['KD', 'CE'], u, ['Dheengadda Jeesu', 'CE']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM d, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'KES', + {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/om.js b/packages/common/locales/global/om.js index 3e86164662..c22d6763bb 100644 --- a/packages/common/locales/global/om.js +++ b/packages/common/locales/global/om.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['om'] = [ - 'om', - [['WD', 'WB'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['om'] = [ + 'om', + [['WD', 'WB'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'], + ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], - ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'], - ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], - [ - 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', - 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' - ] - ], - u, - [['BCE', 'CE'], u, ['Dheengadda Jeesu', 'CE']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ETB', - 'Br', - 'Itoophiyaa Birrii', - {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + ], + u, + [['BCE', 'CE'], u, ['Dheengadda Jeesu', 'CE']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ETB', + 'Br', + 'Itoophiyaa Birrii', + {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/or.js b/packages/common/locales/global/or.js index 5c4bda9b8f..c4172b2495 100644 --- a/packages/common/locales/global/or.js +++ b/packages/common/locales/global/or.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['or'] = [ - 'or', - [['ପୂ', 'ଅ'], ['AM', 'PM'], u], - [['AM', 'ଅପରାହ୍ନ'], ['ପୂର୍ବାହ୍ନ', 'ଅପରାହ୍ନ'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['or'] = [ + 'or', + [['ପୂ', 'ଅ'], ['AM', 'PM'], u], + [['AM', 'ଅପରାହ୍ନ'], ['ପୂର୍ବାହ୍ନ', 'ଅପରାହ୍ନ'], u], + [ + ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'], + ['ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', 'ଶନିବାର'], + ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'] + ], + u, + [ + ['ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', 'ନ', 'ଡି'], [ - ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], - [ - 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', - 'ଶନି' - ], - [ - 'ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', - 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', - 'ଶନିବାର' - ], - [ - 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', - 'ଶନି' - ] + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', + 'ନଭେମ୍ବର', 'ଡିସେମ୍ବର' ], - u, - [ - [ - 'ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', - 'ନ', 'ଡି' - ], - [ - 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', - 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', - 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', - 'ଡିସେମ୍ବର' - ], - u - ], - u, - [ - ['BC', 'AD'], u, - ['ଖ୍ରୀଷ୍ଟପୂର୍ବ', 'ଖ୍ରୀଷ୍ଟାବ୍ଦ'] - ], - 0, - [0, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{0} ଠାରେ {1}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ଭାରତୀୟ ଟଙ୍କା', - {}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['BC', 'AD'], u, ['ଖ୍ରୀଷ୍ଟପୂର୍ବ', 'ଖ୍ରୀଷ୍ଟାବ୍ଦ']], + 0, + [0, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{0} ଠାରେ {1}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'INR', + '₹', + 'ଭାରତୀୟ ଟଙ୍କା', + {}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/os-RU.js b/packages/common/locales/global/os-RU.js index fdcf71000e..356fdecf5c 100644 --- a/packages/common/locales/global/os-RU.js +++ b/packages/common/locales/global/os-RU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['os-ru'] = [ - 'os-RU', - [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['os-ru'] = [ + 'os-RU', + [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], + [['AM', 'PM'], u, u], + [ + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + ['хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', 'цыппӕрӕм', 'майрӕмбон', 'сабат'], + ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + ], + [ + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + ['Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат'], + ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], - [ - 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', - 'цыппӕрӕм', 'майрӕмбон', 'сабат' - ], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.' ], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], - [ - 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', - 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' - ], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', 'июлы', 'августы', 'сентябры', + 'октябры', 'ноябры', 'декабры' + ] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', 'Сент.', 'Окт.', 'Нояб.', + 'Дек.' ], [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' - ], - [ - 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', - 'июны', 'июлы', 'августы', 'сентябры', 'октябры', - 'ноябры', 'декабры' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', - 'Сент.', 'Окт.', 'Нояб.', 'Дек.' - ], - [ - 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' - ] - ], - [['н.д.а.', 'н.д.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd MMM y \'аз\'', 'd MMMM, y \'аз\'', 'EEEE, d MMMM, y \'аз\''], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'НН', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'RUB', - '₽', - 'Сом', - {'JPY': ['JP¥', '¥'], 'RUB': ['₽']}, - 'ltr', - plural, - [] - ]; + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', + 'Октябрь', 'Ноябрь', 'Декабрь' + ] + ], + [['н.д.а.', 'н.д.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd MMM y \'аз\'', 'd MMMM, y \'аз\'', 'EEEE, d MMMM, y \'аз\''], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'НН', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'RUB', + '₽', + 'Сом', + {'JPY': ['JP¥', '¥'], 'RUB': ['₽']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/os.js b/packages/common/locales/global/os.js index 33e4b2a616..52943f0e1c 100644 --- a/packages/common/locales/global/os.js +++ b/packages/common/locales/global/os.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,64 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['os'] = [ - 'os', - [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['os'] = [ + 'os', + [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], + [['AM', 'PM'], u, u], + [ + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + ['хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', 'цыппӕрӕм', 'майрӕмбон', 'сабат'], + ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + ], + [ + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + ['Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат'], + ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], - [ - 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', - 'цыппӕрӕм', 'майрӕмбон', 'сабат' - ], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.' ], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], - [ - 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', - 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' - ], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', 'июлы', 'августы', 'сентябры', + 'октябры', 'ноябры', 'декабры' + ] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', 'Сент.', 'Окт.', 'Нояб.', + 'Дек.' ], [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' - ], - [ - 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', - 'июны', 'июлы', 'августы', 'сентябры', 'октябры', - 'ноябры', 'декабры' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', - 'Сент.', 'Окт.', 'Нояб.', 'Дек.' - ], - [ - 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' - ] - ], - [['н.д.а.', 'н.д.'], u, u], - 1, - [6, 0], - ['dd.MM.yy', 'dd MMM y \'аз\'', 'd MMMM, y \'аз\'', 'EEEE, d MMMM, y \'аз\''], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'НН', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'GEL', - '₾', - 'Лар', - {'GEL': ['₾'], 'JPY': ['JP¥', '¥']}, - 'ltr', - plural, - [] - ]; + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', + 'Октябрь', 'Ноябрь', 'Декабрь' + ] + ], + [['н.д.а.', 'н.д.'], u, u], + 1, + [6, 0], + ['dd.MM.yy', 'dd MMM y \'аз\'', 'd MMMM, y \'аз\'', 'EEEE, d MMMM, y \'аз\''], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'НН', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'GEL', + '₾', + 'Лар', + {'GEL': ['₾'], 'JPY': ['JP¥', '¥']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pa-Arab.js b/packages/common/locales/global/pa-Arab.js index b8c51f6ede..9a3b581ebf 100644 --- a/packages/common/locales/global/pa-Arab.js +++ b/packages/common/locales/global/pa-Arab.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,44 +10,46 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['pa-arab'] = [ - 'pa-Arab', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['pa-arab'] = [ + 'pa-Arab', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u - ], - u, - [['ايساپورو', 'سں'], u, u], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'PKR', - 'ر', - 'روپئیہ', - {'JPY': ['JP¥', '¥'], 'PKR': ['ر', 'Rs'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['ايساپورو', 'سں'], u, u], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'PKR', + 'ر', + 'روپئیہ', + {'JPY': ['JP¥', '¥'], 'PKR': ['ر', 'Rs'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pa-Guru.js b/packages/common/locales/global/pa-Guru.js index 134b60e954..9591f697dd 100644 --- a/packages/common/locales/global/pa-Guru.js +++ b/packages/common/locales/global/pa-Guru.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,88 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['pa-guru'] = [ - 'pa-Guru', - [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], - [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], - [ - ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', - 'ਸ਼ਨਿੱਚਰ' - ], - [ - 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', - 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' - ], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', - 'ਸ਼ਨਿੱ' - ] - ], - u, - [ - [ - 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', - 'ਦ' - ], - [ - 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', - 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' - ], - [ - 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', - 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', - 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' - ] - ], - u, - [ - ['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], - ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'ਭਾਰਤੀ ਰੁਪਇਆ', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', - 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ' - ], - u, u - ], - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', - 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ' - ], - u, - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', - 'ਰਾਤ' - ] - ], - ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] - ] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['pa-guru'] = [ + 'pa-Guru', + [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], + [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], + [ + ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'], + ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'], + ['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ'] + ], + u, + [ + ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], + ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], + ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] + ], + u, + [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], + 0, + [0, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], + 'INR', + '₹', + 'ਭਾਰਤੀ ਰੁਪਇਆ', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, u], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, ['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', 'ਰਾਤ']], + ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pa.js b/packages/common/locales/global/pa.js index c4ef9eb6b3..8dc08e163d 100644 --- a/packages/common/locales/global/pa.js +++ b/packages/common/locales/global/pa.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,88 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['pa'] = [ - 'pa', - [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], - [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], - [ - ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', - 'ਸ਼ਨਿੱਚਰ' - ], - [ - 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', - 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' - ], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', - 'ਸ਼ਨਿੱ' - ] - ], - u, - [ - [ - 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', - 'ਦ' - ], - [ - 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', - 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' - ], - [ - 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', - 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', - 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' - ] - ], - u, - [ - ['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], - ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'ਭਾਰਤੀ ਰੁਪਇਆ', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', - 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ' - ], - u, u - ], - [ - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', - 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ' - ], - u, - [ - 'ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', - 'ਰਾਤ' - ] - ], - ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] - ] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['pa'] = [ + 'pa', + [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], + [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], + [ + ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'], + ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'], + ['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ'] + ], + u, + [ + ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], + ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], + ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] + ], + u, + [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], + 0, + [0, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], + 'INR', + '₹', + 'ਭਾਰਤੀ ਰੁਪਇਆ', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, u], + [['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮੀਂ', 'ਰਾਤੀਂ'], u, ['ਅੱਧੀ ਰਾਤ', 'ਸਵੇਰੇ', 'ਦੁਪਹਿਰੇ', 'ਸ਼ਾਮ', 'ਰਾਤ']], + ['00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '21:00'], ['21:00', '04:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pl.js b/packages/common/locales/global/pl.js index 1d8172ceb3..23b4f86606 100644 --- a/packages/common/locales/global/pl.js +++ b/packages/common/locales/global/pl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,22 +10,98 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['pl'] = ['pl',[['a','p'],['AM','PM'],u],u,[['n','p','w','ś','c','p','s'],['niedz.','pon.','wt.','śr.','czw.','pt.','sob.'],['niedziela','poniedziałek','wtorek','środa','czwartek','piątek','sobota'],['nie','pon','wto','śro','czw','pią','sob']],[['N','P','W','Ś','C','P','S'],['niedz.','pon.','wt.','śr.','czw.','pt.','sob.'],['niedziela','poniedziałek','wtorek','środa','czwartek','piątek','sobota'],['nie','pon','wto','śro','czw','pią','sob']],[['s','l','m','k','m','c','l','s','w','p','l','g'],['sty','lut','mar','kwi','maj','cze','lip','sie','wrz','paź','lis','gru'],['stycznia','lutego','marca','kwietnia','maja','czerwca','lipca','sierpnia','września','października','listopada','grudnia']],[['S','L','M','K','M','C','L','S','W','P','L','G'],['sty','lut','mar','kwi','maj','cze','lip','sie','wrz','paź','lis','gru'],['styczeń','luty','marzec','kwiecień','maj','czerwiec','lipiec','sierpień','wrzesień','październik','listopad','grudzień']],[['p.n.e.','n.e.'],u,['przed naszą erą','naszej ery']],1,[6,0],['dd.MM.y','d MMM y','d MMMM y','EEEE, d MMMM y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,'{1} {0}',u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'PLN','zł','złoty polski',{'AUD':[u,'$'],'CAD':[u,'$'],'CNY':[u,'¥'],'GBP':[u,'£'],'HKD':[u,'$'],'ILS':[u,'₪'],'INR':[u,'₹'],'JPY':[u,'¥'],'KRW':[u,'₩'],'MXN':[u,'$'],'NZD':[u,'$'],'PLN':['zł'],'RON':[u,'lej'],'TWD':[u,'NT$'],'USD':[u,'$'],'VND':[u,'₫']},'ltr', plural, [[['o półn.','w poł.','rano','przed poł.','po poł.','wiecz.','w nocy'],['o północy','w południe','rano','przed południem','po południu','wieczorem','w nocy'],u],[['półn.','poł.','rano','przedpoł.','popoł.','wiecz.','noc'],['północ','południe','rano','przedpołudnie','popołudnie','wieczór','noc'],u],['00:00','12:00',['06:00','10:00'],['10:00','12:00'],['12:00','18:00'],['18:00','21:00'],['21:00','06:00']]]]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['pl'] = [ + 'pl', + [['a', 'p'], ['AM', 'PM'], u], + u, + [ + ['n', 'p', 'w', 'ś', 'c', 'p', 's'], ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'], + ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'] + ], + [ + ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'], ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'], + ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'] + ], + [ + ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'], + ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + [ + 'stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', + 'października', 'listopada', 'grudnia' + ] + ], + [ + ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'], + ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + [ + 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', + 'październik', 'listopad', 'grudzień' + ] + ], + [['p.n.e.', 'n.e.'], u, ['przed naszą erą', 'naszej ery']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'PLN', + 'zł', + 'złoty polski', + { + 'AUD': [u, '$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'PLN': ['zł'], + 'RON': [u, 'lej'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['o półn.', 'w poł.', 'rano', 'przed poł.', 'po poł.', 'wiecz.', 'w nocy'], + ['o północy', 'w południe', 'rano', 'przed południem', 'po południu', 'wieczorem', 'w nocy'], + u + ], + [ + ['półn.', 'poł.', 'rano', 'przedpoł.', 'popoł.', 'wiecz.', 'noc'], + ['północ', 'południe', 'rano', 'przedpołudnie', 'popołudnie', 'wieczór', 'noc'], u + ], + [ + '00:00', '12:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], + ['18:00', '21:00'], ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/prg.js b/packages/common/locales/global/prg.js index 484561bb4c..eb7a27cb42 100644 --- a/packages/common/locales/global/prg.js +++ b/packages/common/locales/global/prg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,47 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || - v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) - return 0; - if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || - !(v === 2) && f % 10 === 1) - return 1; - return 5; - } - global.ng.common.locales['prg'] = [ - 'prg', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || + v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) + return 0; + if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || + !(v === 2) && f % 10 === 1) + return 1; + return 5; +} +global.ng.common.locales['prg'] = [ + 'prg', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ps-PK.js b/packages/common/locales/global/ps-PK.js index a3761cb53f..d04f3c6f0b 100644 --- a/packages/common/locales/global/ps-PK.js +++ b/packages/common/locales/global/ps-PK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ps-pk'] = [ - 'ps-PK', - [['غ.م.', 'غ.و.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ps-pk'] = [ + 'ps-PK', + [['غ.م.', 'غ.و.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, u + ], + u, + [ + ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], - u, u + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سېپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ], - u, + u + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سېپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - [ - 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ] - ], - [ - ['له میلاد وړاندې', 'م.'], u, - ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته'] - ], - 0, - [6, 0], - ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'PKR', - 'Rs', - 'پاکستانۍ کلداره', - {'AFN': ['؋'], 'JPY': ['JP¥', '¥'], 'PKR': ['Rs']}, - 'rtl', - plural, - [] - ]; + 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' + ] + ], + [['له میلاد وړاندې', 'م.'], u, ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته']], + 0, + [6, 0], + ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'PKR', + 'Rs', + 'پاکستانۍ کلداره', + {'AFN': ['؋'], 'JPY': ['JP¥', '¥'], 'PKR': ['Rs']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ps.js b/packages/common/locales/global/ps.js index 7d39173443..baab10d24c 100644 --- a/packages/common/locales/global/ps.js +++ b/packages/common/locales/global/ps.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ps'] = [ - 'ps', - [['غ.م.', 'غ.و.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ps'] = [ + 'ps', + [['غ.م.', 'غ.و.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, u + ], + u, + [ + ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], - u, u + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سېپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ], - u, + u + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سېپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - [ - 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ] - ], - [ - ['له میلاد وړاندې', 'م.'], u, - ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته'] - ], - 6, - [4, 5], - ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], - ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AFN', - '؋', - 'افغانۍ', - {'AFN': ['؋'], 'JPY': ['JP¥', '¥']}, - 'rtl', - plural, - [] - ]; + 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' + ] + ], + [['له میلاد وړاندې', 'م.'], u, ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته']], + 6, + [4, 5], + ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], + ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AFN', + '؋', + 'افغانۍ', + {'AFN': ['؋'], 'JPY': ['JP¥', '¥']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-AO.js b/packages/common/locales/global/pt-AO.js index 6ee0d7c8f5..2d642acf61 100644 --- a/packages/common/locales/global/pt-AO.js +++ b/packages/common/locales/global/pt-AO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-ao'] = [ - 'pt-AO', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-ao'] = [ + 'pt-AO', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AOA', - 'Kz', - 'kwanza angolano', - { - 'AOA': ['Kz'], - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'AOA', + 'Kz', + 'kwanza angolano', + { + 'AOA': ['Kz'], + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-CH.js b/packages/common/locales/global/pt-CH.js index 67b22c5970..db5c6b9f62 100644 --- a/packages/common/locales/global/pt-CH.js +++ b/packages/common/locales/global/pt-CH.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,74 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-ch'] = [ - 'pt-CH', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-ch'] = [ + 'pt-CH', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'franco suíço', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'CHF', + 'CHF', + 'franco suíço', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-CV.js b/packages/common/locales/global/pt-CV.js index 798bf70016..b2053c29c5 100644 --- a/packages/common/locales/global/pt-CV.js +++ b/packages/common/locales/global/pt-CV.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-cv'] = [ - 'pt-CV', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-cv'] = [ + 'pt-CV', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CVE', - '​', - 'escudo cabo-verdiano', - { - 'AUD': ['AU$', '$'], - 'CVE': ['​'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​PTE'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'CVE', + '​', + 'escudo cabo-verdiano', + { + 'AUD': ['AU$', '$'], + 'CVE': ['​'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​PTE'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-GQ.js b/packages/common/locales/global/pt-GQ.js index f17a8fbae7..274a3226bd 100644 --- a/packages/common/locales/global/pt-GQ.js +++ b/packages/common/locales/global/pt-GQ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,74 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-gq'] = [ - 'pt-GQ', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-gq'] = [ + 'pt-GQ', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'franco CFA (BEAC)', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'franco CFA (BEAC)', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-GW.js b/packages/common/locales/global/pt-GW.js index e9d90527d5..3ff8c22ca8 100644 --- a/packages/common/locales/global/pt-GW.js +++ b/packages/common/locales/global/pt-GW.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,74 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-gw'] = [ - 'pt-GW', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-gw'] = [ + 'pt-GW', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XOF', - 'CFA', - 'franco CFA (BCEAO)', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XOF', + 'CFA', + 'franco CFA (BCEAO)', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-LU.js b/packages/common/locales/global/pt-LU.js index 49163460cb..91933464ff 100644 --- a/packages/common/locales/global/pt-LU.js +++ b/packages/common/locales/global/pt-LU.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-lu'] = [ - 'pt-LU', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-lu'] = [ + 'pt-LU', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'LUF': ['F'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'LUF': ['F'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-MO.js b/packages/common/locales/global/pt-MO.js index c9a83a9e2d..14b777b08f 100644 --- a/packages/common/locales/global/pt-MO.js +++ b/packages/common/locales/global/pt-MO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-mo'] = [ - 'pt-MO', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-mo'] = [ + 'pt-MO', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MOP', - 'MOP$', - 'pataca macaense', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'MOP': ['MOP$'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 0, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MOP', + 'MOP$', + 'pataca macaense', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'MOP': ['MOP$'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-MZ.js b/packages/common/locales/global/pt-MZ.js index a4c6e3d253..b9e4878594 100644 --- a/packages/common/locales/global/pt-MZ.js +++ b/packages/common/locales/global/pt-MZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-mz'] = [ - 'pt-MZ', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-mz'] = [ + 'pt-MZ', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MZN', - 'MTn', - 'metical moçambicano', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'MZN': ['MTn'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 0, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MZN', + 'MTn', + 'metical moçambicano', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'MZN': ['MTn'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-PT.js b/packages/common/locales/global/pt-PT.js index 554a67d39d..2c4685ed30 100644 --- a/packages/common/locales/global/pt-PT.js +++ b/packages/common/locales/global/pt-PT.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,74 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-pt'] = [ - 'pt-PT', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-pt'] = [ + 'pt-PT', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 0, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-ST.js b/packages/common/locales/global/pt-ST.js index f8ede4438c..4771e667f5 100644 --- a/packages/common/locales/global/pt-ST.js +++ b/packages/common/locales/global/pt-ST.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,75 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-st'] = [ - 'pt-ST', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-st'] = [ + 'pt-ST', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'STN', - 'Db', - 'dobra de São Tomé e Príncipe', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'STN': ['Db'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'STN', + 'Db', + 'dobra de São Tomé e Príncipe', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'STN': ['Db'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt-TL.js b/packages/common/locales/global/pt-TL.js index 039e8e1ba4..18a40ea114 100644 --- a/packages/common/locales/global/pt-TL.js +++ b/packages/common/locales/global/pt-TL.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,74 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt-tl'] = [ - 'pt-TL', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt-tl'] = [ + 'pt-TL', + [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], + [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'USD', - 'US$', - 'dólar dos Estados Unidos', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [ - ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], - ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u - ], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 1, + [6, 0], + ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'às\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'USD', + 'US$', + 'dólar dos Estados Unidos', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['​'], + 'RON': [u, 'L'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], + ['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u + ], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/pt.js b/packages/common/locales/global/pt.js index 97e269601a..d2f6bc9fb4 100644 --- a/packages/common/locales/global/pt.js +++ b/packages/common/locales/global/pt.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,72 +10,70 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; - return 5; - } - global.ng.common.locales['pt'] = [ - 'pt', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === Math.floor(i) && i >= 0 && i <= 1) return 1; + return 5; +} +global.ng.common.locales['pt'] = [ + 'pt', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'], [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], - ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'] + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' ], - u, + ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', - 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] + 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'BRL', - 'R$', - 'Real brasileiro', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['Esc.'], - 'RON': [u, 'L'], - 'SYP': [u, 'S£'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, [ - [['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u, u], - [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], - ['00:00', '06:00'] - ] + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' ] - ]; + ], + u, + [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], + 0, + [6, 0], + ['dd/MM/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'BRL', + 'R$', + 'Real brasileiro', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'PTE': ['Esc.'], + 'RON': [u, 'L'], + 'SYP': [u, 'S£'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [['meia-noite', 'meio-dia', 'da manhã', 'da tarde', 'da noite', 'da madrugada'], u, u], + [['meia-noite', 'meio-dia', 'manhã', 'tarde', 'noite', 'madrugada'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '19:00'], ['19:00', '24:00'], + ['00:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/qu-BO.js b/packages/common/locales/global/qu-BO.js index 27f69478c1..55ecfb3a8d 100644 --- a/packages/common/locales/global/qu-BO.js +++ b/packages/common/locales/global/qu-BO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['qu-bo'] = [ - 'qu-BO', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['qu-bo'] = [ + 'qu-BO', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], + ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], - ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], - ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], - [ - 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', - 'Octubre', 'Noviembre', 'Diciembre' - ] - ], - u, - [['BCE', 'dC'], ['BCE', 'd.C.'], u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{0} {1}', '{1} {0}'], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'BOB', - 'Bs', - 'Boliviano', - { - 'BBD': ['BBG', '$'], - 'BMD': ['DBM', '$'], - 'BOB': ['Bs'], - 'BZD': ['DBZ', '$'], - 'CAD': ['$CA', '$'], - 'JPY': ['JP¥', '¥'], - 'USD': ['$US', '$'] - }, - 'ltr', - plural, - [] - ]; + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + ], + u, + [['BCE', 'dC'], ['BCE', 'd.C.'], u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{0} {1}', '{1} {0}'], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'BOB', + 'Bs', + 'Boliviano', + { + 'BBD': ['BBG', '$'], + 'BMD': ['DBM', '$'], + 'BOB': ['Bs'], + 'BZD': ['DBZ', '$'], + 'CAD': ['$CA', '$'], + 'JPY': ['JP¥', '¥'], + 'USD': ['$US', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/qu-EC.js b/packages/common/locales/global/qu-EC.js index b1de706c62..7cfc86cff9 100644 --- a/packages/common/locales/global/qu-EC.js +++ b/packages/common/locales/global/qu-EC.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['qu-ec'] = [ - 'qu-EC', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['qu-ec'] = [ + 'qu-EC', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], + ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], - ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], - ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], - [ - 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', - 'Octubre', 'Noviembre', 'Diciembre' - ] - ], - u, - [['BCE', 'dC'], ['BCE', 'd.C.'], u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{0} {1}', '{1} {0}'], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'USD', - '$', - 'Dólar Americano', - { - 'BBD': ['BBG', '$'], - 'BMD': ['DBM', '$'], - 'BZD': ['DBZ', '$'], - 'CAD': ['$CA', '$'], - 'JPY': ['JP¥', '¥'] - }, - 'ltr', - plural, - [] - ]; + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + ], + u, + [['BCE', 'dC'], ['BCE', 'd.C.'], u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{0} {1}', '{1} {0}'], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'USD', + '$', + 'Dólar Americano', + { + 'BBD': ['BBG', '$'], + 'BMD': ['DBM', '$'], + 'BZD': ['DBZ', '$'], + 'CAD': ['$CA', '$'], + 'JPY': ['JP¥', '¥'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/qu.js b/packages/common/locales/global/qu.js index ac4f263fd2..c4c97e50ce 100644 --- a/packages/common/locales/global/qu.js +++ b/packages/common/locales/global/qu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['qu'] = [ - 'qu', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['qu'] = [ + 'qu', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], + ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], [ - ['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], - ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], - ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Dic'], - [ - 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', - 'Octubre', 'Noviembre', 'Diciembre' - ] - ], - u, - [['BCE', 'dC'], ['BCE', 'd.C.'], u], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{0} {1}', '{1} {0}'], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'PEN', - 'S/', - 'Sol Peruano', - { - 'BBD': ['BBG', '$'], - 'BMD': ['DBM', '$'], - 'BZD': ['DBZ', '$'], - 'CAD': ['$CA', '$'], - 'JPY': ['JP¥', '¥'], - 'PEN': ['S/'], - 'USD': ['$US', '$'] - }, - 'ltr', - plural, - [] - ]; + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + ], + u, + [['BCE', 'dC'], ['BCE', 'd.C.'], u], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, '{0} {1}', '{1} {0}'], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], + 'PEN', + 'S/', + 'Sol Peruano', + { + 'BBD': ['BBG', '$'], + 'BMD': ['DBM', '$'], + 'BZD': ['DBZ', '$'], + 'CAD': ['$CA', '$'], + 'JPY': ['JP¥', '¥'], + 'PEN': ['S/'], + 'USD': ['$US', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/rm.js b/packages/common/locales/global/rm.js index d51cf6f8ee..01d28138c3 100644 --- a/packages/common/locales/global/rm.js +++ b/packages/common/locales/global/rm.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['rm'] = [ - 'rm', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['rm'] = [ + 'rm', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'G', 'M', 'M', 'G', 'V', 'S'], ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], + ['dumengia', 'glindesdi', 'mardi', 'mesemna', 'gievgia', 'venderdi', 'sonda'], + ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'] + ], + u, + [ + ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'G', 'M', 'M', 'G', 'V', 'S'], ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], - ['dumengia', 'glindesdi', 'mardi', 'mesemna', 'gievgia', 'venderdi', 'sonda'], - ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'] - ], - u, - [ - ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], - [ - 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', - 'nov.', 'dec.' - ], - [ - 'da schaner', 'da favrer', 'da mars', 'd’avrigl', 'da matg', 'da zercladur', 'da fanadur', - 'd’avust', 'da settember', 'd’october', 'da november', 'da december' - ] + 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', 'nov.', + 'dec.' ], [ - ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], - [ - 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', - 'nov.', 'dec.' - ], - [ - 'schaner', 'favrer', 'mars', 'avrigl', 'matg', 'zercladur', 'fanadur', 'avust', 'settember', - 'october', 'november', 'december' - ] + 'da schaner', 'da favrer', 'da mars', 'd’avrigl', 'da matg', 'da zercladur', 'da fanadur', + 'd’avust', 'da settember', 'd’october', 'da november', 'da december' + ] + ], + [ + ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], + [ + 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', 'nov.', + 'dec.' ], - [['av. Cr.', 's. Cr.'], u, ['avant Cristus', 'suenter Cristus']], - 1, - [6, 0], - ['dd-MM-yy', 'dd-MM-y', 'd MMMM y', 'EEEE, \'ils\' d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'franc svizzer', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + [ + 'schaner', 'favrer', 'mars', 'avrigl', 'matg', 'zercladur', 'fanadur', 'avust', 'settember', + 'october', 'november', 'december' + ] + ], + [['av. Cr.', 's. Cr.'], u, ['avant Cristus', 'suenter Cristus']], + 1, + [6, 0], + ['dd-MM-yy', 'dd-MM-y', 'd MMMM y', 'EEEE, \'ils\' d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'CHF', + 'CHF', + 'franc svizzer', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/rn.js b/packages/common/locales/global/rn.js index 52ff5e0075..f96b733c12 100644 --- a/packages/common/locales/global/rn.js +++ b/packages/common/locales/global/rn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['rn'] = [ - 'rn', - [['Z.MU.', 'Z.MW.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['rn'] = [ + 'rn', + [['Z.MU.', 'Z.MW.'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], - [ - 'Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', 'Ku wa gatanu', - 'Ku wa gatandatu' - ], - ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'] + 'Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', 'Ku wa gatanu', + 'Ku wa gatandatu' ], - u, + ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Mut.', 'Gas.', 'Wer.', 'Mat.', 'Gic.', 'Kam.', 'Nya.', 'Kan.', 'Nze.', 'Ukw.', 'Ugu.', - 'Uku.' - ], - [ - 'Nzero', 'Ruhuhuma', 'Ntwarante', 'Ndamukiza', 'Rusama', 'Ruheshi', 'Mukakaro', - 'Nyandagaro', 'Nyakanga', 'Gitugutu', 'Munyonyo', 'Kigarama' - ] + 'Mut.', 'Gas.', 'Wer.', 'Mat.', 'Gic.', 'Kam.', 'Nya.', 'Kan.', 'Nze.', 'Ukw.', 'Ugu.', 'Uku.' ], - u, - [['Mb.Y.', 'Ny.Y'], u, ['Mbere ya Yezu', 'Nyuma ya Yezu']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00¤', '#E0'], - 'BIF', - 'FBu', - 'Ifaranga ry’Uburundi', - {'BIF': ['FBu'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + [ + 'Nzero', 'Ruhuhuma', 'Ntwarante', 'Ndamukiza', 'Rusama', 'Ruheshi', 'Mukakaro', 'Nyandagaro', + 'Nyakanga', 'Gitugutu', 'Munyonyo', 'Kigarama' + ] + ], + u, + [['Mb.Y.', 'Ny.Y'], u, ['Mbere ya Yezu', 'Nyuma ya Yezu']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00¤', '#E0'], + 'BIF', + 'FBu', + 'Ifaranga ry’Uburundi', + {'BIF': ['FBu'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ro-MD.js b/packages/common/locales/global/ro-MD.js index 69d5f85fdd..177798b22c 100644 --- a/packages/common/locales/global/ro-MD.js +++ b/packages/common/locales/global/ro-MD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,84 +10,83 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (!(v === 0) || n === 0 || - !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) - return 3; - return 5; - } - global.ng.common.locales['ro-md'] = [ - 'ro-MD', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (!(v === 0) || n === 0 || + !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) + return 3; + return 5; +} +global.ng.common.locales['ro-md'] = [ + 'ro-MD', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['D', 'L', 'Ma', 'Mi', 'J', 'V', 'S'], ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], + ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'], + ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ'] + ], + u, + [ + ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'Ma', 'Mi', 'J', 'V', 'S'], ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], - ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'], - ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ'] + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.' ], - u, [ - ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - [ - 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', - 'dec.' - ], - [ - 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', - 'septembrie', 'octombrie', 'noiembrie', 'decembrie' - ] - ], - u, - [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MDL', - 'L', - 'leu moldovenesc', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MDL': ['L'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['miezul nopții', 'amiază', 'dimineață', 'după-amiază', 'seară', 'noapte'], - ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u - ], - u, - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], - ['22:00', '05:00'] - ] + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', + 'octombrie', 'noiembrie', 'decembrie' ] - ]; + ], + u, + [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MDL', + 'L', + 'leu moldovenesc', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MDL': ['L'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['miezul nopții', 'amiază', 'dimineață', 'după-amiază', 'seară', 'noapte'], + ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u + ], + u, + [ + '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], + ['22:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ro.js b/packages/common/locales/global/ro.js index e23796db5a..d4457f76ad 100644 --- a/packages/common/locales/global/ro.js +++ b/packages/common/locales/global/ro.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,87 +10,86 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (!(v === 0) || n === 0 || - !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) - return 3; - return 5; - } - global.ng.common.locales['ro'] = [ - 'ro', - [['a.m.', 'p.m.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (!(v === 0) || n === 0 || + !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) + return 3; + return 5; +} +global.ng.common.locales['ro'] = [ + 'ro', + [['a.m.', 'p.m.'], u, u], + u, + [ + ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dum.', 'lun.', 'mar.', 'mie.', 'joi', 'vin.', 'sâm.'], + ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'], + ['du.', 'lu.', 'ma.', 'mi.', 'joi', 'vi.', 'sâ.'] + ], + u, + [ + ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], [ - ['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dum.', 'lun.', 'mar.', 'mie.', 'joi', 'vin.', 'sâm.'], - ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'], - ['du.', 'lu.', 'ma.', 'mi.', 'joi', 'vi.', 'sâ.'] + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.' ], - u, [ - ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - [ - 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', - 'dec.' - ], - [ - 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', - 'septembrie', 'octombrie', 'noiembrie', 'decembrie' - ] - ], - u, - [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RON', - 'RON', - 'leu românesc', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], - ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], - ['la miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'] - ], - [ - ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u, - ['la miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'] - ], - [ - '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], - ['22:00', '05:00'] - ] + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', + 'octombrie', 'noiembrie', 'decembrie' ] - ]; + ], + u, + [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'RON', + 'RON', + 'leu românesc', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], + ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], + ['la miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'] + ], + [ + ['miezul nopții', 'amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'], u, + ['la miezul nopții', 'la amiază', 'dimineața', 'după-amiaza', 'seara', 'noaptea'] + ], + [ + '00:00', '12:00', ['05:00', '12:00'], ['12:00', '18:00'], ['18:00', '22:00'], + ['22:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/rof.js b/packages/common/locales/global/rof.js index f37a0d1b79..8a5a21a5f4 100644 --- a/packages/common/locales/global/rof.js +++ b/packages/common/locales/global/rof.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['rof'] = [ - 'rof', - [['kang’ama', 'kingoto'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['rof'] = [ + 'rof', + [['kang’ama', 'kingoto'], u, u], + u, + [ + ['2', '3', '4', '5', '6', '7', '1'], ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], + ['Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi'], + ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'] + ], + u, + [ + ['K', 'K', 'K', 'K', 'T', 'S', 'S', 'N', 'T', 'I', 'I', 'I'], + ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12'], [ - ['2', '3', '4', '5', '6', '7', '1'], ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], - ['Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi'], - ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'] - ], - u, - [ - ['K', 'K', 'K', 'K', 'T', 'S', 'S', 'N', 'T', 'I', 'I', 'I'], - ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12'], - [ - 'Mweri wa kwanza', 'Mweri wa kaili', 'Mweri wa katatu', 'Mweri wa kaana', 'Mweri wa tanu', - 'Mweri wa sita', 'Mweri wa saba', 'Mweri wa nane', 'Mweri wa tisa', 'Mweri wa ikumi', - 'Mweri wa ikumi na moja', 'Mweri wa ikumi na mbili' - ] - ], - u, - [['KM', 'BM'], u, ['Kabla ya Mayesu', 'Baada ya Mayesu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'heleri sa Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mweri wa kwanza', 'Mweri wa kaili', 'Mweri wa katatu', 'Mweri wa kaana', 'Mweri wa tanu', + 'Mweri wa sita', 'Mweri wa saba', 'Mweri wa nane', 'Mweri wa tisa', 'Mweri wa ikumi', + 'Mweri wa ikumi na moja', 'Mweri wa ikumi na mbili' + ] + ], + u, + [['KM', 'BM'], u, ['Kabla ya Mayesu', 'Baada ya Mayesu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'heleri sa Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/root.js b/packages/common/locales/global/root.js index 64788dbc0e..d7a5799a32 100644 --- a/packages/common/locales/global/root.js +++ b/packages/common/locales/global/root.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,55 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['root'] = [ - 'root', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['root'] = [ + 'root', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', - 'October', 'November', 'December' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US Dollar', - {}, - 'ltr', - plural, - [ - [ - ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], - ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u - ], - [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' ] - ]; + ], + u, + [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}, {0}', u, '{1} \'at\' {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + '$', + 'US Dollar', + {}, + 'ltr', + plural, + [ + [ + ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], + ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u + ], + [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru-BY.js b/packages/common/locales/global/ru-BY.js index 9b5adef61a..e6c4673126 100644 --- a/packages/common/locales/global/ru-BY.js +++ b/packages/common/locales/global/ru-BY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,109 +10,97 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru-by'] = [ - 'ru-BY', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru-by'] = [ + 'ru-BY', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'BYN', - 'Br', - 'белорусский рубль', - { - 'BYN': ['Br'], - 'GEL': [u, 'ლ'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'BYN', + 'Br', + 'белорусский рубль', + { + 'BYN': ['Br'], + 'GEL': [u, 'ლ'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru-KG.js b/packages/common/locales/global/ru-KG.js index 241ad8734e..45fffe45a0 100644 --- a/packages/common/locales/global/ru-KG.js +++ b/packages/common/locales/global/ru-KG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,98 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru-kg'] = [ - 'ru-KG', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru-kg'] = [ + 'ru-KG', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'KGS', - 'сом', - 'киргизский сом', - { - 'GEL': [u, 'ლ'], - 'KGS': ['сом'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'KGS', + 'сом', + 'киргизский сом', + { + 'GEL': [u, 'ლ'], + 'KGS': ['сом'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'RUR': ['р.'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru-KZ.js b/packages/common/locales/global/ru-KZ.js index 0660885b26..d550aa10b2 100644 --- a/packages/common/locales/global/ru-KZ.js +++ b/packages/common/locales/global/ru-KZ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,98 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru-kz'] = [ - 'ru-KZ', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru-kz'] = [ + 'ru-KZ', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'KZT', - '₸', - 'казахский тенге', - { - 'GEL': [u, 'ლ'], - 'KZT': ['₸'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'KZT', + '₸', + 'казахский тенге', + { + 'GEL': [u, 'ლ'], + 'KZT': ['₸'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'RUR': ['р.'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru-MD.js b/packages/common/locales/global/ru-MD.js index e90b2b770d..ef5bcf1a5a 100644 --- a/packages/common/locales/global/ru-MD.js +++ b/packages/common/locales/global/ru-MD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,110 +10,98 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru-md'] = [ - 'ru-MD', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru-md'] = [ + 'ru-MD', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MDL', - 'L', - 'молдавский лей', - { - 'GEL': [u, 'ლ'], - 'MDL': ['L'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'MDL', + 'L', + 'молдавский лей', + { + 'GEL': [u, 'ლ'], + 'MDL': ['L'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'RUR': ['р.'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru-UA.js b/packages/common/locales/global/ru-UA.js index b761fa6269..3879a56720 100644 --- a/packages/common/locales/global/ru-UA.js +++ b/packages/common/locales/global/ru-UA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,109 +10,97 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru-ua'] = [ - 'ru-UA', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru-ua'] = [ + 'ru-UA', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'UAH', - '₴', - 'украинская гривна', - { - 'GEL': [u, 'ლ'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'UAH', + '₴', + 'украинская гривна', + { + 'GEL': [u, 'ლ'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'RUR': ['р.'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ru.js b/packages/common/locales/global/ru.js index 63c9a13c7f..d4a2c7c4d3 100644 --- a/packages/common/locales/global/ru.js +++ b/packages/common/locales/global/ru.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,109 +10,97 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['ru'] = [ - 'ru', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['ru'] = [ + 'ru', + [['AM', 'PM'], u, u], + u, + [ + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], + ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RUB', - '₽', - 'российский рубль', - { - 'GEL': [u, 'ლ'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural, - [ - [ - ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], - ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], - ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] - ], - [ - ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, - ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] - ]; + ], + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' + ], + [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' + ] + ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'RUB', + '₽', + 'российский рубль', + { + 'GEL': [u, 'ლ'], + 'RON': [u, 'L'], + 'RUB': ['₽'], + 'RUR': ['р.'], + 'THB': ['฿'], + 'TMT': ['ТМТ'], + 'TWD': ['NT$'], + 'UAH': ['₴'], + 'XXX': ['XXXX'] + }, + 'ltr', + plural, + [ + [ + ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], + ['полн.', 'полд.', 'утра', 'дня', 'вечера', 'ночи'], + ['полночь', 'полдень', 'утра', 'дня', 'вечера', 'ночи'] + ], + [ + ['полн.', 'полд.', 'утро', 'день', 'веч.', 'ночь'], u, + ['полночь', 'полдень', 'утро', 'день', 'вечер', 'ночь'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/rw.js b/packages/common/locales/global/rw.js index bd63081879..900e0f84c8 100644 --- a/packages/common/locales/global/rw.js +++ b/packages/common/locales/global/rw.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['rw'] = [ - 'rw', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['rw'] = [ + 'rw', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], - [ - 'Ku cyumweru', 'Kuwa mbere', 'Kuwa kabiri', 'Kuwa gatatu', 'Kuwa kane', 'Kuwa gatanu', - 'Kuwa gatandatu' - ], - ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'] + 'Ku cyumweru', 'Kuwa mbere', 'Kuwa kabiri', 'Kuwa gatatu', 'Kuwa kane', 'Kuwa gatanu', + 'Kuwa gatandatu' ], - u, + ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'mut.', 'gas.', 'wer.', 'mat.', 'gic.', 'kam.', 'nya.', 'kan.', 'nze.', 'ukw.', 'ugu.', - 'uku.' - ], - [ - 'Mutarama', 'Gashyantare', 'Werurwe', 'Mata', 'Gicuransi', 'Kamena', 'Nyakanga', 'Kanama', - 'Nzeli', 'Ukwakira', 'Ugushyingo', 'Ukuboza' - ] + 'mut.', 'gas.', 'wer.', 'mat.', 'gic.', 'kam.', 'nya.', 'kan.', 'nze.', 'ukw.', 'ugu.', 'uku.' ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'RWF', - 'RF', - 'RWF', - {'JPY': ['JP¥', '¥'], 'RWF': ['RF'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + [ + 'Mutarama', 'Gashyantare', 'Werurwe', 'Mata', 'Gicuransi', 'Kamena', 'Nyakanga', 'Kanama', + 'Nzeli', 'Ukwakira', 'Ugushyingo', 'Ukuboza' + ] + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'RWF', + 'RF', + 'RWF', + {'JPY': ['JP¥', '¥'], 'RWF': ['RF'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/rwk.js b/packages/common/locales/global/rwk.js index 57800d3ab3..557c651373 100644 --- a/packages/common/locales/global/rwk.js +++ b/packages/common/locales/global/rwk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['rwk'] = [ - 'rwk', - [['utuko', 'kyiukonyi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['rwk'] = [ + 'rwk', + [['utuko', 'kyiukonyi'], u, u], + u, + [ + ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sah.js b/packages/common/locales/global/sah.js index edb48091a4..56c0861f81 100644 --- a/packages/common/locales/global/sah.js +++ b/packages/common/locales/global/sah.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,64 +10,54 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sah'] = [ - 'sah', - [['ЭИ', 'ЭК'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sah'] = [ + 'sah', + [['ЭИ', 'ЭК'], u, u], + u, + [ + ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + ['баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота'], + ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'] + ], + u, + [ + ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + ['Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', 'Алт', 'Сэт', 'Ахс'], [ - ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], - ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], - [ - 'баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', - 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота' - ], - ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'] - ], - u, + 'Тохсунньу', 'Олунньу', 'Кулун тутар', 'Муус устар', 'Ыам ыйын', 'Бэс ыйын', 'От ыйын', + 'Атырдьых ыйын', 'Балаҕан ыйын', 'Алтынньы', 'Сэтинньи', 'ахсынньы' + ] + ], + [ + ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + ['Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', 'Алт', 'Сэт', 'Ахс'], [ - ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], - [ - 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', - 'Блҕ', 'Алт', 'Сэт', 'Ахс' - ], - [ - 'Тохсунньу', 'Олунньу', 'Кулун тутар', 'Муус устар', - 'Ыам ыйын', 'Бэс ыйын', 'От ыйын', 'Атырдьых ыйын', - 'Балаҕан ыйын', 'Алтынньы', 'Сэтинньи', 'ахсынньы' - ] - ], - [ - ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], - [ - 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', - 'Блҕ', 'Алт', 'Сэт', 'Ахс' - ], - [ - 'тохсунньу', 'олунньу', 'кулун тутар', 'муус устар', - 'ыам ыйа', 'бэс ыйа', 'от ыйа', 'атырдьых ыйа', - 'балаҕан ыйа', 'алтынньы', 'сэтинньи', 'ахсынньы' - ] - ], - [['б. э. и.', 'б. э'], u, u], - 1, - [6, 0], - ['yy/M/d', 'y, MMM d', 'y, MMMM d', 'y \'сыл\' MMMM d \'күнэ\', EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'чыыһыла буотах', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'RUB', - '₽', - 'Арассыыйа солкуобайа', - {'JPY': ['JP¥', '¥'], 'RUB': ['₽'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'тохсунньу', 'олунньу', 'кулун тутар', 'муус устар', 'ыам ыйа', 'бэс ыйа', 'от ыйа', + 'атырдьых ыйа', 'балаҕан ыйа', 'алтынньы', 'сэтинньи', 'ахсынньы' + ] + ], + [['б. э. и.', 'б. э'], u, u], + 1, + [6, 0], + ['yy/M/d', 'y, MMM d', 'y, MMMM d', 'y \'сыл\' MMMM d \'күнэ\', EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'чыыһыла буотах', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'RUB', + '₽', + 'Арассыыйа солкуобайа', + {'JPY': ['JP¥', '¥'], 'RUB': ['₽'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/saq.js b/packages/common/locales/global/saq.js index 8a597173b2..fbbe3406c3 100644 --- a/packages/common/locales/global/saq.js +++ b/packages/common/locales/global/saq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,52 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['saq'] = [ - 'saq', - [['Tesiran', 'Teipa'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['saq'] = [ + 'saq', + [['Tesiran', 'Teipa'], u, u], + u, + [ + ['A', 'K', 'O', 'I', 'I', 'S', 'K'], ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], [ - ['A', 'K', 'O', 'I', 'I', 'S', 'K'], ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], - [ - 'Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', 'Mderot ee ile', - 'Mderot ee sapa', 'Mderot ee kwe' - ], - ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'] + 'Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', 'Mderot ee ile', + 'Mderot ee sapa', 'Mderot ee kwe' ], - u, + ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'] + ], + u, + [ + ['O', 'W', 'O', 'O', 'I', 'I', 'S', 'I', 'S', 'T', 'T', 'T'], + ['Obo', 'Waa', 'Oku', 'Ong', 'Ime', 'Ile', 'Sap', 'Isi', 'Saa', 'Tom', 'Tob', 'Tow'], [ - ['O', 'W', 'O', 'O', 'I', 'I', 'S', 'I', 'S', 'T', 'T', 'T'], - ['Obo', 'Waa', 'Oku', 'Ong', 'Ime', 'Ile', 'Sap', 'Isi', 'Saa', 'Tom', 'Tob', 'Tow'], - [ - 'Lapa le obo', 'Lapa le waare', 'Lapa le okuni', 'Lapa le ong’wan', 'Lapa le imet', - 'Lapa le ile', 'Lapa le sapa', 'Lapa le isiet', 'Lapa le saal', 'Lapa le tomon', - 'Lapa le tomon obo', 'Lapa le tomon waare' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Njilingi eel Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Lapa le obo', 'Lapa le waare', 'Lapa le okuni', 'Lapa le ong’wan', 'Lapa le imet', + 'Lapa le ile', 'Lapa le sapa', 'Lapa le isiet', 'Lapa le saal', 'Lapa le tomon', + 'Lapa le tomon obo', 'Lapa le tomon waare' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Njilingi eel Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sbp.js b/packages/common/locales/global/sbp.js index e7ad1f645b..8354b1a1d0 100644 --- a/packages/common/locales/global/sbp.js +++ b/packages/common/locales/global/sbp.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sbp'] = [ - 'sbp', - [['Lwamilawu', 'Pashamihe'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sbp'] = [ + 'sbp', + [['Lwamilawu', 'Pashamihe'], u, u], + u, + [ + ['M', 'J', 'J', 'J', 'A', 'I', 'J'], ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'], + ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Mup', 'Mwi', 'Msh', 'Mun', 'Mag', 'Muj', 'Msp', 'Mpg', 'Mye', 'Mok', 'Mus', 'Muh'], [ - ['M', 'J', 'J', 'J', 'A', 'I', 'J'], ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'], - ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Mup', 'Mwi', 'Msh', 'Mun', 'Mag', 'Muj', 'Msp', 'Mpg', 'Mye', 'Mok', 'Mus', 'Muh'], - [ - 'Mupalangulwa', 'Mwitope', 'Mushende', 'Munyi', 'Mushende Magali', 'Mujimbi', 'Mushipepo', - 'Mupuguto', 'Munyense', 'Mokhu', 'Musongandembwe', 'Muhaano' - ] - ], - u, - [['AK', 'PK'], u, ['Ashanali uKilisito', 'Pamwandi ya Kilisto']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'TZS', - 'TSh', - 'Ihela ya Tansaniya', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Mupalangulwa', 'Mwitope', 'Mushende', 'Munyi', 'Mushende Magali', 'Mujimbi', 'Mushipepo', + 'Mupuguto', 'Munyense', 'Mokhu', 'Musongandembwe', 'Muhaano' + ] + ], + u, + [['AK', 'PK'], u, ['Ashanali uKilisito', 'Pamwandi ya Kilisto']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'TZS', + 'TSh', + 'Ihela ya Tansaniya', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sd.js b/packages/common/locales/global/sd.js index dce74785b5..2c4c5e1101 100644 --- a/packages/common/locales/global/sd.js +++ b/packages/common/locales/global/sd.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['sd'] = [ - 'sd', +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['sd'] = [ + 'sd', + [['صبح، منجهند', 'منجهند، شام'], ['صبح، منجهند', 'شام، منجهند'], ['صبح، منجهند', 'منجهند، شام']], + [['صبح، منجهند', 'منجهند، شام'], u, u], + [ + ['آچر', 'سو', 'اڱارو', 'اربع', 'خم', 'جمعو', 'ڇنڇر'], + ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمعو', 'ڇنڇر'], u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['صبح، منجهند', 'منجهند، شام'], - ['صبح، منجهند', 'شام، منجهند'], - ['صبح، منجهند', 'منجهند، شام'] + 'جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', + 'نومبر', 'ڊسمبر' ], - [['صبح، منجهند', 'منجهند، شام'], u, u], - [ - ['آچر', 'سو', 'اڱارو', 'اربع', 'خم', 'جمعو', 'ڇنڇر'], - ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمعو', 'ڇنڇر'], u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', - 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر' - ], - u - ], - u, - [['BC', 'CD'], u, ['مسيح کان اڳ', 'عيسوي کان پهرين']], - 0, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'PKR', - 'Rs', - 'پاڪستاني رپي', - {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['BC', 'CD'], u, ['مسيح کان اڳ', 'عيسوي کان پهرين']], + 0, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'PKR', + 'Rs', + 'پاڪستاني رپي', + {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/se-FI.js b/packages/common/locales/global/se-FI.js index 7da2b23c99..b31ba9a4d8 100644 --- a/packages/common/locales/global/se-FI.js +++ b/packages/common/locales/global/se-FI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,60 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['se-fi'] = [ - 'se-FI', - [['i', 'e'], ['ib', 'eb'], u], - [['ib', 'eb'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['se-fi'] = [ + 'se-FI', + [['i', 'e'], ['ib', 'eb'], u], + [['ib', 'eb'], u, u], + [ + ['S', 'M', 'D', 'G', 'D', 'B', 'L'], ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'], + ['sotnabeaivi', 'mánnodat', 'disdat', 'gaskavahkku', 'duorastat', 'bearjadat', 'lávvordat'], + ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'] + ], + u, + [ + ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], [ - ['S', 'M', 'D', 'G', 'D', 'B', 'L'], ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'], - ['sotnabeaivi', 'mánnodat', 'disdat', 'gaskavahkku', 'duorastat', 'bearjadat', 'lávvordat'], - ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'] + 'ođđj', 'guov', 'njuk', 'cuoŋ', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov' ], - u, [ - ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], - [ - 'ođđj', 'guov', 'njuk', 'cuoŋ', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', - 'skáb', 'juov' - ], - [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' - ] - ], - u, - [['oKr.', 'mKr.'], u, ['ovdal Kristusa', 'maŋŋel Kristusa']], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'DKK': ['Dkr', 'kr'], - 'JPY': ['JP¥', '¥'], - 'NOK': ['kr'], - 'SEK': ['Skr', 'kr'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [] - ]; + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' + ] + ], + u, + [['oKr.', 'mKr.'], u, ['ovdal Kristusa', 'maŋŋel Kristusa']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'DKK': ['Dkr', 'kr'], + 'JPY': ['JP¥', '¥'], + 'NOK': ['kr'], + 'SEK': ['Skr', 'kr'], + 'THB': ['฿'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/se-SE.js b/packages/common/locales/global/se-SE.js index 5b76de3007..c15d2bd907 100644 --- a/packages/common/locales/global/se-SE.js +++ b/packages/common/locales/global/se-SE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['se-se'] = [ - 'se-SE', - [['i.b.', 'e.b.'], u, ['iđitbeaivet', 'eahketbeaivet']], - [['i.b.', 'e.b.'], u, ['iđitbeaivi', 'eahketbeaivi']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['se-se'] = [ + 'se-SE', + [['i.b.', 'e.b.'], u, ['iđitbeaivet', 'eahketbeaivet']], + [['i.b.', 'e.b.'], u, ['iđitbeaivi', 'eahketbeaivi']], + [ + ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], [ - ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], - [ - 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', - 'lávvardat' - ], - ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', 'lávvardat' ], - u, + ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] + ], + u, + [ + ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + ['ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov'], [ - ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], - [ - 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', - 'juov' - ], - [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' - ] - ], - u, - [['o.Kr.', 'm.Kr.'], u, ['ovdal Kristtusa', 'maŋŋel Kristtusa']], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SEK', - 'kr', - 'ruoŧŧa kruvdno', - { - 'DKK': ['Dkr', 'kr'], - 'JPY': ['JP¥', '¥'], - 'NOK': ['Nkr', 'kr'], - 'SEK': ['kr'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [] - ]; + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' + ] + ], + u, + [['o.Kr.', 'm.Kr.'], u, ['ovdal Kristtusa', 'maŋŋel Kristtusa']], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'SEK', + 'kr', + 'ruoŧŧa kruvdno', + { + 'DKK': ['Dkr', 'kr'], + 'JPY': ['JP¥', '¥'], + 'NOK': ['Nkr', 'kr'], + 'SEK': ['kr'], + 'THB': ['฿'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/se.js b/packages/common/locales/global/se.js index 27203c21ea..683354ba85 100644 --- a/packages/common/locales/global/se.js +++ b/packages/common/locales/global/se.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['se'] = [ - 'se', - [['i.b.', 'e.b.'], u, ['iđitbeaivet', 'eahketbeaivet']], - [['i.b.', 'e.b.'], u, ['iđitbeaivi', 'eahketbeaivi']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['se'] = [ + 'se', + [['i.b.', 'e.b.'], u, ['iđitbeaivet', 'eahketbeaivet']], + [['i.b.', 'e.b.'], u, ['iđitbeaivi', 'eahketbeaivi']], + [ + ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], [ - ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], - [ - 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', - 'lávvardat' - ], - ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', 'lávvardat' ], - u, + ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] + ], + u, + [ + ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + ['ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov'], [ - ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], - [ - 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', - 'juov' - ], - [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' - ] - ], - u, - [['o.Kr.', 'm.Kr.'], u, ['ovdal Kristtusa', 'maŋŋel Kristtusa']], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'NOK', - 'kr', - 'norgga kruvdno', - { - 'DKK': ['Dkr', 'kr'], - 'JPY': ['JP¥', '¥'], - 'NOK': ['kr'], - 'SEK': ['Skr', 'kr'], - 'THB': ['฿'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [] - ]; + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' + ] + ], + u, + [['o.Kr.', 'm.Kr.'], u, ['ovdal Kristtusa', 'maŋŋel Kristtusa']], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '·10^', '·', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'NOK', + 'kr', + 'norgga kruvdno', + { + 'DKK': ['Dkr', 'kr'], + 'JPY': ['JP¥', '¥'], + 'NOK': ['kr'], + 'SEK': ['Skr', 'kr'], + 'THB': ['฿'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/seh.js b/packages/common/locales/global/seh.js index 8bf3bcf335..427012d6de 100644 --- a/packages/common/locales/global/seh.js +++ b/packages/common/locales/global/seh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['seh'] = [ - 'seh', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['seh'] = [ + 'seh', + [['AM', 'PM'], u, u], + u, + [ + ['D', 'P', 'C', 'T', 'N', 'S', 'S'], ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], + ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'], + ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Aug', 'Set', 'Otu', 'Nov', 'Dec'], [ - ['D', 'P', 'C', 'T', 'N', 'S', 'S'], ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], - ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'], - ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Aug', 'Set', 'Otu', 'Nov', 'Dec'], - [ - 'Janeiro', 'Fevreiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Augusto', 'Setembro', - 'Otubro', 'Novembro', 'Decembro' - ] - ], - u, - [['AC', 'AD'], u, ['Antes de Cristo', 'Anno Domini']], - 0, - [6, 0], - ['d/M/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'MZN', - 'MTn', - 'Metical de Moçambique', - {'JPY': ['JP¥', '¥'], 'MZN': ['MTn'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Janeiro', 'Fevreiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Augusto', 'Setembro', + 'Otubro', 'Novembro', 'Decembro' + ] + ], + u, + [['AC', 'AD'], u, ['Antes de Cristo', 'Anno Domini']], + 0, + [6, 0], + ['d/M/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'MZN', + 'MTn', + 'Metical de Moçambique', + {'JPY': ['JP¥', '¥'], 'MZN': ['MTn'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ses.js b/packages/common/locales/global/ses.js index cec8a6d8ff..a1c1ea178a 100644 --- a/packages/common/locales/global/ses.js +++ b/packages/common/locales/global/ses.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['ses'] = [ - 'ses', - [['Adduha', 'Aluula'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['ses'] = [ + 'ses', + [['Adduha', 'Aluula'], u, u], + u, + [ + ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'], + ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] + ], + u, + [ + ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], [ - ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], - ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'], - ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] - ], - u, - [ - ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], - ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], - [ - 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', - 'Oktoobur', 'Noowanbur', 'Deesanbur' - ] - ], - u, - [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'XOF', - 'CFA', - 'CFA Fraŋ (BCEAO)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + ], + u, + [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'XOF', + 'CFA', + 'CFA Fraŋ (BCEAO)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sg.js b/packages/common/locales/global/sg.js index 9282f7ab9d..47e911e52b 100644 --- a/packages/common/locales/global/sg.js +++ b/packages/common/locales/global/sg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sg'] = [ - 'sg', - [['ND', 'LK'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sg'] = [ + 'sg', + [['ND', 'LK'], u, u], + u, + [ + ['K', 'S', 'T', 'S', 'K', 'P', 'Y'], ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], + ['Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', 'Lâyenga'], + ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'] + ], + u, + [ + ['N', 'F', 'M', 'N', 'B', 'F', 'L', 'K', 'M', 'N', 'N', 'K'], + ['Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak'], [ - ['K', 'S', 'T', 'S', 'K', 'P', 'Y'], ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], - [ - 'Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', - 'Lâyenga' - ], - ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'] - ], - u, - [ - ['N', 'F', 'M', 'N', 'B', 'F', 'L', 'K', 'M', 'N', 'N', 'K'], - ['Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak'], - [ - 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', 'Kükürü', - 'Mvuka', 'Ngberere', 'Nabändüru', 'Kakauka' - ] - ], - u, - [['KnK', 'NpK'], u, ['Kôzo na Krîstu', 'Na pekô tî Krîstu']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#E0'], - 'XAF', - 'FCFA', - 'farânga CFA (BEAC)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', 'Kükürü', 'Mvuka', + 'Ngberere', 'Nabändüru', 'Kakauka' + ] + ], + u, + [['KnK', 'NpK'], u, ['Kôzo na Krîstu', 'Na pekô tî Krîstu']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#E0'], + 'XAF', + 'FCFA', + 'farânga CFA (BEAC)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/shi-Latn.js b/packages/common/locales/global/shi-Latn.js index 791eab3e0b..47113e63bd 100644 --- a/packages/common/locales/global/shi-Latn.js +++ b/packages/common/locales/global/shi-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['shi-latn'] = [ - 'shi-Latn', - [['tifawt', 'tadggʷat'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['shi-latn'] = [ + 'shi-Latn', + [['tifawt', 'tadggʷat'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], + ['asamas', 'aynas', 'asinas', 'akṛas', 'akwas', 'asimwas', 'asiḍyas'], + ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'] + ], + u, + [ + ['i', 'b', 'm', 'i', 'm', 'y', 'y', 'ɣ', 'c', 'k', 'n', 'd'], + ['inn', 'bṛa', 'maṛ', 'ibr', 'may', 'yun', 'yul', 'ɣuc', 'cut', 'ktu', 'nuw', 'duj'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], - ['asamas', 'aynas', 'asinas', 'akṛas', 'akwas', 'asimwas', 'asiḍyas'], - ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'] - ], - u, - [ - ['i', 'b', 'm', 'i', 'm', 'y', 'y', 'ɣ', 'c', 'k', 'n', 'd'], - ['inn', 'bṛa', 'maṛ', 'ibr', 'may', 'yun', 'yul', 'ɣuc', 'cut', 'ktu', 'nuw', 'duj'], - [ - 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', 'cutanbir', - 'ktubr', 'nuwanbir', 'dujanbir' - ] - ], - u, - [['daɛ', 'dfɛ'], u, ['dat n ɛisa', 'dffir n ɛisa']], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'MAD', - 'MAD', - 'adrim n lmɣrib', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', 'cutanbir', 'ktubr', + 'nuwanbir', 'dujanbir' + ] + ], + u, + [['daɛ', 'dfɛ'], u, ['dat n ɛisa', 'dffir n ɛisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'MAD', + 'MAD', + 'adrim n lmɣrib', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/shi-Tfng.js b/packages/common/locales/global/shi-Tfng.js index b4fd43257e..09dc68b1c2 100644 --- a/packages/common/locales/global/shi-Tfng.js +++ b/packages/common/locales/global/shi-Tfng.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - if (n === Math.floor(n) && n >= 2 && n <= 10) return 3; - return 5; - } - global.ng.common.locales['shi-tfng'] = [ - 'shi-Tfng', - [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + if (n === Math.floor(n) && n >= 2 && n <= 10) return 3; + return 5; +} +global.ng.common.locales['shi-tfng'] = [ + 'shi-Tfng', + [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] + ], + u, + [ + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] - ], - u, - [ - ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], - [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', - 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', - 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', - 'ⴷⵓⵊⴰⵏⴱⵉⵔ' - ] - ], - u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'MAD', - 'MAD', - 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + ], + u, + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'MAD', + 'MAD', + 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/shi.js b/packages/common/locales/global/shi.js index 747ce4fb84..307c760866 100644 --- a/packages/common/locales/global/shi.js +++ b/packages/common/locales/global/shi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - if (n === Math.floor(n) && n >= 2 && n <= 10) return 3; - return 5; - } - global.ng.common.locales['shi'] = [ - 'shi', - [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + if (n === Math.floor(n) && n >= 2 && n <= 10) return 3; + return 5; +} +global.ng.common.locales['shi'] = [ + 'shi', + [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] + ], + u, + [ + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] - ], - u, - [ - ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], - [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', - 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', - 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', - 'ⴷⵓⵊⴰⵏⴱⵉⵔ' - ] - ], - u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'MAD', - 'MAD', - 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + ], + u, + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'MAD', + 'MAD', + 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/si.js b/packages/common/locales/global/si.js index 98a0c668c1..adcfcaedbb 100644 --- a/packages/common/locales/global/si.js +++ b/packages/common/locales/global/si.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,118 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (n === 0 || n === 1 || i === 0 && f === 1) return 1; - return 5; - } - global.ng.common.locales['si'] = [ - 'si', - [['පෙ', 'ප'], ['පෙ.ව.', 'ප.ව.'], u], - [['පෙ.ව.', 'ප.ව.'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n === 0 || n === 1 || i === 0 && f === 1) return 1; + return 5; +} +global.ng.common.locales['si'] = [ + 'si', + [['පෙ', 'ප'], ['පෙ.ව.', 'ප.ව.'], u], + [['පෙ.ව.', 'ප.ව.'], u, u], + [ + ['ඉ', 'ස', 'අ', 'බ', 'බ්\u200dර', 'සි', 'සෙ'], + ['ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', 'බ්\u200dරහස්', 'සිකු', 'සෙන'], + ['ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', 'සෙනසුරාදා'], + ['ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', 'සෙන'] + ], + u, + [ + ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], + ['ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], [ - ['ඉ', 'ස', 'අ', 'බ', 'බ්\u200dර', 'සි', 'සෙ'], - [ - 'ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', - 'බ්\u200dරහස්', 'සිකු', 'සෙන' - ], - [ - 'ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', - 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', - 'සෙනසුරාදා' - ], - [ - 'ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', - 'සෙන' - ] - ], - u, - [ - [ - 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', - 'නෙ', 'දෙ' - ], - [ - 'ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', - 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', - 'දෙසැ' - ], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', - 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', - 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', - 'නොවැම්බර්', 'දෙසැම්බර්' - ] - ], - [ - [ - 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', - 'නෙ', 'දෙ' - ], - [ - 'ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', - 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', - 'දෙසැ' - ], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', - 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', - 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', - 'නොවැම්බර්', 'දෙසැම්බර්' - ] - ], - [ - ['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, - [ - 'ක්\u200dරිස්තු පූර්ව', - 'ක්\u200dරිස්තු වර්ෂ' - ] - ], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#'], - 'LKR', - 'රු.', - 'ශ්\u200dරී ලංකා රුපියල', - { - 'JPY': ['JP¥', '¥'], - 'LKR': ['රු.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XOF': ['සිෆ්එ'] - }, - 'ltr', - plural, - [ - [ - ['මැ', 'ම', 'පා', 'උ', 'ද', 'හ', 'රෑ', 'මැ'], - [ - 'මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', - 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු' - ], - u - ], - [ - [ - 'මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', - 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු' - ], - u, u - ], - [ - '00:00', '12:00', ['01:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], - ['14:00', '18:00'], ['18:00', '24:00'], ['00:00', '01:00'] - ] + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'නොවැම්බර්', 'දෙසැම්බර්' ] - ]; + ], + [ + ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], + ['ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], + [ + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'නොවැම්බර්', 'දෙසැම්බර්' + ] + ], + [['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, ['ක්\u200dරිස්තු පූර්ව', 'ක්\u200dරිස්තු වර්ෂ']], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#'], + 'LKR', + 'රු.', + 'ශ්\u200dරී ලංකා රුපියල', + { + 'JPY': ['JP¥', '¥'], + 'LKR': ['රු.'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XOF': ['සිෆ්එ'] + }, + 'ltr', + plural, + [ + [ + ['මැ', 'ම', 'පා', 'උ', 'ද', 'හ', 'රෑ', 'මැ'], + ['මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු'], u + ], + [['මැදියම', 'මධ්\u200dයාහ්නය', 'පාන්දර', 'උදේ', 'දවල්', 'හවස', 'රෑ', 'මැදියමට පසු'], u, u], + [ + '00:00', '12:00', ['01:00', '06:00'], ['06:00', '12:00'], ['12:00', '14:00'], + ['14:00', '18:00'], ['18:00', '24:00'], ['00:00', '01:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sk.js b/packages/common/locales/global/sk.js index d23f3f853d..47b6555e28 100644 --- a/packages/common/locales/global/sk.js +++ b/packages/common/locales/global/sk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,89 +10,89 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3; - if (!(v === 0)) return 4; - return 5; - } - global.ng.common.locales['sk'] = [ - 'sk', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3; + if (!(v === 0)) return 4; + return 5; +} +global.ng.common.locales['sk'] = [ + 'sk', + [['AM', 'PM'], u, u], + u, + [ + ['n', 'p', 'u', 's', 'š', 'p', 's'], ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'], + ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], [ - ['n', 'p', 'u', 's', 'š', 'p', 's'], ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], - ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'], - ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], - [ - 'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', - 'septembra', 'októbra', 'novembra', 'decembra' - ] - ], - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], - [ - 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', - 'október', 'november', 'december' - ] - ], - [['pred Kr.', 'po Kr.'], u, ['pred Kristom', 'po Kristovi']], - 1, - [6, 0], - ['d. M. y', u, 'd. MMMM y', 'EEEE d. MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', '{1}, {0}', u, u], - [',', ' ', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': ['NIS', '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['o poln.', 'nap.', 'ráno', 'dop.', 'pop.', 'več.', 'v n.'], - ['o poln.', 'napol.', 'ráno', 'dopol.', 'popol.', 'večer', 'v noci'], - ['o polnoci', 'napoludnie', 'ráno', 'dopoludnia', 'popoludní', 'večer', 'v noci'] - ], - [ - ['poln.', 'pol.', 'ráno', 'dop.', 'pop.', 'več.', 'noc'], - ['poln.', 'pol.', 'ráno', 'dopol.', 'popol.', 'večer', 'noc'], - ['polnoc', 'poludnie', 'ráno', 'dopoludnie', 'popoludnie', 'večer', 'noc'] - ], - [ - '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '22:00'], ['22:00', '04:00'] - ] + 'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra', + 'októbra', 'novembra', 'decembra' ] - ]; + ], + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + [ + 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', + 'november', 'december' + ] + ], + [['pred Kr.', 'po Kr.'], u, ['pred Kristom', 'po Kristovi']], + 1, + [6, 0], + ['d. M. y', u, 'd. MMMM y', 'EEEE d. MMMM y'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', u, u], + [',', ' ', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': ['NIS', '₪'], + 'INR': [u, '₹'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['o poln.', 'nap.', 'ráno', 'dop.', 'pop.', 'več.', 'v n.'], + ['o poln.', 'napol.', 'ráno', 'dopol.', 'popol.', 'večer', 'v noci'], + ['o polnoci', 'napoludnie', 'ráno', 'dopoludnia', 'popoludní', 'večer', 'v noci'] + ], + [ + ['poln.', 'pol.', 'ráno', 'dop.', 'pop.', 'več.', 'noc'], + ['poln.', 'pol.', 'ráno', 'dopol.', 'popol.', 'večer', 'noc'], + ['polnoc', 'poludnie', 'ráno', 'dopoludnie', 'popoludnie', 'večer', 'noc'] + ], + [ + '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '22:00'], ['22:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sl.js b/packages/common/locales/global/sl.js index 5316a375d5..6325f06edf 100644 --- a/packages/common/locales/global/sl.js +++ b/packages/common/locales/global/sl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,80 +10,76 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 100 === 1) return 1; - if (v === 0 && i % 100 === 2) return 2; - if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0)) - return 3; - return 5; - } - global.ng.common.locales['sl'] = [ - 'sl', - [['d', 'p'], ['dop.', 'pop.'], u], - [['d', 'p'], ['dop.', 'pop.'], ['dopoldne', 'popoldne']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 100 === 1) return 1; + if (v === 0 && i % 100 === 2) return 2; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0)) + return 3; + return 5; +} +global.ng.common.locales['sl'] = [ + 'sl', + [['d', 'p'], ['dop.', 'pop.'], u], + [['d', 'p'], ['dop.', 'pop.'], ['dopoldne', 'popoldne']], + [ + ['n', 'p', 't', 's', 'č', 'p', 's'], ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'], + ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['n', 'p', 't', 's', 'č', 'p', 's'], - ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], - ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'], - ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - [ - 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['pr. Kr.', 'po Kr.'], u, ['pred Kristusom', 'po Kristusu']], - 1, - [6, 0], - ['d. MM. yy', 'd. MMM y', 'dd. MMMM y', 'EEEE, dd. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '−', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'evro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'GBP': [u, '£'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['24.00', '12.00', 'zj', 'd', 'p', 'zv', 'po'], - ['opoln.', 'opold.', 'zjut.', 'dop.', 'pop.', 'zveč.', 'ponoči'], - ['opolnoči', 'opoldne', 'zjutraj', 'dopoldan', 'popoldan', 'zvečer', 'ponoči'] - ], - [ - ['24.00', '12.00', 'j', 'd', 'p', 'v', 'n'], - ['poln.', 'pold.', 'jut.', 'dop.', 'pop.', 'zveč.', 'noč'], - ['polnoč', 'poldne', 'jutro', 'dopoldne', 'popoldne', 'večer', 'noč'] - ], - [ - '00:00', '12:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], - ['18:00', '22:00'], ['22:00', '06:00'] - ] + 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['pr. Kr.', 'po Kr.'], u, ['pred Kristusom', 'po Kristusu']], + 1, + [6, 0], + ['d. MM. yy', 'd. MMM y', 'dd. MMMM y', 'EEEE, dd. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '−', 'e', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'evro', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'GBP': [u, '£'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, 'NT$'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['24.00', '12.00', 'zj', 'd', 'p', 'zv', 'po'], + ['opoln.', 'opold.', 'zjut.', 'dop.', 'pop.', 'zveč.', 'ponoči'], + ['opolnoči', 'opoldne', 'zjutraj', 'dopoldan', 'popoldan', 'zvečer', 'ponoči'] + ], + [ + ['24.00', '12.00', 'j', 'd', 'p', 'v', 'n'], + ['poln.', 'pold.', 'jut.', 'dop.', 'pop.', 'zveč.', 'noč'], + ['polnoč', 'poldne', 'jutro', 'dopoldne', 'popoldne', 'večer', 'noč'] + ], + [ + '00:00', '12:00', ['06:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], + ['18:00', '22:00'], ['22:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/smn.js b/packages/common/locales/global/smn.js index 4f3ea04500..a9703a6eae 100644 --- a/packages/common/locales/global/smn.js +++ b/packages/common/locales/global/smn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - if (n === 2) return 2; - return 5; - } - global.ng.common.locales['smn'] = [ - 'smn', - [['ip.', 'ep.'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + if (n === 2) return 2; + return 5; +} +global.ng.common.locales['smn'] = [ + 'smn', + [['ip.', 'ep.'], u, u], + u, + [ + ['p', 'V', 'M', 'K', 'T', 'V', 'L'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], + ['pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', 'lávurduv'], + ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] + ], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], + ['pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', 'lávurdâh'], + ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] + ], + [ + ['U', 'K', 'NJ', 'C', 'V', 'K', 'S', 'P', 'Č', 'R', 'S', 'J'], [ - ['p', 'V', 'M', 'K', 'T', 'V', 'L'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], - [ - 'pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', - 'lávurduv' - ], - ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] + 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', 'roovvâd', + 'skammâ', 'juovlâ' ], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], - [ - 'pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', - 'lávurdâh' - ], - ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] - ], - [ - ['U', 'K', 'NJ', 'C', 'V', 'K', 'S', 'P', 'Č', 'R', 'S', 'J'], - [ - 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', - 'roovvâd', 'skammâ', 'juovlâ' - ], - [ - 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', 'vyesimáánu', - 'kesimáánu', 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', 'roovvâdmáánu', - 'skammâmáánu', 'juovlâmáánu' - ] - ], - u, - [['oKr.', 'mKr.'], u, ['Ovdil Kristus šoddâm', 'maŋa Kristus šoddâm']], - 1, - [6, 0], - ['d.M.y', 'MMM d. y', 'MMMM d. y', 'cccc, MMMM d. y'], - ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], - ['{1} {0}', '{1} \'tme\' {0}', u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'epiloho', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', 'vyesimáánu', 'kesimáánu', + 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', 'roovvâdmáánu', 'skammâmáánu', 'juovlâmáánu' + ] + ], + u, + [['oKr.', 'mKr.'], u, ['Ovdil Kristus šoddâm', 'maŋa Kristus šoddâm']], + 1, + [6, 0], + ['d.M.y', 'MMM d. y', 'MMMM d. y', 'cccc, MMMM d. y'], + ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], + ['{1} {0}', '{1} \'tme\' {0}', u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'epiloho', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sn.js b/packages/common/locales/global/sn.js index ad23df4910..0c9cfd327b 100644 --- a/packages/common/locales/global/sn.js +++ b/packages/common/locales/global/sn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['sn'] = [ - 'sn', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['sn'] = [ + 'sn', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'C', 'C', 'C', 'C', 'M'], ['Svo', 'Muv', 'Chp', 'Cht', 'Chn', 'Chs', 'Mug'], + ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'], + ['Sv', 'Mu', 'Cp', 'Ct', 'Cn', 'Cs', 'Mg'] + ], + u, + [ + ['N', 'K', 'K', 'K', 'C', 'C', 'C', 'N', 'G', 'G', 'M', 'Z'], + ['Ndi', 'Kuk', 'Kur', 'Kub', 'Chv', 'Chk', 'Chg', 'Nya', 'Gun', 'Gum', 'Mbu', 'Zvi'], [ - ['S', 'M', 'C', 'C', 'C', 'C', 'M'], ['Svo', 'Muv', 'Chp', 'Cht', 'Chn', 'Chs', 'Mug'], - ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'], - ['Sv', 'Mu', 'Cp', 'Ct', 'Cn', 'Cs', 'Mg'] - ], - u, - [ - ['N', 'K', 'K', 'K', 'C', 'C', 'C', 'N', 'G', 'G', 'M', 'Z'], - ['Ndi', 'Kuk', 'Kur', 'Kub', 'Chv', 'Chk', 'Chg', 'Nya', 'Gun', 'Gum', 'Mbu', 'Zvi'], - [ - 'Ndira', 'Kukadzi', 'Kurume', 'Kubvumbi', 'Chivabvu', 'Chikumi', 'Chikunguru', - 'Nyamavhuvhu', 'Gunyana', 'Gumiguru', 'Mbudzi', 'Zvita' - ] - ], - u, - [['BC', 'AD'], u, ['Kristo asati auya', 'mugore ramambo vedu']], - 0, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - 'US$', - 'Dora re Amerika', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Ndira', 'Kukadzi', 'Kurume', 'Kubvumbi', 'Chivabvu', 'Chikumi', 'Chikunguru', 'Nyamavhuvhu', + 'Gunyana', 'Gumiguru', 'Mbudzi', 'Zvita' + ] + ], + u, + [['BC', 'AD'], u, ['Kristo asati auya', 'mugore ramambo vedu']], + 0, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'USD', + 'US$', + 'Dora re Amerika', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/so-DJ.js b/packages/common/locales/global/so-DJ.js index c09ddff2d9..d3d22e98d6 100644 --- a/packages/common/locales/global/so-DJ.js +++ b/packages/common/locales/global/so-DJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['so-dj'] = [ - 'so-DJ', - [['h', 'd'], ['GH', 'GD'], u], - [['GH', 'GD'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['so-dj'] = [ + 'so-DJ', + [['h', 'd'], ['GH', 'GD'], u], + [['GH', 'GD'], u, u], + [ + ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], + ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], + ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], - ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], - ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] - ], - u, + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', - 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', - 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', - 'Oktoobar', 'Nofembar', 'Desembar' - ] - ], - [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], - 6, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'DJF', - 'Fdj', - 'Faran Jabuuti', - {'BBD': ['DBB', '$'], 'DJF': ['Fdj'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', + 'Oktoobar', 'Nofembar', 'Desembar' + ] + ], + [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], + 6, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'DJF', + 'Fdj', + 'Faran Jabuuti', + {'BBD': ['DBB', '$'], 'DJF': ['Fdj'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/so-ET.js b/packages/common/locales/global/so-ET.js index be8180f81b..a39c607d62 100644 --- a/packages/common/locales/global/so-ET.js +++ b/packages/common/locales/global/so-ET.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['so-et'] = [ - 'so-ET', - [['h', 'd'], ['GH', 'GD'], u], - [['GH', 'GD'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['so-et'] = [ + 'so-ET', + [['h', 'd'], ['GH', 'GD'], u], + [['GH', 'GD'], u, u], + [ + ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], + ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], + ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], - ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], - ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] - ], - u, + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', - 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', - 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', - 'Oktoobar', 'Nofembar', 'Desembar' - ] - ], - [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ETB', - 'Br', - 'Birta Itoobbiya', - {'BBD': ['DBB', '$'], 'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', + 'Oktoobar', 'Nofembar', 'Desembar' + ] + ], + [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ETB', + 'Br', + 'Birta Itoobbiya', + {'BBD': ['DBB', '$'], 'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/so-KE.js b/packages/common/locales/global/so-KE.js index a8f48871ce..5cef95e9d5 100644 --- a/packages/common/locales/global/so-KE.js +++ b/packages/common/locales/global/so-KE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['so-ke'] = [ - 'so-KE', - [['h', 'd'], ['GH', 'GD'], u], - [['GH', 'GD'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['so-ke'] = [ + 'so-KE', + [['h', 'd'], ['GH', 'GD'], u], + [['GH', 'GD'], u, u], + [ + ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], + ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], + ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], - ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], - ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] - ], - u, + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', - 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', - 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', - 'Oktoobar', 'Nofembar', 'Desembar' - ] - ], - [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingka Kenya', - {'BBD': ['DBB', '$'], 'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'SOS': ['S'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', + 'Oktoobar', 'Nofembar', 'Desembar' + ] + ], + [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingka Kenya', + {'BBD': ['DBB', '$'], 'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'SOS': ['S'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/so.js b/packages/common/locales/global/so.js index e5bfebc21e..865f684064 100644 --- a/packages/common/locales/global/so.js +++ b/packages/common/locales/global/so.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,56 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['so'] = [ - 'so', - [['h', 'd'], ['GH', 'GD'], u], - [['GH', 'GD'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['so'] = [ + 'so', + [['h', 'd'], ['GH', 'GD'], u], + [['GH', 'GD'], u, u], + [ + ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], + ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], + ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'], - ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], - ['Axd', 'Isn', 'Tldo', 'Arbc', 'Khms', 'Jmc', 'Sbti'] - ], - u, + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', - 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', - 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' - ] - ], - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'L', 'O', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Lul', 'Ogs', 'Seb', 'Okt', 'Nof', 'Dis'], - [ - 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', - 'Oktoobar', 'Nofembar', 'Desembar' - ] - ], - [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], - 1, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SOS', - 'S', - 'Shilingka Soomaaliya', - {'BBD': ['DBB', '$'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Jannaayo', 'Febraayo', 'Maarso', 'Abriil', 'May', 'Juun', 'Luuliyo', 'Ogost', 'Sebtembar', + 'Oktoobar', 'Nofembar', 'Desembar' + ] + ], + [['CH', 'CD'], u, ['Ciise Hortii', 'Ciise Dabadii']], + 1, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE, MMMM dd, y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'MaL', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SOS', + 'S', + 'Shilingka Soomaaliya', + {'BBD': ['DBB', '$'], 'JPY': ['JP¥', '¥'], 'SOS': ['S'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sq-MK.js b/packages/common/locales/global/sq-MK.js index 34277d3cbd..ae48ff0901 100644 --- a/packages/common/locales/global/sq-MK.js +++ b/packages/common/locales/global/sq-MK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,162 +10,161 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['sq-mk'] = +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['sq-mk'] = [ + 'sq-MK', + [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], + [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], + [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor', + 'nëntor', 'dhjetor' + ] + ], + u, + [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], + 1, + [6, 0], + ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'në\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MKD', + 'den', + 'Denari maqedonas', + { + 'ALL': ['Lekë'], + 'AOA': [], + 'ARS': [], + 'AUD': ['A$', 'AUD'], + 'BAM': [], + 'BBD': [], + 'BDT': [], + 'BMD': [], + 'BND': [], + 'BOB': [], + 'BRL': [], + 'BSD': [], + 'BWP': [], + 'BYN': [], + 'BZD': [], + 'CAD': ['CA$', 'CAD'], + 'CLP': [], + 'CNY': ['CN¥', 'CNY'], + 'COP': [], + 'CRC': [], + 'CUC': [], + 'CUP': [], + 'CZK': [], + 'DKK': [], + 'DOP': [], + 'EGP': [], + 'EUR': ['€', 'EUR'], + 'FJD': [], + 'FKP': [], + 'GBP': ['£', 'GBP'], + 'GEL': [], + 'GIP': [], + 'GNF': [], + 'GTQ': [], + 'GYD': [], + 'HKD': ['HK$', 'HKS'], + 'HNL': [], + 'HRK': [], + 'HUF': [], + 'IDR': [], + 'ILS': ['₪', 'ILS'], + 'INR': ['₹', 'INR'], + 'ISK': [], + 'JMD': [], + 'JPY': ['JP¥', 'JPY'], + 'KHR': [], + 'KMF': [], + 'KPW': [], + 'KRW': ['₩', 'KRW'], + 'KYD': [], + 'KZT': [], + 'LAK': [], + 'LBP': [], + 'LKR': [], + 'LRD': [], + 'MGA': [], + 'MKD': ['den'], + 'MMK': [], + 'MNT': [], + 'MUR': [], + 'MXN': ['MX$', 'MXN'], + 'MYR': [], + 'NAD': [], + 'NGN': [], + 'NIO': [], + 'NOK': [], + 'NPR': [], + 'NZD': ['NZ$', 'NZD'], + 'PHP': [], + 'PKR': [], + 'PLN': [], + 'PYG': [], + 'RON': [], + 'RUB': [], + 'RWF': [], + 'SBD': [], + 'SEK': [], + 'SGD': [], + 'SHP': [], + 'SRD': [], + 'SSP': [], + 'STN': [], + 'SYP': [], + 'THB': ['฿', 'THB'], + 'TOP': [], + 'TRY': [], + 'TTD': [], + 'TWD': ['NT$', 'TWD'], + 'UAH': [], + 'USD': ['US$', 'USD'], + 'UYU': [], + 'VND': ['₫', 'VND'], + 'XCD': ['EC$', 'XCD'], + 'ZAR': [], + 'ZMW': [] + }, + 'ltr', + plural, + [ + [ [ - 'sq-MK', - [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], - [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], - ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], - [ - 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', - 'tetor', 'nëntor', 'dhjetor' - ] - ], - u, - [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], - 1, - [6, 0], - ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'në\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MKD', - 'den', - 'Denari maqedonas', - { - 'ALL': ['Lekë'], - 'AOA': [], - 'ARS': [], - 'AUD': ['A$', 'AUD'], - 'BAM': [], - 'BBD': [], - 'BDT': [], - 'BMD': [], - 'BND': [], - 'BOB': [], - 'BRL': [], - 'BSD': [], - 'BWP': [], - 'BYN': [], - 'BZD': [], - 'CAD': ['CA$', 'CAD'], - 'CLP': [], - 'CNY': ['CN¥', 'CNY'], - 'COP': [], - 'CRC': [], - 'CUC': [], - 'CUP': [], - 'CZK': [], - 'DKK': [], - 'DOP': [], - 'EGP': [], - 'EUR': ['€', 'EUR'], - 'FJD': [], - 'FKP': [], - 'GBP': ['£', 'GBP'], - 'GEL': [], - 'GIP': [], - 'GNF': [], - 'GTQ': [], - 'GYD': [], - 'HKD': ['HK$', 'HKS'], - 'HNL': [], - 'HRK': [], - 'HUF': [], - 'IDR': [], - 'ILS': ['₪', 'ILS'], - 'INR': ['₹', 'INR'], - 'ISK': [], - 'JMD': [], - 'JPY': ['JP¥', 'JPY'], - 'KHR': [], - 'KMF': [], - 'KPW': [], - 'KRW': ['₩', 'KRW'], - 'KYD': [], - 'KZT': [], - 'LAK': [], - 'LBP': [], - 'LKR': [], - 'LRD': [], - 'MGA': [], - 'MKD': ['den'], - 'MMK': [], - 'MNT': [], - 'MUR': [], - 'MXN': ['MX$', 'MXN'], - 'MYR': [], - 'NAD': [], - 'NGN': [], - 'NIO': [], - 'NOK': [], - 'NPR': [], - 'NZD': ['NZ$', 'NZD'], - 'PHP': [], - 'PKR': [], - 'PLN': [], - 'PYG': [], - 'RON': [], - 'RUB': [], - 'RWF': [], - 'SBD': [], - 'SEK': [], - 'SGD': [], - 'SHP': [], - 'SRD': [], - 'SSP': [], - 'STN': [], - 'SYP': [], - 'THB': ['฿', 'THB'], - 'TOP': [], - 'TRY': [], - 'TTD': [], - 'TWD': ['NT$', 'TWD'], - 'UAH': [], - 'USD': ['US$', 'USD'], - 'UYU': [], - 'VND': ['₫', 'VND'], - 'XCD': ['EC$', 'XCD'], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural, - [ - [ - [ - 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', - 'e mbrëmjes', 'e natës' - ], - u, u - ], - [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], - [ - '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '24:00'], ['00:00', '04:00'] - ] - ] - ]; + 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', 'e mbrëmjes', + 'e natës' + ], + u, u + ], + [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], + [ + '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sq-XK.js b/packages/common/locales/global/sq-XK.js index 9fce09b66c..fa5679f45d 100644 --- a/packages/common/locales/global/sq-XK.js +++ b/packages/common/locales/global/sq-XK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,161 +10,160 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['sq-xk'] = +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['sq-xk'] = [ + 'sq-XK', + [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], + [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], + [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor', + 'nëntor', 'dhjetor' + ] + ], + u, + [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], + 1, + [6, 0], + ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'në\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Euroja', + { + 'ALL': ['Lekë'], + 'AOA': [], + 'ARS': [], + 'AUD': ['A$', 'AUD'], + 'BAM': [], + 'BBD': [], + 'BDT': [], + 'BMD': [], + 'BND': [], + 'BOB': [], + 'BRL': [], + 'BSD': [], + 'BWP': [], + 'BYN': [], + 'BZD': [], + 'CAD': ['CA$', 'CAD'], + 'CLP': [], + 'CNY': ['CN¥', 'CNY'], + 'COP': [], + 'CRC': [], + 'CUC': [], + 'CUP': [], + 'CZK': [], + 'DKK': [], + 'DOP': [], + 'EGP': [], + 'EUR': ['€', 'EUR'], + 'FJD': [], + 'FKP': [], + 'GBP': ['£', 'GBP'], + 'GEL': [], + 'GIP': [], + 'GNF': [], + 'GTQ': [], + 'GYD': [], + 'HKD': ['HK$', 'HKS'], + 'HNL': [], + 'HRK': [], + 'HUF': [], + 'IDR': [], + 'ILS': ['₪', 'ILS'], + 'INR': ['₹', 'INR'], + 'ISK': [], + 'JMD': [], + 'JPY': ['JP¥', 'JPY'], + 'KHR': [], + 'KMF': [], + 'KPW': [], + 'KRW': ['₩', 'KRW'], + 'KYD': [], + 'KZT': [], + 'LAK': [], + 'LBP': [], + 'LKR': [], + 'LRD': [], + 'MGA': [], + 'MMK': [], + 'MNT': [], + 'MUR': [], + 'MXN': ['MX$', 'MXN'], + 'MYR': [], + 'NAD': [], + 'NGN': [], + 'NIO': [], + 'NOK': [], + 'NPR': [], + 'NZD': ['NZ$', 'NZD'], + 'PHP': [], + 'PKR': [], + 'PLN': [], + 'PYG': [], + 'RON': [], + 'RUB': [], + 'RWF': [], + 'SBD': [], + 'SEK': [], + 'SGD': [], + 'SHP': [], + 'SRD': [], + 'SSP': [], + 'STN': [], + 'SYP': [], + 'THB': ['฿', 'THB'], + 'TOP': [], + 'TRY': [], + 'TTD': [], + 'TWD': ['NT$', 'TWD'], + 'UAH': [], + 'USD': ['US$', 'USD'], + 'UYU': [], + 'VND': ['₫', 'VND'], + 'XCD': ['EC$', 'XCD'], + 'ZAR': [], + 'ZMW': [] + }, + 'ltr', + plural, + [ + [ [ - 'sq-XK', - [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], - [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], - ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], - [ - 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', - 'tetor', 'nëntor', 'dhjetor' - ] - ], - u, - [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], - 1, - [6, 0], - ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'në\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euroja', - { - 'ALL': ['Lekë'], - 'AOA': [], - 'ARS': [], - 'AUD': ['A$', 'AUD'], - 'BAM': [], - 'BBD': [], - 'BDT': [], - 'BMD': [], - 'BND': [], - 'BOB': [], - 'BRL': [], - 'BSD': [], - 'BWP': [], - 'BYN': [], - 'BZD': [], - 'CAD': ['CA$', 'CAD'], - 'CLP': [], - 'CNY': ['CN¥', 'CNY'], - 'COP': [], - 'CRC': [], - 'CUC': [], - 'CUP': [], - 'CZK': [], - 'DKK': [], - 'DOP': [], - 'EGP': [], - 'EUR': ['€', 'EUR'], - 'FJD': [], - 'FKP': [], - 'GBP': ['£', 'GBP'], - 'GEL': [], - 'GIP': [], - 'GNF': [], - 'GTQ': [], - 'GYD': [], - 'HKD': ['HK$', 'HKS'], - 'HNL': [], - 'HRK': [], - 'HUF': [], - 'IDR': [], - 'ILS': ['₪', 'ILS'], - 'INR': ['₹', 'INR'], - 'ISK': [], - 'JMD': [], - 'JPY': ['JP¥', 'JPY'], - 'KHR': [], - 'KMF': [], - 'KPW': [], - 'KRW': ['₩', 'KRW'], - 'KYD': [], - 'KZT': [], - 'LAK': [], - 'LBP': [], - 'LKR': [], - 'LRD': [], - 'MGA': [], - 'MMK': [], - 'MNT': [], - 'MUR': [], - 'MXN': ['MX$', 'MXN'], - 'MYR': [], - 'NAD': [], - 'NGN': [], - 'NIO': [], - 'NOK': [], - 'NPR': [], - 'NZD': ['NZ$', 'NZD'], - 'PHP': [], - 'PKR': [], - 'PLN': [], - 'PYG': [], - 'RON': [], - 'RUB': [], - 'RWF': [], - 'SBD': [], - 'SEK': [], - 'SGD': [], - 'SHP': [], - 'SRD': [], - 'SSP': [], - 'STN': [], - 'SYP': [], - 'THB': ['฿', 'THB'], - 'TOP': [], - 'TRY': [], - 'TTD': [], - 'TWD': ['NT$', 'TWD'], - 'UAH': [], - 'USD': ['US$', 'USD'], - 'UYU': [], - 'VND': ['₫', 'VND'], - 'XCD': ['EC$', 'XCD'], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural, - [ - [ - [ - 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', - 'e mbrëmjes', 'e natës' - ], - u, u - ], - [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], - [ - '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '24:00'], ['00:00', '04:00'] - ] - ] - ]; + 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', 'e mbrëmjes', + 'e natës' + ], + u, u + ], + [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], + [ + '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sq.js b/packages/common/locales/global/sq.js index d441c6ded5..addd0c9441 100644 --- a/packages/common/locales/global/sq.js +++ b/packages/common/locales/global/sq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,161 +10,160 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['sq'] = +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['sq'] = [ + 'sq', + [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], + [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], + ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] + ], + [ + ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], + [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor', + 'nëntor', 'dhjetor' + ] + ], + u, + [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], + 1, + [6, 0], + ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a, z', 'h:mm:ss a, zzzz'], + ['{1}, {0}', u, '{1} \'në\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'ALL', + 'Lekë', + 'Leku shqiptar', + { + 'ALL': ['Lekë'], + 'AOA': [], + 'ARS': [], + 'AUD': ['A$', 'AUD'], + 'BAM': [], + 'BBD': [], + 'BDT': [], + 'BMD': [], + 'BND': [], + 'BOB': [], + 'BRL': [], + 'BSD': [], + 'BWP': [], + 'BYN': [], + 'BZD': [], + 'CAD': ['CA$', 'CAD'], + 'CLP': [], + 'CNY': ['CN¥', 'CNY'], + 'COP': [], + 'CRC': [], + 'CUC': [], + 'CUP': [], + 'CZK': [], + 'DKK': [], + 'DOP': [], + 'EGP': [], + 'EUR': ['€', 'EUR'], + 'FJD': [], + 'FKP': [], + 'GBP': ['£', 'GBP'], + 'GEL': [], + 'GIP': [], + 'GNF': [], + 'GTQ': [], + 'GYD': [], + 'HKD': ['HK$', 'HKS'], + 'HNL': [], + 'HRK': [], + 'HUF': [], + 'IDR': [], + 'ILS': ['₪', 'ILS'], + 'INR': ['₹', 'INR'], + 'ISK': [], + 'JMD': [], + 'JPY': ['JP¥', 'JPY'], + 'KHR': [], + 'KMF': [], + 'KPW': [], + 'KRW': ['₩', 'KRW'], + 'KYD': [], + 'KZT': [], + 'LAK': [], + 'LBP': [], + 'LKR': [], + 'LRD': [], + 'MGA': [], + 'MMK': [], + 'MNT': [], + 'MUR': [], + 'MXN': ['MX$', 'MXN'], + 'MYR': [], + 'NAD': [], + 'NGN': [], + 'NIO': [], + 'NOK': [], + 'NPR': [], + 'NZD': ['NZ$', 'NZD'], + 'PHP': [], + 'PKR': [], + 'PLN': [], + 'PYG': [], + 'RON': [], + 'RUB': [], + 'RWF': [], + 'SBD': [], + 'SEK': [], + 'SGD': [], + 'SHP': [], + 'SRD': [], + 'SSP': [], + 'STN': [], + 'SYP': [], + 'THB': ['฿', 'THB'], + 'TOP': [], + 'TRY': [], + 'TTD': [], + 'TWD': ['NT$', 'TWD'], + 'UAH': [], + 'USD': ['US$', 'USD'], + 'UYU': [], + 'VND': ['₫', 'VND'], + 'XCD': ['EC$', 'XCD'], + 'ZAR': [], + 'ZMW': [] + }, + 'ltr', + plural, + [ + [ [ - 'sq', - [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], - [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'], - ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'], - ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'] - ], - [ - ['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'], - ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'], - [ - 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', - 'tetor', 'nëntor', 'dhjetor' - ] - ], - u, - [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], - 1, - [6, 0], - ['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a, z', 'h:mm:ss a, zzzz'], - ['{1}, {0}', u, '{1} \'në\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'ALL', - 'Lekë', - 'Leku shqiptar', - { - 'ALL': ['Lekë'], - 'AOA': [], - 'ARS': [], - 'AUD': ['A$', 'AUD'], - 'BAM': [], - 'BBD': [], - 'BDT': [], - 'BMD': [], - 'BND': [], - 'BOB': [], - 'BRL': [], - 'BSD': [], - 'BWP': [], - 'BYN': [], - 'BZD': [], - 'CAD': ['CA$', 'CAD'], - 'CLP': [], - 'CNY': ['CN¥', 'CNY'], - 'COP': [], - 'CRC': [], - 'CUC': [], - 'CUP': [], - 'CZK': [], - 'DKK': [], - 'DOP': [], - 'EGP': [], - 'EUR': ['€', 'EUR'], - 'FJD': [], - 'FKP': [], - 'GBP': ['£', 'GBP'], - 'GEL': [], - 'GIP': [], - 'GNF': [], - 'GTQ': [], - 'GYD': [], - 'HKD': ['HK$', 'HKS'], - 'HNL': [], - 'HRK': [], - 'HUF': [], - 'IDR': [], - 'ILS': ['₪', 'ILS'], - 'INR': ['₹', 'INR'], - 'ISK': [], - 'JMD': [], - 'JPY': ['JP¥', 'JPY'], - 'KHR': [], - 'KMF': [], - 'KPW': [], - 'KRW': ['₩', 'KRW'], - 'KYD': [], - 'KZT': [], - 'LAK': [], - 'LBP': [], - 'LKR': [], - 'LRD': [], - 'MGA': [], - 'MMK': [], - 'MNT': [], - 'MUR': [], - 'MXN': ['MX$', 'MXN'], - 'MYR': [], - 'NAD': [], - 'NGN': [], - 'NIO': [], - 'NOK': [], - 'NPR': [], - 'NZD': ['NZ$', 'NZD'], - 'PHP': [], - 'PKR': [], - 'PLN': [], - 'PYG': [], - 'RON': [], - 'RUB': [], - 'RWF': [], - 'SBD': [], - 'SEK': [], - 'SGD': [], - 'SHP': [], - 'SRD': [], - 'SSP': [], - 'STN': [], - 'SYP': [], - 'THB': ['฿', 'THB'], - 'TOP': [], - 'TRY': [], - 'TTD': [], - 'TWD': ['NT$', 'TWD'], - 'UAH': [], - 'USD': ['US$', 'USD'], - 'UYU': [], - 'VND': ['₫', 'VND'], - 'XCD': ['EC$', 'XCD'], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural, - [ - [ - [ - 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', - 'e mbrëmjes', 'e natës' - ], - u, u - ], - [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], - [ - '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], - ['18:00', '24:00'], ['00:00', '04:00'] - ] - ] - ]; + 'e mesnatës', 'e mesditës', 'e mëngjesit', 'e paradites', 'e pasdites', 'e mbrëmjes', + 'e natës' + ], + u, u + ], + [['mesnatë', 'mesditë', 'mëngjes', 'paradite', 'pasdite', 'mbrëmje', 'natë'], u, u], + [ + '00:00', '12:00', ['04:00', '09:00'], ['09:00', '12:00'], ['12:00', '18:00'], + ['18:00', '24:00'], ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Cyrl-BA.js b/packages/common/locales/global/sr-Cyrl-BA.js index ac28a2cb34..306900fe1c 100644 --- a/packages/common/locales/global/sr-Cyrl-BA.js +++ b/packages/common/locales/global/sr-Cyrl-BA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,86 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['sr-cyrl-ba'] = [ - 'sr-Cyrl-BA', - [['a', 'p'], ['прије подне', 'по подне'], u], - [['а', 'p'], ['прије подне', 'по подне'], u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['sr-cyrl-ba'] = [ + 'sr-Cyrl-BA', + [['a', 'p'], ['прије подне', 'по подне'], u], + [['а', 'p'], ['прије подне', 'по подне'], u], + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'ут', 'ср', 'чет', 'пет', 'суб'], + ['недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], + ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'ут', 'ср', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедељак', 'уторак', 'сриједа', - 'четвртак', 'петак', 'субота' - ], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'BAM', - 'КМ', - 'Босанско-херцеговачка конвертибилна марка', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], - ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћу'], - ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] - ], - [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'BAM', + 'КМ', + 'Босанско-херцеговачка конвертибилна марка', + { + 'AUD': [u, '$'], + 'BAM': ['КМ', 'KM'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], + ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћу'], + ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] + ], + [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Cyrl-ME.js b/packages/common/locales/global/sr-Cyrl-ME.js index 815d2f72ad..efebe780e4 100644 --- a/packages/common/locales/global/sr-Cyrl-ME.js +++ b/packages/common/locales/global/sr-Cyrl-ME.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,86 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['sr-cyrl-me'] = [ - 'sr-Cyrl-ME', - [['a', 'p'], ['прије подне', 'по подне'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['sr-cyrl-me'] = [ + 'sr-Cyrl-ME', + [['a', 'p'], ['прије подне', 'по подне'], u], + u, + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], + ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'нов', 'дец'], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедељак', 'уторак', 'сриједа', - 'четвртак', 'петак', 'субота' - ], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', - 'септ', 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Евро', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], - ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћу'], - ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] - ], - [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Евро', + { + 'AUD': [u, '$'], + 'BAM': ['КМ', 'KM'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], + ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћу'], + ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] + ], + [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Cyrl-XK.js b/packages/common/locales/global/sr-Cyrl-XK.js index c2ab9caf3c..dbc07c561c 100644 --- a/packages/common/locales/global/sr-Cyrl-XK.js +++ b/packages/common/locales/global/sr-Cyrl-XK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,86 +10,75 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['sr-cyrl-xk'] = [ - 'sr-Cyrl-XK', - [['a', 'p'], ['пре подне', 'по подне'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['sr-cyrl-xk'] = [ + 'sr-Cyrl-XK', + [['a', 'p'], ['пре подне', 'по подне'], u], + u, + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], + ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'нов', 'дец'], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', - 'септ', 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Евро', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], - ['поноћ', 'подне', 'јутро', 'по под.', 'увече', 'ноћу'], - ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] - ], - [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Евро', + { + 'AUD': [u, '$'], + 'BAM': ['КМ', 'KM'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['поноћ', 'подне', 'јутро', 'по под.', 'вече', 'ноћ'], + ['поноћ', 'подне', 'јутро', 'по под.', 'увече', 'ноћу'], + ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'] + ], + [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Cyrl.js b/packages/common/locales/global/sr-Cyrl.js index e13f483b90..c28351098b 100644 --- a/packages/common/locales/global/sr-Cyrl.js +++ b/packages/common/locales/global/sr-Cyrl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['sr-cyrl'] = [ - 'sr-Cyrl', - [['a', 'p'], ['пре подне', 'по подне'], u], - [['пре подне', 'по подне'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['sr-cyrl'] = [ + 'sr-Cyrl', + [['a', 'p'], ['пре подне', 'по подне'], u], + [['пре подне', 'по подне'], u, u], + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], + ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'RSD', - 'RSD', - 'Српски динар', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'ујутру', 'по подне', 'увече', 'ноћу'], - ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u - ], - [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'RSD', + 'RSD', + 'Српски динар', + { + 'AUD': [u, '$'], + 'BAM': ['КМ', 'KM'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['поноћ', 'подне', 'ујутру', 'по подне', 'увече', 'ноћу'], + ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u + ], + [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Latn-BA.js b/packages/common/locales/global/sr-Latn-BA.js index 4ecdab6a88..90dbb90817 100644 --- a/packages/common/locales/global/sr-Latn-BA.js +++ b/packages/common/locales/global/sr-Latn-BA.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sr-latn-ba'] = [ - 'sr-Latn-BA', - [['a', 'p'], ['prije podne', 'po podne'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sr-latn-ba'] = [ + 'sr-Latn-BA', + [['a', 'p'], ['prije podne', 'po podne'], u], + u, + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'ut', 'sr', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], [ - ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'ut', 'sr', 'čet', 'pet', 'sub'], - ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], - ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], - [ - 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', - 'novembar', 'decembar' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'BAM', - 'KM', - 'Bosansko-hercegovačka konvertibilna marka', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BYN': [u, 'r.'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], - ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noću'], - ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] - ], - [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', + 'novembar', 'decembar' ] - ]; + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'BAM', + 'KM', + 'Bosansko-hercegovačka konvertibilna marka', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BYN': [u, 'r.'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], + ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noću'], + ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] + ], + [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Latn-ME.js b/packages/common/locales/global/sr-Latn-ME.js index 9a01bc4fb5..d23bf4845e 100644 --- a/packages/common/locales/global/sr-Latn-ME.js +++ b/packages/common/locales/global/sr-Latn-ME.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sr-latn-me'] = [ - 'sr-Latn-ME', - [['a', 'p'], ['prije podne', 'po podne'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sr-latn-me'] = [ + 'sr-Latn-ME', + [['a', 'p'], ['prije podne', 'po podne'], u], + u, + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], + ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mart', 'apr', 'maj', 'jun', 'jul', 'avg', 'sept', 'okt', 'nov', 'dec'], [ - ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], - ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'], - ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mart', 'apr', 'maj', 'jun', 'jul', 'avg', 'sept', 'okt', 'nov', 'dec'], - [ - 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', - 'novembar', 'decembar' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Evro', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BYN': [u, 'r.'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], - ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noću'], - ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] - ], - [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', + 'novembar', 'decembar' ] - ]; + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Evro', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BYN': [u, 'r.'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], + ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noću'], + ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] + ], + [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Latn-XK.js b/packages/common/locales/global/sr-Latn-XK.js index bf2acb6b68..bde7533e14 100644 --- a/packages/common/locales/global/sr-Latn-XK.js +++ b/packages/common/locales/global/sr-Latn-XK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,66 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sr-latn-xk'] = [ - 'sr-Latn-XK', - [['a', 'p'], ['pre podne', 'po podne'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sr-latn-xk'] = [ + 'sr-Latn-XK', + [['a', 'p'], ['pre podne', 'po podne'], u], + u, + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'], + ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mart', 'apr', 'maj', 'jun', 'jul', 'avg', 'sept', 'okt', 'nov', 'dec'], [ - ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], - ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'], - ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mart', 'apr', 'maj', 'jun', 'jul', 'avg', 'sept', 'okt', 'nov', 'dec'], - [ - 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', - 'novembar', 'decembar' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Evro', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BYN': [u, 'r.'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], - ['ponoć', 'podne', 'jutro', 'po pod.', 'uveče', 'noću'], - ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] - ], - [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', + 'novembar', 'decembar' ] - ]; + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'Evro', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BYN': [u, 'r.'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'jutro', 'po pod.', 'veče', 'noć'], + ['ponoć', 'podne', 'jutro', 'po pod.', 'uveče', 'noću'], + ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'] + ], + [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr-Latn.js b/packages/common/locales/global/sr-Latn.js index 2130a6a1f6..4663c6515c 100644 --- a/packages/common/locales/global/sr-Latn.js +++ b/packages/common/locales/global/sr-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,65 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['sr-latn'] = [ - 'sr-Latn', - [['a', 'p'], ['pre podne', 'po podne'], u], - [['pre podne', 'po podne'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['sr-latn'] = [ + 'sr-Latn', + [['a', 'p'], ['pre podne', 'po podne'], u], + [['pre podne', 'po podne'], u, u], + [ + ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'], + ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] + ], + u, + [ + ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], [ - ['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], - ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'], - ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'] - ], - u, - [ - ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], - ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], - [ - 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', - 'novembar', 'decembar' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'RSD', - 'RSD', - 'Srpski dinar', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BYN': [u, 'r.'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['ponoć', 'podne', 'ujutru', 'po podne', 'uveče', 'noću'], - ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'], u - ], - [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', + 'novembar', 'decembar' ] - ]; + ], + u, + [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'RSD', + 'RSD', + 'Srpski dinar', + { + 'AUD': [u, '$'], + 'BAM': ['KM'], + 'BYN': [u, 'r.'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['ponoć', 'podne', 'ujutru', 'po podne', 'uveče', 'noću'], + ['ponoć', 'podne', 'ujutro', 'po podne', 'uveče', 'noću'], u + ], + [['ponoć', 'podne', 'jutro', 'popodne', 'veče', 'noć'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sr.js b/packages/common/locales/global/sr.js index cd8085f52f..366ccb4713 100644 --- a/packages/common/locales/global/sr.js +++ b/packages/common/locales/global/sr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,85 +10,74 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, - f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14) || - f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && - !(f % 100 >= 12 && f % 100 <= 14)) - return 3; - return 5; - } - global.ng.common.locales['sr'] = [ - 'sr', - [['a', 'p'], ['пре подне', 'по подне'], u], - [['пре подне', 'по подне'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return 3; + return 5; +} +global.ng.common.locales['sr'] = [ + 'sr', + [['a', 'p'], ['пре подне', 'по подне'], u], + [['пре подне', 'по подне'], u, u], + [ + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], + ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] + ], + u, + [ + ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', - 'децембар' - ] - ], - u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'RSD', - 'RSD', - 'Српски динар', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['поноћ', 'подне', 'ујутру', 'по подне', 'увече', 'ноћу'], - ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u - ], - [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '06:00'] - ] + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] - ]; + ], + u, + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], + 1, + [6, 0], + ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'RSD', + 'RSD', + 'Српски динар', + { + 'AUD': [u, '$'], + 'BAM': ['КМ', 'KM'], + 'GEL': [u, 'ლ'], + 'KRW': [u, '₩'], + 'NZD': [u, '$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['поноћ', 'подне', 'ујутру', 'по подне', 'увече', 'ноћу'], + ['поноћ', 'подне', 'ујутро', 'по подне', 'увече', 'ноћу'], u + ], + [['поноћ', 'подне', 'јутро', 'поподне', 'вече', 'ноћ'], u, u], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sv-AX.js b/packages/common/locales/global/sv-AX.js index 0fa55b18cc..e12bb33523 100644 --- a/packages/common/locales/global/sv-AX.js +++ b/packages/common/locales/global/sv-AX.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sv-ax'] = [ - 'sv-AX', - [['fm', 'em'], u, u], - [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sv-ax'] = [ + 'sv-AX', + [['fm', 'em'], u, u], + [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], + ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], - ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], - ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], - 1, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BBD': ['Bds$', '$'], - 'BMD': ['BM$', '$'], - 'BRL': ['BR$', 'R$'], - 'BSD': ['BS$', '$'], - 'BZD': ['BZ$', '$'], - 'CNY': [u, '¥'], - 'DKK': ['Dkr', 'kr'], - 'DOP': ['RD$', '$'], - 'EEK': ['Ekr'], - 'EGP': ['EG£', 'E£'], - 'ESP': [], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'IEP': ['IE£'], - 'INR': [u, '₹'], - 'ISK': ['Ikr', 'kr'], - 'JMD': ['JM$', '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NOK': ['Nkr', 'kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SEK': ['kr'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] - ], - [ - ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], + 1, + [6, 0], + ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BBD': ['Bds$', '$'], + 'BMD': ['BM$', '$'], + 'BRL': ['BR$', 'R$'], + 'BSD': ['BS$', '$'], + 'BZD': ['BZ$', '$'], + 'CNY': [u, '¥'], + 'DKK': ['Dkr', 'kr'], + 'DOP': ['RD$', '$'], + 'EEK': ['Ekr'], + 'EGP': ['EG£', 'E£'], + 'ESP': [], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'IEP': ['IE£'], + 'INR': [u, '₹'], + 'ISK': ['Ikr', 'kr'], + 'JMD': ['JM$', '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'NOK': ['Nkr', 'kr'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SEK': ['kr'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] + ], + [ + ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sv-FI.js b/packages/common/locales/global/sv-FI.js index 5d417d6e00..614f1d6d82 100644 --- a/packages/common/locales/global/sv-FI.js +++ b/packages/common/locales/global/sv-FI.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sv-fi'] = [ - 'sv-FI', - [['fm', 'em'], u, u], - [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sv-fi'] = [ + 'sv-FI', + [['fm', 'em'], u, u], + [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], + ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], - ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], - ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], - 1, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BBD': ['Bds$', '$'], - 'BMD': ['BM$', '$'], - 'BRL': ['BR$', 'R$'], - 'BSD': ['BS$', '$'], - 'BZD': ['BZ$', '$'], - 'CNY': [u, '¥'], - 'DKK': ['Dkr', 'kr'], - 'DOP': ['RD$', '$'], - 'EEK': ['Ekr'], - 'EGP': ['EG£', 'E£'], - 'ESP': [], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'IEP': ['IE£'], - 'INR': [u, '₹'], - 'ISK': ['Ikr', 'kr'], - 'JMD': ['JM$', '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NOK': ['Nkr', 'kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SEK': ['kr'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] - ], - [ - ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], + 1, + [6, 0], + ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', '.'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'EUR', + '€', + 'euro', + { + 'AUD': [u, '$'], + 'BBD': ['Bds$', '$'], + 'BMD': ['BM$', '$'], + 'BRL': ['BR$', 'R$'], + 'BSD': ['BS$', '$'], + 'BZD': ['BZ$', '$'], + 'CNY': [u, '¥'], + 'DKK': ['Dkr', 'kr'], + 'DOP': ['RD$', '$'], + 'EEK': ['Ekr'], + 'EGP': ['EG£', 'E£'], + 'ESP': [], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'IEP': ['IE£'], + 'INR': [u, '₹'], + 'ISK': ['Ikr', 'kr'], + 'JMD': ['JM$', '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'NOK': ['Nkr', 'kr'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SEK': ['kr'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] + ], + [ + ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sv.js b/packages/common/locales/global/sv.js index b40fbf2770..c77f338c99 100644 --- a/packages/common/locales/global/sv.js +++ b/packages/common/locales/global/sv.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,92 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sv'] = [ - 'sv', - [['fm', 'em'], u, u], - [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sv'] = [ + 'sv', + [['fm', 'em'], u, u], + [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], + [ + ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], + ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], [ - ['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], - ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], - ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', - 'dec.' - ], - [ - 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', - 'oktober', 'november', 'december' - ] - ], - u, - [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], - 1, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SEK', - 'kr', - 'svensk krona', - { - 'AUD': [u, '$'], - 'BBD': ['Bds$', '$'], - 'BMD': ['BM$', '$'], - 'BRL': ['BR$', 'R$'], - 'BSD': ['BS$', '$'], - 'BZD': ['BZ$', '$'], - 'CNY': [u, '¥'], - 'DKK': ['Dkr', 'kr'], - 'DOP': ['RD$', '$'], - 'EEK': ['Ekr'], - 'EGP': ['EG£', 'E£'], - 'ESP': [], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'IEP': ['IE£'], - 'INR': [u, '₹'], - 'ISK': ['Ikr', 'kr'], - 'JMD': ['JM$', '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NOK': ['Nkr', 'kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SEK': ['kr'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural, - [ - [ - ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], - [ - 'midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', - 'på natten' - ] - ], - [ - ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], - ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] - ], - [ - '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '05:00'] - ] + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' ] - ]; + ], + u, + [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], + 1, + [6, 0], + ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'SEK', + 'kr', + 'svensk krona', + { + 'AUD': [u, '$'], + 'BBD': ['Bds$', '$'], + 'BMD': ['BM$', '$'], + 'BRL': ['BR$', 'R$'], + 'BSD': ['BS$', '$'], + 'BZD': ['BZ$', '$'], + 'CNY': [u, '¥'], + 'DKK': ['Dkr', 'kr'], + 'DOP': ['RD$', '$'], + 'EEK': ['Ekr'], + 'EGP': ['EG£', 'E£'], + 'ESP': [], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'IEP': ['IE£'], + 'INR': [u, '₹'], + 'ISK': ['Ikr', 'kr'], + 'JMD': ['JM$', '$'], + 'JPY': [u, '¥'], + 'KRW': [u, '₩'], + 'NOK': ['Nkr', 'kr'], + 'NZD': [u, '$'], + 'RON': [u, 'L'], + 'SEK': ['kr'], + 'TWD': [u, 'NT$'], + 'USD': ['US$', '$'], + 'VND': [u, '₫'] + }, + 'ltr', + plural, + [ + [ + ['midn.', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morg.', 'på förm.', 'på efterm.', 'på kvällen', 'på natten'], + ['midnatt', 'på morgonen', 'på förmiddagen', 'på eftermiddagen', 'på kvällen', 'på natten'] + ], + [ + ['midn.', 'morg.', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förm.', 'efterm.', 'kväll', 'natt'], + ['midnatt', 'morgon', 'förmiddag', 'eftermiddag', 'kväll', 'natt'] + ], + [ + '00:00', ['05:00', '10:00'], ['10:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sw-CD.js b/packages/common/locales/global/sw-CD.js index 1c97c85d30..5993439dcd 100644 --- a/packages/common/locales/global/sw-CD.js +++ b/packages/common/locales/global/sw-CD.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,80 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sw-cd'] = [ - 'sw-CD', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sw-cd'] = [ + 'sw-CD', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'CDF', - 'FC', - 'Faranga ya Kongo', - { - 'CDF': ['FC'], - 'JPY': ['JP¥', '¥'], - 'KES': ['Ksh'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'TZS': ['TSh'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], - ['16:00', '19:00'], ['19:00', '04:00'] - ] + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' ] - ]; + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'CDF', + 'FC', + 'Faranga ya Kongo', + { + 'CDF': ['FC'], + 'JPY': ['JP¥', '¥'], + 'KES': ['Ksh'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'TZS': ['TSh'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + [ + 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku' + ], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], + ['16:00', '19:00'], ['19:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sw-KE.js b/packages/common/locales/global/sw-KE.js index ff6930a26e..8699eb9573 100644 --- a/packages/common/locales/global/sw-KE.js +++ b/packages/common/locales/global/sw-KE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,72 +10,65 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sw-ke'] = [ - 'sw-KE', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sw-ke'] = [ + 'sw-KE', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Shilingi ya Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'THB': ['฿'], 'TWD': ['NT$'], 'TZS': ['TSh']}, - 'ltr', - plural, - [ - [ - ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], - ['16:00', '19:00'], ['19:00', '04:00'] - ] + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' ] - ]; + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Shilingi ya Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'THB': ['฿'], 'TWD': ['NT$'], 'TZS': ['TSh']}, + 'ltr', + plural, + [ + [ + ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + [ + 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku' + ], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], + ['16:00', '19:00'], ['19:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sw-UG.js b/packages/common/locales/global/sw-UG.js index 36e2497025..265c688447 100644 --- a/packages/common/locales/global/sw-UG.js +++ b/packages/common/locales/global/sw-UG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,80 +10,73 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sw-ug'] = [ - 'sw-UG', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sw-ug'] = [ + 'sw-UG', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'UGX', - 'USh', - 'Shilingi ya Uganda', - { - 'JPY': ['JP¥', '¥'], - 'KES': ['Ksh'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'TZS': ['TSh'], - 'UGX': ['USh'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], - ['16:00', '19:00'], ['19:00', '04:00'] - ] + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' ] - ]; + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'UGX', + 'USh', + 'Shilingi ya Uganda', + { + 'JPY': ['JP¥', '¥'], + 'KES': ['Ksh'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'TZS': ['TSh'], + 'UGX': ['USh'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + [ + 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku' + ], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], + ['16:00', '19:00'], ['19:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/sw.js b/packages/common/locales/global/sw.js index 293c306a44..03e478af3a 100644 --- a/packages/common/locales/global/sw.js +++ b/packages/common/locales/global/sw.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,79 +10,72 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['sw'] = [ - 'sw', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['sw'] = [ + 'sw', + [['am', 'pm'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - { - 'JPY': ['JP¥', '¥'], - 'KES': ['Ksh'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'TZS': ['TSh'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [ - [ - ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ], - ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], - [ - 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', - 'usiku' - ] - ], - [ - '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], - ['16:00', '19:00'], ['19:00', '04:00'] - ] + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' ] - ]; + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Tanzania', + { + 'JPY': ['JP¥', '¥'], + 'KES': ['Ksh'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'TZS': ['TSh'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [ + [ + ['usiku', 'mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + [ + 'saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku' + ], + ['saa sita za usiku', 'adhuhuri', 'alfajiri', 'asubuhi', 'alasiri', 'jioni', 'usiku'], + ['saa sita za usiku', 'saa sita za mchana', 'alfajiri', 'asubuhi', 'mchana', 'jioni', 'usiku'] + ], + [ + '00:00', '12:00', ['04:00', '07:00'], ['07:00', '12:00'], ['12:00', '16:00'], + ['16:00', '19:00'], ['19:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ta-LK.js b/packages/common/locales/global/ta-LK.js index 07f32a2f06..04332af199 100644 --- a/packages/common/locales/global/ta-LK.js +++ b/packages/common/locales/global/ta-LK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ta-lk'] = [ - 'ta-LK', - [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ta-lk'] = [ + 'ta-LK', + [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], + u, + [ + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] + ], + u, + [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', - 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' - ], - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] - ], - u, - [ - [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', - 'ந', 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', - 'டிசம்பர்' - ] - ], - u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], - 1, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'LKR', - 'Rs.', - 'இலங்கை ரூபாய்', - {'LKR': ['Rs.', 'Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], - ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] - ] + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' ] - ]; + ], + u, + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], + 1, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], + 'LKR', + 'Rs.', + 'இலங்கை ரூபாய்', + {'LKR': ['Rs.', 'Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], + ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ta-MY.js b/packages/common/locales/global/ta-MY.js index 42b8c2fc5f..378486beeb 100644 --- a/packages/common/locales/global/ta-MY.js +++ b/packages/common/locales/global/ta-MY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ta-my'] = [ - 'ta-MY', - [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ta-my'] = [ + 'ta-MY', + [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], + u, + [ + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] + ], + u, + [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', - 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' - ], - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] - ], - u, - [ - [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', - 'ந', 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', - 'டிசம்பர்' - ] - ], - u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], - 1, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], - ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'MYR', - 'RM', - 'மலேஷியன் ரிங்கிட்', - {'MYR': ['RM'], 'SGD': ['S$', '$'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], - ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] - ] + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' ] - ]; + ], + u, + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], + 1, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], + ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'MYR', + 'RM', + 'மலேஷியன் ரிங்கிட்', + {'MYR': ['RM'], 'SGD': ['S$', '$'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], + ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ta-SG.js b/packages/common/locales/global/ta-SG.js index 4a90c2565e..ed49339c10 100644 --- a/packages/common/locales/global/ta-SG.js +++ b/packages/common/locales/global/ta-SG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ta-sg'] = [ - 'ta-SG', - [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ta-sg'] = [ + 'ta-SG', + [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], + u, + [ + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] + ], + u, + [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', - 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' - ], - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] - ], - u, - [ - [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', - 'ந', 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', - 'டிசம்பர்' - ] - ], - u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], - 0, - [6, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], - ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'SGD', - '$', - 'சிங்கப்பூர் டாலர்', - {'MYR': ['RM'], 'SGD': ['$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [ - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], - ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] - ] + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' ] - ]; + ], + u, + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], + 0, + [6, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], + ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'SGD', + '$', + 'சிங்கப்பூர் டாலர்', + {'MYR': ['RM'], 'SGD': ['$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [ + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], + ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ta.js b/packages/common/locales/global/ta.js index 7049c828d7..ebf532a8e9 100644 --- a/packages/common/locales/global/ta.js +++ b/packages/common/locales/global/ta.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,98 +10,62 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ta'] = [ - 'ta', - [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ta'] = [ + 'ta', + [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], + u, + [ + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], + ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] + ], + u, + [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', - 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' - ], - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] - ], - u, - [ - [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', - 'ந', 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', - 'டிசம்பர்' - ] - ], - u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], - ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'INR', - '₹', - 'இந்திய ரூபாய்', - {'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இர.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - [ - 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', - 'மா.', 'அந்தி மா.', 'இ.' - ], - [ - 'நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', - 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', - 'அந்தி மாலை', 'இரவு' - ], - u - ], - [ - '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], - ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] - ] + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' ] - ]; + ], + u, + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], + 0, + [0, 0], + ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], + ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], + 'INR', + '₹', + 'இந்திய ரூபாய்', + {'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இர.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + ['நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்தி மா.', 'இ.'], + ['நள்ளிரவு', 'நண்பகல்', 'அதிகாலை', 'காலை', 'மதியம்', 'பிற்பகல்', 'மாலை', 'அந்தி மாலை', 'இரவு'], u + ], + [ + '00:00', '12:00', ['03:00', '05:00'], ['05:00', '12:00'], ['12:00', '14:00'], + ['14:00', '16:00'], ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '03:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/te.js b/packages/common/locales/global/te.js index b0265c5338..6dafd979f1 100644 --- a/packages/common/locales/global/te.js +++ b/packages/common/locales/global/te.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,81 +10,51 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['te'] = [ - 'te', - [['ఉ', 'సా'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['te'] = [ + 'te', + [['ఉ', 'సా'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'], + ['ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', 'శని'] + ], + u, + [ + ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'], + ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'], [ - ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], - [ - 'ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', - 'శని' - ], - [ - 'ఆదివారం', 'సోమవారం', 'మంగళవారం', - 'బుధవారం', 'గురువారం', 'శుక్రవారం', - 'శనివారం' - ], - [ - 'ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', - 'శని' - ] - ], - u, - [ - [ - 'జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', - 'న', 'డి' - ], - [ - 'జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', - 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', - 'నవం', 'డిసెం' - ], - [ - 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', - 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', - 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', - 'డిసెంబర్' - ] - ], - u, - [ - ['క్రీపూ', 'క్రీశ'], u, - ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం'] - ], - 0, - [0, 0], - ['dd-MM-yy', 'd MMM, y', 'd MMMM, y', 'd, MMMM y, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1} {0}కి', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##,##0.00', '#E0'], - 'INR', - '₹', - 'రూపాయి', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'అర్ధరాత్రి', 'ఉదయం', 'మధ్యాహ్నం', - 'సాయంత్రం', 'రాత్రి' - ], - u, u - ], - u, - ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] + 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', + 'డిసెంబర్' ] - ]; + ], + u, + [['క్రీపూ', 'క్రీశ'], u, ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం']], + 0, + [0, 0], + ['dd-MM-yy', 'd MMM, y', 'd MMMM, y', 'd, MMMM y, EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, '{1} {0}కి', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##,##0.###', '#,##0%', '¤#,##,##0.00', '#E0'], + 'INR', + '₹', + 'రూపాయి', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [['అర్ధరాత్రి', 'ఉదయం', 'మధ్యాహ్నం', 'సాయంత్రం', 'రాత్రి'], u, u], u, + ['00:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00']] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/teo-KE.js b/packages/common/locales/global/teo-KE.js index b423928838..5efd2895d1 100644 --- a/packages/common/locales/global/teo-KE.js +++ b/packages/common/locales/global/teo-KE.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['teo-ke'] = [ - 'teo-KE', - [['Taparachu', 'Ebongi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['teo-ke'] = [ + 'teo-KE', + [['Taparachu', 'Ebongi'], u, u], + u, + [ + ['J', 'B', 'A', 'U', 'U', 'K', 'S'], ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'], + ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'] + ], + u, + [ + ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], [ - ['J', 'B', 'A', 'U', 'U', 'K', 'S'], ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], - ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'], - ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'] - ], - u, - [ - ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], - ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], - [ - 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', - 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KES', - 'Ksh', - 'Ango’otol lok’ Kenya', - {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', 'Opedel', + 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], + 0, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'KES', + 'Ksh', + 'Ango’otol lok’ Kenya', + {'JPY': ['JP¥', '¥'], 'KES': ['Ksh'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/teo.js b/packages/common/locales/global/teo.js index 7c439f141e..18d3217c51 100644 --- a/packages/common/locales/global/teo.js +++ b/packages/common/locales/global/teo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['teo'] = [ - 'teo', - [['Taparachu', 'Ebongi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['teo'] = [ + 'teo', + [['Taparachu', 'Ebongi'], u, u], + u, + [ + ['J', 'B', 'A', 'U', 'U', 'K', 'S'], ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'], + ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'] + ], + u, + [ + ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], [ - ['J', 'B', 'A', 'U', 'U', 'K', 'S'], ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], - ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'], - ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'] - ], - u, - [ - ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], - ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], - [ - 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', - 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'UGX', - 'USh', - 'Ango’otol lok’ Uganda', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', 'Opedel', + 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Christo', 'Baada ya Christo']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'UGX', + 'USh', + 'Ango’otol lok’ Uganda', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tg.js b/packages/common/locales/global/tg.js index 652481b69a..01c2ad6ceb 100644 --- a/packages/common/locales/global/tg.js +++ b/packages/common/locales/global/tg.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['tg'] = [ - 'tg', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['tg'] = [ + 'tg', + [['AM', 'PM'], u, u], + u, + [ + ['Я', 'Д', 'С', 'Ч', 'П', 'Ҷ', 'Ш'], ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'], + ['Якшанбе', 'Душанбе', 'Сешанбе', 'Чоршанбе', 'Панҷшанбе', 'Ҷумъа', 'Шанбе'], + ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'] + ], + u, + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Ҷ', 'Ш'], - ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'], - [ - 'Якшанбе', 'Душанбе', 'Сешанбе', 'Чоршанбе', - 'Панҷшанбе', 'Ҷумъа', 'Шанбе' - ], - ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'] - ], - u, - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', - 'Окт', 'Ноя', 'Дек' - ], - [ - 'Январ', 'Феврал', 'Март', 'Апрел', 'Май', 'Июн', 'Июл', - 'Август', 'Сентябр', 'Октябр', 'Ноябр', 'Декабр' - ] - ], - u, - [['ПеМ', 'ПаМ'], u, ['Пеш аз милод', 'ПаМ']], - 1, - [6, 0], - ['dd/MM/yy', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'TJS', - 'сом.', - 'Сомонӣ', - {'JPY': ['JP¥', '¥'], 'TJS': ['сом.']}, - 'ltr', - plural, - [] - ]; + 'Январ', 'Феврал', 'Март', 'Апрел', 'Май', 'Июн', 'Июл', 'Август', 'Сентябр', 'Октябр', + 'Ноябр', 'Декабр' + ] + ], + u, + [['ПеМ', 'ПаМ'], u, ['Пеш аз милод', 'ПаМ']], + 1, + [6, 0], + ['dd/MM/yy', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'TJS', + 'сом.', + 'Сомонӣ', + {'JPY': ['JP¥', '¥'], 'TJS': ['сом.']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/th.js b/packages/common/locales/global/th.js index 199d0b01b5..7a6b85a02e 100644 --- a/packages/common/locales/global/th.js +++ b/packages/common/locales/global/th.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,91 +10,63 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['th'] = [ - 'th', - [['a', 'p'], ['ก่อนเที่ยง', 'หลังเที่ยง'], u], - [['ก่อนเที่ยง', 'หลังเที่ยง'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['th'] = [ + 'th', + [['a', 'p'], ['ก่อนเที่ยง', 'หลังเที่ยง'], u], + [['ก่อนเที่ยง', 'หลังเที่ยง'], u, u], + [ + ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + ['วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'], + ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'] + ], + u, + [ [ - ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], - ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], - [ - 'วันอาทิตย์', 'วันจันทร์', - 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', - 'วันศุกร์', 'วันเสาร์' - ], - ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'] + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', + 'ธ.ค.' ], u, [ - [ - 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', - 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' - ], - u, - [ - 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', - 'เมษายน', 'พฤษภาคม', 'มิถุนายน', - 'กรกฎาคม', 'สิงหาคม', 'กันยายน', - 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' - ] - ], - u, - [ - ['ก่อน ค.ศ.', 'ค.ศ.'], u, - ['ปีก่อนคริสตกาล', 'คริสต์ศักราช'] - ], - 0, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM G y', 'EEEEที่ d MMMM G y'], - [ - 'HH:mm', 'HH:mm:ss', 'H นาฬิกา mm นาที ss วินาที z', - 'H นาฬิกา mm นาที ss วินาที zzzz' - ], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'THB', - '฿', - 'บาท', - {'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [ - [ - 'เที่ยงคืน', 'เที่ยง', 'เช้า', 'เที่ยง', - 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน' - ], - [ - 'เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', - 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', - 'กลางคืน' - ], - u - ], - [ - [ - 'เที่ยงคืน', 'เที่ยง', 'เช้า', - 'ช่วงเที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', - 'กลางคืน' - ], - [ - 'เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', - 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', - 'กลางคืน' - ], - u - ], - [ - '00:00', '12:00', ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '16:00'], - ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00'] - ] + 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', + 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' ] - ]; + ], + u, + [['ก่อน ค.ศ.', 'ค.ศ.'], u, ['ปีก่อนคริสตกาล', 'คริสต์ศักราช']], + 0, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM G y', 'EEEEที่ d MMMM G y'], + ['HH:mm', 'HH:mm:ss', 'H นาฬิกา mm นาที ss วินาที z', 'H นาฬิกา mm นาที ss วินาที zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'THB', + '฿', + 'บาท', + {'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [ + ['เที่ยงคืน', 'เที่ยง', 'เช้า', 'เที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน'], + ['เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', 'กลางคืน'], u + ], + [ + ['เที่ยงคืน', 'เที่ยง', 'เช้า', 'ช่วงเที่ยง', 'บ่าย', 'เย็น', 'ค่ำ', 'กลางคืน'], + ['เที่ยงคืน', 'เที่ยง', 'ในตอนเช้า', 'ในตอนบ่าย', 'บ่าย', 'ในตอนเย็น', 'ค่ำ', 'กลางคืน'], u + ], + [ + '00:00', '12:00', ['06:00', '12:00'], ['12:00', '13:00'], ['13:00', '16:00'], + ['16:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ti-ER.js b/packages/common/locales/global/ti-ER.js index a0e2b874a4..0996585471 100644 --- a/packages/common/locales/global/ti-ER.js +++ b/packages/common/locales/global/ti-ER.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,54 +10,44 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ti-er'] = [ - 'ti-ER', - [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], - u, - [ - ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - [ - 'ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም' - ], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] - ], - u, - [ - ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], - [ - 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', - 'ጥቅ', 'ሕዳ', 'ታሕ' - ], - [ - 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', - 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' - ] - ], - u, - [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምህረት']], - 1, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE፣ dd MMMM መዓልቲ y G'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ERN', - 'Nfk', - 'ERN', - {'ERN': ['Nfk'], 'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ti-er'] = [ + 'ti-ER', + [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], + u, + [ + ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ], + u, + [ + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + ['ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', 'ጥቅ', 'ሕዳ', 'ታሕ'], + ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ'] + ], + u, + [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምህረት']], + 1, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE፣ dd MMMM መዓልቲ y G'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ERN', + 'Nfk', + 'ERN', + {'ERN': ['Nfk'], 'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ti.js b/packages/common/locales/global/ti.js index d9645991dc..cb4a40ab90 100644 --- a/packages/common/locales/global/ti.js +++ b/packages/common/locales/global/ti.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; - } - global.ng.common.locales['ti'] = [ - 'ti', - [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], - u, - [ - ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - [ - 'ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም' - ], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] - ], - [ - ['ሰ', 'ሰ', 'ሠ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - [ - 'ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም' - ], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] - ], - [ - ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], - [ - 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', - 'ጥቅ', 'ሕዳ', 'ታሕ' - ], - [ - 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', - 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' - ] - ], - u, - [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓ/ዓ', 'ዓመተ ምህረት']], - 0, - [6, 0], - ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE፣ dd MMMM መዓልቲ y G'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ETB', - 'Br', - 'የኢትዮጵያ ብር', - {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; + return 5; +} +global.ng.common.locales['ti'] = [ + 'ti', + [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], + u, + [ + ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ], + [ + ['ሰ', 'ሰ', 'ሠ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ], + [ + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + ['ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', 'ጥቅ', 'ሕዳ', 'ታሕ'], + ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ'] + ], + u, + [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓ/ዓ', 'ዓመተ ምህረት']], + 0, + [6, 0], + ['dd/MM/yy', 'dd-MMM-y', 'dd MMMM y', 'EEEE፣ dd MMMM መዓልቲ y G'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ETB', + 'Br', + 'የኢትዮጵያ ብር', + {'ETB': ['Br'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tk.js b/packages/common/locales/global/tk.js index 673fbe5d72..6f007a5da9 100644 --- a/packages/common/locales/global/tk.js +++ b/packages/common/locales/global/tk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,59 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['tk'] = [ - 'tk', - [['öň', 'soň'], ['go.öň', 'go.soň'], ['günortadan öň', 'günortadan soň']], - [['öň', 'soň'], ['g.öň', 'g.soň'], ['günortadan öň', 'günortadan soň']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['tk'] = [ + 'tk', + [['öň', 'soň'], ['go.öň', 'go.soň'], ['günortadan öň', 'günortadan soň']], + [['öň', 'soň'], ['g.öň', 'g.soň'], ['günortadan öň', 'günortadan soň']], + [ + ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], ['ýek', 'duş', 'siş', 'çar', 'pen', 'ann', 'şen'], + ['ýekşenbe', 'duşenbe', 'sişenbe', 'çarşenbe', 'penşenbe', 'anna', 'şenbe'], + ['ýb', 'db', 'sb', 'çb', 'pb', 'an', 'şb'] + ], + [ + ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], ['Ýek', 'Duş', 'Siş', 'Çar', 'Pen', 'Ann', 'Şen'], + ['Ýekşenbe', 'Duşenbe', 'Sişenbe', 'Çarşenbe', 'Penşenbe', 'Anna', 'Şenbe'], + ['Ýb', 'Db', 'Sb', 'Çb', 'Pb', 'An', 'Şb'] + ], + [ + ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['ýan', 'few', 'mart', 'apr', 'maý', 'iýun', 'iýul', 'awg', 'sen', 'okt', 'noý', 'dek'], [ - ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], - ['ýek', 'duş', 'siş', 'çar', 'pen', 'ann', 'şen'], - ['ýekşenbe', 'duşenbe', 'sişenbe', 'çarşenbe', 'penşenbe', 'anna', 'şenbe'], - ['ýb', 'db', 'sb', 'çb', 'pb', 'an', 'şb'] - ], + 'ýanwar', 'fewral', 'mart', 'aprel', 'maý', 'iýun', 'iýul', 'awgust', 'sentýabr', 'oktýabr', + 'noýabr', 'dekabr' + ] + ], + [ + ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['Ýan', 'Few', 'Mar', 'Apr', 'Maý', 'Iýun', 'Iýul', 'Awg', 'Sen', 'Okt', 'Noý', 'Dek'], [ - ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], - ['Ýek', 'Duş', 'Siş', 'Çar', 'Pen', 'Ann', 'Şen'], - ['Ýekşenbe', 'Duşenbe', 'Sişenbe', 'Çarşenbe', 'Penşenbe', 'Anna', 'Şenbe'], - ['Ýb', 'Db', 'Sb', 'Çb', 'Pb', 'An', 'Şb'] - ], - [ - ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['ýan', 'few', 'mart', 'apr', 'maý', 'iýun', 'iýul', 'awg', 'sen', 'okt', 'noý', 'dek'], - [ - 'ýanwar', 'fewral', 'mart', 'aprel', 'maý', 'iýun', 'iýul', 'awgust', 'sentýabr', - 'oktýabr', 'noýabr', 'dekabr' - ] - ], - [ - ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['Ýan', 'Few', 'Mar', 'Apr', 'Maý', 'Iýun', 'Iýul', 'Awg', 'Sen', 'Okt', 'Noý', 'Dek'], - [ - 'Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', - 'Oktýabr', 'Noýabr', 'Dekabr' - ] - ], - [['B.e.öň', 'B.e.'], u, ['Isadan öň', 'Isadan soň']], - 1, - [6, 0], - ['dd.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'san däl', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'TMT', - 'TMT', - 'Türkmen manady', - {'EUR': [u, '€'], 'GBP': [u, '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', + 'Noýabr', 'Dekabr' + ] + ], + [['B.e.öň', 'B.e.'], u, ['Isadan öň', 'Isadan soň']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'san däl', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'TMT', + 'TMT', + 'Türkmen manady', + {'EUR': [u, '€'], 'GBP': [u, '£'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/to.js b/packages/common/locales/global/to.js index d3218d4b20..369cca66c0 100644 --- a/packages/common/locales/global/to.js +++ b/packages/common/locales/global/to.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['to'] = [ - 'to', - [['AM', 'PM'], u, ['hengihengi', 'efiafi']], - [['AM', 'PM'], u, ['HH', 'EA']], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['to'] = [ + 'to', + [['AM', 'PM'], u, ['hengihengi', 'efiafi']], + [['AM', 'PM'], u, ['HH', 'EA']], + [ + ['S', 'M', 'T', 'P', 'T', 'F', 'T'], ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], + ['Sāpate', 'Mōnite', 'Tūsite', 'Pulelulu', 'Tuʻapulelulu', 'Falaite', 'Tokonaki'], + ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'] + ], + u, + [ + ['S', 'F', 'M', 'E', 'M', 'S', 'S', 'A', 'S', 'O', 'N', 'T'], + ['Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', 'Tīs'], [ - ['S', 'M', 'T', 'P', 'T', 'F', 'T'], ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], - ['Sāpate', 'Mōnite', 'Tūsite', 'Pulelulu', 'Tuʻapulelulu', 'Falaite', 'Tokonaki'], - ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'] - ], - u, - [ - ['S', 'F', 'M', 'E', 'M', 'S', 'S', 'A', 'S', 'O', 'N', 'T'], - [ - 'Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', - 'Tīs' - ], - [ - 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', - 'Sepitema', 'ʻOkatopa', 'Nōvema', 'Tīsema' - ] - ], - u, - [['KM', 'TS'], u, ['ki muʻa', 'taʻu ʻo Sīsū']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', '{1}, {0}', u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'TF', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'TOP', - 'T$', - 'Paʻanga fakatonga', - { - 'AUD': ['AUD$', 'AU$'], - 'FJD': [u, 'F$'], - 'JPY': ['JP¥', '¥'], - 'NZD': ['NZD$', 'NZ$'], - 'SBD': [u, 'S$'], - 'TOP': ['T$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural, - [] - ]; + 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', 'Sepitema', + 'ʻOkatopa', 'Nōvema', 'Tīsema' + ] + ], + u, + [['KM', 'TS'], u, ['ki muʻa', 'taʻu ʻo Sīsū']], + 1, + [6, 0], + ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', '{1}, {0}', u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'TF', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'TOP', + 'T$', + 'Paʻanga fakatonga', + { + 'AUD': ['AUD$', 'AU$'], + 'FJD': [u, 'F$'], + 'JPY': ['JP¥', '¥'], + 'NZD': ['NZD$', 'NZ$'], + 'SBD': [u, 'S$'], + 'TOP': ['T$'], + 'USD': ['US$', '$'] + }, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tr-CY.js b/packages/common/locales/global/tr-CY.js index eb0799e4a0..d7872162cb 100644 --- a/packages/common/locales/global/tr-CY.js +++ b/packages/common/locales/global/tr-CY.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['tr-cy'] = [ - 'tr-CY', - [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], - [['ÖÖ', 'ÖS'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['tr-cy'] = [ + 'tr-CY', + [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], + [['ÖÖ', 'ÖS'], u, u], + [ + ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'], + ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'] + ], + u, + [ + ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], [ - ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], - ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'], - ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'] - ], - u, - [ - ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], - ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], - [ - 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', - 'Ekim', 'Kasım', 'Aralık' - ] - ], - u, - [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], - 1, - [6, 0], - ['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '%#,##0', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', - 'gece' - ], - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], - u - ], - [ - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '12:00'], ['12:00', '18:00'], - ['18:00', '19:00'], ['19:00', '21:00'], ['21:00', '06:00'] - ] + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', + 'Kasım', 'Aralık' ] - ]; + ], + u, + [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], + 1, + [6, 0], + ['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '%#,##0', '¤#,##0.00', '#E0'], + 'EUR', + '€', + 'Euro', + {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], + [ + 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', + 'gece' + ], + u + ], + [ + [ + 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', + 'gece' + ], + u, u + ], + [ + '00:00', '12:00', ['06:00', '11:00'], ['11:00', '12:00'], ['12:00', '18:00'], + ['18:00', '19:00'], ['19:00', '21:00'], ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tr.js b/packages/common/locales/global/tr.js index 55de148b02..90beceb422 100644 --- a/packages/common/locales/global/tr.js +++ b/packages/common/locales/global/tr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,71 +10,68 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['tr'] = [ - 'tr', - [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], - [['ÖÖ', 'ÖS'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['tr'] = [ + 'tr', + [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], + [['ÖÖ', 'ÖS'], u, u], + [ + ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'], + ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'] + ], + u, + [ + ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], [ - ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], - ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'], - ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'] - ], - u, - [ - ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], - ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], - [ - 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', - 'Ekim', 'Kasım', 'Aralık' - ] - ], - u, - [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], - 1, - [6, 0], - ['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '%#,##0', '¤#,##0.00', '#E0'], - 'TRY', - '₺', - 'Türk Lirası', - {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, - 'ltr', - plural, - [ - [ - [ - 'gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', - 'gece' - ], - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], - u - ], - [ - [ - 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', - 'akşam', 'gece' - ], - u, u - ], - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '12:00'], ['12:00', '18:00'], - ['18:00', '19:00'], ['19:00', '21:00'], ['21:00', '06:00'] - ] + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', + 'Kasım', 'Aralık' ] - ]; + ], + u, + [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], + 1, + [6, 0], + ['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '%#,##0', '¤#,##0.00', '#E0'], + 'TRY', + '₺', + 'Türk Lirası', + {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, + 'ltr', + plural, + [ + [ + ['gece', 'ö', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', 'gece'], + [ + 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', + 'gece' + ], + u + ], + [ + [ + 'gece yarısı', 'öğle', 'sabah', 'öğleden önce', 'öğleden sonra', 'akşamüstü', 'akşam', + 'gece' + ], + u, u + ], + [ + '00:00', '12:00', ['06:00', '11:00'], ['11:00', '12:00'], ['12:00', '18:00'], + ['18:00', '19:00'], ['19:00', '21:00'], ['21:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tt.js b/packages/common/locales/global/tt.js index 8187af7484..162fb9fdc3 100644 --- a/packages/common/locales/global/tt.js +++ b/packages/common/locales/global/tt.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,56 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['tt'] = [ - 'tt', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['tt'] = [ + 'tt', + [['AM', 'PM'], u, u], + u, + [ + ['Я', 'Д', 'С', 'Ч', 'П', 'Җ', 'Ш'], ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'], + ['якшәмбе', 'дүшәмбе', 'сишәмбе', 'чәршәмбе', 'пәнҗешәмбе', 'җомга', 'шимбә'], + ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Җ', 'Ш'], - ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'], - [ - 'якшәмбе', 'дүшәмбе', 'сишәмбе', 'чәршәмбе', - 'пәнҗешәмбе', 'җомга', 'шимбә' - ], - ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'] + 'гыйн.', 'фев.', 'мар.', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], - u, [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'гыйн.', 'фев.', 'мар.', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' - ], - [ - 'гыйнвар', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' - ] - ], - u, - [ - ['б.э.к.', 'милади'], u, - ['безнең эрага кадәр', 'безнең эра'] - ], - 1, - [6, 0], - ['dd.MM.y', 'd MMM, y \'ел\'', 'd MMMM, y \'ел\'', 'd MMMM, y \'ел\', EEEE'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RUB', - '₽', - 'Россия сумы', - {'JPY': ['JP¥', '¥'], 'RUB': ['₽']}, - 'ltr', - plural, - [] - ]; + 'гыйнвар', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', + 'октябрь', 'ноябрь', 'декабрь' + ] + ], + u, + [['б.э.к.', 'милади'], u, ['безнең эрага кадәр', 'безнең эра']], + 1, + [6, 0], + ['dd.MM.y', 'd MMM, y \'ел\'', 'd MMMM, y \'ел\'', 'd MMMM, y \'ел\', EEEE'], + ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], + 'RUB', + '₽', + 'Россия сумы', + {'JPY': ['JP¥', '¥'], 'RUB': ['₽']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/twq.js b/packages/common/locales/global/twq.js index 4f1358379c..782b9cf556 100644 --- a/packages/common/locales/global/twq.js +++ b/packages/common/locales/global/twq.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['twq'] = [ - 'twq', - [['Subbaahi', 'Zaarikay b'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['twq'] = [ + 'twq', + [['Subbaahi', 'Zaarikay b'], u, u], + u, + [ + ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'], + ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] + ], + u, + [ + ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], [ - ['H', 'T', 'T', 'L', 'L', 'L', 'S'], ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], - ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'], - ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'] - ], - u, - [ - ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], - ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], - [ - 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', - 'Oktoobur', 'Noowanbur', 'Deesanbur' - ] - ], - u, - [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'XOF', - 'CFA', - 'CFA Fraŋ (BCEAO)', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + ], + u, + [['IJ', 'IZ'], u, ['Isaa jine', 'Isaa zamanoo']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], + 'XOF', + 'CFA', + 'CFA Fraŋ (BCEAO)', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/tzm.js b/packages/common/locales/global/tzm.js index a5144d97f9..f70c47f5ff 100644 --- a/packages/common/locales/global/tzm.js +++ b/packages/common/locales/global/tzm.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,49 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99) - return 1; - return 5; - } - global.ng.common.locales['tzm'] = [ - 'tzm', - [['Zdat azal', 'Ḍeffir aza'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99) + return 1; + return 5; +} +global.ng.common.locales['tzm'] = [ + 'tzm', + [['Zdat azal', 'Ḍeffir aza'], u, u], + u, + [ + ['A', 'A', 'A', 'A', 'A', 'A', 'A'], ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], + ['Asamas', 'Aynas', 'Asinas', 'Akras', 'Akwas', 'Asimwas', 'Asiḍyas'], + ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'] + ], + u, + [ + ['Y', 'Y', 'M', 'I', 'M', 'Y', 'Y', 'Ɣ', 'C', 'K', 'N', 'D'], + ['Yen', 'Yeb', 'Mar', 'Ibr', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cut', 'Kṭu', 'Nwa', 'Duj'], [ - ['A', 'A', 'A', 'A', 'A', 'A', 'A'], ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], - ['Asamas', 'Aynas', 'Asinas', 'Akras', 'Akwas', 'Asimwas', 'Asiḍyas'], - ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'] - ], - u, - [ - ['Y', 'Y', 'M', 'I', 'M', 'Y', 'Y', 'Ɣ', 'C', 'K', 'N', 'D'], - ['Yen', 'Yeb', 'Mar', 'Ibr', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cut', 'Kṭu', 'Nwa', 'Duj'], - [ - 'Yennayer', 'Yebrayer', 'Mars', 'Ibrir', 'Mayyu', 'Yunyu', 'Yulyuz', 'Ɣuct', 'Cutanbir', - 'Kṭuber', 'Nwanbir', 'Dujanbir' - ] - ], - u, - [['ZƐ', 'ḌƐ'], u, ['Zdat Ɛisa (TAƔ)', 'Ḍeffir Ɛisa (TAƔ)']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MAD', - 'MAD', - 'Derhem Umeṛṛuki', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Yennayer', 'Yebrayer', 'Mars', 'Ibrir', 'Mayyu', 'Yunyu', 'Yulyuz', 'Ɣuct', 'Cutanbir', + 'Kṭuber', 'Nwanbir', 'Dujanbir' + ] + ], + u, + [['ZƐ', 'ḌƐ'], u, ['Zdat Ɛisa (TAƔ)', 'Ḍeffir Ɛisa (TAƔ)']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'MAD', + 'MAD', + 'Derhem Umeṛṛuki', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ug.js b/packages/common/locales/global/ug.js index 502d59e565..a9ba1595a6 100644 --- a/packages/common/locales/global/ug.js +++ b/packages/common/locales/global/ug.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,53 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['ug'] = [ - 'ug', - [['ب', 'ك'], ['چ.ب', 'چ.ك'], ['چۈشتىن بۇرۇن', 'چۈشتىن كېيىن']], - [['چ.ب', 'چ.ك'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['ug'] = [ + 'ug', + [['ب', 'ك'], ['چ.ب', 'چ.ك'], ['چۈشتىن بۇرۇن', 'چۈشتىن كېيىن']], + [['چ.ب', 'چ.ك'], u, u], + [ + ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], + ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'], + ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], - [ - 'يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', - 'پەيشەنبە', 'جۈمە', 'شەنبە' - ], - ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'] + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', + 'ئۆكتەبىر', 'نويابىر', 'دېكابىر' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', - 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', - 'دېكابىر' - ], - u - ], - u, - [['BCE', 'مىلادىيە'], u, ['مىلادىيەدىن بۇرۇن', 'مىلادىيە']], - 0, - [6, 0], - ['y-MM-dd', 'd-MMM، y', 'd-MMMM، y', 'y d-MMMM، EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}، {0}', u, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - 'جۇڭگو يۈەنى', - {'CNY': ['¥', '¥'], 'JPY': ['JP¥', '¥']}, - 'rtl', - plural, - [] - ]; + u + ], + u, + [['BCE', 'مىلادىيە'], u, ['مىلادىيەدىن بۇرۇن', 'مىلادىيە']], + 0, + [6, 0], + ['y-MM-dd', 'd-MMM، y', 'd-MMMM، y', 'y d-MMMM، EEEE'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1}، {0}', u, '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'CNY', + '¥', + 'جۇڭگو يۈەنى', + {'CNY': ['¥', '¥'], 'JPY': ['JP¥', '¥']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/uk.js b/packages/common/locales/global/uk.js index 58087a9c37..b9c293e9be 100644 --- a/packages/common/locales/global/uk.js +++ b/packages/common/locales/global/uk.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,114 +10,98 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; - if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && - !(i % 100 >= 12 && i % 100 <= 14)) - return 3; - if (v === 0 && i % 10 === 0 || - v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || - v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) - return 4; - return 5; - } - global.ng.common.locales['uk'] = [ - 'uk', - [['дп', 'пп'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return 3; + if (v === 0 && i % 10 === 0 || + v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || + v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) + return 4; + return 5; +} +global.ng.common.locales['uk'] = [ + 'uk', + [['дп', 'пп'], u, u], + u, + [ + ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'пʼятниця', 'субота'], + ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] + ], + u, + [ + ['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'], [ - ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', - 'пʼятниця', 'субота' - ], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - u, - [ - ['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'], - [ - 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', - 'серп.', 'вер.', 'жовт.', 'лист.', 'груд.' - ], - [ - 'січня', 'лютого', 'березня', 'квітня', 'травня', - 'червня', 'липня', 'серпня', 'вересня', 'жовтня', - 'листопада', 'грудня' - ] + 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'вер.', 'жовт.', 'лист.', + 'груд.' ], [ - ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], - [ - 'січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', - 'жов', 'лис', 'гру' - ], - [ - 'січень', 'лютий', 'березень', 'квітень', 'травень', - 'червень', 'липень', 'серпень', 'вересень', 'жовтень', - 'листопад', 'грудень' - ] - ], - [ - ['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], - ['до нашої ери', 'нашої ери'] - ], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y \'р\'.', 'd MMMM y \'р\'.', 'EEEE, d MMMM y \'р\'.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'о\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'Е', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UAH', - '₴', - 'українська гривня', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, '$'], - 'UAH': ['₴'], - 'UAK': ['крб.'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural, - [ - [ - ['північ', 'п', 'ранку', 'дня', 'вечора', 'ночі'], - [ - 'опівночі', 'пополудні', 'ранку', 'дня', 'вечора', - 'ночі' - ], - u - ], - [ - ['північ', 'полудень', 'ранок', 'день', 'вечір', 'ніч'], u, - ['опівніч', 'полудень', 'ранок', 'день', 'вечір', 'ніч'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], - ['00:00', '04:00'] - ] + 'січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', + 'жовтня', 'листопада', 'грудня' ] - ]; + ], + [ + ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + ['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'], + [ + 'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', + 'вересень', 'жовтень', 'листопад', 'грудень' + ] + ], + [['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], ['до нашої ери', 'нашої ери']], + 1, + [6, 0], + ['dd.MM.yy', 'd MMM y \'р\'.', 'd MMMM y \'р\'.', 'EEEE, d MMMM y \'р\'.'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1}, {0}', u, '{1} \'о\' {0}', u], + [',', ' ', ';', '%', '+', '-', 'Е', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UAH', + '₴', + 'українська гривня', + { + 'AUD': [u, '$'], + 'BRL': [u, 'R$'], + 'CAD': [u, '$'], + 'CNY': [u, '¥'], + 'EUR': [u, '€'], + 'GBP': [u, '£'], + 'HKD': [u, '$'], + 'ILS': [u, '₪'], + 'INR': [u, '₹'], + 'KRW': [u, '₩'], + 'MXN': [u, '$'], + 'NZD': [u, '$'], + 'TWD': [u, '$'], + 'UAH': ['₴'], + 'UAK': ['крб.'], + 'USD': [u, '$'], + 'VND': [u, '₫'], + 'XCD': [u, '$'] + }, + 'ltr', + plural, + [ + [ + ['північ', 'п', 'ранку', 'дня', 'вечора', 'ночі'], + ['опівночі', 'пополудні', 'ранку', 'дня', 'вечора', 'ночі'], u + ], + [ + ['північ', 'полудень', 'ранок', 'день', 'вечір', 'ніч'], u, + ['опівніч', 'полудень', 'ранок', 'день', 'вечір', 'ніч'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '24:00'], + ['00:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ur-IN.js b/packages/common/locales/global/ur-IN.js index d6ad633597..3073c2c777 100644 --- a/packages/common/locales/global/ur-IN.js +++ b/packages/common/locales/global/ur-IN.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ur-in'] = [ - 'ur-IN', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ur-in'] = [ + 'ur-IN', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], - u, + u + ], + u, + [['قبل مسیح', 'عیسوی'], u, u], + 0, + [0, 0], + ['d/M/yy', 'd MMM، y', 'd MMMM، y', 'EEEE، d MMMM، y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'INR', + '₹', + 'بھارتی روپیہ', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'rtl', + plural, + [ [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u + ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, + ['آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', 'رات میں'] ], - u, - [['قبل مسیح', 'عیسوی'], u, u], - 0, - [0, 0], - ['d/M/yy', 'd MMM، y', 'd MMMM، y', 'EEEE، d MMMM، y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'INR', - '₹', - 'بھارتی روپیہ', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'rtl', - plural, + [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], [ - [ - ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, - [ - 'آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', - 'رات میں' - ] - ], - [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], - [ - '00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], - ['20:00', '04:00'] - ] + '00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], + ['20:00', '04:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ur.js b/packages/common/locales/global/ur.js index 2e05ce7dcc..c4a1571b5f 100644 --- a/packages/common/locales/global/ur.js +++ b/packages/common/locales/global/ur.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,58 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['ur'] = [ - 'ur', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['ur'] = [ + 'ur', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], - u, + u + ], + u, + [['قبل مسیح', 'عیسوی'], u, u], + 0, + [6, 0], + ['d/M/yy', 'd MMM، y', 'd MMMM، y', 'EEEE، d MMMM، y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'PKR', + 'Rs', + 'پاکستانی روپیہ', + {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, + 'rtl', + plural, + [ [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ], - u + ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, + ['آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', 'رات میں'] ], - u, - [['قبل مسیح', 'عیسوی'], u, u], - 0, - [6, 0], - ['d/M/yy', 'd MMM، y', 'd MMMM، y', 'EEEE، d MMMM، y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'PKR', - 'Rs', - 'پاکستانی روپیہ', - {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'rtl', - plural, + [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], [ - [ - ['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, - [ - 'آدھی رات', 'صبح میں', 'دوپہر میں', 'سہ پہر', 'شام میں', - 'رات میں' - ] - ], - [['آدھی رات', 'صبح', 'دوپہر', 'سہ پہر', 'شام', 'رات'], u, u], - [ - '00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], - ['20:00', '04:00'] - ] + '00:00', ['04:00', '12:00'], ['12:00', '16:00'], ['16:00', '18:00'], ['18:00', '20:00'], + ['20:00', '04:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/uz-Arab.js b/packages/common/locales/global/uz-Arab.js index c091a19a73..bff0b28220 100644 --- a/packages/common/locales/global/uz-Arab.js +++ b/packages/common/locales/global/uz-Arab.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['uz-arab'] = [ - 'uz-Arab', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['uz-arab'] = [ + 'uz-Arab', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], + ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', 'اکت', 'نوم', 'دسم'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], - ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', - 'اکت', 'نوم', 'دسم' - ], - [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' - ] - ], - u, - [['BCE', 'CE'], u, u], - 6, - [4, 5], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'AFN', - '؋', - 'افغانی', - {'AFN': ['؋'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' + ] + ], + u, + [['BCE', 'CE'], u, u], + 6, + [4, 5], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '.', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'AFN', + '؋', + 'افغانی', + {'AFN': ['؋'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/uz-Cyrl.js b/packages/common/locales/global/uz-Cyrl.js index 57cf0689dd..3f52f6e8bf 100644 --- a/packages/common/locales/global/uz-Cyrl.js +++ b/packages/common/locales/global/uz-Cyrl.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,53 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['uz-cyrl'] = [ - 'uz-Cyrl', - [['ТО', 'ТК'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['uz-cyrl'] = [ + 'uz-Cyrl', + [['ТО', 'ТК'], u, u], + u, + [ + ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], + ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'], + ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'] + ], + u, + [ + ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], - ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], - [ - 'якшанба', 'душанба', 'сешанба', 'чоршанба', - 'пайшанба', 'жума', 'шанба' - ], - ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'] - ], - u, - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - [ - 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', - 'окт', 'ноя', 'дек' - ], - [ - 'январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', - 'август', 'сентябр', 'октябр', 'ноябр', 'декабр' - ] - ], - u, - [['м.а.', 'милодий'], u, ['милоддан аввалги', 'милодий']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, dd MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], - ['{1} {0}', u, u, u], - [ - ',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ҳақиқий сон эмас', - ':' - ], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UZS', - 'сўм', - 'Ўзбекистон сўм', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$'], 'UZS': ['сўм']}, - 'ltr', - plural, - [ - [ - [ - 'ярим тун', 'туш пайти', 'эрталаб', 'кундузи', - 'кечқурун', 'кечаси' - ], - u, u - ], - u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + 'январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентябр', 'октябр', + 'ноябр', 'декабр' ] - ]; + ], + u, + [['м.а.', 'милодий'], u, ['милоддан аввалги', 'милодий']], + 1, + [6, 0], + ['dd/MM/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, dd MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ҳақиқий сон эмас', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UZS', + 'сўм', + 'Ўзбекистон сўм', + {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'USD': ['US$', '$'], 'UZS': ['сўм']}, + 'ltr', + plural, + [ + [['ярим тун', 'туш пайти', 'эрталаб', 'кундузи', 'кечқурун', 'кечаси'], u, u], u, + [ + '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], + ['22:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/uz-Latn.js b/packages/common/locales/global/uz-Latn.js index 3d66b9cd30..438dea1ada 100644 --- a/packages/common/locales/global/uz-Latn.js +++ b/packages/common/locales/global/uz-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['uz-latn'] = [ - 'uz-Latn', - [['TO', 'TK'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['uz-latn'] = [ + 'uz-Latn', + [['TO', 'TK'], u, u], + u, + [ + ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'], + ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'] + ], + u, + [ + ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], [ - ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], - ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'], - ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'] - ], - u, - [ - ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', - 'noyabr', 'dekabr' - ] - ], - [ - ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], - [ - 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', - 'Noyabr', 'Dekabr' - ] - ], - [['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], - 1, - [6, 0], - ['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UZS', - 'soʻm', - 'O‘zbekiston so‘mi', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, - 'ltr', - plural, - [ - [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', + 'noyabr', 'dekabr' ] - ]; + ], + [ + ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', + 'Noyabr', 'Dekabr' + ] + ], + [['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], + 1, + [6, 0], + ['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UZS', + 'soʻm', + 'O‘zbekiston so‘mi', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, + 'ltr', + plural, + [ + [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, + [ + '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], + ['22:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/uz.js b/packages/common/locales/global/uz.js index 275707d604..805815785d 100644 --- a/packages/common/locales/global/uz.js +++ b/packages/common/locales/global/uz.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,61 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['uz'] = [ - 'uz', - [['TO', 'TK'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['uz'] = [ + 'uz', + [['TO', 'TK'], u, u], + u, + [ + ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'], + ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'] + ], + u, + [ + ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], [ - ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], - ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'], - ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'] - ], - u, - [ - ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], - [ - 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', - 'noyabr', 'dekabr' - ] - ], - [ - ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], - ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], - [ - 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', - 'Noyabr', 'Dekabr' - ] - ], - [['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], - 1, - [6, 0], - ['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UZS', - 'soʻm', - 'O‘zbekiston so‘mi', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, - 'ltr', - plural, - [ - [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, - [ - '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], - ['22:00', '06:00'] - ] + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', + 'noyabr', 'dekabr' ] - ]; + ], + [ + ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', + 'Noyabr', 'Dekabr' + ] + ], + [['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], + 1, + [6, 0], + ['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], + ['{1}, {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UZS', + 'soʻm', + 'O‘zbekiston so‘mi', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, + 'ltr', + plural, + [ + [['yarim tun', 'tush payti', 'ertalab', 'kunduzi', 'kechqurun', 'kechasi'], u, u], u, + [ + '00:00', '12:00', ['06:00', '11:00'], ['11:00', '18:00'], ['18:00', '22:00'], + ['22:00', '06:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vai-Latn.js b/packages/common/locales/global/vai-Latn.js index c6eb75aa35..e030b48248 100644 --- a/packages/common/locales/global/vai-Latn.js +++ b/packages/common/locales/global/vai-Latn.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,44 +10,46 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['vai-latn'] = [ - 'vai-Latn', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['vai-latn'] = [ + 'vai-Latn', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], u, u + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], u, u + 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', + 'kenpkato ɓololɔ', 'luukao lɔma' ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', - 'kenpkato ɓololɔ', 'luukao lɔma' - ], - u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'LRD', - '$', - 'Laibhiya Dala', - {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'LRD', + '$', + 'Laibhiya Dala', + {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vai-Vaii.js b/packages/common/locales/global/vai-Vaii.js index ae4fd662ea..215a693736 100644 --- a/packages/common/locales/global/vai-Vaii.js +++ b/packages/common/locales/global/vai-Vaii.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,43 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['vai-vaii'] = [ - 'vai-Vaii', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['vai-vaii'] = [ + 'vai-Vaii', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', - 'ꔻꔬꔳ' - ], - u, u - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', - 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ' - ], - [ - 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', - 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', - 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' - ] - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'LRD', - '$', - 'ꕞꔤꔫꕩ ꕜꕞꕌ', - {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', + 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' + ] + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'LRD', + '$', + 'ꕞꔤꔫꕩ ꕜꕞꕌ', + {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vai.js b/packages/common/locales/global/vai.js index e6f3dc9b17..961e5bdad7 100644 --- a/packages/common/locales/global/vai.js +++ b/packages/common/locales/global/vai.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,43 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['vai'] = [ - 'vai', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['vai'] = [ + 'vai', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', - 'ꔻꔬꔳ' - ], - u, u - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', - 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ' - ], - [ - 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', - 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', - 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' - ] - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'LRD', - '$', - 'ꕞꔤꔫꕩ ꕜꕞꕌ', - {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', + 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' + ] + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'LRD', + '$', + 'ꕞꔤꔫꕩ ꕜꕞꕌ', + {'JPY': ['JP¥', '¥'], 'LRD': ['$'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vi.js b/packages/common/locales/global/vi.js index 5a4642ba31..92159720c2 100644 --- a/packages/common/locales/global/vi.js +++ b/packages/common/locales/global/vi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,83 +10,82 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['vi'] = [ - 'vi', - [['s', 'c'], ['SA', 'CH'], u], - [['SA', 'CH'], u, u], +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['vi'] = [ + 'vi', + [['s', 'c'], ['SA', 'CH'], u], + [['SA', 'CH'], u, u], + [ + ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], + ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], + ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], - ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], - [ - 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', - 'Thứ Bảy' - ], - ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', - 'thg 11', 'thg 12' - ], - [ - 'tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', - 'tháng 8', 'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12' - ] + 'thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', + 'thg 11', 'thg 12' ], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', - 'Thg 11', 'Thg 12' - ], - [ - 'Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', - 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12' - ] - ], - [['tr. CN', 'sau CN'], ['Trước CN', 'sau CN'], u], - 1, - [6, 0], - ['dd/MM/y', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{0}, {1}', u, '{0} {1}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'VND', - '₫', - 'Đồng Việt Nam', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['nửa đêm', 'tr', 'sáng', 'chiều', 'tối', 'đêm'], - ['nửa đêm', 'TR', 'sáng', 'chiều', 'tối', 'đêm'], u - ], - [ - ['nửa đêm', 'trưa', 'sáng', 'chiều', 'tối', 'đêm'], - ['nửa đêm', 'TR', 'sáng', 'chiều', 'tối', 'đêm'], - ['nửa đêm', 'trưa', 'sáng', 'chiều', 'tối', 'đêm'] - ], - [ - '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], - ['21:00', '04:00'] - ] + 'tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', 'tháng 8', + 'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12' ] - ]; + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + [ + 'Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', + 'Thg 11', 'Thg 12' + ], + [ + 'Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8', + 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12' + ] + ], + [['tr. CN', 'sau CN'], ['Trước CN', 'sau CN'], u], + 1, + [6, 0], + ['dd/MM/y', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{0}, {1}', u, '{0} {1}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'VND', + '₫', + 'Đồng Việt Nam', + { + 'AUD': ['AU$', '$'], + 'JPY': ['JP¥', '¥'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['nửa đêm', 'tr', 'sáng', 'chiều', 'tối', 'đêm'], + ['nửa đêm', 'TR', 'sáng', 'chiều', 'tối', 'đêm'], u + ], + [ + ['nửa đêm', 'trưa', 'sáng', 'chiều', 'tối', 'đêm'], + ['nửa đêm', 'TR', 'sáng', 'chiều', 'tối', 'đêm'], + ['nửa đêm', 'trưa', 'sáng', 'chiều', 'tối', 'đêm'] + ], + [ + '00:00', '12:00', ['04:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], + ['21:00', '04:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vo.js b/packages/common/locales/global/vo.js index 67d04b9a87..97228d6b67 100644 --- a/packages/common/locales/global/vo.js +++ b/packages/common/locales/global/vo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,40 +10,40 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['vo'] = [ - 'vo', - [['AM', 'PM'], u, u], - u, - [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u - ], - u, - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['vo'] = [ + 'vo', + [['AM', 'PM'], u, u], + u, + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], u, u], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], u + ], + u, + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/vun.js b/packages/common/locales/global/vun.js index c33a46a54b..4ccc31d415 100644 --- a/packages/common/locales/global/vun.js +++ b/packages/common/locales/global/vun.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['vun'] = [ - 'vun', - [['utuko', 'kyiukonyi'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['vun'] = [ + 'vun', + [['utuko', 'kyiukonyi'], u, u], + u, + [ + ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], [ - ['J', 'J', 'J', 'J', 'A', 'I', 'J'], ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], - ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'], - ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', - 'Oktoba', 'Novemba', 'Desemba' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], - 1, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + ], + u, + [['KK', 'BK'], u, ['Kabla ya Kristu', 'Baada ya Kristu']], + 1, + [6, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TZS', + 'TSh', + 'Shilingi ya Tanzania', + {'JPY': ['JP¥', '¥'], 'TZS': ['TSh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/wae.js b/packages/common/locales/global/wae.js index 62f9c53005..0377a80334 100644 --- a/packages/common/locales/global/wae.js +++ b/packages/common/locales/global/wae.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['wae'] = [ - 'wae', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['wae'] = [ + 'wae', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'Z', 'M', 'F', 'F', 'S'], ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], + ['Sunntag', 'Mäntag', 'Zištag', 'Mittwuč', 'Fróntag', 'Fritag', 'Samštag'], + ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'] + ], + u, + [ + ['J', 'H', 'M', 'A', 'M', 'B', 'H', 'Ö', 'H', 'W', 'W', 'C'], + ['Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'Wím', 'Win', 'Chr'], [ - ['S', 'M', 'Z', 'M', 'F', 'F', 'S'], ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], - ['Sunntag', 'Mäntag', 'Zištag', 'Mittwuč', 'Fróntag', 'Fritag', 'Samštag'], - ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'] - ], - u, - [ - ['J', 'H', 'M', 'A', 'M', 'B', 'H', 'Ö', 'H', 'W', 'W', 'C'], - ['Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'Wím', 'Win', 'Chr'], - [ - 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', - 'Herbštmánet', 'Wímánet', 'Wintermánet', 'Chrištmánet' - ] - ], - u, - [['v. Chr.', 'n. Chr'], u, u], - 1, - [6, 0], - ['y-MM-dd', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', '’', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'CHF', - 'CHF', - 'CHF', - {}, - 'ltr', - plural, - [] - ]; + 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', 'Herbštmánet', + 'Wímánet', 'Wintermánet', 'Chrištmánet' + ] + ], + u, + [['v. Chr.', 'n. Chr'], u, u], + 1, + [6, 0], + ['y-MM-dd', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', '’', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'CHF', + 'CHF', + 'CHF', + {}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/wo.js b/packages/common/locales/global/wo.js index 8cec261b21..141b2ac194 100644 --- a/packages/common/locales/global/wo.js +++ b/packages/common/locales/global/wo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,45 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['wo'] = [ - 'wo', - [['Sub', 'Ngo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['wo'] = [ + 'wo', + [['Sub', 'Ngo'], u, u], + u, + [ + ['Dib', 'Alt', 'Tal', 'Àla', 'Alx', 'Àjj', 'Ase'], u, + ['Dibéer', 'Altine', 'Talaata', 'Àlarba', 'Alxamis', 'Àjjuma', 'Aseer'], + ['Dib', 'Alt', 'Tal', 'Àla', 'Alx', 'Àjj', 'Ase'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Sam', 'Few', 'Mar', 'Awr', 'Mee', 'Suw', 'Sul', 'Ut', 'Sàt', 'Okt', 'Now', 'Des'], [ - ['Dib', 'Alt', 'Tal', 'Àla', 'Alx', 'Àjj', 'Ase'], u, - ['Dibéer', 'Altine', 'Talaata', 'Àlarba', 'Alxamis', 'Àjjuma', 'Aseer'], - ['Dib', 'Alt', 'Tal', 'Àla', 'Alx', 'Àjj', 'Ase'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Sam', 'Few', 'Mar', 'Awr', 'Mee', 'Suw', 'Sul', 'Ut', 'Sàt', 'Okt', 'Now', 'Des'], - [ - 'Samwiyee', 'Fewriyee', 'Mars', 'Awril', 'Mee', 'Suwe', 'Sulet', 'Ut', 'Sàttumbar', - 'Oktoobar', 'Nowàmbar', 'Desàmbar' - ] - ], - u, - [['JC', 'AD'], u, ['av. JC', 'AD']], - 1, - [6, 0], - ['dd-MM-y', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} - {0}', u, '{1} \'ci\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'XOF', - 'CFA', - 'Franc CFA bu Afrik Sowwu-jant', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural, - [] - ]; + 'Samwiyee', 'Fewriyee', 'Mars', 'Awril', 'Mee', 'Suwe', 'Sulet', 'Ut', 'Sàttumbar', + 'Oktoobar', 'Nowàmbar', 'Desàmbar' + ] + ], + u, + [['JC', 'AD'], u, ['av. JC', 'AD']], + 1, + [6, 0], + ['dd-MM-y', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMM, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} - {0}', u, '{1} \'ci\' {0}', u], + [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + 'XOF', + 'CFA', + 'Franc CFA bu Afrik Sowwu-jant', + {'JPY': ['JP¥', '¥']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/xh.js b/packages/common/locales/global/xh.js index b33c08d7a3..c745a81ff4 100644 --- a/packages/common/locales/global/xh.js +++ b/packages/common/locales/global/xh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['xh'] = [ - 'xh', - [['AM', 'PM'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['xh'] = [ + 'xh', + [['AM', 'PM'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'], + ['Cawe', 'Mvulo', 'Lwesibini', 'Lwesithathu', 'Lwesine', 'Lwesihlanu', 'Mgqibelo'], + ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Jan', 'Feb', 'Mat', 'Epr', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'], - ['Cawe', 'Mvulo', 'Lwesibini', 'Lwesithathu', 'Lwesine', 'Lwesihlanu', 'Mgqibelo'], - ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['Jan', 'Feb', 'Mat', 'Epr', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], - [ - 'Janyuwari', 'Februwari', 'Matshi', 'Epreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', - 'Septemba', 'Okthoba', 'Novemba', 'Disemba' - ] - ], - u, - [['BC', 'AD'], u, u], - 0, - [6, 0], - ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'iRandi yaseMzanzi Afrika', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, - 'ltr', - plural, - [] - ]; + 'Janyuwari', 'Februwari', 'Matshi', 'Epreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septemba', + 'Okthoba', 'Novemba', 'Disemba' + ] + ], + u, + [['BC', 'AD'], u, u], + 0, + [6, 0], + ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'iRandi yaseMzanzi Afrika', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/xog.js b/packages/common/locales/global/xog.js index e883cca213..8d2af6729d 100644 --- a/packages/common/locales/global/xog.js +++ b/packages/common/locales/global/xog.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,48 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - if (n === 1) return 1; - return 5; - } - global.ng.common.locales['xog'] = [ - 'xog', - [['Munkyo', 'Eigulo'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + if (n === 1) return 1; + return 5; +} +global.ng.common.locales['xog'] = [ + 'xog', + [['Munkyo', 'Eigulo'], u, u], + u, + [ + ['S', 'B', 'B', 'S', 'K', 'K', 'M'], ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], + ['Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga'], + ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'] + ], + u, + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], [ - ['S', 'B', 'B', 'S', 'K', 'K', 'M'], ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], - ['Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga'], - ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], - [ - 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', - 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' - ] - ], - u, - [['AZ', 'AF'], u, ['Kulisto nga azilawo', 'Kulisto nga affile']], - 1, - [0, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UGX', - 'USh', - 'Silingi eya Yuganda', - {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + ], + u, + [['AZ', 'AF'], u, ['Kulisto nga azilawo', 'Kulisto nga affile']], + 1, + [0, 0], + ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UGX', + 'USh', + 'Silingi eya Yuganda', + {'JPY': ['JP¥', '¥'], 'UGX': ['USh'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yav.js b/packages/common/locales/global/yav.js index ce0534be67..d48272b169 100644 --- a/packages/common/locales/global/yav.js +++ b/packages/common/locales/global/yav.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,50 +10,48 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yav'] = [ - 'yav', - [['kiɛmɛ́ɛm', 'kisɛ́ndɛ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yav'] = [ + 'yav', + [['kiɛmɛ́ɛm', 'kisɛ́ndɛ'], u, u], + u, + [ + ['s', 'm', 'm', 'e', 'k', 'f', 's'], ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], + ['sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', 'feléte', 'séselé'], + ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'], [ - ['s', 'm', 'm', 'e', 'k', 'f', 's'], ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], - [ - 'sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', - 'feléte', 'séselé' - ], - ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'], - [ - 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', - 'ɔnsúmbɔl, oóli ú kátátúɛ', 'mesiŋ, oóli ú kénie', - 'ensil, oóli ú kátánuɛ', 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', - 'imɛŋ i putúk,oóli ú kátíɛ', 'makandikɛ', 'pilɔndɔ́' - ] - ], - u, - [['k.Y.', '+J.C.'], u, ['katikupíen Yésuse', 'ékélémkúnupíén n']], - 1, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'XAF', - 'FCFA', - 'XAF', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', 'ɔnsúmbɔl, oóli ú kátátúɛ', + 'mesiŋ, oóli ú kénie', 'ensil, oóli ú kátánuɛ', 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', + 'imɛŋ i putúk,oóli ú kátíɛ', 'makandikɛ', 'pilɔndɔ́' + ] + ], + u, + [['k.Y.', '+J.C.'], u, ['katikupíen Yésuse', 'ékélémkúnupíén n']], + 1, + [6, 0], + ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'XAF', + 'FCFA', + 'XAF', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yi.js b/packages/common/locales/global/yi.js index f0b7880b2e..a44e1f62e6 100644 --- a/packages/common/locales/global/yi.js +++ b/packages/common/locales/global/yi.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,64 +10,55 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; - if (i === 1 && v === 0) return 1; - return 5; - } - global.ng.common.locales['yi'] = [ - 'yi', - [['פֿאַרמיטאָג', 'נאָכמיטאָג'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return 1; + return 5; +} +global.ng.common.locales['yi'] = [ + 'yi', + [['פֿאַרמיטאָג', 'נאָכמיטאָג'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + ['זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', 'דאנערשטיק', 'פֿרײַטיק', 'שבת'], u, u + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', 'דאנערשטיק', - 'פֿרײַטיק', 'שבת' - ], - u, u + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', + 'אקטאבער', 'נאוועמבער', 'דעצעמבער' ], - u, + u + ], + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['יאַנ', 'פֿעב', 'מערץ', 'אַפּר', 'מיי', 'יוני', 'יולי', 'אויג', 'סעפּ', 'אקט', 'נאוו', 'דעצ'], [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', - 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', - 'נאוועמבער', 'דעצעמבער' - ], - u - ], - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'יאַנ', 'פֿעב', 'מערץ', 'אַפּר', 'מיי', 'יוני', 'יולי', - 'אויג', 'סעפּ', 'אקט', 'נאוו', 'דעצ' - ], - [ - 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', - 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', - 'נאוועמבער', 'דעצעמבער' - ] - ], - [['BCE', 'CE'], u, u], - 1, - [6, 0], - ['dd/MM/yy', 'dטן MMM y', 'dטן MMMM y', 'EEEE, dטן MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1}, {0}', '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - u, - u, - u, - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'rtl', - plural, - [] - ]; + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', + 'אקטאבער', 'נאוועמבער', 'דעצעמבער' + ] + ], + [['BCE', 'CE'], u, u], + 1, + [6, 0], + ['dd/MM/yy', 'dטן MMM y', 'dטן MMMM y', 'EEEE, dטן MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', '{1}, {0}', '{1} {0}', u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], + u, + u, + u, + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'rtl', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yo-BJ.js b/packages/common/locales/global/yo-BJ.js index 09cb6be215..b1321738dd 100644 --- a/packages/common/locales/global/yo-BJ.js +++ b/packages/common/locales/global/yo-BJ.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,64 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yo-bj'] = [ - 'yo-BJ', - [['Àárɔ̀', 'Ɔ̀sán'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yo-bj'] = [ + 'yo-BJ', + [['Àárɔ̀', 'Ɔ̀sán'], u, u], + u, + [ + ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], + ['Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta'], + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'] + ], + [ + ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], u + ], + [ + ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], + ['Shɛ́r', 'Èrèl', 'Ɛrɛ̀n', 'Ìgb', 'Ɛ̀bi', 'Òkú', 'Agɛ', 'Ògú', 'Owe', 'Ɔ̀wà', 'Bél', 'Ɔ̀pɛ'], [ - ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], - ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], - [ - 'Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', - 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta' - ], - ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'] - ], + 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', 'Oshù Ɛ̀bibi', 'Oshù Òkúdu', + 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', 'Oshù Ɔ̀wàrà', 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' + ] + ], + [ + ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], + ['Shɛ́', 'Èr', 'Ɛr', 'Ìg', 'Ɛ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ɔ̀w', 'Bé', 'Ɔ̀p'], [ - ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], - ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], - ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], u - ], - [ - ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], - [ - 'Shɛ́r', 'Èrèl', 'Ɛrɛ̀n', 'Ìgb', 'Ɛ̀bi', 'Òkú', 'Agɛ', 'Ògú', 'Owe', - 'Ɔ̀wà', 'Bél', 'Ɔ̀pɛ' - ], - [ - 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', 'Oshù Ɛ̀bibi', - 'Oshù Òkúdu', 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', 'Oshù Ɔ̀wàrà', - 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' - ] - ], - [ - ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], - ['Shɛ́', 'Èr', 'Ɛr', 'Ìg', 'Ɛ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ɔ̀w', 'Bé', 'Ɔ̀p'], - [ - 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', - 'Ògún', 'Owewe', 'Ɔ̀wàrà', 'Bélú', 'Ɔ̀pɛ̀' - ] - ], - [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], - 1, - [6, 0], - ['d/M/y', 'd MM y', 'd MMM y', 'EEEE, d MMM y'], - ['H:m', 'H:m:s', 'H:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'XOF', - 'CFA', - 'Faransi ti Orílɛ́ède BIKEAO', - {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'RUB': ['₽']}, - 'ltr', - plural, - [] - ]; + 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', 'Ògún', 'Owewe', 'Ɔ̀wàrà', + 'Bélú', 'Ɔ̀pɛ̀' + ] + ], + [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], + 1, + [6, 0], + ['d/M/y', 'd MM y', 'd MMM y', 'EEEE, d MMM y'], + ['H:m', 'H:m:s', 'H:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'XOF', + 'CFA', + 'Faransi ti Orílɛ́ède BIKEAO', + {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'RUB': ['₽']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yo.js b/packages/common/locales/global/yo.js index bf10dbdb0b..9f9dbccf85 100644 --- a/packages/common/locales/global/yo.js +++ b/packages/common/locales/global/yo.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,72 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yo'] = [ - 'yo', - [['Àárọ̀', 'Ọ̀sán'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yo'] = [ + 'yo', + [['Àárọ̀', 'Ọ̀sán'], u, u], + u, + [ + ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], + ['Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta'], + ['Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta'] + ], + [ + ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], + ['Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta'], u + ], + [ + ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], + ['Ṣẹ́r', 'Èrèl', 'Ẹrẹ̀n', 'Ìgb', 'Ẹ̀bi', 'Òkú', 'Agẹ', 'Ògú', 'Owe', 'Ọ̀wà', 'Bél', 'Ọ̀pẹ'], [ - ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], - ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], - [ - 'Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', - 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta' - ], - [ - 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta' - ] - ], + 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', + 'Oṣù Ògún', 'Oṣù Owewe', 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' + ] + ], + [ + ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], + ['Ṣẹ́', 'Èr', 'Ẹr', 'Ìg', 'Ẹ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ọ̀w', 'Bé', 'Ọ̀p'], [ - ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], - ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], - [ - 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta' - ], - u - ], - [ - ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], - [ - 'Ṣẹ́r', 'Èrèl', 'Ẹrẹ̀n', 'Ìgb', 'Ẹ̀bi', 'Òkú', 'Agẹ', 'Ògú', 'Owe', - 'Ọ̀wà', 'Bél', 'Ọ̀pẹ' - ], - [ - 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', - 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', 'Oṣù Ògún', 'Oṣù Owewe', - 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' - ] - ], - [ - ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], - [ - 'Ṣẹ́', 'Èr', 'Ẹr', 'Ìg', 'Ẹ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ọ̀w', 'Bé', - 'Ọ̀p' - ], - [ - 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', 'Agẹmọ', - 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', 'Ọ̀pẹ̀' - ] - ], - [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], - 1, - [6, 0], - ['d/M/y', 'd MM y', 'd MMM y', 'EEEE, d MMM y'], - ['H:m', 'H:m:s', 'H:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'NGN', - '₦', - 'Náìrà ti Orílẹ̀-èdè Nàìjíríà', - {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'RUB': ['₽']}, - 'ltr', - plural, - [] - ]; + 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', 'Agẹmọ', 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', + 'Ọ̀pẹ̀' + ] + ], + [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], + 1, + [6, 0], + ['d/M/y', 'd MM y', 'd MMM y', 'EEEE, d MMM y'], + ['H:m', 'H:m:s', 'H:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'NGN', + '₦', + 'Náìrà ti Orílẹ̀-èdè Nàìjíríà', + {'JPY': ['JP¥', '¥'], 'NGN': ['₦'], 'RUB': ['₽']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yue-Hans.js b/packages/common/locales/global/yue-Hans.js index d92a63b3e4..9e39aa6dee 100644 --- a/packages/common/locales/global/yue-Hans.js +++ b/packages/common/locales/global/yue-Hans.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,62 +10,61 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yue-hans'] = [ - 'yue-Hans', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yue-hans'] = [ + 'yue-Hans', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['西元前', '西元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非数值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - '人民币', - { - 'AUD': ['AU$', '$'], - 'CNY': ['¥', '¥'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['午夜', '清晨', '朝早', '中午', '下昼', '夜晚', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['西元前', '西元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非数值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'CNY', + '¥', + '人民币', + { + 'AUD': ['AU$', '$'], + 'CNY': ['¥', '¥'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['午夜', '清晨', '朝早', '中午', '下昼', '夜晚', '凌晨'], u, u], u, + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yue-Hant.js b/packages/common/locales/global/yue-Hant.js index ada7a41c13..27275ddc83 100644 --- a/packages/common/locales/global/yue-Hant.js +++ b/packages/common/locales/global/yue-Hant.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yue-hant'] = [ - 'yue-Hant', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yue-hant'] = [ + 'yue-Hant', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], u, + ['日', '一', '二', '三', '四', '五', '六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['西元前', '西元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], + ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'HKD', + 'HK$', + '港幣', + {'AUD': ['AU$', '$'], 'KRW': ['₩', '₩'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['午夜', '清晨', '朝早', '中午', '下晝', '夜晚', '凌晨'], u, u], u, [ - ['日', '一', '二', '三', '四', '五', '六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - u, ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['西元前', '西元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], - ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - '港幣', - {'AUD': ['AU$', '$'], 'KRW': ['₩', '₩'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [['午夜', '清晨', '朝早', '中午', '下晝', '夜晚', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/yue.js b/packages/common/locales/global/yue.js index 99a450fe4f..85653a263c 100644 --- a/packages/common/locales/global/yue.js +++ b/packages/common/locales/global/yue.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,51 +10,49 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['yue'] = [ - 'yue', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['yue'] = [ + 'yue', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], u, + ['日', '一', '二', '三', '四', '五', '六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['西元前', '西元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], + ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'HKD', + 'HK$', + '港幣', + {'AUD': ['AU$', '$'], 'KRW': ['₩', '₩'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['午夜', '清晨', '朝早', '中午', '下晝', '夜晚', '凌晨'], u, u], u, [ - ['日', '一', '二', '三', '四', '五', '六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - u, ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['西元前', '西元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], - ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - '港幣', - {'AUD': ['AU$', '$'], 'KRW': ['₩', '₩'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [['午夜', '清晨', '朝早', '中午', '下晝', '夜晚', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zgh.js b/packages/common/locales/global/zgh.js index d431e438cf..afab97bcb1 100644 --- a/packages/common/locales/global/zgh.js +++ b/packages/common/locales/global/zgh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,63 +10,47 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zgh'] = [ - 'zgh', - [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zgh'] = [ + 'zgh', + [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], + u, + [ + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] + ], + u, + [ + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] - ], - u, - [ - ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], - [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', - 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', - 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', - 'ⴷⵓⵊⴰⵏⴱⵉⵔ' - ] - ], - u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], - 1, - [6, 0], - ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00¤', '#E0'], - 'MAD', - 'MAD', - 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural, - [] - ]; + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + ], + u, + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], + 1, + [6, 0], + ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0 %', '#,##0.00¤', '#E0'], + 'MAD', + 'MAD', + 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + 'ltr', + plural, + [] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hans-HK.js b/packages/common/locales/global/zh-Hans-HK.js index 5ac2fe792b..db3e1610a2 100644 --- a/packages/common/locales/global/zh-Hans-HK.js +++ b/packages/common/locales/global/zh-Hans-HK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,67 +10,66 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hans-hk'] = [ - 'zh-Hans-HK', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hans-hk'] = [ + 'zh-Hans-HK', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['d/M/yy', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - '港元', - { - 'AUD': ['AU$', '$'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, - ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] - ], - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['d/M/yy', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'HKD', + 'HK$', + '港元', + { + 'AUD': ['AU$', '$'], + 'ILR': ['ILS'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, + ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] + ], + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hans-MO.js b/packages/common/locales/global/zh-Hans-MO.js index 7252f091ad..c3716f4a49 100644 --- a/packages/common/locales/global/zh-Hans-MO.js +++ b/packages/common/locales/global/zh-Hans-MO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hans-mo'] = [ - 'zh-Hans-MO', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hans-mo'] = [ + 'zh-Hans-MO', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['d/M/yy', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MOP', - 'MOP$', - '澳门币', - { - 'AUD': ['AU$', '$'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'MOP': ['MOP$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, - ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] - ], - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['d/M/yy', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MOP', + 'MOP$', + '澳门币', + { + 'AUD': ['AU$', '$'], + 'ILR': ['ILS'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'MOP': ['MOP$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, + ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] + ], + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hans-SG.js b/packages/common/locales/global/zh-Hans-SG.js index fdeecc45eb..91fb96c63e 100644 --- a/packages/common/locales/global/zh-Hans-SG.js +++ b/packages/common/locales/global/zh-Hans-SG.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hans-sg'] = [ - 'zh-Hans-SG', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hans-sg'] = [ + 'zh-Hans-SG', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['dd/MM/yy', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SGD', - '$', - '新加坡元', - { - 'AUD': ['AU$', '$'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'SGD': ['$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, - ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] - ], - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['dd/MM/yy', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'SGD', + '$', + '新加坡元', + { + 'AUD': ['AU$', '$'], + 'ILR': ['ILS'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'SGD': ['$'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, + ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] + ], + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hans.js b/packages/common/locales/global/zh-Hans.js index 8d8f46ac99..ba2fbd9d03 100644 --- a/packages/common/locales/global/zh-Hans.js +++ b/packages/common/locales/global/zh-Hans.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hans'] = [ - 'zh-Hans', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hans'] = [ + 'zh-Hans', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - '人民币', - { - 'AUD': ['AU$', '$'], - 'CNY': ['¥'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, - ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] - ], - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'CNY', + '¥', + '人民币', + { + 'AUD': ['AU$', '$'], + 'CNY': ['¥'], + 'ILR': ['ILS'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, + ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] + ], + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hant-HK.js b/packages/common/locales/global/zh-Hant-HK.js index 728e970fc2..bd4e35ce25 100644 --- a/packages/common/locales/global/zh-Hant-HK.js +++ b/packages/common/locales/global/zh-Hant-HK.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hant-hk'] = [ - 'zh-Hant-HK', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hant-hk'] = [ + 'zh-Hant-HK', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['日', '一', '二', '三', '四', '五', '六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['d/M/y', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'HKD', + 'HK$', + '港元', + {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, [ - ['日', '一', '二', '三', '四', '五', '六'], - ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['d/M/y', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - '港元', - {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hant-MO.js b/packages/common/locales/global/zh-Hant-MO.js index b020eecc2b..d53a112d84 100644 --- a/packages/common/locales/global/zh-Hant-MO.js +++ b/packages/common/locales/global/zh-Hant-MO.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,52 +10,50 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hant-mo'] = [ - 'zh-Hant-MO', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hant-mo'] = [ + 'zh-Hant-MO', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['日', '一', '二', '三', '四', '五', '六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['d/M/y', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'MOP', + 'MOP$', + '澳門元', + {'AUD': ['AU$', '$'], 'MOP': ['MOP$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, + 'ltr', + plural, + [ + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, [ - ['日', '一', '二', '三', '四', '五', '六'], - ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['d/M/y', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MOP', - 'MOP$', - '澳門元', - {'AUD': ['AU$', '$'], 'MOP': ['MOP$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural, - [ - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh-Hant.js b/packages/common/locales/global/zh-Hant.js index 922ed5cdfd..3bd00a2677 100644 --- a/packages/common/locales/global/zh-Hant.js +++ b/packages/common/locales/global/zh-Hant.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,59 +10,57 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh-hant'] = [ - 'zh-Hant', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh-hant'] = [ + 'zh-Hant', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['日', '一', '二', '三', '四', '五', '六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u + ], + u, + [['西元前', '西元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], + ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'TWD', + '$', + '新台幣', + { + 'AUD': ['AU$', '$'], + 'KRW': ['₩', '₩'], + 'RON': [u, 'L'], + 'TWD': ['$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, [ - ['日', '一', '二', '三', '四', '五', '六'], - ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u - ], - u, - [['西元前', '西元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'], - ['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TWD', - '$', - '新台幣', - { - 'AUD': ['AU$', '$'], - 'KRW': ['₩', '₩'], - 'RON': [u, 'L'], - 'TWD': ['$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'], u, u], u, - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] ] - ]; + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zh.js b/packages/common/locales/global/zh.js index d5e867ce76..d9acfb84b2 100644 --- a/packages/common/locales/global/zh.js +++ b/packages/common/locales/global/zh.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,68 +10,67 @@ // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { return 5; } - global.ng.common.locales['zh'] = [ - 'zh', - [['上午', '下午'], u, u], - u, +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + return 5; +} +global.ng.common.locales['zh'] = [ + 'zh', + [['上午', '下午'], u, u], + u, + [ + ['日', '一', '二', '三', '四', '五', '六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] + ], + u, + [ + ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' - ] - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], - ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - '人民币', - { - 'AUD': ['AU$', '$'], - 'CNY': ['¥'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural, - [ - [ - ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, - ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] - ], - [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], - [ - '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], - ['19:00', '24:00'], ['00:00', '05:00'] - ] + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] - ]; + ], + u, + [['公元前', '公元'], u, u], + 0, + [6, 0], + ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'], + ['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'CNY', + '¥', + '人民币', + { + 'AUD': ['AU$', '$'], + 'CNY': ['¥'], + 'ILR': ['ILS'], + 'JPY': ['JP¥', '¥'], + 'KRW': ['₩', '₩'], + 'TWD': ['NT$'], + 'USD': ['US$', '$'], + 'XXX': [] + }, + 'ltr', + plural, + [ + [ + ['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, + ['午夜', '清晨', '上午', '中午', '下午', '晚上', '凌晨'] + ], + [['午夜', '早上', '上午', '中午', '下午', '晚上', '凌晨'], u, u], + [ + '00:00', ['05:00', '08:00'], ['08:00', '12:00'], ['12:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'], ['00:00', '05:00'] + ] + ] +]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/zu.js b/packages/common/locales/global/zu.js index 99afd55abf..4a5253a1cf 100644 --- a/packages/common/locales/global/zu.js +++ b/packages/common/locales/global/zu.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,75 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -( - function(global) { - global.ng = global.ng || {}; - global.ng.common = global.ng.common || {}; - global.ng.common.locales = global.ng.common.locales || {}; - const u = undefined; - function plural(n) { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; - } - global.ng.common.locales['zu'] = ['zu',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['S','M','B','T','S','H','M'],['Son','Mso','Bil','Tha','Sin','Hla','Mgq'],['ISonto','UMsombuluko','ULwesibili','ULwesithathu','ULwesine','ULwesihlanu','UMgqibelo'],['Son','Mso','Bil','Tha','Sin','Hla','Mgq']],u,[['J','F','M','E','M','J','J','A','S','O','N','D'],['Jan','Feb','Mas','Eph','Mey','Jun','Jul','Aga','Sep','Okt','Nov','Dis'],['Januwari','Februwari','Mashi','Ephreli','Meyi','Juni','Julayi','Agasti','Septhemba','Okthoba','Novemba','Disemba']],[['J','F','M','A','M','J','J','A','S','O','N','D'],['Jan','Feb','Mas','Eph','Mey','Jun','Jul','Aga','Sep','Okt','Nov','Dis'],['Januwari','Februwari','Mashi','Ephreli','Meyi','Juni','Julayi','Agasti','Septhemba','Okthoba','Novemba','Disemba']],[['BC','AD'],u,u],0,[6,0],['M/d/yy','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'ZAR','R','i-South African Rand',{'BYN':[u,'P.'],'DKK':[u,'Kr'],'HRK':[u,'Kn'],'ISK':[u,'Kr'],'JPY':['JP¥','¥'],'NOK':[u,'Kr'],'PLN':[u,'Zł'],'SEK':[u,'Kr'],'THB':['฿'],'TWD':['NT$'],'ZAR':['R']},'ltr', plural, [[['entathakusa','ekuseni','emini','ntambama','ebusuku'],u,u],u,[['00:00','06:00'],['06:00','10:00'],['10:00','13:00'],['13:00','19:00'],['19:00','24:00']]]]; - })( - typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || - typeof window !== 'undefined' && window); +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return 1; + return 5; +} +global.ng.common.locales['zu'] = [ + 'zu', + [['a', 'p'], ['AM', 'PM'], u], + [['AM', 'PM'], u, u], + [ + ['S', 'M', 'B', 'T', 'S', 'H', 'M'], ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + ['ISonto', 'UMsombuluko', 'ULwesibili', 'ULwesithathu', 'ULwesine', 'ULwesihlanu', 'UMgqibelo'], + ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'] + ], + u, + [ + ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], + [ + 'Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septhemba', + 'Okthoba', 'Novemba', 'Disemba' + ] + ], + [ + ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + ['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], + [ + 'Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septhemba', + 'Okthoba', 'Novemba', 'Disemba' + ] + ], + [['BC', 'AD'], u, u], + 0, + [6, 0], + ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], + ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], + ['{1} {0}', u, u, u], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], + 'ZAR', + 'R', + 'i-South African Rand', + { + 'BYN': [u, 'P.'], + 'DKK': [u, 'Kr'], + 'HRK': [u, 'Kn'], + 'ISK': [u, 'Kr'], + 'JPY': ['JP¥', '¥'], + 'NOK': [u, 'Kr'], + 'PLN': [u, 'Zł'], + 'SEK': [u, 'Kr'], + 'THB': ['฿'], + 'TWD': ['NT$'], + 'ZAR': ['R'] + }, + 'ltr', + plural, + [ + [['entathakusa', 'ekuseni', 'emini', 'ntambama', 'ebusuku'], u, u], u, + [ + ['00:00', '06:00'], ['06:00', '10:00'], ['10:00', '13:00'], ['13:00', '19:00'], + ['19:00', '24:00'] + ] + ] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/gsw-FR.ts b/packages/common/locales/gsw-FR.ts index 073bf70b20..4f5195e004 100644 --- a/packages/common/locales/gsw-FR.ts +++ b/packages/common/locales/gsw-FR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/gsw-LI.ts b/packages/common/locales/gsw-LI.ts index c4b8394808..3113f85796 100644 --- a/packages/common/locales/gsw-LI.ts +++ b/packages/common/locales/gsw-LI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/gsw.ts b/packages/common/locales/gsw.ts index f512bd6e22..6f010ad236 100644 --- a/packages/common/locales/gsw.ts +++ b/packages/common/locales/gsw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/gu.ts b/packages/common/locales/gu.ts index ef0bb793bc..2aa2dad212 100644 --- a/packages/common/locales/gu.ts +++ b/packages/common/locales/gu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,40 +22,21 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], - [ - 'રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', - 'શનિ' - ], - [ - 'રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', - 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર' - ], + ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'], + ['રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર'], ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'] ], u, [ + ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', 'ન', 'ડિ'], + ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઑક્ટો', 'નવે', 'ડિસે'], [ - 'જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', 'ન', - 'ડિ' - ], - [ - 'જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', - 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઑક્ટો', - 'નવે', 'ડિસે' - ], - [ - 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', - 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', - 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', + 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', 'ડિસેમ્બર' ] ], u, - [ - ['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], - ['ઈસવીસન પૂર્વે', 'ઇસવીસન'] - ], + [['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], ['ઈસવીસન પૂર્વે', 'ઇસવીસન']], 0, [0, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], @@ -66,13 +47,7 @@ export default [ 'INR', '₹', 'ભારતીય રૂપિયા', - { - 'JPY': ['JP¥', '¥'], - 'MUR': [u, 'રૂ.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, + {'JPY': ['JP¥', '¥'], 'MUR': [u, 'રૂ.'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, 'ltr', plural ]; diff --git a/packages/common/locales/guz.ts b/packages/common/locales/guz.ts index 183276f28c..c42a3dc61d 100644 --- a/packages/common/locales/guz.ts +++ b/packages/common/locales/guz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/gv.ts b/packages/common/locales/gv.ts index 9de833c01a..078565302e 100644 --- a/packages/common/locales/gv.ts +++ b/packages/common/locales/gv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ha-GH.ts b/packages/common/locales/ha-GH.ts index 45e062c9d1..e072f6b6cd 100644 --- a/packages/common/locales/ha-GH.ts +++ b/packages/common/locales/ha-GH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ha-NE.ts b/packages/common/locales/ha-NE.ts index 599731a83b..0f87b4dd23 100644 --- a/packages/common/locales/ha-NE.ts +++ b/packages/common/locales/ha-NE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ha.ts b/packages/common/locales/ha.ts index 32816bd477..fe727f28c7 100644 --- a/packages/common/locales/ha.ts +++ b/packages/common/locales/ha.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/haw.ts b/packages/common/locales/haw.ts index 08c68bbe6e..2eca76671f 100644 --- a/packages/common/locales/haw.ts +++ b/packages/common/locales/haw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'], [ - 'Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', - 'Kek.' - ], - [ - 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', - 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa' + 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', + 'ʻOkakopa', 'Nowemapa', 'Kekemapa' ] ], u, diff --git a/packages/common/locales/he.ts b/packages/common/locales/he.ts index 60521a76dd..242e0183af 100644 --- a/packages/common/locales/he.ts +++ b/packages/common/locales/he.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,26 +25,17 @@ export default [ [['לפנה״צ', 'אחה״צ'], ['AM', 'PM'], u], [ ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], - [ - 'יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', - 'שבת' - ], - [ - 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', - 'יום חמישי', 'יום שישי', 'יום שבת' - ], + ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'], + ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'], ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], [ - 'ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', - 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳' - ], - [ - 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', - 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', + 'נובמבר', 'דצמבר' ] ], u, @@ -59,13 +50,7 @@ export default [ 'ILS', '₪', 'שקל חדש', - { - 'BYN': [u, 'р'], - 'CNY': ['\u200eCN¥\u200e', '¥'], - 'ILP': ['ל״י'], - 'THB': ['฿'], - 'TWD': ['NT$'] - }, + {'BYN': [u, 'р'], 'CNY': ['\u200eCN¥\u200e', '¥'], 'ILP': ['ל״י'], 'THB': ['฿'], 'TWD': ['NT$']}, 'rtl', plural ]; diff --git a/packages/common/locales/hi.ts b/packages/common/locales/hi.ts index 13df15aa16..2c7726821d 100644 --- a/packages/common/locales/hi.ts +++ b/packages/common/locales/hi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,38 +22,21 @@ export default [ [['am', 'pm'], u, u], u, [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], - [ - 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', - 'शनि' - ], - [ - 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', - 'गुरुवार', 'शुक्रवार', 'शनिवार' - ], + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] ], u, [ + ['ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', 'दि'], + ['जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', 'दिस॰'], [ - 'ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', - 'दि' - ], - [ - 'जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', - 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', 'दिस॰' - ], - [ - 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', - 'जून', 'जुलाई', 'अगस्त', 'सितंबर', - 'अक्तूबर', 'नवंबर', 'दिसंबर' + 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्तूबर', 'नवंबर', + 'दिसंबर' ] ], u, - [ - ['ईसा-पूर्व', 'ईस्वी'], u, - ['ईसा-पूर्व', 'ईसवी सन'] - ], + [['ईसा-पूर्व', 'ईस्वी'], u, ['ईसा-पूर्व', 'ईसवी सन']], 0, [0, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], diff --git a/packages/common/locales/hr-BA.ts b/packages/common/locales/hr-BA.ts index b414384d2f..8e83488cb3 100644 --- a/packages/common/locales/hr-BA.ts +++ b/packages/common/locales/hr-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -45,8 +45,8 @@ export default [ ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], [ - 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', - 'rujan', 'listopad', 'studeni', 'prosinac' + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', + 'listopad', 'studeni', 'prosinac' ] ], [['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], diff --git a/packages/common/locales/hr.ts b/packages/common/locales/hr.ts index edbbd45f6f..590e7e3083 100644 --- a/packages/common/locales/hr.ts +++ b/packages/common/locales/hr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -49,8 +49,8 @@ export default [ ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], [ - 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', - 'rujan', 'listopad', 'studeni', 'prosinac' + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', + 'listopad', 'studeni', 'prosinac' ] ], [['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], diff --git a/packages/common/locales/hsb.ts b/packages/common/locales/hsb.ts index 2aa6513715..12a8e3472c 100644 --- a/packages/common/locales/hsb.ts +++ b/packages/common/locales/hsb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,8 +35,7 @@ export default [ [ ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], [ - 'jan.', 'feb.', 'měr.', 'apr.', 'mej.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', - 'dec.' + 'jan.', 'feb.', 'měr.', 'apr.', 'mej.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', 'dec.' ], [ 'januara', 'februara', 'měrca', 'apryla', 'meje', 'junija', 'julija', 'awgusta', 'septembra', diff --git a/packages/common/locales/hu.ts b/packages/common/locales/hu.ts index d3729257f6..c928382fb4 100644 --- a/packages/common/locales/hu.ts +++ b/packages/common/locales/hu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ [ ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], [ - 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', - 'nov.', 'dec.' + 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', + 'dec.' ], [ 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', diff --git a/packages/common/locales/hy.ts b/packages/common/locales/hy.ts index 09493b839a..e29c2badfa 100644 --- a/packages/common/locales/hy.ts +++ b/packages/common/locales/hy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,37 +22,25 @@ export default [ [['ա', 'հ'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], - ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], - [ - 'կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', - 'հինգշաբթի', 'ուրբաթ', 'շաբաթ' - ], + ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], + ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'], ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'] ], u, [ ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], [ - 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', - 'հոկ', 'նոյ', 'դեկ' - ], - [ - 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', - 'հունիսի', 'հուլիսի', 'օգոստոսի', 'սեպտեմբերի', - 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' + 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', 'հունիսի', 'հուլիսի', 'օգոստոսի', + 'սեպտեմբերի', 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' ] ], [ ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], [ - 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', - 'հոկ', 'նոյ', 'դեկ' - ], - [ - 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', - 'հուլիս', 'օգոստոս', 'սեպտեմբեր', 'հոկտեմբեր', - 'նոյեմբեր', 'դեկտեմբեր' + 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', + 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր' ] ], [['մ.թ.ա.', 'մ.թ.'], u, ['Քրիստոսից առաջ', 'Քրիստոսից հետո']], diff --git a/packages/common/locales/ia.ts b/packages/common/locales/ia.ts index d174f24f08..e30dda5fa1 100644 --- a/packages/common/locales/ia.ts +++ b/packages/common/locales/ia.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/id.ts b/packages/common/locales/id.ts index 2145005331..8ba733a9f1 100644 --- a/packages/common/locales/id.ts +++ b/packages/common/locales/id.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ig.ts b/packages/common/locales/ig.ts index 00e160dcdd..fd1cb255ca 100644 --- a/packages/common/locales/ig.ts +++ b/packages/common/locales/ig.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,7 @@ export default [ [['A.M.', 'P.M.'], u, ['N’ụtụtụ', 'N’abali']], [['A.M.', 'P.M.'], u, u], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], ['Sọndee', 'Mọnde', 'Tiuzdee', 'Wenezdee', 'Tọọzdee', 'Fraịdee', 'Satọdee'], ['Sọn', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'] ], @@ -30,8 +29,8 @@ export default [ ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'Ọ', 'S', 'Ọ', 'N', 'D'], ['Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgọ', 'Sep', 'Ọkt', 'Nov', 'Dis'], [ - 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Epreel', 'Mee', 'Juun', 'Julaị', - 'Ọgọọst', 'Septemba', 'Ọktoba', 'Novemba', 'Disemba' + 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Epreel', 'Mee', 'Juun', 'Julaị', 'Ọgọọst', 'Septemba', + 'Ọktoba', 'Novemba', 'Disemba' ] ], u, diff --git a/packages/common/locales/ii.ts b/packages/common/locales/ii.ts index eb276bbcc7..67957457bc 100644 --- a/packages/common/locales/ii.ts +++ b/packages/common/locales/ii.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', - 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', 'ꊰꆪ', 'ꊰꊪꆪ', + 'ꊰꑋꆪ' ], u ], diff --git a/packages/common/locales/is.ts b/packages/common/locales/is.ts index d77dca53bb..aedaa79ef9 100644 --- a/packages/common/locales/is.ts +++ b/packages/common/locales/is.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,7 @@ export default [ [['f.', 'e.'], ['f.h.', 'e.h.'], u], [['f.h.', 'e.h.'], u, u], [ - ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], - ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], + ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], [ 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur' @@ -34,13 +33,10 @@ export default [ u, [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'], + ['jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', 'nóv.', 'des.'], [ - 'jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', 'nóv.', - 'des.' - ], - [ - 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', - 'október', 'nóvember', 'desember' + 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', + 'nóvember', 'desember' ] ], u, diff --git a/packages/common/locales/it-CH.ts b/packages/common/locales/it-CH.ts index b29e4d86c2..2841d9719b 100644 --- a/packages/common/locales/it-CH.ts +++ b/packages/common/locales/it-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/it-SM.ts b/packages/common/locales/it-SM.ts index 0b7fd1e569..17475957ee 100644 --- a/packages/common/locales/it-SM.ts +++ b/packages/common/locales/it-SM.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/it-VA.ts b/packages/common/locales/it-VA.ts index a65630c993..b089567335 100644 --- a/packages/common/locales/it-VA.ts +++ b/packages/common/locales/it-VA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/it.ts b/packages/common/locales/it.ts index 8be39e9b1f..ee8931d481 100644 --- a/packages/common/locales/it.ts +++ b/packages/common/locales/it.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ja.ts b/packages/common/locales/ja.ts index aa10662ce5..1b1b4f56a8 100644 --- a/packages/common/locales/ja.ts +++ b/packages/common/locales/ja.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,11 +27,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['BC', 'AD'], ['紀元前', '西暦'], u], diff --git a/packages/common/locales/jgo.ts b/packages/common/locales/jgo.ts index 7a42f32f3d..741f98b863 100644 --- a/packages/common/locales/jgo.ts +++ b/packages/common/locales/jgo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,19 +22,14 @@ export default [ u, [ ['Sɔ́', 'Mɔ́', 'ÁM', 'Wɛ́', 'Tɔ́', 'Fɛ', 'Sá'], - [ - 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', - 'Sásidɛ' - ], - u, u + ['Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', 'Sásidɛ'], u, u ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', - 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', - 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', + 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', 'Pɛsaŋ Ntsɔ̌ppá' ], u @@ -42,10 +37,7 @@ export default [ u, [ ['BCE', 'CE'], u, - [ - 'tsɛttsɛt mɛŋguꞌ mi ɛ́ lɛɛnɛ Kɛlísɛtɔ gɔ ńɔ́', - 'tsɛttsɛt mɛŋguꞌ mi ɛ́ fúnɛ Kɛlísɛtɔ tɔ́ mɔ́' - ] + ['tsɛttsɛt mɛŋguꞌ mi ɛ́ lɛɛnɛ Kɛlísɛtɔ gɔ ńɔ́', 'tsɛttsɛt mɛŋguꞌ mi ɛ́ fúnɛ Kɛlísɛtɔ tɔ́ mɔ́'] ], 1, [6, 0], diff --git a/packages/common/locales/jmc.ts b/packages/common/locales/jmc.ts index 285485f644..2f4654df6b 100644 --- a/packages/common/locales/jmc.ts +++ b/packages/common/locales/jmc.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/jv.ts b/packages/common/locales/jv.ts index 32176e1320..5125d52a90 100644 --- a/packages/common/locales/jv.ts +++ b/packages/common/locales/jv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ka.ts b/packages/common/locales/ka.ts index 1bd34b8e0c..59d739156c 100644 --- a/packages/common/locales/ka.ts +++ b/packages/common/locales/ka.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,46 +21,27 @@ export default [ [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], - ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], - [ - 'კვირა', 'ორშაბათი', 'სამშაბათი', - 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', - 'შაბათი' - ], + ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'], ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'] ], u, [ ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], + ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'], [ - 'იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', - 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ' - ], - [ - 'იანვარი', 'თებერვალი', 'მარტი', - 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', - 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', - 'ნოემბერი', 'დეკემბერი' + 'იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', + 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი' ] ], u, - [ - ['ძვ. წ.', 'ახ. წ.'], u, - [ - 'ძველი წელთაღრიცხვით', - 'ახალი წელთაღრიცხვით' - ] - ], + [['ძვ. წ.', 'ახ. წ.'], u, ['ძველი წელთაღრიცხვით', 'ახალი წელთაღრიცხვით']], 1, [6, 0], ['dd.MM.yy', 'd MMM. y', 'd MMMM, y', 'EEEE, dd MMMM, y'], ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u], - [ - ',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'არ არის რიცხვი', ':' - ], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'არ არის რიცხვი', ':'], ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'GEL', '₾', diff --git a/packages/common/locales/kab.ts b/packages/common/locales/kab.ts index 354112d09a..f85c6296c2 100644 --- a/packages/common/locales/kab.ts +++ b/packages/common/locales/kab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/kam.ts b/packages/common/locales/kam.ts index fdedd6cb50..50277106fa 100644 --- a/packages/common/locales/kam.ts +++ b/packages/common/locales/kam.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['Y', 'W', 'E', 'A', 'A', 'A', 'A'], ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], - [ - 'Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', - 'Wa thanthatũ' - ], + ['Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', 'Wa thanthatũ'], ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'] ], u, diff --git a/packages/common/locales/kde.ts b/packages/common/locales/kde.ts index 57dd2026a6..a8d508bb0c 100644 --- a/packages/common/locales/kde.ts +++ b/packages/common/locales/kde.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/kea.ts b/packages/common/locales/kea.ts index 141064b907..46e52a5860 100644 --- a/packages/common/locales/kea.ts +++ b/packages/common/locales/kea.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/khq.ts b/packages/common/locales/khq.ts index 01f67a9fbf..d00461f677 100644 --- a/packages/common/locales/khq.ts +++ b/packages/common/locales/khq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ki.ts b/packages/common/locales/ki.ts index a8802db514..ae9df92e94 100644 --- a/packages/common/locales/ki.ts +++ b/packages/common/locales/ki.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/kk.ts b/packages/common/locales/kk.ts index 04a999279b..f49b557864 100644 --- a/packages/common/locales/kk.ts +++ b/packages/common/locales/kk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,43 +21,32 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], - ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], - [ - 'жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', - 'бейсенбі', 'жұма', 'сенбі' - ], + ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'], ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'] ], u, [ ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', - 'қыр.', 'қаз.', 'қар.', 'жел.' + 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' ], [ - 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', - 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', - 'желтоқсан' + 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', + 'қазан', 'қараша', 'желтоқсан' ] ], [ ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', - 'қыр.', 'қаз.', 'қар.', 'жел.' + 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' ], [ - 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', - 'Шілде', 'Тамыз', 'Қыркүйек', 'Қазан', 'Қараша', - 'Желтоқсан' + 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', 'Шілде', 'Тамыз', 'Қыркүйек', + 'Қазан', 'Қараша', 'Желтоқсан' ] ], - [ - ['б.з.д.', 'б.з.'], u, - ['Біздің заманымызға дейін', 'біздің заманымыз'] - ], + [['б.з.д.', 'б.з.'], u, ['Біздің заманымызға дейін', 'біздің заманымыз']], 1, [6, 0], ['dd.MM.yy', 'y \'ж\'. dd MMM', 'y \'ж\'. d MMMM', 'y \'ж\'. d MMMM, EEEE'], diff --git a/packages/common/locales/kkj.ts b/packages/common/locales/kkj.ts index 3f7a01992e..5c6021df92 100644 --- a/packages/common/locales/kkj.ts +++ b/packages/common/locales/kkj.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -32,8 +32,8 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', - 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', 'Nyaŋgwɛ ŋgbanja', + 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' ], u ], diff --git a/packages/common/locales/kl.ts b/packages/common/locales/kl.ts index 44d6a2529b..03d5a07805 100644 --- a/packages/common/locales/kl.ts +++ b/packages/common/locales/kl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/kln.ts b/packages/common/locales/kln.ts index 4f43e5044b..61c43777a2 100644 --- a/packages/common/locales/kln.ts +++ b/packages/common/locales/kln.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['M', 'N', 'T', 'I', 'M', 'P', 'N', 'R', 'B', 'E', 'K', 'K'], ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'], [ - 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', - 'Rooptui', 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' + 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', 'Rooptui', + 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' ] ], u, diff --git a/packages/common/locales/km.ts b/packages/common/locales/km.ts index 580b59db47..f29ebc53e8 100644 --- a/packages/common/locales/km.ts +++ b/packages/common/locales/km.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,43 +20,19 @@ export default [ [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], - [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', - 'សុក្រ', 'សៅរ៍' - ], - [ - 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', - 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' - ], - ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] + ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], + ['អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] ], [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], - [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', - 'សុក្រ', 'សៅរ៍' - ], - [ - 'អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', - 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' - ], - ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] + ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], + ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] ], [ ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], - [ - 'មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', - 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', - 'វិច្ឆិកា', 'ធ្នូ' - ], - u + ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], u ], u, - [ - ['មុន គ.ស.', 'គ.ស.'], u, - ['មុន​គ្រិស្តសករាជ', 'គ្រិស្តសករាជ'] - ], + [['មុន គ.ស.', 'គ.ស.'], u, ['មុន​គ្រិស្តសករាជ', 'គ្រិស្តសករាជ']], 0, [6, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], diff --git a/packages/common/locales/kn.ts b/packages/common/locales/kn.ts index 6d4e137ce6..38181b8f1a 100644 --- a/packages/common/locales/kn.ts +++ b/packages/common/locales/kn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,59 +22,28 @@ export default [ [['ಪೂ', 'ಅ'], ['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u], [['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u, u], [ - ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], - [ - 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', - 'ಶನಿ' - ], - [ - 'ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', - 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ' - ], - [ - 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', - 'ಶನಿ' - ] + ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'], + ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'] ], u, [ + ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], [ - 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', - 'ಡಿ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', - 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', - 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', - 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', - 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', 'ಡಿಸೆಂಬರ್' ] ], [ + ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], [ - 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', - 'ಡಿ' - ], - [ - 'ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', - 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', - 'ನವೆಂ', 'ಡಿಸೆಂ' - ], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', - 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', - 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', 'ಡಿಸೆಂಬರ್' ] ], - [ - ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, - ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] - ], + [['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ']], 0, [0, 0], ['d/M/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], diff --git a/packages/common/locales/ko-KP.ts b/packages/common/locales/ko-KP.ts index a1a8dafe41..fd573178dd 100644 --- a/packages/common/locales/ko-KP.ts +++ b/packages/common/locales/ko-KP.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,13 +25,7 @@ export default [ ['일', '월', '화', '수', '목', '금', '토'] ], u, - [ - [ - '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', - '12월' - ], - u, u - ], + [['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u], u, [['BC', 'AD'], u, ['기원전', '서기']], 1, @@ -44,13 +38,7 @@ export default [ 'KPW', 'KPW', '조선 민주주의 인민 공화국 원', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, + {'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, 'ltr', plural ]; diff --git a/packages/common/locales/ko.ts b/packages/common/locales/ko.ts index c357bff853..9d60d1eefa 100644 --- a/packages/common/locales/ko.ts +++ b/packages/common/locales/ko.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,13 +25,7 @@ export default [ ['일', '월', '화', '수', '목', '금', '토'] ], u, - [ - [ - '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', - '12월' - ], - u, u - ], + [['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u], u, [['BC', 'AD'], u, ['기원전', '서기']], 0, @@ -44,13 +38,7 @@ export default [ 'KRW', '₩', '대한민국 원', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, + {'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, 'ltr', plural ]; diff --git a/packages/common/locales/kok.ts b/packages/common/locales/kok.ts index 2208f33385..b42a876e9b 100644 --- a/packages/common/locales/kok.ts +++ b/packages/common/locales/kok.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,24 +21,15 @@ export default [ [['AM', 'PM'], u, u], [ ['आ', 'सो', 'मं', 'बु', 'गु', 'शु', 'शे'], - [ - 'आयतार', 'सोमार', 'मंगळार', 'बुधवार', - 'गुरुवार', 'शुक्रार', 'शेनवार' - ], - u, - [ - 'आय', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', - 'शेन' - ] + ['आयतार', 'सोमार', 'मंगळार', 'बुधवार', 'गुरुवार', 'शुक्रार', 'शेनवार'], u, + ['आय', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शेन'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'जानेवारी', 'फेब्रुवारी', 'मार्च', - 'एप्रिल', 'मे', 'जून', 'जुलाय', 'आगोस्त', - 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', - 'डिसेंबर' + 'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलाय', 'आगोस्त', 'सप्टेंबर', 'ऑक्टोबर', + 'नोव्हेंबर', 'डिसेंबर' ], u ], diff --git a/packages/common/locales/ks.ts b/packages/common/locales/ks.ts index 467da984eb..867f4db664 100644 --- a/packages/common/locales/ks.ts +++ b/packages/common/locales/ks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,25 +22,16 @@ export default [ u, [ ['ا', 'ژ', 'ب', 'ب', 'ب', 'ج', 'ب'], - [ - 'آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ], - [ - 'اَتھوار', 'ژٔندرٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ], - [ - 'آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', - 'جُمہ', 'بٹوار' - ] + ['آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'], + ['اَتھوار', 'ژٔندرٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'], + ['آتھوار', 'ژٔندٕروار', 'بۆموار', 'بودوار', 'برؠسوار', 'جُمہ', 'بٹوار'] ], u, [ ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'س', 'ا', 'ن'], [ - 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', - 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', + 'دسمبر' ], u ], diff --git a/packages/common/locales/ksb.ts b/packages/common/locales/ksb.ts index e141ac45e6..97602c9bb2 100644 --- a/packages/common/locales/ksb.ts +++ b/packages/common/locales/ksb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ksf.ts b/packages/common/locales/ksf.ts index 9ab774fa40..8754c43841 100644 --- a/packages/common/locales/ksf.ts +++ b/packages/common/locales/ksf.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,9 +29,8 @@ export default [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'], [ - 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', - 'ŋwíí akǝ táan', 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', - 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', + 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', 'ŋwíí akǝ táan', + 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', 'ŋwíí akǝ ntɛk di bɔ́k', 'ŋwíí akǝ ntɛk di bɛ́ɛ' ] ], diff --git a/packages/common/locales/ksh.ts b/packages/common/locales/ksh.ts index b55eccbe0f..14b0fcc00e 100644 --- a/packages/common/locales/ksh.ts +++ b/packages/common/locales/ksh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -37,10 +37,7 @@ export default [ ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', - 'Dez.' - ], + ['Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', 'Dez.'], [ 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', 'Oktohber', 'Novämber', 'Dezämber' diff --git a/packages/common/locales/ku.ts b/packages/common/locales/ku.ts index 5fe17560a0..b55dd80d03 100644 --- a/packages/common/locales/ku.ts +++ b/packages/common/locales/ku.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,16 +30,16 @@ export default [ ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], [ - 'rêbendanê', 'reşemiyê', 'adarê', 'avrêlê', 'gulanê', 'pûşperê', 'tîrmehê', - 'gelawêjê', 'rezberê', 'kewçêrê', 'sermawezê', 'berfanbarê' + 'rêbendanê', 'reşemiyê', 'adarê', 'avrêlê', 'gulanê', 'pûşperê', 'tîrmehê', 'gelawêjê', + 'rezberê', 'kewçêrê', 'sermawezê', 'berfanbarê' ] ], [ ['R', 'R', 'A', 'A', 'G', 'P', 'T', 'G', 'R', 'K', 'S', 'B'], ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'], [ - 'rêbendan', 'reşemî', 'adar', 'avrêl', 'gulan', 'pûşper', 'tîrmeh', 'gelawêj', - 'rezber', 'kewçêr', 'sermawez', 'berfanbar' + 'rêbendan', 'reşemî', 'adar', 'avrêl', 'gulan', 'pûşper', 'tîrmeh', 'gelawêj', 'rezber', + 'kewçêr', 'sermawez', 'berfanbar' ] ], [['BZ', 'PZ'], u, ['berî zayînê', 'piştî zayînê']], diff --git a/packages/common/locales/kw.ts b/packages/common/locales/kw.ts index 3fb0df8b60..25ac320193 100644 --- a/packages/common/locales/kw.ts +++ b/packages/common/locales/kw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ky.ts b/packages/common/locales/ky.ts index fffc310100..40f4f7a071 100644 --- a/packages/common/locales/ky.ts +++ b/packages/common/locales/ky.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,41 +23,27 @@ export default [ [ ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], - [ - 'жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', - 'бейшемби', 'жума', 'ишемби' - ], + ['жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', 'бейшемби', 'жума', 'ишемби'], ['жш.', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.'] ], u, [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.'], [ - 'янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' - ], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], [ - 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', - 'Окт', 'Ноя', 'Дек' - ], - [ - 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' + 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', + 'Ноябрь', 'Декабрь' ] ], - [ - ['б.з.ч.', 'б.з.'], u, - ['биздин заманга чейин', 'биздин заман'] - ], + [['б.з.ч.', 'б.з.'], u, ['биздин заманга чейин', 'биздин заман']], 1, [6, 0], ['d/M/yy', 'y-\'ж\'., d-MMM', 'y-\'ж\'., d-MMMM', 'y-\'ж\'., d-MMMM, EEEE'], diff --git a/packages/common/locales/lag.ts b/packages/common/locales/lag.ts index 571c781d0c..afa6977761 100644 --- a/packages/common/locales/lag.ts +++ b/packages/common/locales/lag.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,7 @@ export default [ [['TOO', 'MUU'], u, u], u, [ - ['P', 'T', 'E', 'O', 'A', 'I', 'M'], - ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + ['P', 'T', 'E', 'O', 'A', 'I', 'M'], ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], ['Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi'], ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'] ], @@ -32,12 +31,12 @@ export default [ [ ['F', 'N', 'K', 'I', 'I', 'I', 'M', 'V', 'S', 'I', 'S', 'S'], [ - 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', 'Vɨɨrɨ', - 'Saatʉ', 'Inyi', 'Saano', 'Sasatʉ' + 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', 'Vɨɨrɨ', 'Saatʉ', + 'Inyi', 'Saano', 'Sasatʉ' ], [ - 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', - 'Kʉmʉʉnchɨ', 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' + 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', 'Kʉmʉʉnchɨ', + 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' ] ], u, diff --git a/packages/common/locales/lb.ts b/packages/common/locales/lb.ts index 7048c9a10a..da677ee74d 100644 --- a/packages/common/locales/lb.ts +++ b/packages/common/locales/lb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,8 +21,7 @@ export default [ [['mo.', 'nomë.'], ['moies', 'nomëttes'], u], [['moies', 'nomëttes'], u, u], [ - ['S', 'M', 'D', 'M', 'D', 'F', 'S'], - ['Son.', 'Méi.', 'Dën.', 'Mët.', 'Don.', 'Fre.', 'Sam.'], + ['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Son.', 'Méi.', 'Dën.', 'Mët.', 'Don.', 'Fre.', 'Sam.'], ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'] ], @@ -33,9 +32,7 @@ export default [ ], [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'Jan.', 'Feb.', 'Mäe.', 'Abr.', 'Mee', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.' - ], + ['Jan.', 'Feb.', 'Mäe.', 'Abr.', 'Mee', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], [ 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' diff --git a/packages/common/locales/lg.ts b/packages/common/locales/lg.ts index ecaac910cc..321c64f72b 100644 --- a/packages/common/locales/lg.ts +++ b/packages/common/locales/lg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/lkt.ts b/packages/common/locales/lkt.ts index 1689506841..3bd7d3106b 100644 --- a/packages/common/locales/lkt.ts +++ b/packages/common/locales/lkt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,25 +22,25 @@ export default [ [ ['A', 'W', 'N', 'Y', 'T', 'Z', 'O'], [ - 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', - 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', 'Aŋpétuzaptaŋ', + 'Owáŋgyužažapi' ], u, u ], [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], [ - 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', - 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', 'Aŋpétuzaptaŋ', + 'Owáŋgyužažapi' ], u, u ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', - 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', 'Wasútȟuŋ Wí', - 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', 'Tȟahékapšuŋ Wí' + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', 'Čhaŋwápetȟo Wí', + 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', + 'Waníyetu Wí', 'Tȟahékapšuŋ Wí' ], u ], diff --git a/packages/common/locales/ln-AO.ts b/packages/common/locales/ln-AO.ts index 2d3def6b08..a32a7166dd 100644 --- a/packages/common/locales/ln-AO.ts +++ b/packages/common/locales/ln-AO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,8 @@ export default [ [ ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] ], @@ -33,10 +33,9 @@ export default [ ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' ] ], u, diff --git a/packages/common/locales/ln-CF.ts b/packages/common/locales/ln-CF.ts index 56e5c8f305..e2ea004d75 100644 --- a/packages/common/locales/ln-CF.ts +++ b/packages/common/locales/ln-CF.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,8 @@ export default [ [ ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] ], @@ -33,10 +33,9 @@ export default [ ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' ] ], u, diff --git a/packages/common/locales/ln-CG.ts b/packages/common/locales/ln-CG.ts index 8d03b6a61b..a233a4af9d 100644 --- a/packages/common/locales/ln-CG.ts +++ b/packages/common/locales/ln-CG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,8 @@ export default [ [ ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] ], @@ -33,10 +33,9 @@ export default [ ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' ] ], u, diff --git a/packages/common/locales/ln.ts b/packages/common/locales/ln.ts index 5ccf6aabc4..34538c1881 100644 --- a/packages/common/locales/ln.ts +++ b/packages/common/locales/ln.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,8 +23,8 @@ export default [ [ ['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], [ - 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', - 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' + 'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', + 'mokɔlɔ ya mítáno', 'mpɔ́sɔ' ], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'] ], @@ -33,10 +33,9 @@ export default [ ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], [ - 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', - 'sánzá ya mítáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', - 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kɔ́', - 'sánzá ya zómi na míbalé' + 'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno', + 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', + 'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé' ] ], u, diff --git a/packages/common/locales/lo.ts b/packages/common/locales/lo.ts index 40c0011d8f..2ab6a85aa8 100644 --- a/packages/common/locales/lo.ts +++ b/packages/common/locales/lo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,43 +20,27 @@ export default [ [['ກ່ອນທ່ຽງ', 'ຫຼັງທ່ຽງ'], u, u], u, [ - ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], - [ - 'ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', - 'ສຸກ', 'ເສົາ' - ], - [ - 'ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', - 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', - 'ວັນເສົາ' - ], + ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], ['ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', 'ສຸກ', 'ເສົາ'], + ['ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', 'ວັນເສົາ'], ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', - 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' + 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' ], [ - 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', - 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', - 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', 'ທັນວາ' + 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', + 'ທັນວາ' ] ], u, - [ - ['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, - ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ'] - ], + [['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ']], 0, [6, 0], ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE ທີ d MMMM G y'], - [ - 'H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', - 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz' - ], + ['H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz'], ['{1}, {0}', u, u, u], [ ',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', diff --git a/packages/common/locales/lrc-IQ.ts b/packages/common/locales/lrc-IQ.ts index 55a7c69026..e891e03ebe 100644 --- a/packages/common/locales/lrc-IQ.ts +++ b/packages/common/locales/lrc-IQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,8 +24,8 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', - 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', 'دئسامر' + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', + 'نوڤامر', 'دئسامر' ], u ], diff --git a/packages/common/locales/lrc.ts b/packages/common/locales/lrc.ts index d861eb270a..7f840e7b5c 100644 --- a/packages/common/locales/lrc.ts +++ b/packages/common/locales/lrc.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,8 +24,8 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', - 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', 'دئسامر' + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', + 'نوڤامر', 'دئسامر' ], u ], diff --git a/packages/common/locales/lt.ts b/packages/common/locales/lt.ts index c613c30381..46bc5d3cdf 100644 --- a/packages/common/locales/lt.ts +++ b/packages/common/locales/lt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,8 +28,8 @@ export default [ [ ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], [ - 'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', - 'penktadienis', 'šeštadienis' + 'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', + 'šeštadienis' ], ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'] ], diff --git a/packages/common/locales/lu.ts b/packages/common/locales/lu.ts index 85a4fe2a6f..b7777fd4e5 100644 --- a/packages/common/locales/lu.ts +++ b/packages/common/locales/lu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['C', 'L', 'L', 'M', 'L', 'L', 'K', 'L', 'L', 'L', 'K', 'C'], ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'], [ - 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', - 'Lùshìkà', 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' + 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', 'Lùshìkà', + 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' ] ], u, diff --git a/packages/common/locales/luo.ts b/packages/common/locales/luo.ts index 2299b4863d..616d396ad8 100644 --- a/packages/common/locales/luo.ts +++ b/packages/common/locales/luo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/luy.ts b/packages/common/locales/luy.ts index e1924558a6..df69b58ae1 100644 --- a/packages/common/locales/luy.ts +++ b/packages/common/locales/luy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/lv.ts b/packages/common/locales/lv.ts index 08acb91635..72620f77df 100644 --- a/packages/common/locales/lv.ts +++ b/packages/common/locales/lv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/mas-TZ.ts b/packages/common/locales/mas-TZ.ts index ebe2f15a14..4d45edc3ae 100644 --- a/packages/common/locales/mas-TZ.ts +++ b/packages/common/locales/mas-TZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,14 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', 'Ntʉ́'], [ - 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', - 'Ntʉ́' - ], - [ - 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', - 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', - 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', + 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' ] ], u, diff --git a/packages/common/locales/mas.ts b/packages/common/locales/mas.ts index 0bdbd998d0..842ddddc27 100644 --- a/packages/common/locales/mas.ts +++ b/packages/common/locales/mas.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,14 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', 'Ntʉ́'], [ - 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', - 'Ntʉ́' - ], - [ - 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', - 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', - 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', + 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' ] ], u, diff --git a/packages/common/locales/mer.ts b/packages/common/locales/mer.ts index 73616127da..f2e641465b 100644 --- a/packages/common/locales/mer.ts +++ b/packages/common/locales/mer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['J', 'F', 'M', 'Ĩ', 'M', 'N', 'N', 'A', 'S', 'O', 'N', 'D'], ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'], [ - 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', - 'Septemba', 'Oktũba', 'Novemba', 'Dicemba' + 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', 'Septemba', + 'Oktũba', 'Novemba', 'Dicemba' ] ], u, diff --git a/packages/common/locales/mfe.ts b/packages/common/locales/mfe.ts index b013808994..3deeff5470 100644 --- a/packages/common/locales/mfe.ts +++ b/packages/common/locales/mfe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/mg.ts b/packages/common/locales/mg.ts index e2e593f0cc..a462792db8 100644 --- a/packages/common/locales/mg.ts +++ b/packages/common/locales/mg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/mgh.ts b/packages/common/locales/mgh.ts index 43d50463da..68dbd90a26 100644 --- a/packages/common/locales/mgh.ts +++ b/packages/common/locales/mgh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/mgo.ts b/packages/common/locales/mgo.ts index 994b7f6c19..ab4057f0fd 100644 --- a/packages/common/locales/mgo.ts +++ b/packages/common/locales/mgo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,14 +29,12 @@ export default [ [ ['M1', 'A2', 'M3', 'N4', 'F5', 'I6', 'A7', 'I8', 'K9', '10', '11', '12'], [ - 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', - 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', - 'iməg zò', 'iməg krizmed' + 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', + 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed' ], [ - 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', - 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', - 'iməg zò', 'iməg krizmed' + 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', + 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed' ] ], u, diff --git a/packages/common/locales/mi.ts b/packages/common/locales/mi.ts index 3e479422ac..4df046beeb 100644 --- a/packages/common/locales/mi.ts +++ b/packages/common/locales/mi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,12 +27,10 @@ export default [ u, [ ['K', 'H', 'P', 'P', 'H', 'P', 'H', 'H', 'M', 'N', 'R', 'H'], + ['Kohi', 'Hui', 'Pou', 'Pae', 'Hara', 'Pipi', 'Hōngo', 'Here', 'Mahu', 'Nuku', 'Rangi', 'Haki'], [ - 'Kohi', 'Hui', 'Pou', 'Pae', 'Hara', 'Pipi', 'Hōngo', 'Here', 'Mahu', 'Nuku', 'Rangi', 'Haki' - ], - [ - 'Kohitātea', 'Huitanguru', 'Poutūterangi', 'Paengawhāwhā', 'Haratua', 'Pipiri', - 'Hōngongoi', 'Hereturikōkā', 'Mahuru', 'Whiringa-ā-nuku', 'Whiringa-ā-rangi', 'Hakihea' + 'Kohitātea', 'Huitanguru', 'Poutūterangi', 'Paengawhāwhā', 'Haratua', 'Pipiri', 'Hōngongoi', + 'Hereturikōkā', 'Mahuru', 'Whiringa-ā-nuku', 'Whiringa-ā-rangi', 'Hakihea' ] ], u, diff --git a/packages/common/locales/mk.ts b/packages/common/locales/mk.ts index 8e5ca96dd4..d00d424272 100644 --- a/packages/common/locales/mk.ts +++ b/packages/common/locales/mk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,33 +23,24 @@ export default [ [['претпл.', 'попл.'], u, ['претпладне', 'попладне']], u, [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], - [ - 'недела', 'понеделник', 'вторник', 'среда', 'четврток', - 'петок', 'сабота' - ], + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], + ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] ], [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], - [ - 'недела', 'понеделник', 'вторник', 'среда', 'четврток', - 'петок', 'сабота' - ], + ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], + ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] ], [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], [ - 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', - 'септ.', 'окт.', 'ноем.', 'дек.' + 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', 'септ.', 'окт.', 'ноем.', + 'дек.' ], [ - 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', - 'јули', 'август', 'септември', 'октомври', 'ноември', - 'декември' + 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', + 'октомври', 'ноември', 'декември' ] ], u, diff --git a/packages/common/locales/ml.ts b/packages/common/locales/ml.ts index c4c853b7e0..b35809f106 100644 --- a/packages/common/locales/ml.ts +++ b/packages/common/locales/ml.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,57 +22,32 @@ export default [ u, [ ['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], [ - 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', - 'വെള്ളി', 'ശനി' - ], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', - 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', - 'വ്യാഴാഴ്\u200cച', 'വെള്ളിയാഴ്\u200cച', - 'ശനിയാഴ്\u200cച' + 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', + 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' ], ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] ], [ ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], [ - 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', - 'വെള്ളി', 'ശനി' - ], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', - 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', - 'വ്യാഴാഴ്\u200cച', 'വെള്ളിയാഴ്\u200cച', - 'ശനിയാഴ്\u200cച' + 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', + 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' ], ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] ], [ + ['ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', 'ന', 'ഡി'], + ['ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', 'നവം', 'ഡിസം'], [ - 'ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', - 'ന', 'ഡി' - ], - [ - 'ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', - 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', - 'നവം', 'ഡിസം' - ], - [ - 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', - 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', - 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ', 'നവംബർ', - 'ഡിസംബർ' + 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ', + 'നവംബർ', 'ഡിസംബർ' ] ], u, - [ - ['ക്രി.മു.', 'എഡി'], u, - [ - 'ക്രിസ്\u200cതുവിന് മുമ്പ്', - 'ആന്നോ ഡൊമിനി' - ] - ], + [['ക്രി.മു.', 'എഡി'], u, ['ക്രിസ്\u200cതുവിന് മുമ്പ്', 'ആന്നോ ഡൊമിനി']], 0, [0, 0], ['d/M/yy', 'y, MMM d', 'y, MMMM d', 'y, MMMM d, EEEE'], diff --git a/packages/common/locales/mn.ts b/packages/common/locales/mn.ts index 2f3d1006bb..fd093dd5e4 100644 --- a/packages/common/locales/mn.ts +++ b/packages/common/locales/mn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,45 +22,35 @@ export default [ u, [ ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, - [ - 'ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', - 'бямба' - ], + ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'], ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] ], [ ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, - [ - 'Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', - 'Бямба' - ], + ['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба'], ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] ], [ ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], [ - '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', - '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар' + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', + '9-р сар', '10-р сар', '11-р сар', '12-р сар' ], [ - 'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', - 'дөрөвдүгээр сар', 'тавдугаар сар', - 'зургаадугаар сар', 'долоодугаар сар', - 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', + 'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', + 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', 'арван нэгдүгээр сар', 'арван хоёрдугаар сар' ] ], [ ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], [ - '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', - '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар' + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', + '9-р сар', '10-р сар', '11-р сар', '12-р сар' ], [ - 'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', - 'Дөрөвдүгээр сар', 'Тавдугаар сар', - 'Зургаадугаар сар', 'Долоодугаар сар', - 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', + 'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', + 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' ] ], diff --git a/packages/common/locales/mr.ts b/packages/common/locales/mr.ts index b5dd26d6db..4d9202949d 100644 --- a/packages/common/locales/mr.ts +++ b/packages/common/locales/mr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,40 +22,21 @@ export default [ [['स', 'सं'], ['म.पू.', 'म.उ.'], u], [['म.पू.', 'म.उ.'], u, u], [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], - [ - 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', - 'शनि' - ], - [ - 'रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', - 'गुरुवार', 'शुक्रवार', 'शनिवार' - ], + ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + ['रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] ], u, [ + ['जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', 'नो', 'डि'], + ['जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', 'नोव्हें', 'डिसें'], [ - 'जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', - 'नो', 'डि' - ], - [ - 'जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', - 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', - 'नोव्हें', 'डिसें' - ], - [ - 'जानेवारी', 'फेब्रुवारी', 'मार्च', - 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', - 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', + 'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', 'डिसेंबर' ] ], u, - [ - ['इ. स. पू.', 'इ. स.'], u, - ['ईसवीसनपूर्व', 'ईसवीसन'] - ], + [['इ. स. पू.', 'इ. स.'], u, ['ईसवीसनपूर्व', 'ईसवीसन']], 0, [0, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ms-BN.ts b/packages/common/locales/ms-BN.ts index 600658e620..de590f0da4 100644 --- a/packages/common/locales/ms-BN.ts +++ b/packages/common/locales/ms-BN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ms-SG.ts b/packages/common/locales/ms-SG.ts index 22f17c92f0..4af66501ef 100644 --- a/packages/common/locales/ms-SG.ts +++ b/packages/common/locales/ms-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ms.ts b/packages/common/locales/ms.ts index 1fce851592..2375911ae3 100644 --- a/packages/common/locales/ms.ts +++ b/packages/common/locales/ms.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/mt.ts b/packages/common/locales/mt.ts index 10dd133788..0991d0bd96 100644 --- a/packages/common/locales/mt.ts +++ b/packages/common/locales/mt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,14 +23,12 @@ export default [ [['am', 'pm'], ['AM', 'PM'], u], u, [ - ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] ], [ - ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], - ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] ], diff --git a/packages/common/locales/mua.ts b/packages/common/locales/mua.ts index b3c6f6ce67..04c92a85c0 100644 --- a/packages/common/locales/mua.ts +++ b/packages/common/locales/mua.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['Y', 'L', 'Z', 'O', 'A', 'G', 'E'], ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], - [ - 'Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', - 'Comzyeɓsuu' - ], + ['Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', 'Comzyeɓsuu'], ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'] ], u, @@ -32,9 +29,8 @@ export default [ ['O', 'A', 'I', 'F', 'D', 'B', 'L', 'M', 'E', 'U', 'W', 'Y'], ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'], [ - 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', - 'Mamǝŋgwãafahbii', 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', - 'Fĩi Gwahlle', 'Fĩi Yuru' + 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', 'Mamǝŋgwãafahbii', + 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', 'Fĩi Gwahlle', 'Fĩi Yuru' ] ], u, diff --git a/packages/common/locales/my.ts b/packages/common/locales/my.ts index 4bd6e2498b..77d2c188b3 100644 --- a/packages/common/locales/my.ts +++ b/packages/common/locales/my.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,40 +21,25 @@ export default [ u, [ ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], - [ - 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', - 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' - ], - u, u + ['တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ'], u, u ], u, [ ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], + ['ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', 'စက်', 'အောက်', 'နို', 'ဒီ'], [ - 'ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', - 'စက်', 'အောက်', 'နို', 'ဒီ' - ], - [ - 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', - 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', - 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', + 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', 'ဒီဇင်ဘာ' ] ], u, - [ - ['ဘီစီ', 'အဒေီ'], u, - ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်'] - ], + [['ဘီစီ', 'အဒေီ'], u, ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်']], 0, [6, 0], ['dd-MM-yy', 'y၊ MMM d', 'y၊ d MMMM', 'y၊ MMMM d၊ EEEE'], ['B H:mm', 'B HH:mm:ss', 'z HH:mm:ss', 'zzzz HH:mm:ss'], ['{1} {0}', u, u, u], - [ - '.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'ဂဏန်းမဟုတ်သော', ':' - ], + ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ဂဏန်းမဟုတ်သော', ':'], ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'MMK', 'K', diff --git a/packages/common/locales/mzn.ts b/packages/common/locales/mzn.ts index f6d8006b78..6bf9719913 100644 --- a/packages/common/locales/mzn.ts +++ b/packages/common/locales/mzn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,8 +24,8 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', - 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', + 'نوامبر', 'دسامبر' ], u ], diff --git a/packages/common/locales/naq.ts b/packages/common/locales/naq.ts index b2db7cbf65..2bd7ef1cc1 100644 --- a/packages/common/locales/naq.ts +++ b/packages/common/locales/naq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,9 +34,8 @@ export default [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ - 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', - 'ǂKhoesaob', 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', 'ǀHooǂgaeb', - 'Hôasoreǁkhâb' + 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', 'ǂKhoesaob', + 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', 'ǀHooǂgaeb', 'Hôasoreǁkhâb' ] ], u, diff --git a/packages/common/locales/nb-SJ.ts b/packages/common/locales/nb-SJ.ts index 6a35f2089f..bdc5626545 100644 --- a/packages/common/locales/nb-SJ.ts +++ b/packages/common/locales/nb-SJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nb.ts b/packages/common/locales/nb.ts index 6e1237fb5b..919eb40886 100644 --- a/packages/common/locales/nb.ts +++ b/packages/common/locales/nb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nd.ts b/packages/common/locales/nd.ts index aa78ce2fe0..73aecbe124 100644 --- a/packages/common/locales/nd.ts +++ b/packages/common/locales/nd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nds-NL.ts b/packages/common/locales/nds-NL.ts index 225b17739f..f0a3a90482 100644 --- a/packages/common/locales/nds-NL.ts +++ b/packages/common/locales/nds-NL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nds.ts b/packages/common/locales/nds.ts index 86d0ee666e..d546daf0df 100644 --- a/packages/common/locales/nds.ts +++ b/packages/common/locales/nds.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ne-IN.ts b/packages/common/locales/ne-IN.ts index 2ccbe30e7d..ae97f28fa8 100644 --- a/packages/common/locales/ne-IN.ts +++ b/packages/common/locales/ne-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,42 +21,24 @@ export default [ [['पूर्वाह्न', 'अपराह्न'], u, u], u, [ - ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ], - [ - 'आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', - 'बिहिबार', 'शुक्रबार', 'शनिबार' - ], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ] + ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], + ['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], + ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'] ], u, [ + ['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - 'जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', - 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', - 'अक्टोबर', 'नोभेम्बर', 'डिसेम्बर' + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], u ], [ + ['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - 'जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', - 'अक्टोबर', 'नोभेम्बर', 'डिसेम्बर' + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], u ], diff --git a/packages/common/locales/ne.ts b/packages/common/locales/ne.ts index f93c004f9f..509d7454e8 100644 --- a/packages/common/locales/ne.ts +++ b/packages/common/locales/ne.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,42 +21,24 @@ export default [ [['पूर्वाह्न', 'अपराह्न'], u, u], u, [ - ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ], - [ - 'आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', - 'बिहिबार', 'शुक्रबार', 'शनिबार' - ], - [ - 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', - 'शनि' - ] + ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], + ['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], + ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'] ], u, [ + ['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - 'जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', - 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', - 'अक्टोबर', 'नोभेम्बर', 'डिसेम्बर' + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], u ], [ + ['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], [ - 'जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', - 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे' - ], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', - 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', - 'अक्टोबर', 'नोभेम्बर', 'डिसेम्बर' + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' ], u ], diff --git a/packages/common/locales/nl-AW.ts b/packages/common/locales/nl-AW.ts index ab27f400e8..c07e03c7c6 100644 --- a/packages/common/locales/nl-AW.ts +++ b/packages/common/locales/nl-AW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl-BE.ts b/packages/common/locales/nl-BE.ts index d509f8602f..87c7ae5e4a 100644 --- a/packages/common/locales/nl-BE.ts +++ b/packages/common/locales/nl-BE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl-BQ.ts b/packages/common/locales/nl-BQ.ts index f4509dc83c..4dada76780 100644 --- a/packages/common/locales/nl-BQ.ts +++ b/packages/common/locales/nl-BQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl-CW.ts b/packages/common/locales/nl-CW.ts index 06af3561ab..48c1ddcacd 100644 --- a/packages/common/locales/nl-CW.ts +++ b/packages/common/locales/nl-CW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl-SR.ts b/packages/common/locales/nl-SR.ts index d74025de4a..f31ce9f74b 100644 --- a/packages/common/locales/nl-SR.ts +++ b/packages/common/locales/nl-SR.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl-SX.ts b/packages/common/locales/nl-SX.ts index 2de6a329fc..0bc8ce252d 100644 --- a/packages/common/locales/nl-SX.ts +++ b/packages/common/locales/nl-SX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nl.ts b/packages/common/locales/nl.ts index fffd4257be..12ed1c7abd 100644 --- a/packages/common/locales/nl.ts +++ b/packages/common/locales/nl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nmg.ts b/packages/common/locales/nmg.ts index 71d73a0060..ac9ef306e7 100644 --- a/packages/common/locales/nmg.ts +++ b/packages/common/locales/nmg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,8 +22,8 @@ export default [ [ ['s', 'm', 's', 's', 's', 'm', 's'], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], [ - 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', - 'sɔ́ndɔ mafú mána', 'mabágá má sukul', 'sásadi' + 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', 'sɔ́ndɔ mafú mána', 'mabágá má sukul', + 'sásadi' ], ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'] ], @@ -32,9 +32,8 @@ export default [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'], [ - 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', - 'ngwɛn ńtuó', 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', - 'ngwɛn wum navǔr', 'krísimin' + 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', 'ngwɛn ńtuó', + 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', 'ngwɛn wum navǔr', 'krísimin' ] ], u, diff --git a/packages/common/locales/nn.ts b/packages/common/locales/nn.ts index 4553907452..477b2266f1 100644 --- a/packages/common/locales/nn.ts +++ b/packages/common/locales/nn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/nnh.ts b/packages/common/locales/nnh.ts index 4822e0687c..de2025368c 100644 --- a/packages/common/locales/nnh.ts +++ b/packages/common/locales/nnh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,9 +23,8 @@ export default [ [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], [ - 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', - 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', - 'màga lyɛ̌ʼ' + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', + 'mvfò màga lyɛ̌ʼ', 'màga lyɛ̌ʼ' ], u, u ], @@ -33,9 +32,9 @@ export default [ [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', - 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', 'saŋ mbʉ̀ŋ', - 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', 'saŋ lùm' + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', 'saŋ tsɛ̀ɛ cÿó', + 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', + 'saŋ mejwoŋó', 'saŋ lùm' ], u ], diff --git a/packages/common/locales/nus.ts b/packages/common/locales/nus.ts index b0d598e571..5e008e1627 100644 --- a/packages/common/locales/nus.ts +++ b/packages/common/locales/nus.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,24 +20,20 @@ export default [ [['RW', 'TŊ'], u, u], u, [ - ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], - ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], + ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], [ - 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', - 'Dhieec lätni', 'Bäkɛl lätni' + 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', 'Dhieec lätni', + 'Bäkɛl lätni' ], ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'] ], u, [ ['T', 'P', 'D', 'G', 'D', 'K', 'P', 'T', 'T', 'L', 'K', 'T'], + ['Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', 'Tid'], [ - 'Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', - 'Tid' - ], - [ - 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', - 'Tho̱o̱r', 'Tɛɛr', 'Laath', 'Kur', 'Tio̱p in di̱i̱t' + 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', 'Tho̱o̱r', 'Tɛɛr', + 'Laath', 'Kur', 'Tio̱p in di̱i̱t' ] ], u, diff --git a/packages/common/locales/nyn.ts b/packages/common/locales/nyn.ts index 4d1834e857..f8ae2dd472 100644 --- a/packages/common/locales/nyn.ts +++ b/packages/common/locales/nyn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/om-KE.ts b/packages/common/locales/om-KE.ts index 7cd066bc9e..a9b3d8813d 100644 --- a/packages/common/locales/om-KE.ts +++ b/packages/common/locales/om-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/om.ts b/packages/common/locales/om.ts index 36152b71b3..20825edaa1 100644 --- a/packages/common/locales/om.ts +++ b/packages/common/locales/om.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/or.ts b/packages/common/locales/or.ts index 6e477c548b..cc790449cf 100644 --- a/packages/common/locales/or.ts +++ b/packages/common/locales/or.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,31 +21,16 @@ export default [ [['ପୂ', 'ଅ'], ['AM', 'PM'], u], [['AM', 'ଅପରାହ୍ନ'], ['ପୂର୍ବାହ୍ନ', 'ଅପରାହ୍ନ'], u], [ - ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], - [ - 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', - 'ଶନି' - ], - [ - 'ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', 'ବୁଧବାର', - 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', 'ଶନିବାର' - ], - [ - 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', - 'ଶନି' - ] + ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'], + ['ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', 'ଶନିବାର'], + ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'] ], u, [ + ['ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', 'ନ', 'ଡି'], [ - 'ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', - 'ନ', 'ଡି' - ], - [ - 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', - 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', - 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', - 'ଡିସେମ୍ବର' + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', + 'ନଭେମ୍ବର', 'ଡିସେମ୍ବର' ], u ], diff --git a/packages/common/locales/os-RU.ts b/packages/common/locales/os-RU.ts index 6015835504..ee2a62ab1b 100644 --- a/packages/common/locales/os-RU.ts +++ b/packages/common/locales/os-RU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,45 +21,34 @@ export default [ [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], [['AM', 'PM'], u, u], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], - [ - 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', - 'цыппӕрӕм', 'майрӕмбон', 'сабат' - ], + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + ['хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', 'цыппӕрӕм', 'майрӕмбон', 'сабат'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] ], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], - [ - 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', - 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' - ], + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + ['Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.' ], [ - 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', - 'июлы', 'августы', 'сентябры', 'октябры', 'ноябры', - 'декабры' + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', 'июлы', 'августы', 'сентябры', + 'октябры', 'ноябры', 'декабры' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', - 'Сент.', 'Окт.', 'Нояб.', 'Дек.' + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', 'Сент.', 'Окт.', 'Нояб.', + 'Дек.' ], [ - 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', + 'Октябрь', 'Ноябрь', 'Декабрь' ] ], [['н.д.а.', 'н.д.'], u, u], diff --git a/packages/common/locales/os.ts b/packages/common/locales/os.ts index 2752d2f575..32787318c0 100644 --- a/packages/common/locales/os.ts +++ b/packages/common/locales/os.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,45 +21,34 @@ export default [ [['AM', 'PM'], u, ['ӕмбисбоны размӕ', 'ӕмбисбоны фӕстӕ']], [['AM', 'PM'], u, u], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], - [ - 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', - 'цыппӕрӕм', 'майрӕмбон', 'сабат' - ], + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + ['хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', 'цыппӕрӕм', 'майрӕмбон', 'сабат'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] ], [ - ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], - ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], - [ - 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', - 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' - ], + ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + ['Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат'], ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', - 'сен.', 'окт.', 'ноя.', 'дек.' + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.' ], [ - 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', - 'июлы', 'августы', 'сентябры', 'октябры', 'ноябры', - 'декабры' + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', 'июлы', 'августы', 'сентябры', + 'октябры', 'ноябры', 'декабры' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', - 'Сент.', 'Окт.', 'Нояб.', 'Дек.' + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', 'Сент.', 'Окт.', 'Нояб.', + 'Дек.' ], [ - 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', - 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', - 'Декабрь' + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', + 'Октябрь', 'Ноябрь', 'Декабрь' ] ], [['н.д.а.', 'н.д.'], u, u], diff --git a/packages/common/locales/pa-Arab.ts b/packages/common/locales/pa-Arab.ts index 3598bf1c3d..6e88c0e034 100644 --- a/packages/common/locales/pa-Arab.ts +++ b/packages/common/locales/pa-Arab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,15 +20,15 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], u ], diff --git a/packages/common/locales/pa-Guru.ts b/packages/common/locales/pa-Guru.ts index eb15441946..90023bbd8e 100644 --- a/packages/common/locales/pa-Guru.ts +++ b/packages/common/locales/pa-Guru.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,40 +21,18 @@ export default [ [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], [ - ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', - 'ਸ਼ਨਿੱਚਰ' - ], - [ - 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', - 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' - ], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', - 'ਸ਼ਨਿੱ' - ] + ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'], + ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'], + ['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ'] ], u, [ - [ - 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ' - ], - [ - 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', - 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' - ], - [ - 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', - 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', - 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' - ] + ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], + ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], + ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] ], u, - [ - ['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], - ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] - ], + [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], 0, [0, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], diff --git a/packages/common/locales/pa.ts b/packages/common/locales/pa.ts index fa7a27c4d7..d1216cdeab 100644 --- a/packages/common/locales/pa.ts +++ b/packages/common/locales/pa.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,40 +21,18 @@ export default [ [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], [ - ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', - 'ਸ਼ਨਿੱਚਰ' - ], - [ - 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', - 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' - ], - [ - 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', - 'ਸ਼ਨਿੱ' - ] + ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'], + ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'], + ['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ'] ], u, [ - [ - 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ' - ], - [ - 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', - 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' - ], - [ - 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', - 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', - 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' - ] + ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], + ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], + ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] ], u, - [ - ['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], - ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] - ], + [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], 0, [0, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], diff --git a/packages/common/locales/pl.ts b/packages/common/locales/pl.ts index 16cb8f6d72..b8152c5e55 100644 --- a/packages/common/locales/pl.ts +++ b/packages/common/locales/pl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -42,16 +42,16 @@ export default [ ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'], ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], [ - 'stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', - 'września', 'października', 'listopada', 'grudnia' + 'stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', + 'października', 'listopada', 'grudnia' ] ], [ ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'], ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], [ - 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', - 'wrzesień', 'październik', 'listopad', 'grudzień' + 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', + 'październik', 'listopad', 'grudzień' ] ], [['p.n.e.', 'n.e.'], u, ['przed naszą erą', 'naszej ery']], diff --git a/packages/common/locales/prg.ts b/packages/common/locales/prg.ts index 7988b951ac..eb5aa71a5d 100644 --- a/packages/common/locales/prg.ts +++ b/packages/common/locales/prg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ps-PK.ts b/packages/common/locales/ps-PK.ts index 10ba850f2f..faa3199fc1 100644 --- a/packages/common/locales/ps-PK.ts +++ b/packages/common/locales/ps-PK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,33 +22,29 @@ export default [ u, [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, - u + ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, u ], u, [ ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سېپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سېپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ], u ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], [ - 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ] ], - [ - ['له میلاد وړاندې', 'م.'], u, - ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته'] - ], + [['له میلاد وړاندې', 'م.'], u, ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته']], 0, [6, 0], ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], diff --git a/packages/common/locales/ps.ts b/packages/common/locales/ps.ts index b4d933b688..4b6543e3dc 100644 --- a/packages/common/locales/ps.ts +++ b/packages/common/locales/ps.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,33 +22,29 @@ export default [ u, [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, - u + ['يونۍ', 'دونۍ', 'درېنۍ', 'څلرنۍ', 'پينځنۍ', 'جمعه', 'اونۍ'], u, u ], u, [ ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سېپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سېپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ], u ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], [ - 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', - 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوري', 'فېبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', 'اګست', 'سپتمبر', 'اکتوبر', + 'نومبر', 'دسمبر' ] ], - [ - ['له میلاد وړاندې', 'م.'], u, - ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته'] - ], + [['له میلاد وړاندې', 'م.'], u, ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته']], 6, [4, 5], ['y/M/d', 'y MMM d', 'د y د MMMM d', 'EEEE د y د MMMM d'], diff --git a/packages/common/locales/pt-AO.ts b/packages/common/locales/pt-AO.ts index d7dbb71840..078d046006 100644 --- a/packages/common/locales/pt-AO.ts +++ b/packages/common/locales/pt-AO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-CH.ts b/packages/common/locales/pt-CH.ts index b65373e657..44c6a82eda 100644 --- a/packages/common/locales/pt-CH.ts +++ b/packages/common/locales/pt-CH.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-CV.ts b/packages/common/locales/pt-CV.ts index 53a1238674..995ed819d8 100644 --- a/packages/common/locales/pt-CV.ts +++ b/packages/common/locales/pt-CV.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-GQ.ts b/packages/common/locales/pt-GQ.ts index b0080fb505..2e47c34cb0 100644 --- a/packages/common/locales/pt-GQ.ts +++ b/packages/common/locales/pt-GQ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-GW.ts b/packages/common/locales/pt-GW.ts index b22be1d296..0d77fad805 100644 --- a/packages/common/locales/pt-GW.ts +++ b/packages/common/locales/pt-GW.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-LU.ts b/packages/common/locales/pt-LU.ts index 79a5914dc2..8cb0548df6 100644 --- a/packages/common/locales/pt-LU.ts +++ b/packages/common/locales/pt-LU.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-MO.ts b/packages/common/locales/pt-MO.ts index abf36cdf46..410b13d144 100644 --- a/packages/common/locales/pt-MO.ts +++ b/packages/common/locales/pt-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-MZ.ts b/packages/common/locales/pt-MZ.ts index 29a6ab6dc2..998099502a 100644 --- a/packages/common/locales/pt-MZ.ts +++ b/packages/common/locales/pt-MZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-PT.ts b/packages/common/locales/pt-PT.ts index d9d13b2c63..14e1ec342f 100644 --- a/packages/common/locales/pt-PT.ts +++ b/packages/common/locales/pt-PT.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-ST.ts b/packages/common/locales/pt-ST.ts index 21d9bd1f46..bdc521f361 100644 --- a/packages/common/locales/pt-ST.ts +++ b/packages/common/locales/pt-ST.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt-TL.ts b/packages/common/locales/pt-TL.ts index ef0724791a..73ff2e7e45 100644 --- a/packages/common/locales/pt-TL.ts +++ b/packages/common/locales/pt-TL.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/pt.ts b/packages/common/locales/pt.ts index e72bcda684..313b20e73a 100644 --- a/packages/common/locales/pt.ts +++ b/packages/common/locales/pt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/qu-BO.ts b/packages/common/locales/qu-BO.ts index c7d409c712..01f09fdf7d 100644 --- a/packages/common/locales/qu-BO.ts +++ b/packages/common/locales/qu-BO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/qu-EC.ts b/packages/common/locales/qu-EC.ts index d5a7b21637..43168c26a3 100644 --- a/packages/common/locales/qu-EC.ts +++ b/packages/common/locales/qu-EC.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/qu.ts b/packages/common/locales/qu.ts index 73a7c4ef3d..44ebad19a5 100644 --- a/packages/common/locales/qu.ts +++ b/packages/common/locales/qu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/rm.ts b/packages/common/locales/rm.ts index 1f693b2682..0396200a54 100644 --- a/packages/common/locales/rm.ts +++ b/packages/common/locales/rm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/rn.ts b/packages/common/locales/rn.ts index 0667067a61..50d1c5b967 100644 --- a/packages/common/locales/rn.ts +++ b/packages/common/locales/rn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ro-MD.ts b/packages/common/locales/ro-MD.ts index 903ea77d04..cf40de974b 100644 --- a/packages/common/locales/ro-MD.ts +++ b/packages/common/locales/ro-MD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ro.ts b/packages/common/locales/ro.ts index 9e0df521ee..d1b3674371 100644 --- a/packages/common/locales/ro.ts +++ b/packages/common/locales/ro.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/rof.ts b/packages/common/locales/rof.ts index 480ecd3e84..bffbbc1983 100644 --- a/packages/common/locales/rof.ts +++ b/packages/common/locales/rof.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/root.ts b/packages/common/locales/root.ts index f0e269bb9c..b4a522ffb2 100644 --- a/packages/common/locales/root.ts +++ b/packages/common/locales/root.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ru-BY.ts b/packages/common/locales/ru-BY.ts index 97e5f12b89..9b101280ca 100644 --- a/packages/common/locales/ru-BY.ts +++ b/packages/common/locales/ru-BY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/ru-KG.ts b/packages/common/locales/ru-KG.ts index d6675e51b5..a912e47d2c 100644 --- a/packages/common/locales/ru-KG.ts +++ b/packages/common/locales/ru-KG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/ru-KZ.ts b/packages/common/locales/ru-KZ.ts index e88b22074b..ca2b132dfa 100644 --- a/packages/common/locales/ru-KZ.ts +++ b/packages/common/locales/ru-KZ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/ru-MD.ts b/packages/common/locales/ru-MD.ts index 866927406d..3927935a41 100644 --- a/packages/common/locales/ru-MD.ts +++ b/packages/common/locales/ru-MD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/ru-UA.ts b/packages/common/locales/ru-UA.ts index 8664570e9a..2d4255de18 100644 --- a/packages/common/locales/ru-UA.ts +++ b/packages/common/locales/ru-UA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/ru.ts b/packages/common/locales/ru.ts index 290fd9ff20..87f20d2444 100644 --- a/packages/common/locales/ru.ts +++ b/packages/common/locales/ru.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,49 +30,37 @@ export default [ u, [ ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u, - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ - ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'воскресенье', 'понедельник', 'вторник', 'среда', - 'четверг', 'пятница', 'суббота' - ], + ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', - 'июля', 'августа', 'сентября', 'октября', 'ноября', - 'декабря' + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', + 'октября', 'ноября', 'декабря' ] ], [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], [ - 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', + 'ноябрь', 'декабрь' ] ], - [ - ['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], - ['до Рождества Христова', 'от Рождества Христова'] - ], + [['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']], 1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], diff --git a/packages/common/locales/rw.ts b/packages/common/locales/rw.ts index 4b5670fb5e..0803f6994f 100644 --- a/packages/common/locales/rw.ts +++ b/packages/common/locales/rw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/rwk.ts b/packages/common/locales/rwk.ts index 95214989ca..7a98098b49 100644 --- a/packages/common/locales/rwk.ts +++ b/packages/common/locales/rwk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sah.ts b/packages/common/locales/sah.ts index 3717cba847..801ff3b02c 100644 --- a/packages/common/locales/sah.ts +++ b/packages/common/locales/sah.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,37 +20,25 @@ export default [ [['ЭИ', 'ЭК'], u, u], u, [ - ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], - ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], - [ - 'баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', - 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота' - ], + ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + ['баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота'], ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'] ], u, [ ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + ['Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', 'Алт', 'Сэт', 'Ахс'], [ - 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', - 'Алт', 'Сэт', 'Ахс' - ], - [ - 'Тохсунньу', 'Олунньу', 'Кулун тутар', 'Муус устар', - 'Ыам ыйын', 'Бэс ыйын', 'От ыйын', 'Атырдьых ыйын', - 'Балаҕан ыйын', 'Алтынньы', 'Сэтинньи', 'ахсынньы' + 'Тохсунньу', 'Олунньу', 'Кулун тутар', 'Муус устар', 'Ыам ыйын', 'Бэс ыйын', 'От ыйын', + 'Атырдьых ыйын', 'Балаҕан ыйын', 'Алтынньы', 'Сэтинньи', 'ахсынньы' ] ], [ ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + ['Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', 'Алт', 'Сэт', 'Ахс'], [ - 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', 'Блҕ', - 'Алт', 'Сэт', 'Ахс' - ], - [ - 'тохсунньу', 'олунньу', 'кулун тутар', 'муус устар', - 'ыам ыйа', 'бэс ыйа', 'от ыйа', 'атырдьых ыйа', - 'балаҕан ыйа', 'алтынньы', 'сэтинньи', 'ахсынньы' + 'тохсунньу', 'олунньу', 'кулун тутар', 'муус устар', 'ыам ыйа', 'бэс ыйа', 'от ыйа', + 'атырдьых ыйа', 'балаҕан ыйа', 'алтынньы', 'сэтинньи', 'ахсынньы' ] ], [['б. э. и.', 'б. э'], u, u], diff --git a/packages/common/locales/saq.ts b/packages/common/locales/saq.ts index 2724aea288..776a1dc6e7 100644 --- a/packages/common/locales/saq.ts +++ b/packages/common/locales/saq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sbp.ts b/packages/common/locales/sbp.ts index 4eda7f88dd..04de9d26ae 100644 --- a/packages/common/locales/sbp.ts +++ b/packages/common/locales/sbp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sd.ts b/packages/common/locales/sd.ts index 55568acc9d..06ce624fc9 100644 --- a/packages/common/locales/sd.ts +++ b/packages/common/locales/sd.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,11 +18,7 @@ function plural(n: number): number { export default [ 'sd', - [ - ['صبح، منجهند', 'منجهند، شام'], - ['صبح، منجهند', 'شام، منجهند'], - ['صبح، منجهند', 'منجهند، شام'] - ], + [['صبح، منجهند', 'منجهند، شام'], ['صبح، منجهند', 'شام، منجهند'], ['صبح، منجهند', 'منجهند، شام']], [['صبح، منجهند', 'منجهند، شام'], u, u], [ ['آچر', 'سو', 'اڱارو', 'اربع', 'خم', 'جمعو', 'ڇنڇر'], @@ -32,8 +28,8 @@ export default [ [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', - 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر' + 'جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', + 'نومبر', 'ڊسمبر' ], u ], diff --git a/packages/common/locales/se-FI.ts b/packages/common/locales/se-FI.ts index 6150ff45ae..9f6026a667 100644 --- a/packages/common/locales/se-FI.ts +++ b/packages/common/locales/se-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,13 +30,11 @@ export default [ [ ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], [ - 'ođđj', 'guov', 'njuk', 'cuoŋ', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', - 'juov' + 'ođđj', 'guov', 'njuk', 'cuoŋ', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov' ], [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' ] ], u, diff --git a/packages/common/locales/se-SE.ts b/packages/common/locales/se-SE.ts index 1cdd8f3571..01b9ec8cac 100644 --- a/packages/common/locales/se-SE.ts +++ b/packages/common/locales/se-SE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,22 +24,17 @@ export default [ [ ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], [ - 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', - 'lávvardat' + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', 'lávvardat' ], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] ], u, [ ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + ['ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov'], [ - 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', - 'juov' - ], - [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' ] ], u, diff --git a/packages/common/locales/se.ts b/packages/common/locales/se.ts index a26aa40072..bcdec22b19 100644 --- a/packages/common/locales/se.ts +++ b/packages/common/locales/se.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,22 +24,17 @@ export default [ [ ['S', 'V', 'M', 'G', 'D', 'B', 'L'], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], [ - 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', - 'lávvardat' + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', 'lávvardat' ], ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'] ], u, [ ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + ['ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', 'juov'], [ - 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', 'skáb', - 'juov' - ], - [ - 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', - 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', - 'skábmamánnu', 'juovlamánnu' + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', 'geassemánnu', + 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu' ] ], u, diff --git a/packages/common/locales/seh.ts b/packages/common/locales/seh.ts index 7729cbcaba..c68180eb1a 100644 --- a/packages/common/locales/seh.ts +++ b/packages/common/locales/seh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ses.ts b/packages/common/locales/ses.ts index 00c404beac..1c5abb1aff 100644 --- a/packages/common/locales/ses.ts +++ b/packages/common/locales/ses.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sg.ts b/packages/common/locales/sg.ts index a1abd9af51..d36e6c5a6a 100644 --- a/packages/common/locales/sg.ts +++ b/packages/common/locales/sg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['K', 'S', 'T', 'S', 'K', 'P', 'Y'], ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], - [ - 'Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', - 'Lâyenga' - ], + ['Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', 'Lâyenga'], ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'] ], u, @@ -32,8 +29,8 @@ export default [ ['N', 'F', 'M', 'N', 'B', 'F', 'L', 'K', 'M', 'N', 'N', 'K'], ['Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak'], [ - 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', 'Kükürü', - 'Mvuka', 'Ngberere', 'Nabändüru', 'Kakauka' + 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', 'Kükürü', 'Mvuka', + 'Ngberere', 'Nabändüru', 'Kakauka' ] ], u, diff --git a/packages/common/locales/shi-Latn.ts b/packages/common/locales/shi-Latn.ts index 620c94eb4b..9d5ab87164 100644 --- a/packages/common/locales/shi-Latn.ts +++ b/packages/common/locales/shi-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,8 +29,8 @@ export default [ ['i', 'b', 'm', 'i', 'm', 'y', 'y', 'ɣ', 'c', 'k', 'n', 'd'], ['inn', 'bṛa', 'maṛ', 'ibr', 'may', 'yun', 'yul', 'ɣuc', 'cut', 'ktu', 'nuw', 'duj'], [ - 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', 'cutanbir', - 'ktubr', 'nuwanbir', 'dujanbir' + 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', 'cutanbir', 'ktubr', + 'nuwanbir', 'dujanbir' ] ], u, diff --git a/packages/common/locales/shi-Tfng.ts b/packages/common/locales/shi-Tfng.ts index 423ccdf7bc..47e9b7fe09 100644 --- a/packages/common/locales/shi-Tfng.ts +++ b/packages/common/locales/shi-Tfng.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,38 +23,21 @@ export default [ [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], u, [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] ], u, [ ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', - 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', - 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' ] ], u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], 1, [6, 0], ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], diff --git a/packages/common/locales/shi.ts b/packages/common/locales/shi.ts index 7ff6475174..cf5f61213f 100644 --- a/packages/common/locales/shi.ts +++ b/packages/common/locales/shi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,38 +23,21 @@ export default [ [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], u, [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] ], u, [ ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', - 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', - 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' ] ], u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], 1, [6, 0], ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], diff --git a/packages/common/locales/si.ts b/packages/common/locales/si.ts index ad1fade104..0b8cc14ab4 100644 --- a/packages/common/locales/si.ts +++ b/packages/common/locales/si.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,62 +23,28 @@ export default [ [['පෙ.ව.', 'ප.ව.'], u, u], [ ['ඉ', 'ස', 'අ', 'බ', 'බ්\u200dර', 'සි', 'සෙ'], - [ - 'ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', - 'බ්\u200dරහස්', 'සිකු', 'සෙන' - ], - [ - 'ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', - 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', - 'සෙනසුරාදා' - ], - [ - 'ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', - 'සෙන' - ] + ['ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', 'බ්\u200dරහස්', 'සිකු', 'සෙන'], + ['ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', 'සෙනසුරාදා'], + ['ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', 'සෙන'] ], u, [ + ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], + ['ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], [ - 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', - 'නෙ', 'දෙ' - ], - [ - 'ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', - 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', - 'දෙසැ' - ], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', - 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', - 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', 'නොවැම්බර්', 'දෙසැම්බර්' ] ], [ + ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], + ['ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], [ - 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', - 'නෙ', 'දෙ' - ], - [ - 'ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', - 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', - 'දෙසැ' - ], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', - 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', - 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', 'නොවැම්බර්', 'දෙසැම්බර්' ] ], - [ - ['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, - [ - 'ක්\u200dරිස්තු පූර්ව', - 'ක්\u200dරිස්තු වර්ෂ' - ] - ], + [['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, ['ක්\u200dරිස්තු පූර්ව', 'ක්\u200dරිස්තු වර්ෂ']], 1, [6, 0], ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'], diff --git a/packages/common/locales/sk.ts b/packages/common/locales/sk.ts index 38eb7546fa..d20b2de4c0 100644 --- a/packages/common/locales/sk.ts +++ b/packages/common/locales/sk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,16 +33,16 @@ export default [ ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], [ - 'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', - 'septembra', 'októbra', 'novembra', 'decembra' + 'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra', + 'októbra', 'novembra', 'decembra' ] ], [ ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], [ - 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', - 'október', 'november', 'december' + 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', + 'november', 'december' ] ], [['pred Kr.', 'po Kr.'], u, ['pred Kristom', 'po Kristovi']], diff --git a/packages/common/locales/sl.ts b/packages/common/locales/sl.ts index 4031d933cd..d45cd5df45 100644 --- a/packages/common/locales/sl.ts +++ b/packages/common/locales/sl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/smn.ts b/packages/common/locales/smn.ts index 45291c99ba..1822cfec80 100644 --- a/packages/common/locales/smn.ts +++ b/packages/common/locales/smn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,30 +23,23 @@ export default [ u, [ ['p', 'V', 'M', 'K', 'T', 'V', 'L'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], - [ - 'pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', - 'lávurduv' - ], + ['pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', 'lávurduv'], ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] ], [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], - [ - 'pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', - 'lávurdâh' - ], + ['pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', 'lávurdâh'], ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'] ], [ ['U', 'K', 'NJ', 'C', 'V', 'K', 'S', 'P', 'Č', 'R', 'S', 'J'], [ - 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', - 'roovvâd', 'skammâ', 'juovlâ' + 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', 'roovvâd', + 'skammâ', 'juovlâ' ], [ - 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', 'vyesimáánu', - 'kesimáánu', 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', 'roovvâdmáánu', - 'skammâmáánu', 'juovlâmáánu' + 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', 'vyesimáánu', 'kesimáánu', + 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', 'roovvâdmáánu', 'skammâmáánu', 'juovlâmáánu' ] ], u, diff --git a/packages/common/locales/sn.ts b/packages/common/locales/sn.ts index e4c97575ff..b161f41a5d 100644 --- a/packages/common/locales/sn.ts +++ b/packages/common/locales/sn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/so-DJ.ts b/packages/common/locales/so-DJ.ts index fffa374ce8..c5aaf6bd5e 100644 --- a/packages/common/locales/so-DJ.ts +++ b/packages/common/locales/so-DJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/so-ET.ts b/packages/common/locales/so-ET.ts index 6d23f0018c..8596e60999 100644 --- a/packages/common/locales/so-ET.ts +++ b/packages/common/locales/so-ET.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/so-KE.ts b/packages/common/locales/so-KE.ts index 0266a9e1b6..e008a609e9 100644 --- a/packages/common/locales/so-KE.ts +++ b/packages/common/locales/so-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/so.ts b/packages/common/locales/so.ts index 642a7c7d1c..1975c67aac 100644 --- a/packages/common/locales/so.ts +++ b/packages/common/locales/so.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sq-MK.ts b/packages/common/locales/sq-MK.ts index e2029735a4..20de326ba2 100644 --- a/packages/common/locales/sq-MK.ts +++ b/packages/common/locales/sq-MK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sq-XK.ts b/packages/common/locales/sq-XK.ts index 5e6bbf9c85..4a80c645f2 100644 --- a/packages/common/locales/sq-XK.ts +++ b/packages/common/locales/sq-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sq.ts b/packages/common/locales/sq.ts index 05dda19fb2..a156ac262a 100644 --- a/packages/common/locales/sq.ts +++ b/packages/common/locales/sq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sr-Cyrl-BA.ts b/packages/common/locales/sr-Cyrl-BA.ts index 02e9f198f2..5e44436aab 100644 --- a/packages/common/locales/sr-Cyrl-BA.ts +++ b/packages/common/locales/sr-Cyrl-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,31 +28,21 @@ export default [ [['a', 'p'], ['прије подне', 'по подне'], u], [['а', 'p'], ['прије подне', 'по подне'], u], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'ут', 'ср', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', - 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'ут', 'ср', 'чет', 'пет', 'суб'], + ['недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/sr-Cyrl-ME.ts b/packages/common/locales/sr-Cyrl-ME.ts index e7bba8bd2b..74a2455620 100644 --- a/packages/common/locales/sr-Cyrl-ME.ts +++ b/packages/common/locales/sr-Cyrl-ME.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,31 +28,21 @@ export default [ [['a', 'p'], ['прије подне', 'по подне'], u], u, [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', - 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недјеља', 'понедељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'], ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['прије нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['прије нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/sr-Cyrl-XK.ts b/packages/common/locales/sr-Cyrl-XK.ts index 35e51c4744..8f3e63b4f0 100644 --- a/packages/common/locales/sr-Cyrl-XK.ts +++ b/packages/common/locales/sr-Cyrl-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,31 +28,21 @@ export default [ [['a', 'p'], ['пре подне', 'по подне'], u], u, [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'март', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/sr-Cyrl.ts b/packages/common/locales/sr-Cyrl.ts index 3c70504443..344ad7bfc7 100644 --- a/packages/common/locales/sr-Cyrl.ts +++ b/packages/common/locales/sr-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,31 +28,21 @@ export default [ [['a', 'p'], ['пре подне', 'по подне'], u], [['пре подне', 'по подне'], u, u], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/sr-Latn-BA.ts b/packages/common/locales/sr-Latn-BA.ts index 8cccf22868..39b41a8eb6 100644 --- a/packages/common/locales/sr-Latn-BA.ts +++ b/packages/common/locales/sr-Latn-BA.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sr-Latn-ME.ts b/packages/common/locales/sr-Latn-ME.ts index 239e9bfded..2df9557d60 100644 --- a/packages/common/locales/sr-Latn-ME.ts +++ b/packages/common/locales/sr-Latn-ME.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sr-Latn-XK.ts b/packages/common/locales/sr-Latn-XK.ts index 8ff241de13..c2d1d54bb7 100644 --- a/packages/common/locales/sr-Latn-XK.ts +++ b/packages/common/locales/sr-Latn-XK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sr-Latn.ts b/packages/common/locales/sr-Latn.ts index 5dc7b6605e..745e0c5125 100644 --- a/packages/common/locales/sr-Latn.ts +++ b/packages/common/locales/sr-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sr.ts b/packages/common/locales/sr.ts index c0dfb289c1..e8eda30513 100644 --- a/packages/common/locales/sr.ts +++ b/packages/common/locales/sr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,31 +28,21 @@ export default [ [['a', 'p'], ['пре подне', 'по подне'], u], [['пре подне', 'по подне'], u, u], [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], - ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - [ - 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', - 'петак', 'субота' - ], + ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] ], u, [ ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], [ - 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', - 'окт', 'нов', 'дец' - ], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', - 'август', 'септембар', 'октобар', 'новембар', 'децембар' + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', + 'новембар', 'децембар' ] ], u, - [ - ['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], - ['пре нове ере', 'нове ере'] - ], + [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], 1, [6, 0], ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], diff --git a/packages/common/locales/sv-AX.ts b/packages/common/locales/sv-AX.ts index 83992c1894..3ad69c56e0 100644 --- a/packages/common/locales/sv-AX.ts +++ b/packages/common/locales/sv-AX.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sv-FI.ts b/packages/common/locales/sv-FI.ts index f383727eca..4ecf50dcc2 100644 --- a/packages/common/locales/sv-FI.ts +++ b/packages/common/locales/sv-FI.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sv.ts b/packages/common/locales/sv.ts index 859e0d1944..66d84b42e4 100644 --- a/packages/common/locales/sv.ts +++ b/packages/common/locales/sv.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sw-CD.ts b/packages/common/locales/sw-CD.ts index 0d49637eaf..25dbcaad1b 100644 --- a/packages/common/locales/sw-CD.ts +++ b/packages/common/locales/sw-CD.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sw-KE.ts b/packages/common/locales/sw-KE.ts index d4748e4874..e45b848e8a 100644 --- a/packages/common/locales/sw-KE.ts +++ b/packages/common/locales/sw-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sw-UG.ts b/packages/common/locales/sw-UG.ts index 347e66386e..99d317206e 100644 --- a/packages/common/locales/sw-UG.ts +++ b/packages/common/locales/sw-UG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/sw.ts b/packages/common/locales/sw.ts index ec192a0a97..0d9ae6eb91 100644 --- a/packages/common/locales/sw.ts +++ b/packages/common/locales/sw.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ta-LK.ts b/packages/common/locales/ta-LK.ts index 455efe9adb..d11cb90430 100644 --- a/packages/common/locales/ta-LK.ts +++ b/packages/common/locales/ta-LK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,41 +22,21 @@ export default [ u, [ ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', - 'வியாழன்', 'வெள்ளி', 'சனி' - ], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] ], u, [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', - 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', 'டிசம்பர்' ] ], u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], 1, [6, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ta-MY.ts b/packages/common/locales/ta-MY.ts index 5bec786a60..51828555b6 100644 --- a/packages/common/locales/ta-MY.ts +++ b/packages/common/locales/ta-MY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,41 +22,21 @@ export default [ u, [ ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', - 'வியாழன்', 'வெள்ளி', 'சனி' - ], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] ], u, [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', - 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', 'டிசம்பர்' ] ], u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], 1, [6, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ta-SG.ts b/packages/common/locales/ta-SG.ts index 9cc0df4799..ac231335e2 100644 --- a/packages/common/locales/ta-SG.ts +++ b/packages/common/locales/ta-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,41 +22,21 @@ export default [ u, [ ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', - 'வியாழன்', 'வெள்ளி', 'சனி' - ], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] ], u, [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', - 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', 'டிசம்பர்' ] ], u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], 0, [6, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/ta.ts b/packages/common/locales/ta.ts index 8c7c71cb2b..c7a1691c10 100644 --- a/packages/common/locales/ta.ts +++ b/packages/common/locales/ta.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,41 +22,21 @@ export default [ u, [ ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - [ - 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', - 'வெள்.', 'சனி' - ], - [ - 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', - 'வியாழன்', 'வெள்ளி', 'சனி' - ], + ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] ], u, [ + ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], [ - 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', - 'டி' - ], - [ - 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', - 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' - ], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', - 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', - 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', 'டிசம்பர்' ] ], u, - [ - ['கி.மு.', 'கி.பி.'], u, - [ - 'கிறிஸ்துவுக்கு முன்', - 'அன்னோ டோமினி' - ] - ], + [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], 0, [0, 0], ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], diff --git a/packages/common/locales/te.ts b/packages/common/locales/te.ts index cd27a00580..9f7460e9ee 100644 --- a/packages/common/locales/te.ts +++ b/packages/common/locales/te.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,44 +21,21 @@ export default [ [['ఉ', 'సా'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], - [ - 'ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', - 'శని' - ], - [ - 'ఆదివారం', 'సోమవారం', 'మంగళవారం', - 'బుధవారం', 'గురువారం', 'శుక్రవారం', - 'శనివారం' - ], - [ - 'ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', - 'శని' - ] + ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'], + ['ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', 'శని'] ], u, [ + ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'], + ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'], [ - 'జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', - 'డి' - ], - [ - 'జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', - 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', - 'నవం', 'డిసెం' - ], - [ - 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', - 'మే', 'జూన్', 'జులై', 'ఆగస్టు', - 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', + 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', 'డిసెంబర్' ] ], u, - [ - ['క్రీపూ', 'క్రీశ'], u, - ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం'] - ], + [['క్రీపూ', 'క్రీశ'], u, ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం']], 0, [0, 0], ['dd-MM-yy', 'd MMM, y', 'd MMMM, y', 'd, MMMM y, EEEE'], diff --git a/packages/common/locales/teo-KE.ts b/packages/common/locales/teo-KE.ts index fdd51c1977..8f92821238 100644 --- a/packages/common/locales/teo-KE.ts +++ b/packages/common/locales/teo-KE.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/teo.ts b/packages/common/locales/teo.ts index da57698819..042ebb7f48 100644 --- a/packages/common/locales/teo.ts +++ b/packages/common/locales/teo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/tg.ts b/packages/common/locales/tg.ts index a851765ca9..f0b82c4463 100644 --- a/packages/common/locales/tg.ts +++ b/packages/common/locales/tg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,24 +20,17 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Ҷ', 'Ш'], - ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'], - [ - 'Якшанбе', 'Душанбе', 'Сешанбе', 'Чоршанбе', - 'Панҷшанбе', 'Ҷумъа', 'Шанбе' - ], + ['Я', 'Д', 'С', 'Ч', 'П', 'Ҷ', 'Ш'], ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'], + ['Якшанбе', 'Душанбе', 'Сешанбе', 'Чоршанбе', 'Панҷшанбе', 'Ҷумъа', 'Шанбе'], ['Яшб', 'Дшб', 'Сшб', 'Чшб', 'Пшб', 'Ҷмъ', 'Шнб'] ], u, [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], [ - 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', - 'Окт', 'Ноя', 'Дек' - ], - [ - 'Январ', 'Феврал', 'Март', 'Апрел', 'Май', 'Июн', 'Июл', - 'Август', 'Сентябр', 'Октябр', 'Ноябр', 'Декабр' + 'Январ', 'Феврал', 'Март', 'Апрел', 'Май', 'Июн', 'Июл', 'Август', 'Сентябр', 'Октябр', + 'Ноябр', 'Декабр' ] ], u, diff --git a/packages/common/locales/th.ts b/packages/common/locales/th.ts index 3e4b59318a..e3d98ad26f 100644 --- a/packages/common/locales/th.ts +++ b/packages/common/locales/th.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,41 +20,28 @@ export default [ [['a', 'p'], ['ก่อนเที่ยง', 'หลังเที่ยง'], u], [['ก่อนเที่ยง', 'หลังเที่ยง'], u, u], [ - ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], - ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], - [ - 'วันอาทิตย์', 'วันจันทร์', - 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', - 'วันศุกร์', 'วันเสาร์' - ], + ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + ['วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'], ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'] ], u, [ [ - 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', - 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', + 'ธ.ค.' ], u, [ - 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', - 'เมษายน', 'พฤษภาคม', 'มิถุนายน', - 'กรกฎาคม', 'สิงหาคม', 'กันยายน', + 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' ] ], u, - [ - ['ก่อน ค.ศ.', 'ค.ศ.'], u, - ['ปีก่อนคริสตกาล', 'คริสต์ศักราช'] - ], + [['ก่อน ค.ศ.', 'ค.ศ.'], u, ['ปีก่อนคริสตกาล', 'คริสต์ศักราช']], 0, [6, 0], ['d/M/yy', 'd MMM y', 'd MMMM G y', 'EEEEที่ d MMMM G y'], - [ - 'HH:mm', 'HH:mm:ss', 'H นาฬิกา mm นาที ss วินาที z', - 'H นาฬิกา mm นาที ss วินาที zzzz' - ], + ['HH:mm', 'HH:mm:ss', 'H นาฬิกา mm นาที ss วินาที z', 'H นาฬิกา mm นาที ss วินาที zzzz'], ['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], diff --git a/packages/common/locales/ti-ER.ts b/packages/common/locales/ti-ER.ts index 350fbb7d05..5cb9de196c 100644 --- a/packages/common/locales/ti-ER.ts +++ b/packages/common/locales/ti-ER.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,22 +21,14 @@ export default [ [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], u, [ - ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] ], u, [ ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], - [ - 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', - 'ጥቅ', 'ሕዳ', 'ታሕ' - ], - [ - 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', - 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' - ] + ['ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', 'ጥቅ', 'ሕዳ', 'ታሕ'], + ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ'] ], u, [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምህረት']], diff --git a/packages/common/locales/ti.ts b/packages/common/locales/ti.ts index 04e423edfd..fd10fad223 100644 --- a/packages/common/locales/ti.ts +++ b/packages/common/locales/ti.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,27 +21,17 @@ export default [ [['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], u, u], u, [ - ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] ], [ - ['ሰ', 'ሰ', 'ሠ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], - ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], - ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] + ['ሰ', 'ሰ', 'ሠ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + ['ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', 'ቀዳም'], ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'] ], [ ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], - [ - 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', - 'ጥቅ', 'ሕዳ', 'ታሕ' - ], - [ - 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', - 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' - ] + ['ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', 'ጥቅ', 'ሕዳ', 'ታሕ'], + ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ'] ], u, [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓ/ዓ', 'ዓመተ ምህረት']], diff --git a/packages/common/locales/tk.ts b/packages/common/locales/tk.ts index 9142c44911..b25d68fff2 100644 --- a/packages/common/locales/tk.ts +++ b/packages/common/locales/tk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,16 +34,16 @@ export default [ ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], ['ýan', 'few', 'mart', 'apr', 'maý', 'iýun', 'iýul', 'awg', 'sen', 'okt', 'noý', 'dek'], [ - 'ýanwar', 'fewral', 'mart', 'aprel', 'maý', 'iýun', 'iýul', 'awgust', 'sentýabr', - 'oktýabr', 'noýabr', 'dekabr' + 'ýanwar', 'fewral', 'mart', 'aprel', 'maý', 'iýun', 'iýul', 'awgust', 'sentýabr', 'oktýabr', + 'noýabr', 'dekabr' ] ], [ ['Ý', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], ['Ýan', 'Few', 'Mar', 'Apr', 'Maý', 'Iýun', 'Iýul', 'Awg', 'Sen', 'Okt', 'Noý', 'Dek'], [ - 'Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', - 'Oktýabr', 'Noýabr', 'Dekabr' + 'Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', + 'Noýabr', 'Dekabr' ] ], [['B.e.öň', 'B.e.'], u, ['Isadan öň', 'Isadan soň']], diff --git a/packages/common/locales/to.ts b/packages/common/locales/to.ts index 2c020a0238..3d4075884a 100644 --- a/packages/common/locales/to.ts +++ b/packages/common/locales/to.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,12 +27,10 @@ export default [ u, [ ['S', 'F', 'M', 'E', 'M', 'S', 'S', 'A', 'S', 'O', 'N', 'T'], + ['Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', 'Tīs'], [ - 'Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', 'Tīs' - ], - [ - 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', - 'Sepitema', 'ʻOkatopa', 'Nōvema', 'Tīsema' + 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', 'Sepitema', + 'ʻOkatopa', 'Nōvema', 'Tīsema' ] ], u, diff --git a/packages/common/locales/tr-CY.ts b/packages/common/locales/tr-CY.ts index 0989f5ca68..9069d6d4bf 100644 --- a/packages/common/locales/tr-CY.ts +++ b/packages/common/locales/tr-CY.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,8 +30,8 @@ export default [ ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], [ - 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', - 'Ekim', 'Kasım', 'Aralık' + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', + 'Kasım', 'Aralık' ] ], u, diff --git a/packages/common/locales/tr.ts b/packages/common/locales/tr.ts index 889a3fb972..fb82f0450d 100644 --- a/packages/common/locales/tr.ts +++ b/packages/common/locales/tr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,8 +30,8 @@ export default [ ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], [ - 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', - 'Ekim', 'Kasım', 'Aralık' + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', + 'Kasım', 'Aralık' ] ], u, diff --git a/packages/common/locales/tt.ts b/packages/common/locales/tt.ts index 7936ac3e2c..0a7fdac4a1 100644 --- a/packages/common/locales/tt.ts +++ b/packages/common/locales/tt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,25 +20,20 @@ export default [ [['AM', 'PM'], u, u], u, [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Җ', 'Ш'], - ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'], - [ - 'якшәмбе', 'дүшәмбе', 'сишәмбе', 'чәршәмбе', - 'пәнҗешәмбе', 'җомга', 'шимбә' - ], + ['Я', 'Д', 'С', 'Ч', 'П', 'Җ', 'Ш'], ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'], + ['якшәмбе', 'дүшәмбе', 'сишәмбе', 'чәршәмбе', 'пәнҗешәмбе', 'җомга', 'шимбә'], ['якш.', 'дүш.', 'сиш.', 'чәр.', 'пәнҗ.', 'җом.', 'шим.'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'гыйн.', 'фев.', 'мар.', 'апр.', 'май', 'июнь', 'июль', 'авг.', - 'сент.', 'окт.', 'нояб.', 'дек.' + 'гыйн.', 'фев.', 'мар.', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', + 'дек.' ], [ - 'гыйнвар', 'февраль', 'март', 'апрель', 'май', 'июнь', - 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', - 'декабрь' + 'гыйнвар', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', + 'октябрь', 'ноябрь', 'декабрь' ] ], u, diff --git a/packages/common/locales/twq.ts b/packages/common/locales/twq.ts index c17442b537..714d0892b1 100644 --- a/packages/common/locales/twq.ts +++ b/packages/common/locales/twq.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/tzm.ts b/packages/common/locales/tzm.ts index 5d482ce275..8a68d3a027 100644 --- a/packages/common/locales/tzm.ts +++ b/packages/common/locales/tzm.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/ug.ts b/packages/common/locales/ug.ts index be7328a798..75e35ef84c 100644 --- a/packages/common/locales/ug.ts +++ b/packages/common/locales/ug.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,21 +21,16 @@ export default [ [['ب', 'ك'], ['چ.ب', 'چ.ك'], ['چۈشتىن بۇرۇن', 'چۈشتىن كېيىن']], [['چ.ب', 'چ.ك'], u, u], [ - ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], - [ - 'يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', - 'پەيشەنبە', 'جۈمە', 'شەنبە' - ], + ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], + ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'], ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', - 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', - 'دېكابىر' + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', + 'ئۆكتەبىر', 'نويابىر', 'دېكابىر' ], u ], diff --git a/packages/common/locales/uk.ts b/packages/common/locales/uk.ts index d157003dbe..11cd4a7e86 100644 --- a/packages/common/locales/uk.ts +++ b/packages/common/locales/uk.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -29,43 +29,31 @@ export default [ [['дп', 'пп'], u, u], u, [ - ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - [ - 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', - 'пʼятниця', 'субота' - ], + ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'пʼятниця', 'субота'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] ], u, [ ['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'], [ - 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', - 'серп.', 'вер.', 'жовт.', 'лист.', 'груд.' + 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'вер.', 'жовт.', 'лист.', + 'груд.' ], [ - 'січня', 'лютого', 'березня', 'квітня', 'травня', - 'червня', 'липня', 'серпня', 'вересня', 'жовтня', - 'листопада', 'грудня' + 'січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', + 'жовтня', 'листопада', 'грудня' ] ], [ ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + ['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'], [ - 'січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', - 'жов', 'лис', 'гру' - ], - [ - 'січень', 'лютий', 'березень', 'квітень', 'травень', - 'червень', 'липень', 'серпень', 'вересень', 'жовтень', - 'листопад', 'грудень' + 'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', + 'вересень', 'жовтень', 'листопад', 'грудень' ] ], - [ - ['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], - ['до нашої ери', 'нашої ери'] - ], + [['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], ['до нашої ери', 'нашої ери']], 1, [6, 0], ['dd.MM.yy', 'd MMM y \'р\'.', 'd MMMM y \'р\'.', 'EEEE, d MMMM y \'р\'.'], diff --git a/packages/common/locales/ur-IN.ts b/packages/common/locales/ur-IN.ts index b0d7d366c9..0a7ef6194c 100644 --- a/packages/common/locales/ur-IN.ts +++ b/packages/common/locales/ur-IN.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,15 +22,15 @@ export default [ [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u ], u, [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], u ], diff --git a/packages/common/locales/ur.ts b/packages/common/locales/ur.ts index aefc098d5a..c4eb30439a 100644 --- a/packages/common/locales/ur.ts +++ b/packages/common/locales/ur.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,15 +22,15 @@ export default [ [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], u, u + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + u, u ], u, [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', - 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ], u ], diff --git a/packages/common/locales/uz-Arab.ts b/packages/common/locales/uz-Arab.ts index 2a6d7f16df..8f079ee6ba 100644 --- a/packages/common/locales/uz-Arab.ts +++ b/packages/common/locales/uz-Arab.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,22 +21,16 @@ export default [ u, [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], - [ - 'یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', - 'جمعه', 'شنبه' - ], + ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'] ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', 'اکت', 'نوم', 'دسم'], [ - 'جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', - 'اکت', 'نوم', 'دسم' - ], - [ - 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', - 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', + 'دسمبر' ] ], u, diff --git a/packages/common/locales/uz-Cyrl.ts b/packages/common/locales/uz-Cyrl.ts index 38b34e53af..ff29e0ec07 100644 --- a/packages/common/locales/uz-Cyrl.ts +++ b/packages/common/locales/uz-Cyrl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,24 +20,17 @@ export default [ [['ТО', 'ТК'], u, u], u, [ - ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], - ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], - [ - 'якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', - 'жума', 'шанба' - ], + ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], + ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'], ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'] ], u, [ ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], [ - 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', - 'окт', 'ноя', 'дек' - ], - [ - 'январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', - 'август', 'сентябр', 'октябр', 'ноябр', 'декабр' + 'январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентябр', 'октябр', + 'ноябр', 'декабр' ] ], u, diff --git a/packages/common/locales/uz-Latn.ts b/packages/common/locales/uz-Latn.ts index 48b3952024..78a7d3c1fd 100644 --- a/packages/common/locales/uz-Latn.ts +++ b/packages/common/locales/uz-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/uz.ts b/packages/common/locales/uz.ts index b291a24272..3505f9defd 100644 --- a/packages/common/locales/uz.ts +++ b/packages/common/locales/uz.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/vai-Latn.ts b/packages/common/locales/vai-Latn.ts index 0f1d7aea98..ff9783ac31 100644 --- a/packages/common/locales/vai-Latn.ts +++ b/packages/common/locales/vai-Latn.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/vai-Vaii.ts b/packages/common/locales/vai-Vaii.ts index 5ed1b1a78d..79f736ed44 100644 --- a/packages/common/locales/vai-Vaii.ts +++ b/packages/common/locales/vai-Vaii.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -19,24 +19,13 @@ export default [ 'vai-Vaii', [['AM', 'PM'], u, u], u, - [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', - 'ꔻꔬꔳ' - ], - u, u - ], + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'], u, u], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ'], [ - 'ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', - 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ' - ], - [ - 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', - 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', + 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' ] ], diff --git a/packages/common/locales/vai.ts b/packages/common/locales/vai.ts index 69ce4967c0..32c89abc23 100644 --- a/packages/common/locales/vai.ts +++ b/packages/common/locales/vai.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -19,24 +19,13 @@ export default [ 'vai', [['AM', 'PM'], u, u], u, - [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', - 'ꔻꔬꔳ' - ], - u, u - ], + [['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'], u, u], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ'], [ - 'ꖨꖕꔞ', 'ꕒꕡ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', - 'ꕭꖃ', 'ꔞꘋ', 'ꖨꖕꗏ' - ], - [ - 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', - 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', + 'ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꖕ ꕪꕴ ꗏꖺꕮꕊ' ] ], diff --git a/packages/common/locales/vi.ts b/packages/common/locales/vi.ts index caca8af16d..b69601e5fb 100644 --- a/packages/common/locales/vi.ts +++ b/packages/common/locales/vi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,10 +22,7 @@ export default [ [ ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], - [ - 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', - 'Thứ Bảy' - ], + ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'] ], u, @@ -36,8 +33,8 @@ export default [ 'thg 11', 'thg 12' ], [ - 'tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', - 'tháng 8', 'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12' + 'tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', 'tháng 8', + 'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12' ] ], [ @@ -47,8 +44,8 @@ export default [ 'Thg 11', 'Thg 12' ], [ - 'Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', - 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12' + 'Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8', + 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12' ] ], [['tr. CN', 'sau CN'], ['Trước CN', 'sau CN'], u], diff --git a/packages/common/locales/vo.ts b/packages/common/locales/vo.ts index 018d198ea7..7dc1ad310f 100644 --- a/packages/common/locales/vo.ts +++ b/packages/common/locales/vo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/vun.ts b/packages/common/locales/vun.ts index 96874c5147..9bbf62e354 100644 --- a/packages/common/locales/vun.ts +++ b/packages/common/locales/vun.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/wae.ts b/packages/common/locales/wae.ts index 34e97e1d07..a427cd4499 100644 --- a/packages/common/locales/wae.ts +++ b/packages/common/locales/wae.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,8 +30,8 @@ export default [ ['J', 'H', 'M', 'A', 'M', 'B', 'H', 'Ö', 'H', 'W', 'W', 'C'], ['Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'Wím', 'Win', 'Chr'], [ - 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', - 'Herbštmánet', 'Wímánet', 'Wintermánet', 'Chrištmánet' + 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', 'Herbštmánet', + 'Wímánet', 'Wintermánet', 'Chrištmánet' ] ], u, diff --git a/packages/common/locales/wo.ts b/packages/common/locales/wo.ts index 0458cceb68..ec294b4f4c 100644 --- a/packages/common/locales/wo.ts +++ b/packages/common/locales/wo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/xh.ts b/packages/common/locales/xh.ts index c252edc997..e2cf6f5f8c 100644 --- a/packages/common/locales/xh.ts +++ b/packages/common/locales/xh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/xog.ts b/packages/common/locales/xog.ts index f37edfe92c..1f0fb8e576 100644 --- a/packages/common/locales/xog.ts +++ b/packages/common/locales/xog.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/locales/yav.ts b/packages/common/locales/yav.ts index 50c4fd78eb..ee9646b7ff 100644 --- a/packages/common/locales/yav.ts +++ b/packages/common/locales/yav.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,10 +21,7 @@ export default [ u, [ ['s', 'm', 'm', 'e', 'k', 'f', 's'], ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], - [ - 'sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', - 'feléte', 'séselé' - ], + ['sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', 'feléte', 'séselé'], ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'] ], u, @@ -32,10 +29,9 @@ export default [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'], [ - 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', - 'ɔnsúmbɔl, oóli ú kátátúɛ', 'mesiŋ, oóli ú kénie', 'ensil, oóli ú kátánuɛ', - 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', 'imɛŋ i putúk,oóli ú kátíɛ', - 'makandikɛ', 'pilɔndɔ́' + 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', 'ɔnsúmbɔl, oóli ú kátátúɛ', + 'mesiŋ, oóli ú kénie', 'ensil, oóli ú kátánuɛ', 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', + 'imɛŋ i putúk,oóli ú kátíɛ', 'makandikɛ', 'pilɔndɔ́' ] ], u, diff --git a/packages/common/locales/yi.ts b/packages/common/locales/yi.ts index fc9172a88f..1bf8fde28e 100644 --- a/packages/common/locales/yi.ts +++ b/packages/common/locales/yi.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,32 +23,23 @@ export default [ u, [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', 'דאנערשטיק', - 'פֿרײַטיק', 'שבת' - ], - u, u + ['זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', 'דאנערשטיק', 'פֿרײַטיק', 'שבת'], u, u ], u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], [ - 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', - 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', 'נאוועמבער', - 'דעצעמבער' + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', + 'אקטאבער', 'נאוועמבער', 'דעצעמבער' ], u ], [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['יאַנ', 'פֿעב', 'מערץ', 'אַפּר', 'מיי', 'יוני', 'יולי', 'אויג', 'סעפּ', 'אקט', 'נאוו', 'דעצ'], [ - 'יאַנ', 'פֿעב', 'מערץ', 'אַפּר', 'מיי', 'יוני', 'יולי', - 'אויג', 'סעפּ', 'אקט', 'נאוו', 'דעצ' - ], - [ - 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', - 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', 'נאוועמבער', - 'דעצעמבער' + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', + 'אקטאבער', 'נאוועמבער', 'דעצעמבער' ] ], [['BCE', 'CE'], u, u], diff --git a/packages/common/locales/yo-BJ.ts b/packages/common/locales/yo-BJ.ts index 638e56e01f..38ea383135 100644 --- a/packages/common/locales/yo-BJ.ts +++ b/packages/common/locales/yo-BJ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,37 +20,28 @@ export default [ [['Àárɔ̀', 'Ɔ̀sán'], u, u], u, [ - ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], - ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], - [ - 'Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', - 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta' - ], + ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], + ['Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta'], ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'] ], [ - ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], - ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], + ['À', 'A', 'Ì', 'Ɔ', 'Ɔ', 'Ɛ', 'À'], ['Àìk', 'Aj', 'Ìsɛ́g', 'Ɔjɔ́r', 'Ɔjɔ́b', 'Ɛt', 'Àbám'], ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], u ], [ ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], + ['Shɛ́r', 'Èrèl', 'Ɛrɛ̀n', 'Ìgb', 'Ɛ̀bi', 'Òkú', 'Agɛ', 'Ògú', 'Owe', 'Ɔ̀wà', 'Bél', 'Ɔ̀pɛ'], [ - 'Shɛ́r', 'Èrèl', 'Ɛrɛ̀n', 'Ìgb', 'Ɛ̀bi', 'Òkú', 'Agɛ', 'Ògú', 'Owe', 'Ɔ̀wà', - 'Bél', 'Ɔ̀pɛ' - ], - [ - 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', 'Oshù Ɛ̀bibi', - 'Oshù Òkúdu', 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', 'Oshù Ɔ̀wàrà', - 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' + 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', 'Oshù Ɛ̀bibi', 'Oshù Òkúdu', + 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', 'Oshù Ɔ̀wàrà', 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' ] ], [ ['S', 'È', 'Ɛ', 'Ì', 'Ɛ̀', 'Ò', 'A', 'Ò', 'O', 'Ɔ̀', 'B', 'Ɔ̀'], ['Shɛ́', 'Èr', 'Ɛr', 'Ìg', 'Ɛ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ɔ̀w', 'Bé', 'Ɔ̀p'], [ - 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', 'Ògún', - 'Owewe', 'Ɔ̀wàrà', 'Bélú', 'Ɔ̀pɛ̀' + 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', 'Ògún', 'Owewe', 'Ɔ̀wàrà', + 'Bélú', 'Ɔ̀pɛ̀' ] ], [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], diff --git a/packages/common/locales/yo.ts b/packages/common/locales/yo.ts index c69310c89d..766cf7fab9 100644 --- a/packages/common/locales/yo.ts +++ b/packages/common/locales/yo.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,41 +20,28 @@ export default [ [['Àárọ̀', 'Ọ̀sán'], u, u], u, [ - ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], - ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], - [ - 'Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', - 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta' - ], + ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], + ['Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta'], ['Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta'] ], [ - ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], - ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], - ['Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta'], - u + ['À', 'A', 'Ì', 'Ọ', 'Ọ', 'Ẹ', 'À'], ['Àìk', 'Aj', 'Ìsẹ́g', 'Ọjọ́r', 'Ọjọ́b', 'Ẹt', 'Àbám'], + ['Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', 'Àbámẹ́ta'], u ], [ ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], + ['Ṣẹ́r', 'Èrèl', 'Ẹrẹ̀n', 'Ìgb', 'Ẹ̀bi', 'Òkú', 'Agẹ', 'Ògú', 'Owe', 'Ọ̀wà', 'Bél', 'Ọ̀pẹ'], [ - 'Ṣẹ́r', 'Èrèl', 'Ẹrẹ̀n', 'Ìgb', 'Ẹ̀bi', 'Òkú', 'Agẹ', 'Ògú', 'Owe', - 'Ọ̀wà', 'Bél', 'Ọ̀pẹ' - ], - [ - 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', - 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', 'Oṣù Ògún', 'Oṣù Owewe', - 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' + 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', + 'Oṣù Ògún', 'Oṣù Owewe', 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' ] ], [ ['S', 'È', 'Ẹ', 'Ì', 'Ẹ̀', 'Ò', 'A', 'Ò', 'O', 'Ọ̀', 'B', 'Ọ̀'], + ['Ṣẹ́', 'Èr', 'Ẹr', 'Ìg', 'Ẹ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ọ̀w', 'Bé', 'Ọ̀p'], [ - 'Ṣẹ́', 'Èr', 'Ẹr', 'Ìg', 'Ẹ̀b', 'Òk', 'Ag', 'Òg', 'Ow', 'Ọ̀w', 'Bé', - 'Ọ̀p' - ], - [ - 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', 'Agẹmọ', - 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', 'Ọ̀pẹ̀' + 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', 'Agẹmọ', 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', + 'Ọ̀pẹ̀' ] ], [['BCE', 'AD'], u, ['Saju Kristi', 'Lehin Kristi']], diff --git a/packages/common/locales/yue-Hans.ts b/packages/common/locales/yue-Hans.ts index 56e26f03b1..426d137776 100644 --- a/packages/common/locales/yue-Hans.ts +++ b/packages/common/locales/yue-Hans.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/yue-Hant.ts b/packages/common/locales/yue-Hant.ts index ac867b32d9..1102f4d64c 100644 --- a/packages/common/locales/yue-Hant.ts +++ b/packages/common/locales/yue-Hant.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,11 +27,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['西元前', '西元'], u, u], diff --git a/packages/common/locales/yue.ts b/packages/common/locales/yue.ts index 08f326a867..d18e631649 100644 --- a/packages/common/locales/yue.ts +++ b/packages/common/locales/yue.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,11 +27,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['西元前', '西元'], u, u], diff --git a/packages/common/locales/zgh.ts b/packages/common/locales/zgh.ts index 3317707160..49e7fe94ca 100644 --- a/packages/common/locales/zgh.ts +++ b/packages/common/locales/zgh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,38 +20,21 @@ export default [ [['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'], u, u], u, [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ], - [ - 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', - 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' - ], - [ - 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', - 'ⴰⵙⵉⴹ' - ] + ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'], + ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'], + ['ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'] ], u, [ ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + ['ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ'], [ - 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', - 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' - ], - [ - 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', - 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', - 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', + 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⴰⵏⴱⵉⵔ' ] ], u, - [ - ['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, - ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] - ], + [['ⴷⴰⵄ', 'ⴷⴼⵄ'], u, ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ']], 1, [6, 0], ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], diff --git a/packages/common/locales/zh-Hans-HK.ts b/packages/common/locales/zh-Hans-HK.ts index 28a1957cb0..1fb49b3195 100644 --- a/packages/common/locales/zh-Hans-HK.ts +++ b/packages/common/locales/zh-Hans-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/zh-Hans-MO.ts b/packages/common/locales/zh-Hans-MO.ts index 2b4fc24d1b..bc3f205a4a 100644 --- a/packages/common/locales/zh-Hans-MO.ts +++ b/packages/common/locales/zh-Hans-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/zh-Hans-SG.ts b/packages/common/locales/zh-Hans-SG.ts index 3b33f60030..7171ed1f9c 100644 --- a/packages/common/locales/zh-Hans-SG.ts +++ b/packages/common/locales/zh-Hans-SG.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/zh-Hans.ts b/packages/common/locales/zh-Hans.ts index 4644e69b79..594c9c5431 100644 --- a/packages/common/locales/zh-Hans.ts +++ b/packages/common/locales/zh-Hans.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/zh-Hant-HK.ts b/packages/common/locales/zh-Hant-HK.ts index 643cfa6e9d..8400e9994f 100644 --- a/packages/common/locales/zh-Hant-HK.ts +++ b/packages/common/locales/zh-Hant-HK.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,11 +28,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['公元前', '公元'], u, u], diff --git a/packages/common/locales/zh-Hant-MO.ts b/packages/common/locales/zh-Hant-MO.ts index c614f4cd08..637e7931d5 100644 --- a/packages/common/locales/zh-Hant-MO.ts +++ b/packages/common/locales/zh-Hant-MO.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,11 +28,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['公元前', '公元'], u, u], diff --git a/packages/common/locales/zh-Hant.ts b/packages/common/locales/zh-Hant.ts index 50aabcd43b..53f6f30a00 100644 --- a/packages/common/locales/zh-Hant.ts +++ b/packages/common/locales/zh-Hant.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,11 +28,7 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - u + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u ], u, [['西元前', '西元'], u, u], diff --git a/packages/common/locales/zh.ts b/packages/common/locales/zh.ts index 8d904a31b1..e61d2c3316 100644 --- a/packages/common/locales/zh.ts +++ b/packages/common/locales/zh.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,13 +28,10 @@ export default [ u, [ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], [ - '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', - '12月' - ], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', - '十月', '十一月', '十二月' + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', + '十二月' ] ], u, diff --git a/packages/common/locales/zu.ts b/packages/common/locales/zu.ts index d435cf36b6..331d3abc23 100644 --- a/packages/common/locales/zu.ts +++ b/packages/common/locales/zu.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/package.json b/packages/common/package.json index f0f7e36925..b942b2fa21 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -5,10 +5,12 @@ "author": "angular", "license": "MIT", "locales": "locales", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { - "rxjs": "^6.5.3", "@angular/core": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "rxjs": "^6.5.3" }, "repository": { "type": "git", diff --git a/packages/common/public_api.ts b/packages/common/public_api.ts index 7dfd92837b..fcbb973a63 100644 --- a/packages/common/public_api.ts +++ b/packages/common/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/common.ts b/packages/common/src/common.ts index e9be42668a..5f0c0b1068 100644 --- a/packages/common/src/common.ts +++ b/packages/common/src/common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/common_module.ts b/packages/common/src/common_module.ts index 9427ba7a00..67d4eec3f8 100644 --- a/packages/common/src/common_module.ts +++ b/packages/common/src/common_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/cookie.ts b/packages/common/src/cookie.ts index 1e577cfe2b..44945a1c68 100644 --- a/packages/common/src/cookie.ts +++ b/packages/common/src/cookie.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/index.ts b/packages/common/src/directives/index.ts index c776cb8ee2..d700bd6787 100644 --- a/packages/common/src/directives/index.ts +++ b/packages/common/src/directives/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_class.ts b/packages/common/src/directives/ng_class.ts index f371ecd1f4..4a11352107 100644 --- a/packages/common/src/directives/ng_class.ts +++ b/packages/common/src/directives/ng_class.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_component_outlet.ts b/packages/common/src/directives/ng_component_outlet.ts index 6c601b6442..26eb178c2b 100644 --- a/packages/common/src/directives/ng_component_outlet.ts +++ b/packages/common/src/directives/ng_component_outlet.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_for_of.ts b/packages/common/src/directives/ng_for_of.ts index ff26eaf0f6..376650d268 100644 --- a/packages/common/src/directives/ng_for_of.ts +++ b/packages/common/src/directives/ng_for_of.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_if.ts b/packages/common/src/directives/ng_if.ts index 2868055a97..b59b0f7105 100644 --- a/packages/common/src/directives/ng_if.ts +++ b/packages/common/src/directives/ng_if.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_plural.ts b/packages/common/src/directives/ng_plural.ts index 52158f9347..fbd8244724 100644 --- a/packages/common/src/directives/ng_plural.ts +++ b/packages/common/src/directives/ng_plural.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_style.ts b/packages/common/src/directives/ng_style.ts index c864b50927..6c5a77225c 100644 --- a/packages/common/src/directives/ng_style.ts +++ b/packages/common/src/directives/ng_style.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_switch.ts b/packages/common/src/directives/ng_switch.ts index a8c0ab95d7..5847340383 100644 --- a/packages/common/src/directives/ng_switch.ts +++ b/packages/common/src/directives/ng_switch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/directives/ng_template_outlet.ts b/packages/common/src/directives/ng_template_outlet.ts index 2914208167..29204e04a1 100644 --- a/packages/common/src/directives/ng_template_outlet.ts +++ b/packages/common/src/directives/ng_template_outlet.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/dom_adapter.ts b/packages/common/src/dom_adapter.ts index 5b715ff982..0e2d832dbe 100644 --- a/packages/common/src/dom_adapter.ts +++ b/packages/common/src/dom_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/dom_tokens.ts b/packages/common/src/dom_tokens.ts index 1ed9008580..e7c8d9fc30 100644 --- a/packages/common/src/dom_tokens.ts +++ b/packages/common/src/dom_tokens.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/i18n/currencies.ts b/packages/common/src/i18n/currencies.ts index 084936da9d..2a85751530 100644 --- a/packages/common/src/i18n/currencies.ts +++ b/packages/common/src/i18n/currencies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,11 +9,11 @@ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js -export type CurrenciesSymbols = [string] | [string | undefined, string]; +export type CurrenciesSymbols = [string]|[string | undefined, string]; /** @internal */ export const CURRENCIES_EN: - {[code: string]: CurrenciesSymbols | [string | undefined, string | undefined, number]} = { + {[code: string]: CurrenciesSymbols|[string | undefined, string | undefined, number]} = { 'ADP': [undefined, undefined, 0], 'AFN': [undefined, undefined, 0], 'ALL': [undefined, undefined, 0], diff --git a/packages/common/src/i18n/format_date.ts b/packages/common/src/i18n/format_date.ts index ca7de5b3e6..94af078310 100644 --- a/packages/common/src/i18n/format_date.ts +++ b/packages/common/src/i18n/format_date.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -412,8 +412,10 @@ function weekGetter(size: number, monthBased = false): DateFormatter { const today = date.getDate(); result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7); } else { - const firstThurs = getFirstThursdayOfYear(date.getFullYear()); const thisThurs = getThursdayThisWeek(date); + // Some days of a year are part of next year according to ISO 8601. + // Compute the firstThurs from the year of this week's Thursday + const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear()); const diff = thisThurs.getTime() - firstThurs.getTime(); result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week } diff --git a/packages/common/src/i18n/format_number.ts b/packages/common/src/i18n/format_number.ts index ba4e358e8d..62b53361ca 100644 --- a/packages/common/src/i18n/format_number.ts +++ b/packages/common/src/i18n/format_number.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/i18n/locale_data.ts b/packages/common/src/i18n/locale_data.ts index c2355c8a5d..ace7b33d0a 100644 --- a/packages/common/src/i18n/locale_data.ts +++ b/packages/common/src/i18n/locale_data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/i18n/locale_data_api.ts b/packages/common/src/i18n/locale_data_api.ts index ef1321bade..a4661fde93 100644 --- a/packages/common/src/i18n/locale_data_api.ts +++ b/packages/common/src/i18n/locale_data_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/i18n/localization.ts b/packages/common/src/i18n/localization.ts index b213aae529..096cadccbb 100644 --- a/packages/common/src/i18n/localization.ts +++ b/packages/common/src/i18n/localization.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/location/hash_location_strategy.ts b/packages/common/src/location/hash_location_strategy.ts index 4c17e30cbe..5f06a98bd5 100644 --- a/packages/common/src/location/hash_location_strategy.ts +++ b/packages/common/src/location/hash_location_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/location/index.ts b/packages/common/src/location/index.ts index 55fd827448..ac4b3f00d2 100644 --- a/packages/common/src/location/index.ts +++ b/packages/common/src/location/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/location/location.ts b/packages/common/src/location/location.ts index 26bc256526..b0c2ce39df 100644 --- a/packages/common/src/location/location.ts +++ b/packages/common/src/location/location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -82,6 +82,8 @@ export class Location { _platformLocation: PlatformLocation; /** @internal */ _urlChangeListeners: ((url: string, state: unknown) => void)[] = []; + /** @internal */ + _urlChangeSubscription?: SubscriptionLike; constructor(platformStrategy: LocationStrategy, platformLocation: PlatformLocation) { this._platformStrategy = platformStrategy; @@ -266,9 +268,12 @@ export class Location { */ onUrlChange(fn: (url: string, state: unknown) => void) { this._urlChangeListeners.push(fn); - this.subscribe(v => { - this._notifyUrlChangeListeners(v.url, v.state); - }); + + if (!this._urlChangeSubscription) { + this._urlChangeSubscription = this.subscribe(v => { + this._notifyUrlChangeListeners(v.url, v.state); + }); + } } /** @internal */ diff --git a/packages/common/src/location/location_strategy.ts b/packages/common/src/location/location_strategy.ts index 6e3fc8bbb1..c10880d45d 100644 --- a/packages/common/src/location/location_strategy.ts +++ b/packages/common/src/location/location_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/location/platform_location.ts b/packages/common/src/location/platform_location.ts index 0254320320..539bbb5a7a 100644 --- a/packages/common/src/location/platform_location.ts +++ b/packages/common/src/location/platform_location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -189,4 +189,4 @@ export function supportsState(): boolean { } export function createBrowserPlatformLocation() { return new BrowserPlatformLocation(ɵɵinject(DOCUMENT)); -} \ No newline at end of file +} diff --git a/packages/common/src/location/util.ts b/packages/common/src/location/util.ts index 43415510bd..b87dd7605d 100644 --- a/packages/common/src/location/util.ts +++ b/packages/common/src/location/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/async_pipe.ts b/packages/common/src/pipes/async_pipe.ts index 7dbfc995a2..ee259a569b 100644 --- a/packages/common/src/pipes/async_pipe.ts +++ b/packages/common/src/pipes/async_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/case_conversion_pipes.ts b/packages/common/src/pipes/case_conversion_pipes.ts index 5cc1bc26aa..48d8203c28 100644 --- a/packages/common/src/pipes/case_conversion_pipes.ts +++ b/packages/common/src/pipes/case_conversion_pipes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -58,7 +58,7 @@ const unicodeWordMatch = /** * Transforms text to title case. - * Capitalizes the first letter of each word, and transforms the + * Capitalizes the first letter of each word and transforms the * rest of the word to lower case. * Words are delimited by any whitespace character, such as a space, tab, or line-feed character. * diff --git a/packages/common/src/pipes/date_pipe.ts b/packages/common/src/pipes/date_pipe.ts index c25417cc0a..ce0d5051f0 100644 --- a/packages/common/src/pipes/date_pipe.ts +++ b/packages/common/src/pipes/date_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/i18n_plural_pipe.ts b/packages/common/src/pipes/i18n_plural_pipe.ts index e8500d86bd..a0956167b0 100644 --- a/packages/common/src/pipes/i18n_plural_pipe.ts +++ b/packages/common/src/pipes/i18n_plural_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/i18n_select_pipe.ts b/packages/common/src/pipes/i18n_select_pipe.ts index f6cfa58a55..d5fac44493 100644 --- a/packages/common/src/pipes/i18n_select_pipe.ts +++ b/packages/common/src/pipes/i18n_select_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/index.ts b/packages/common/src/pipes/index.ts index 708b67f49a..c52ee474cc 100644 --- a/packages/common/src/pipes/index.ts +++ b/packages/common/src/pipes/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/invalid_pipe_argument_error.ts b/packages/common/src/pipes/invalid_pipe_argument_error.ts index 92add35e0b..e8c6e2ab1b 100644 --- a/packages/common/src/pipes/invalid_pipe_argument_error.ts +++ b/packages/common/src/pipes/invalid_pipe_argument_error.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/json_pipe.ts b/packages/common/src/pipes/json_pipe.ts index a0408a5b8f..5169465c85 100644 --- a/packages/common/src/pipes/json_pipe.ts +++ b/packages/common/src/pipes/json_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/keyvalue_pipe.ts b/packages/common/src/pipes/keyvalue_pipe.ts index a0e56be48a..19730731b1 100644 --- a/packages/common/src/pipes/keyvalue_pipe.ts +++ b/packages/common/src/pipes/keyvalue_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/number_pipe.ts b/packages/common/src/pipes/number_pipe.ts index ffcfeda9d8..bdc7ca89c4 100644 --- a/packages/common/src/pipes/number_pipe.ts +++ b/packages/common/src/pipes/number_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/pipes/slice_pipe.ts b/packages/common/src/pipes/slice_pipe.ts index 531be092b8..4dc707f85f 100644 --- a/packages/common/src/pipes/slice_pipe.ts +++ b/packages/common/src/pipes/slice_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/platform_id.ts b/packages/common/src/platform_id.ts index faf7dbc643..eaf25fb31c 100644 --- a/packages/common/src/platform_id.ts +++ b/packages/common/src/platform_id.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/private_export.ts b/packages/common/src/private_export.ts index a18c76694d..ed72cf357a 100644 --- a/packages/common/src/private_export.ts +++ b/packages/common/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/version.ts b/packages/common/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/common/src/version.ts +++ b/packages/common/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/src/viewport_scroller.ts b/packages/common/src/viewport_scroller.ts index 9462a709a3..c2def3b91b 100644 --- a/packages/common/src/viewport_scroller.ts +++ b/packages/common/src/viewport_scroller.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/cookie_spec.ts b/packages/common/test/cookie_spec.ts index 0fa17ba5ab..2a83cb7b9c 100644 --- a/packages/common/test/cookie_spec.ts +++ b/packages/common/test/cookie_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_class_spec.ts b/packages/common/test/directives/ng_class_spec.ts index 419b443f83..b0eef33aad 100644 --- a/packages/common/test/directives/ng_class_spec.ts +++ b/packages/common/test/directives/ng_class_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_component_outlet_spec.ts b/packages/common/test/directives/ng_component_outlet_spec.ts index e5ddc9d63b..cefe18a44a 100644 --- a/packages/common/test/directives/ng_component_outlet_spec.ts +++ b/packages/common/test/directives/ng_component_outlet_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_for_spec.ts b/packages/common/test/directives/ng_for_spec.ts index 6ce561de12..1b2fdb6f6c 100644 --- a/packages/common/test/directives/ng_for_spec.ts +++ b/packages/common/test/directives/ng_for_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_if_spec.ts b/packages/common/test/directives/ng_if_spec.ts index 2e9cd74069..38f526ec67 100644 --- a/packages/common/test/directives/ng_if_spec.ts +++ b/packages/common/test/directives/ng_if_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_plural_spec.ts b/packages/common/test/directives/ng_plural_spec.ts index 9a5a30bb98..677c3240ed 100644 --- a/packages/common/test/directives/ng_plural_spec.ts +++ b/packages/common/test/directives/ng_plural_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_style_spec.ts b/packages/common/test/directives/ng_style_spec.ts index 3ec43fa203..095e5034e3 100644 --- a/packages/common/test/directives/ng_style_spec.ts +++ b/packages/common/test/directives/ng_style_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_switch_spec.ts b/packages/common/test/directives/ng_switch_spec.ts index 0dbeab3ace..425ea6fd7a 100644 --- a/packages/common/test/directives/ng_switch_spec.ts +++ b/packages/common/test/directives/ng_switch_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/ng_template_outlet_spec.ts b/packages/common/test/directives/ng_template_outlet_spec.ts index b6f6776806..7a6f05771a 100644 --- a/packages/common/test/directives/ng_template_outlet_spec.ts +++ b/packages/common/test/directives/ng_template_outlet_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/directives/non_bindable_spec.ts b/packages/common/test/directives/non_bindable_spec.ts index ceda2fb42f..a1105efbc3 100644 --- a/packages/common/test/directives/non_bindable_spec.ts +++ b/packages/common/test/directives/non_bindable_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/i18n/format_date_spec.ts b/packages/common/test/i18n/format_date_spec.ts index b43ac860a7..25a1f2b71f 100644 --- a/packages/common/test/i18n/format_date_spec.ts +++ b/packages/common/test/i18n/format_date_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/i18n/format_number_spec.ts b/packages/common/test/i18n/format_number_spec.ts index f16cb9ec17..be5320eea7 100644 --- a/packages/common/test/i18n/format_number_spec.ts +++ b/packages/common/test/i18n/format_number_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/i18n/locale_data_api_spec.ts b/packages/common/test/i18n/locale_data_api_spec.ts index 74eb1914e7..be6be25019 100644 --- a/packages/common/test/i18n/locale_data_api_spec.ts +++ b/packages/common/test/i18n/locale_data_api_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/i18n/localization_spec.ts b/packages/common/test/i18n/localization_spec.ts index 01c22b4e6c..0d2daad28d 100644 --- a/packages/common/test/i18n/localization_spec.ts +++ b/packages/common/test/i18n/localization_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/location/location_spec.ts b/packages/common/test/location/location_spec.ts index 9bee33fcba..d31f2aba84 100644 --- a/packages/common/test/location/location_spec.ts +++ b/packages/common/test/location/location_spec.ts @@ -1,14 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CommonModule, Location, LocationStrategy, PathLocationStrategy, PlatformLocation} from '@angular/common'; -import {MockPlatformLocation} from '@angular/common/testing'; -import {inject, TestBed} from '@angular/core/testing'; +import {MockLocationStrategy, MockPlatformLocation} from '@angular/common/testing'; +import {TestBed} from '@angular/core/testing'; const baseUrl = '/base'; @@ -41,6 +41,8 @@ describe('Location Class', () => { }); describe('location.getState()', () => { + let location: Location; + beforeEach(() => { TestBed.configureTestingModule({ imports: [CommonModule], @@ -55,36 +57,41 @@ describe('Location Class', () => { {provide: Location, useClass: Location, deps: [LocationStrategy, PlatformLocation]}, ] }); + + location = TestBed.inject(Location); }); - it('should get the state object', inject([Location], (location: Location) => { - expect(location.getState()).toBe(null); + it('should get the state object', () => { + expect(location.getState()).toBe(null); - location.go('/test', '', {foo: 'bar'}); + location.go('/test', '', {foo: 'bar'}); - expect(location.getState()).toEqual({foo: 'bar'}); - })); + expect(location.getState()).toEqual({foo: 'bar'}); + }); - it('should work after using back button', inject([Location], (location: Location) => { - expect(location.getState()).toBe(null); + it('should work after using back button', () => { + expect(location.getState()).toBe(null); - location.go('/test1', '', {url: 'test1'}); - location.go('/test2', '', {url: 'test2'}); + location.go('/test1', '', {url: 'test1'}); + location.go('/test2', '', {url: 'test2'}); - expect(location.getState()).toEqual({url: 'test2'}); + expect(location.getState()).toEqual({url: 'test2'}); - location.back(); + location.back(); - expect(location.getState()).toEqual({url: 'test1'}); - })); + expect(location.getState()).toEqual({url: 'test1'}); + }); }); describe('location.onUrlChange()', () => { + let location: Location; + let locationStrategy: MockLocationStrategy; + beforeEach(() => { TestBed.configureTestingModule({ imports: [CommonModule], providers: [ - {provide: LocationStrategy, useClass: PathLocationStrategy}, + {provide: LocationStrategy, useClass: MockLocationStrategy}, { provide: PlatformLocation, useFactory: () => { @@ -94,24 +101,49 @@ describe('Location Class', () => { {provide: Location, useClass: Location, deps: [LocationStrategy, PlatformLocation]}, ] }); + + location = TestBed.inject(Location); + locationStrategy = TestBed.inject(LocationStrategy) as MockLocationStrategy; }); - it('should have onUrlChange method', inject([Location], (location: Location) => { - expect(typeof location.onUrlChange).toBe('function'); - })); + it('should have onUrlChange method', () => { + expect(typeof location.onUrlChange).toBe('function'); + }); - it('should add registered functions to urlChangeListeners', - inject([Location], (location: Location) => { - function changeListener(url: string, state: unknown) { - return undefined; - } + it('should add registered functions to urlChangeListeners', () => { + function changeListener(url: string, state: unknown) { + return undefined; + } - expect((location as any)._urlChangeListeners.length).toBe(0); + expect((location as any)._urlChangeListeners.length).toBe(0); - location.onUrlChange(changeListener); + location.onUrlChange(changeListener); - expect((location as any)._urlChangeListeners.length).toBe(1); - expect((location as any)._urlChangeListeners[0]).toEqual(changeListener); - })); + expect((location as any)._urlChangeListeners.length).toBe(1); + expect((location as any)._urlChangeListeners[0]).toEqual(changeListener); + }); + + it('should only notify listeners once when multiple listeners are registered', () => { + let notificationCount = 0; + + function incrementChangeListener(url: string, state: unknown) { + notificationCount += 1; + + return undefined; + } + + function noopChangeListener(url: string, state: unknown) { + return undefined; + } + + location.onUrlChange(incrementChangeListener); + location.onUrlChange(noopChangeListener); + + expect(notificationCount).toBe(0); + + locationStrategy.simulatePopState('/test'); + + expect(notificationCount).toBe(1); + }); }); -}); \ No newline at end of file +}); diff --git a/packages/common/test/pipes/async_pipe_spec.ts b/packages/common/test/pipes/async_pipe_spec.ts index 5d53c6b76e..42414897ea 100644 --- a/packages/common/test/pipes/async_pipe_spec.ts +++ b/packages/common/test/pipes/async_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/case_conversion_pipes_spec.ts b/packages/common/test/pipes/case_conversion_pipes_spec.ts index 5584f5e468..0fde495f33 100644 --- a/packages/common/test/pipes/case_conversion_pipes_spec.ts +++ b/packages/common/test/pipes/case_conversion_pipes_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/date_pipe_spec.ts b/packages/common/test/pipes/date_pipe_spec.ts index c1542d60e4..ba532d5e25 100644 --- a/packages/common/test/pipes/date_pipe_spec.ts +++ b/packages/common/test/pipes/date_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -71,6 +71,20 @@ import {JitReflector} from '@angular/platform-browser-dynamic/src/compiler_refle describe('transform', () => { it('should use "mediumDate" as the default format', () => expect(pipe.transform('2017-01-11T10:14:39+0000')).toEqual('Jan 11, 2017')); + + it('should return first week if some dates fall in previous year but belong to next year according to ISO 8601 format', + () => { + expect(pipe.transform('2019-12-28T00:00:00', 'w')).toEqual('52'); + expect(pipe.transform('2019-12-29T00:00:00', 'w')).toEqual('1'); + expect(pipe.transform('2019-12-30T00:00:00', 'w')).toEqual('1'); + }); + + it('should return first week if some dates fall in previous leap year but belong to next year according to ISO 8601 format', + () => { + expect(pipe.transform('2012-12-29T00:00:00', 'w')).toEqual('52'); + expect(pipe.transform('2012-12-30T00:00:00', 'w')).toEqual('1'); + expect(pipe.transform('2012-12-31T00:00:00', 'w')).toEqual('1'); + }); }); }); } diff --git a/packages/common/test/pipes/i18n_plural_pipe_spec.ts b/packages/common/test/pipes/i18n_plural_pipe_spec.ts index 104716b195..0140768624 100644 --- a/packages/common/test/pipes/i18n_plural_pipe_spec.ts +++ b/packages/common/test/pipes/i18n_plural_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/i18n_select_pipe_spec.ts b/packages/common/test/pipes/i18n_select_pipe_spec.ts index 998ab7fd40..e8f8c43c1f 100644 --- a/packages/common/test/pipes/i18n_select_pipe_spec.ts +++ b/packages/common/test/pipes/i18n_select_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/json_pipe_spec.ts b/packages/common/test/pipes/json_pipe_spec.ts index b1a9fb5bb5..fafa2445d3 100644 --- a/packages/common/test/pipes/json_pipe_spec.ts +++ b/packages/common/test/pipes/json_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/keyvalue_pipe_spec.ts b/packages/common/test/pipes/keyvalue_pipe_spec.ts index e4af0fc130..b6741b284a 100644 --- a/packages/common/test/pipes/keyvalue_pipe_spec.ts +++ b/packages/common/test/pipes/keyvalue_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/number_pipe_spec.ts b/packages/common/test/pipes/number_pipe_spec.ts index a576904510..f0210677a0 100644 --- a/packages/common/test/pipes/number_pipe_spec.ts +++ b/packages/common/test/pipes/number_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/pipes/slice_pipe_spec.ts b/packages/common/test/pipes/slice_pipe_spec.ts index e86edf7565..a0832fd926 100644 --- a/packages/common/test/pipes/slice_pipe_spec.ts +++ b/packages/common/test/pipes/slice_pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/spies.ts b/packages/common/test/spies.ts index e889b9431e..1f5290bb45 100644 --- a/packages/common/test/spies.ts +++ b/packages/common/test/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/test/viewport_scroller_spec.ts b/packages/common/test/viewport_scroller_spec.ts index fd0485546a..f3b6c907a8 100644 --- a/packages/common/test/viewport_scroller_spec.ts +++ b/packages/common/test/viewport_scroller_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/testing/index.ts b/packages/common/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/common/testing/index.ts +++ b/packages/common/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/testing/public_api.ts b/packages/common/testing/public_api.ts index e95d9f8ef0..5f9cbc57e6 100644 --- a/packages/common/testing/public_api.ts +++ b/packages/common/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/testing/src/location_mock.ts b/packages/common/testing/src/location_mock.ts index b02d5e2b2f..e7f5595ec9 100644 --- a/packages/common/testing/src/location_mock.ts +++ b/packages/common/testing/src/location_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,6 +30,8 @@ export class SpyLocation implements Location { _platformLocation: PlatformLocation = null!; /** @internal */ _urlChangeListeners: ((url: string, state: unknown) => void)[] = []; + /** @internal */ + _urlChangeSubscription?: SubscriptionLike; setInitialPath(url: string) { this._history[this._historyIndex].path = url; @@ -123,9 +125,12 @@ export class SpyLocation implements Location { } onUrlChange(fn: (url: string, state: unknown) => void) { this._urlChangeListeners.push(fn); - this.subscribe(v => { - this._notifyUrlChangeListeners(v.url, v.state); - }); + + if (!this._urlChangeSubscription) { + this._urlChangeSubscription = this.subscribe(v => { + this._notifyUrlChangeListeners(v.url, v.state); + }); + } } /** @internal */ diff --git a/packages/common/testing/src/mock_location_strategy.ts b/packages/common/testing/src/mock_location_strategy.ts index 8cd329aa64..646534b7af 100644 --- a/packages/common/testing/src/mock_location_strategy.ts +++ b/packages/common/testing/src/mock_location_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/testing/src/mock_platform_location.ts b/packages/common/testing/src/mock_platform_location.ts index 4cbb5a677c..b3c97ddf69 100644 --- a/packages/common/testing/src/mock_platform_location.ts +++ b/packages/common/testing/src/mock_platform_location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -213,4 +213,4 @@ export class MockPlatformLocation implements PlatformLocation { export function scheduleMicroTask(cb: () => any) { Promise.resolve(null).then(cb); -} \ No newline at end of file +} diff --git a/packages/common/testing/src/testing.ts b/packages/common/testing/src/testing.ts index 39bf81751e..a8a1ec38fc 100644 --- a/packages/common/testing/src/testing.ts +++ b/packages/common/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/index.ts b/packages/common/upgrade/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/common/upgrade/index.ts +++ b/packages/common/upgrade/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/public_api.ts b/packages/common/upgrade/public_api.ts index 778427176d..ba852d8175 100644 --- a/packages/common/upgrade/public_api.ts +++ b/packages/common/upgrade/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/src/index.ts b/packages/common/upgrade/src/index.ts index b40fc8bb81..f887877a59 100644 --- a/packages/common/upgrade/src/index.ts +++ b/packages/common/upgrade/src/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/src/location_shim.ts b/packages/common/upgrade/src/location_shim.ts index de4d3f3a8a..781b1205d2 100644 --- a/packages/common/upgrade/src/location_shim.ts +++ b/packages/common/upgrade/src/location_shim.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/src/location_upgrade_module.ts b/packages/common/upgrade/src/location_upgrade_module.ts index d11f9dfd23..d8405b27c8 100644 --- a/packages/common/upgrade/src/location_upgrade_module.ts +++ b/packages/common/upgrade/src/location_upgrade_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -120,4 +120,4 @@ export function provide$location( new $locationShimProvider(ngUpgrade, location, platformLocation, urlCodec, locationStrategy); return $locationProvider.$get(); -} \ No newline at end of file +} diff --git a/packages/common/upgrade/src/params.ts b/packages/common/upgrade/src/params.ts index 587816ecb0..51518ce8a2 100644 --- a/packages/common/upgrade/src/params.ts +++ b/packages/common/upgrade/src/params.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/src/utils.ts b/packages/common/upgrade/src/utils.ts index 0ce909ecda..f4736836c8 100644 --- a/packages/common/upgrade/src/utils.ts +++ b/packages/common/upgrade/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/test/params.spec.ts b/packages/common/upgrade/test/params.spec.ts index 14a6b3a1ba..2688228e46 100644 --- a/packages/common/upgrade/test/params.spec.ts +++ b/packages/common/upgrade/test/params.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/test/upgrade.spec.ts b/packages/common/upgrade/test/upgrade.spec.ts index 47d3af76d3..21f8fe9c95 100644 --- a/packages/common/upgrade/test/upgrade.spec.ts +++ b/packages/common/upgrade/test/upgrade.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/common/upgrade/test/upgrade_location_test_module.ts b/packages/common/upgrade/test/upgrade_location_test_module.ts index 52f093c64d..f154080033 100644 --- a/packages/common/upgrade/test/upgrade_location_test_module.ts +++ b/packages/common/upgrade/test/upgrade_location_test_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -88,4 +88,4 @@ export function provide$location( $locationProvider.html5Mode(config && !config.useHash); return $locationProvider.$get(); -} \ No newline at end of file +} diff --git a/packages/compiler-cli/BUILD.bazel b/packages/compiler-cli/BUILD.bazel index fa0e14e6e0..cb3c783dd7 100644 --- a/packages/compiler-cli/BUILD.bazel +++ b/packages/compiler-cli/BUILD.bazel @@ -27,8 +27,11 @@ ts_library( "//packages/compiler-cli/src/ngtsc/core:api", "//packages/compiler-cli/src/ngtsc/diagnostics", "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/incremental", "//packages/compiler-cli/src/ngtsc/indexer", "//packages/compiler-cli/src/ngtsc/perf", + "//packages/compiler-cli/src/ngtsc/reflection", + "//packages/compiler-cli/src/ngtsc/shims", "//packages/compiler-cli/src/ngtsc/typecheck", "@npm//@bazel/typescript", "@npm//@types/node", diff --git a/packages/compiler-cli/index.ts b/packages/compiler-cli/index.ts index 24b78030e3..e74cedd96b 100644 --- a/packages/compiler-cli/index.ts +++ b/packages/compiler-cli/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/basic.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/basic.ts index 899eccc89d..bd3b30c9fe 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/basic.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/basic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/dep.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/dep.ts index 2e3c21564b..62c1e5a5b0 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/dep.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/dep.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -40,4 +40,4 @@ export class DepAppModule { @Injectable({providedIn: DepAppModule}) export class ShakeableService { constructor(readonly normal: NormalService) {} -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/hierarchy.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/hierarchy.ts index 2465c74ad0..5c30fe4eba 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/hierarchy.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/hierarchy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/index.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/index.ts index acd945f105..3853199341 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/index.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/index.ts @@ -1,9 +1,9 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {RootAppModule} from './root'; \ No newline at end of file +export {RootAppModule} from './root'; diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root.ts index 3d56d26bec..d715e4d418 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_lazy.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_lazy.ts index 1a56081266..d62b6b0e40 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_lazy.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_lazy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_service.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_service.ts index 487b40ab0b..8cd0dd1beb 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_service.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/root_service.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/self.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/self.ts index 324b059315..af37a7dce9 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/self.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/self.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -40,4 +40,4 @@ export class SelfAppModule { @Injectable({providedIn: SelfAppModule}) export class ShakeableService { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/string.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/string.ts index 3187a87e9b..6abe5e972a 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/string.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/string.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/token.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/token.ts index e3ca53e5d4..5fac5c72aa 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/token.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/src/token.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/test/app_spec.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/test/app_spec.ts index 5311662b10..0588d496c9 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/app/test/app_spec.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/app/test/app_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/lib1/module.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/lib1/module.ts index f9baf45121..b0db0bd4de 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/lib1/module.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/lib1/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injectable_def/lib2/module.ts b/packages/compiler-cli/integrationtest/bazel/injectable_def/lib2/module.ts index ebeccb0a81..625363165b 100644 --- a/packages/compiler-cli/integrationtest/bazel/injectable_def/lib2/module.ts +++ b/packages/compiler-cli/integrationtest/bazel/injectable_def/lib2/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/src/module.ts b/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/src/module.ts index e1eb0c205e..a649a74628 100644 --- a/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/src/module.ts +++ b/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/test/module_spec.ts b/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/test/module_spec.ts index ea3f99aaca..1e0f4b2dc2 100644 --- a/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/test/module_spec.ts +++ b/packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/test/module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/child.ts b/packages/compiler-cli/integrationtest/bazel/ng_module/child.ts index 019518f629..0b3311bf91 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/child.ts +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/child.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/extract_flat_module_index.bzl b/packages/compiler-cli/integrationtest/bazel/ng_module/extract_flat_module_index.bzl index e222ba43c1..dd0362c4ca 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/extract_flat_module_index.bzl +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/extract_flat_module_index.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/index.ts b/packages/compiler-cli/integrationtest/bazel/ng_module/index.ts index 548fbc52f9..651d53abb7 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/index.ts +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/parent.ts b/packages/compiler-cli/integrationtest/bazel/ng_module/parent.ts index ece48ffa2d..59fc1a0a02 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/parent.ts +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/parent.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/spec.js b/packages/compiler-cli/integrationtest/bazel/ng_module/spec.js index eb10e8124d..588dc6cfff 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/spec.js +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/spec.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,4 +30,4 @@ describe('flat module index', () => { 'export { Parent as ɵangular_packages_compiler_cli_integrationtest_bazel_ng_module_test_module_a } from \'./parent\';'); }); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/integrationtest/flat_module/public-api.ts b/packages/compiler-cli/integrationtest/flat_module/public-api.ts index 0e955d883f..c7924b4b90 100644 --- a/packages/compiler-cli/integrationtest/flat_module/public-api.ts +++ b/packages/compiler-cli/integrationtest/flat_module/public-api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/flat_module/src/flat.component.ts b/packages/compiler-cli/integrationtest/flat_module/src/flat.component.ts index ea1a9deb06..f83f5090c9 100644 --- a/packages/compiler-cli/integrationtest/flat_module/src/flat.component.ts +++ b/packages/compiler-cli/integrationtest/flat_module/src/flat.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,4 +13,4 @@ import {Component} from '@angular/core'; templateUrl: 'flat.component.html', }) export class FlatComponent { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/flat_module/src/flat.module.ts b/packages/compiler-cli/integrationtest/flat_module/src/flat.module.ts index 8ee8e3cb45..602fc41a72 100644 --- a/packages/compiler-cli/integrationtest/flat_module/src/flat.module.ts +++ b/packages/compiler-cli/integrationtest/flat_module/src/flat.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -19,4 +19,4 @@ import {FlatComponent} from './flat.component'; ] }) export class FlatModule { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/ngtools_src/app.component.ts b/packages/compiler-cli/integrationtest/ngtools_src/app.component.ts index c1a050676b..1192b49ddd 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/app.component.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/app.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/app.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/app.module.ts index e02363fc8a..3cd0c0e8ce 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/app.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/app.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/feature/feature.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/feature/feature.module.ts index ade254d7f6..015e312f62 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/feature/feature.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/feature/feature.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature-nested.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature-nested.module.ts index 87e664fdbe..44e5edb562 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature-nested.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature-nested.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature.module.ts index b57ecc46e5..50ba44fd7a 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/feature/lazy-feature.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/feature2/default.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/feature2/default.module.ts index daf1c39633..2572fcdef0 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/feature2/default.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/feature2/default.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/feature2/feature2.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/feature2/feature2.module.ts index 7e0c5f0a51..5f6ace842b 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/feature2/feature2.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/feature2/feature2.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/ngtools_src/lazy.module.ts b/packages/compiler-cli/integrationtest/ngtools_src/lazy.module.ts index 8f1b788b1b..10a8ca648f 100644 --- a/packages/compiler-cli/integrationtest/ngtools_src/lazy.module.ts +++ b/packages/compiler-cli/integrationtest/ngtools_src/lazy.module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/a/multiple_components.ts b/packages/compiler-cli/integrationtest/src/a/multiple_components.ts index eb76422ee6..61f9b572e5 100644 --- a/packages/compiler-cli/integrationtest/src/a/multiple_components.ts +++ b/packages/compiler-cli/integrationtest/src/a/multiple_components.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/animate.ts b/packages/compiler-cli/integrationtest/src/animate.ts index 3b187e9130..3644137100 100644 --- a/packages/compiler-cli/integrationtest/src/animate.ts +++ b/packages/compiler-cli/integrationtest/src/animate.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/basic.ts b/packages/compiler-cli/integrationtest/src/basic.ts index 4021df9d50..e5825af773 100644 --- a/packages/compiler-cli/integrationtest/src/basic.ts +++ b/packages/compiler-cli/integrationtest/src/basic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/bootstrap.ts b/packages/compiler-cli/integrationtest/src/bootstrap.ts index edbdbf6426..4794deb898 100644 --- a/packages/compiler-cli/integrationtest/src/bootstrap.ts +++ b/packages/compiler-cli/integrationtest/src/bootstrap.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/comp_using_3rdp.ts b/packages/compiler-cli/integrationtest/src/comp_using_3rdp.ts index 6f864a79a7..58eb04f31c 100644 --- a/packages/compiler-cli/integrationtest/src/comp_using_3rdp.ts +++ b/packages/compiler-cli/integrationtest/src/comp_using_3rdp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/comp_using_flat_module.ts b/packages/compiler-cli/integrationtest/src/comp_using_flat_module.ts index cdac5ded79..053f90bcde 100644 --- a/packages/compiler-cli/integrationtest/src/comp_using_flat_module.ts +++ b/packages/compiler-cli/integrationtest/src/comp_using_flat_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/custom_token.ts b/packages/compiler-cli/integrationtest/src/custom_token.ts index 4db05e4232..395ee1db9c 100644 --- a/packages/compiler-cli/integrationtest/src/custom_token.ts +++ b/packages/compiler-cli/integrationtest/src/custom_token.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/dep.d.ts b/packages/compiler-cli/integrationtest/src/dep.d.ts index fda233c49c..e128c793d8 100644 --- a/packages/compiler-cli/integrationtest/src/dep.d.ts +++ b/packages/compiler-cli/integrationtest/src/dep.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/entry_components.ts b/packages/compiler-cli/integrationtest/src/entry_components.ts index 463ba82554..ad3bb2ab0b 100644 --- a/packages/compiler-cli/integrationtest/src/entry_components.ts +++ b/packages/compiler-cli/integrationtest/src/entry_components.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/errors.ts b/packages/compiler-cli/integrationtest/src/errors.ts index 0165521d8c..58afb7a4b2 100644 --- a/packages/compiler-cli/integrationtest/src/errors.ts +++ b/packages/compiler-cli/integrationtest/src/errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/features.ts b/packages/compiler-cli/integrationtest/src/features.ts index 47cde6908b..9196b19e67 100644 --- a/packages/compiler-cli/integrationtest/src/features.ts +++ b/packages/compiler-cli/integrationtest/src/features.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/funcs.ts b/packages/compiler-cli/integrationtest/src/funcs.ts index 45681da42d..64c44cfacc 100644 --- a/packages/compiler-cli/integrationtest/src/funcs.ts +++ b/packages/compiler-cli/integrationtest/src/funcs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,4 +8,4 @@ export function wrapInArray(value: any): any[] { return [value]; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/src/jit_summaries.ts b/packages/compiler-cli/integrationtest/src/jit_summaries.ts index 9221608aa1..7ff006f1cc 100644 --- a/packages/compiler-cli/integrationtest/src/jit_summaries.ts +++ b/packages/compiler-cli/integrationtest/src/jit_summaries.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -53,4 +53,4 @@ export class SomeService extends Base { providers: [SomeService] }) export class SomeModule extends Base { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/src/module.ts b/packages/compiler-cli/integrationtest/src/module.ts index ead5e36920..a2d1b36dec 100644 --- a/packages/compiler-cli/integrationtest/src/module.ts +++ b/packages/compiler-cli/integrationtest/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/module_fixtures.ts b/packages/compiler-cli/integrationtest/src/module_fixtures.ts index 0fd71d8c69..705676810a 100644 --- a/packages/compiler-cli/integrationtest/src/module_fixtures.ts +++ b/packages/compiler-cli/integrationtest/src/module_fixtures.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/projection.ts b/packages/compiler-cli/integrationtest/src/projection.ts index 35a5c05851..1c26a48a03 100644 --- a/packages/compiler-cli/integrationtest/src/projection.ts +++ b/packages/compiler-cli/integrationtest/src/projection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/src/queries.ts b/packages/compiler-cli/integrationtest/src/queries.ts index e3d9a0840e..9116ed8e4e 100644 --- a/packages/compiler-cli/integrationtest/src/queries.ts +++ b/packages/compiler-cli/integrationtest/src/queries.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test.js b/packages/compiler-cli/integrationtest/test.js index 39e23aa4b6..79e61d5a0d 100644 --- a/packages/compiler-cli/integrationtest/test.js +++ b/packages/compiler-cli/integrationtest/test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/all_spec.ts b/packages/compiler-cli/integrationtest/test/all_spec.ts index a44aee27b9..85eb146b98 100644 --- a/packages/compiler-cli/integrationtest/test/all_spec.ts +++ b/packages/compiler-cli/integrationtest/test/all_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/animate_spec.ts b/packages/compiler-cli/integrationtest/test/animate_spec.ts index 613ed66a38..d0c9d51ee7 100644 --- a/packages/compiler-cli/integrationtest/test/animate_spec.ts +++ b/packages/compiler-cli/integrationtest/test/animate_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/basic_spec.ts b/packages/compiler-cli/integrationtest/test/basic_spec.ts index eebf199bb1..84fd90e185 100644 --- a/packages/compiler-cli/integrationtest/test/basic_spec.ts +++ b/packages/compiler-cli/integrationtest/test/basic_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/entry_components_spec.ts b/packages/compiler-cli/integrationtest/test/entry_components_spec.ts index 44ecb67b3e..ded8e5aa0e 100644 --- a/packages/compiler-cli/integrationtest/test/entry_components_spec.ts +++ b/packages/compiler-cli/integrationtest/test/entry_components_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/forward_ref_spec.ts b/packages/compiler-cli/integrationtest/test/forward_ref_spec.ts index e274e7b4f6..a259b66504 100644 --- a/packages/compiler-cli/integrationtest/test/forward_ref_spec.ts +++ b/packages/compiler-cli/integrationtest/test/forward_ref_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/i18n_spec.ts b/packages/compiler-cli/integrationtest/test/i18n_spec.ts index 773a7b6e04..4c95aa9b18 100644 --- a/packages/compiler-cli/integrationtest/test/i18n_spec.ts +++ b/packages/compiler-cli/integrationtest/test/i18n_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/init.ts b/packages/compiler-cli/integrationtest/test/init.ts index cbde2aedc8..869005a110 100644 --- a/packages/compiler-cli/integrationtest/test/init.ts +++ b/packages/compiler-cli/integrationtest/test/init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/jit_summaries_spec.ts b/packages/compiler-cli/integrationtest/test/jit_summaries_spec.ts index 66ee77a3ca..91b857f727 100644 --- a/packages/compiler-cli/integrationtest/test/jit_summaries_spec.ts +++ b/packages/compiler-cli/integrationtest/test/jit_summaries_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/ng_module_spec.ts b/packages/compiler-cli/integrationtest/test/ng_module_spec.ts index 151c64211c..2001abf0d2 100644 --- a/packages/compiler-cli/integrationtest/test/ng_module_spec.ts +++ b/packages/compiler-cli/integrationtest/test/ng_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/projection_spec.ts b/packages/compiler-cli/integrationtest/test/projection_spec.ts index 58c2af408b..b78da7c777 100644 --- a/packages/compiler-cli/integrationtest/test/projection_spec.ts +++ b/packages/compiler-cli/integrationtest/test/projection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/query_spec.ts b/packages/compiler-cli/integrationtest/test/query_spec.ts index a97c91f142..3ff37d7248 100644 --- a/packages/compiler-cli/integrationtest/test/query_spec.ts +++ b/packages/compiler-cli/integrationtest/test/query_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/source_map_spec.ts b/packages/compiler-cli/integrationtest/test/source_map_spec.ts index 2b4ad43979..6b8c675fab 100644 --- a/packages/compiler-cli/integrationtest/test/source_map_spec.ts +++ b/packages/compiler-cli/integrationtest/test/source_map_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/test_ngtools_api.ts b/packages/compiler-cli/integrationtest/test/test_ngtools_api.ts index bff1e6cbc7..5f7771c601 100644 --- a/packages/compiler-cli/integrationtest/test/test_ngtools_api.ts +++ b/packages/compiler-cli/integrationtest/test/test_ngtools_api.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test/util.ts b/packages/compiler-cli/integrationtest/test/util.ts index 05f6943f86..cab3feec36 100644 --- a/packages/compiler-cli/integrationtest/test/util.ts +++ b/packages/compiler-cli/integrationtest/test/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/test_helpers.js b/packages/compiler-cli/integrationtest/test_helpers.js index c14f8c7e5e..8a3c0d7630 100644 --- a/packages/compiler-cli/integrationtest/test_helpers.js +++ b/packages/compiler-cli/integrationtest/test_helpers.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/third_party_src/comp.ts b/packages/compiler-cli/integrationtest/third_party_src/comp.ts index b34d317e9c..bee77ae3e1 100644 --- a/packages/compiler-cli/integrationtest/third_party_src/comp.ts +++ b/packages/compiler-cli/integrationtest/third_party_src/comp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,4 +13,4 @@ import {Component} from '@angular/core'; template: '
    3rdP-component
    ', }) export class ThirdPartyComponent { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/third_party_src/directive.ts b/packages/compiler-cli/integrationtest/third_party_src/directive.ts index 53d2335ade..21b23442a6 100644 --- a/packages/compiler-cli/integrationtest/third_party_src/directive.ts +++ b/packages/compiler-cli/integrationtest/third_party_src/directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/third_party_src/module.ts b/packages/compiler-cli/integrationtest/third_party_src/module.ts index 05b90e9eb6..a6766eb940 100644 --- a/packages/compiler-cli/integrationtest/third_party_src/module.ts +++ b/packages/compiler-cli/integrationtest/third_party_src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,4 +25,4 @@ import {AnotherThirdPartyModule} from './other_module'; imports: [AnotherThirdPartyModule] }) export class ThirdpartyModule { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/integrationtest/third_party_src/other_comp.ts b/packages/compiler-cli/integrationtest/third_party_src/other_comp.ts index 130baabd8f..478cac0bf6 100644 --- a/packages/compiler-cli/integrationtest/third_party_src/other_comp.ts +++ b/packages/compiler-cli/integrationtest/third_party_src/other_comp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/integrationtest/third_party_src/other_module.ts b/packages/compiler-cli/integrationtest/third_party_src/other_module.ts index 711a1582b9..977cd21e9e 100644 --- a/packages/compiler-cli/integrationtest/third_party_src/other_module.ts +++ b/packages/compiler-cli/integrationtest/third_party_src/other_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,4 +14,4 @@ import {AnotherThirdpartyComponent} from './other_comp'; exports: [AnotherThirdpartyComponent], }) export class AnotherThirdPartyModule { -} \ No newline at end of file +} diff --git a/packages/compiler-cli/ngcc/BUILD.bazel b/packages/compiler-cli/ngcc/BUILD.bazel index 3d8553c095..6241361c09 100644 --- a/packages/compiler-cli/ngcc/BUILD.bazel +++ b/packages/compiler-cli/ngcc/BUILD.bazel @@ -19,11 +19,13 @@ ts_library( "//packages/compiler-cli/src/ngtsc/file_system", "//packages/compiler-cli/src/ngtsc/imports", "//packages/compiler-cli/src/ngtsc/incremental:api", + "//packages/compiler-cli/src/ngtsc/logging", "//packages/compiler-cli/src/ngtsc/metadata", "//packages/compiler-cli/src/ngtsc/partial_evaluator", "//packages/compiler-cli/src/ngtsc/perf", "//packages/compiler-cli/src/ngtsc/reflection", "//packages/compiler-cli/src/ngtsc/scope", + "//packages/compiler-cli/src/ngtsc/sourcemaps", "//packages/compiler-cli/src/ngtsc/transform", "//packages/compiler-cli/src/ngtsc/translator", "//packages/compiler-cli/src/ngtsc/util", @@ -35,8 +37,6 @@ ts_library( "@npm//dependency-graph", "@npm//magic-string", "@npm//semver", - "@npm//source-map", - "@npm//sourcemap-codec", "@npm//typescript", ], ) diff --git a/packages/compiler-cli/ngcc/index.ts b/packages/compiler-cli/ngcc/index.ts index 13c0268d3e..2dfa3002b9 100644 --- a/packages/compiler-cli/ngcc/index.ts +++ b/packages/compiler-cli/ngcc/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,16 +8,15 @@ import {NodeJSFileSystem, setFileSystem} from '../src/ngtsc/file_system'; import {mainNgcc} from './src/main'; -import {AsyncNgccOptions, NgccOptions, SyncNgccOptions} from './src/ngcc_options'; +import {AsyncNgccOptions, SyncNgccOptions} from './src/ngcc_options'; -export {ConsoleLogger} from './src/logging/console_logger'; -export {Logger, LogLevel} from './src/logging/logger'; -export {AsyncNgccOptions, NgccOptions, SyncNgccOptions} from './src/ngcc_options'; +export {ConsoleLogger, Logger, LogLevel} from '../src/ngtsc/logging'; +export {AsyncNgccOptions, clearTsConfigCache, NgccOptions, SyncNgccOptions} from './src/ngcc_options'; export {PathMappings} from './src/path_mappings'; -export function process(options: AsyncNgccOptions): Promise; -export function process(options: SyncNgccOptions): void; -export function process(options: NgccOptions): void|Promise { +export function process(options: T): + T extends AsyncNgccOptions ? Promise: void; +export function process(options: AsyncNgccOptions|SyncNgccOptions): void|Promise { setFileSystem(new NodeJSFileSystem()); return mainNgcc(options); } diff --git a/packages/compiler-cli/ngcc/main-ivy-ngcc.ts b/packages/compiler-cli/ngcc/main-ivy-ngcc.ts index 1604b3dc34..37c090d863 100644 --- a/packages/compiler-cli/ngcc/main-ivy-ngcc.ts +++ b/packages/compiler-cli/ngcc/main-ivy-ngcc.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/main-ngcc.ts b/packages/compiler-cli/ngcc/main-ngcc.ts index a818b5d21e..352c83665a 100644 --- a/packages/compiler-cli/ngcc/main-ngcc.ts +++ b/packages/compiler-cli/ngcc/main-ngcc.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.ts b/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.ts index 4ea614fb34..be5e49ec68 100644 --- a/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.ts +++ b/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -58,7 +58,7 @@ export class DecorationAnalyzer { private host = this.bundle.src.host; private typeChecker = this.bundle.src.program.getTypeChecker(); private rootDirs = this.bundle.rootDirs; - private packagePath = this.bundle.entryPoint.package; + private packagePath = this.bundle.entryPoint.packagePath; private isCore = this.bundle.isCore; private compilerOptions = this.tsConfig !== null ? this.tsConfig.options : {}; @@ -99,13 +99,13 @@ export class DecorationAnalyzer { /* i18nUseExternalIds */ true, this.bundle.enableI18nLegacyMessageIdFormat, /* i18nNormalizeLineEndingsInICUs */ false, this.moduleResolver, this.cycleAnalyzer, this.refEmitter, NOOP_DEFAULT_IMPORT_RECORDER, NOOP_DEPENDENCY_TRACKER, - this.injectableRegistry, /* annotateForClosureCompiler */ false), + this.injectableRegistry, !!this.compilerOptions.annotateForClosureCompiler), // See the note in ngtsc about why this cast is needed. // clang-format off new DirectiveDecoratorHandler( this.reflectionHost, this.evaluator, this.fullRegistry, this.scopeRegistry, this.fullMetaReader, NOOP_DEFAULT_IMPORT_RECORDER, this.injectableRegistry, this.isCore, - /* annotateForClosureCompiler */ false, + !!this.compilerOptions.annotateForClosureCompiler, // In ngcc we want to compile undecorated classes with Angular features. As of // version 10, undecorated classes that use Angular features are no longer handled // in ngtsc, but we want to ensure compatibility in ngcc for outdated libraries that @@ -126,7 +126,7 @@ export class DecorationAnalyzer { this.scopeRegistry, this.referencesRegistry, this.isCore, /* routeAnalyzer */ null, this.refEmitter, /* factoryTracker */ null, NOOP_DEFAULT_IMPORT_RECORDER, - /* annotateForClosureCompiler */ false, this.injectableRegistry), + !!this.compilerOptions.annotateForClosureCompiler, this.injectableRegistry), ]; compiler = new NgccTraitCompiler(this.handlers, this.reflectionHost); migrations: Migration[] = [ diff --git a/packages/compiler-cli/ngcc/src/analysis/migration_host.ts b/packages/compiler-cli/ngcc/src/analysis/migration_host.ts index d52476f359..bd45f2520b 100644 --- a/packages/compiler-cli/ngcc/src/analysis/migration_host.ts +++ b/packages/compiler-cli/ngcc/src/analysis/migration_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.ts b/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.ts index e3c634b8f4..955bafe116 100644 --- a/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.ts +++ b/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.ts b/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.ts index f557cd9d6c..6d8beb4fb5 100644 --- a/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.ts +++ b/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.ts b/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.ts index 55de1e82a2..405e479cd7 100644 --- a/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.ts +++ b/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.ts b/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.ts index afc99f2561..c03e7f9402 100644 --- a/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.ts +++ b/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.ts b/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.ts index fc8b3a0fa6..09e9ca9508 100644 --- a/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.ts +++ b/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/types.ts b/packages/compiler-cli/ngcc/src/analysis/types.ts index 19bb5f6ffa..228d3303bd 100644 --- a/packages/compiler-cli/ngcc/src/analysis/types.ts +++ b/packages/compiler-cli/ngcc/src/analysis/types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/analysis/util.ts b/packages/compiler-cli/ngcc/src/analysis/util.ts index fb51a2c7eb..1a4366717a 100644 --- a/packages/compiler-cli/ngcc/src/analysis/util.ts +++ b/packages/compiler-cli/ngcc/src/analysis/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/command_line_options.ts b/packages/compiler-cli/ngcc/src/command_line_options.ts index 081d859c9d..1487a68ec8 100644 --- a/packages/compiler-cli/ngcc/src/command_line_options.ts +++ b/packages/compiler-cli/ngcc/src/command_line_options.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,8 +9,7 @@ import * as yargs from 'yargs'; import {resolve, setFileSystem, NodeJSFileSystem} from '../../src/ngtsc/file_system'; -import {ConsoleLogger} from './logging/console_logger'; -import {LogLevel} from './logging/logger'; +import {ConsoleLogger, LogLevel} from '../../src/ngtsc/logging'; import {NgccOptions} from './ngcc_options'; export function parseCommandLineOptions(args: string[]): NgccOptions { @@ -36,7 +35,14 @@ export function parseCommandLineOptions(args: string[]): NgccOptions { alias: 'target', describe: 'A relative path (from the `source` path) to a single entry-point to process (plus its dependencies).\n' + - 'If this property is provided then `error-on-failed-entry-point` is forced to true', + 'If this property is provided then `error-on-failed-entry-point` is forced to true.\n' + + 'This option overrides the `--use-program-dependencies` option.', + }) + .option('use-program-dependencies', { + type: 'boolean', + describe: + 'If this property is provided then the entry-points to process are parsed from the program defined by the loaded tsconfig.json. See `--tsconfig`.\n' + + 'This option is overridden by the `--target` option.', }) .option('first-only', { describe: @@ -116,6 +122,7 @@ export function parseCommandLineOptions(args: string[]): NgccOptions { const enableI18nLegacyMessageIdFormat = options['legacy-message-ids']; const invalidateEntryPointManifest = options['invalidate-entry-point-manifest']; const errorOnFailedEntryPoint = options['error-on-failed-entry-point']; + const findEntryPointsFromTsConfigProgram = options['use-program-dependencies']; // yargs is not so great at mixed string+boolean types, so we have to test tsconfig against a // string "false" to capture the `tsconfig=false` option. // And we have to convert the option to a string to handle `no-tsconfig`, which will be `false`. @@ -134,6 +141,7 @@ export function parseCommandLineOptions(args: string[]): NgccOptions { async: options['async'], invalidateEntryPointManifest, errorOnFailedEntryPoint, - tsConfigPath + tsConfigPath, + findEntryPointsFromTsConfigProgram, }; } diff --git a/packages/compiler-cli/ngcc/src/constants.ts b/packages/compiler-cli/ngcc/src/constants.ts index b52410030f..e188d56f43 100644 --- a/packages/compiler-cli/ngcc/src/constants.ts +++ b/packages/compiler-cli/ngcc/src/constants.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.ts b/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.ts index ef783179ca..022fe4a284 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,40 +8,23 @@ import * as ts from 'typescript'; import {AbsoluteFsPath} from '../../../src/ngtsc/file_system'; -import {isReexportStatement, isRequireCall, RequireCall} from '../host/commonjs_umd_utils'; +import {isRequireCall, isWildcardReexportStatement, RequireCall} from '../host/commonjs_umd_utils'; +import {isAssignment, isAssignmentStatement} from '../host/esm2015_host'; import {DependencyHostBase} from './dependency_host'; -import {ResolvedDeepImport, ResolvedRelativeModule} from './module_resolver'; /** * Helper functions for computing dependencies. */ export class CommonJsDependencyHost extends DependencyHostBase { - /** - * Compute the dependencies of the given file. - * - * @param file An absolute path to the file whose dependencies we want to get. - * @param dependencies A set that will have the absolute paths of resolved entry points added to - * it. - * @param missing A set that will have the dependencies that could not be found added to it. - * @param deepImports A set that will have the import paths that exist but cannot be mapped to - * entry-points, i.e. deep-imports. - * @param alreadySeen A set that is used to track internal dependencies to prevent getting stuck - * in a circular dependency loop. - */ - protected recursivelyCollectDependencies( - file: AbsoluteFsPath, dependencies: Set, missing: Set, - deepImports: Set, alreadySeen: Set): void { - const fromContents = this.fs.readFile(file); - - if (!this.hasRequireCalls(fromContents)) { - // Avoid parsing the source file as there are no imports. - return; - } + protected canSkipFile(fileContents: string): boolean { + return !hasRequireCalls(fileContents); + } + protected extractImports(file: AbsoluteFsPath, fileContents: string): Set { // Parse the source into a TypeScript AST and then walk it looking for imports and re-exports. const sf = - ts.createSourceFile(file, fromContents, ts.ScriptTarget.ES2015, false, ts.ScriptKind.JS); + ts.createSourceFile(file, fileContents, ts.ScriptTarget.ES2015, false, ts.ScriptKind.JS); const requireCalls: RequireCall[] = []; for (const stmt of sf.statements) { @@ -59,7 +42,7 @@ export class CommonJsDependencyHost extends DependencyHostBase { // Import for the side-effects only: // `require('...')` requireCalls.push(stmt.expression); - } else if (isReexportStatement(stmt)) { + } else if (isWildcardReexportStatement(stmt)) { // Re-export in one of the following formats: // - `__export(require('...'))` // - `__export()` @@ -92,37 +75,20 @@ export class CommonJsDependencyHost extends DependencyHostBase { } } - const importPaths = new Set(requireCalls.map(call => call.arguments[0].text)); - for (const importPath of importPaths) { - const resolvedModule = this.moduleResolver.resolveModuleImport(importPath, file); - if (resolvedModule === null) { - missing.add(importPath); - } else if (resolvedModule instanceof ResolvedRelativeModule) { - const internalDependency = resolvedModule.modulePath; - if (!alreadySeen.has(internalDependency)) { - alreadySeen.add(internalDependency); - this.recursivelyCollectDependencies( - internalDependency, dependencies, missing, deepImports, alreadySeen); - } - } else if (resolvedModule instanceof ResolvedDeepImport) { - deepImports.add(resolvedModule.importPath); - } else { - dependencies.add(resolvedModule.entryPointPath); - } - } - } - - /** - * Check whether a source file needs to be parsed for imports. - * This is a performance short-circuit, which saves us from creating - * a TypeScript AST unnecessarily. - * - * @param source The content of the source file to check. - * - * @returns false if there are definitely no require calls - * in this file, true otherwise. - */ - private hasRequireCalls(source: string): boolean { - return /require\(['"]/.test(source); + return new Set(requireCalls.map(call => call.arguments[0].text)); } } + +/** + * Check whether a source file needs to be parsed for imports. + * This is a performance short-circuit, which saves us from creating + * a TypeScript AST unnecessarily. + * + * @param source The content of the source file to check. + * + * @returns false if there are definitely no require calls + * in this file, true otherwise. + */ +export function hasRequireCalls(source: string): boolean { + return /require\(['"]/.test(source); +} diff --git a/packages/compiler-cli/ngcc/src/dependencies/dependency_host.ts b/packages/compiler-cli/ngcc/src/dependencies/dependency_host.ts index e086d71772..e251973e0e 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/dependency_host.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/dependency_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {AbsoluteFsPath, FileSystem, PathSegment} from '../../../src/ngtsc/file_s import {EntryPoint} from '../packages/entry_point'; import {resolveFileWithPostfixes} from '../utils'; -import {ModuleResolver} from './module_resolver'; +import {ModuleResolver, ResolvedDeepImport, ResolvedRelativeModule} from './module_resolver'; export interface DependencyHost { collectDependencies( @@ -65,7 +65,54 @@ export abstract class DependencyHostBase implements DependencyHost { * @param alreadySeen A set that is used to track internal dependencies to prevent getting stuck * in a circular dependency loop. */ - protected abstract recursivelyCollectDependencies( + protected recursivelyCollectDependencies( file: AbsoluteFsPath, dependencies: Set, missing: Set, - deepImports: Set, alreadySeen: Set): void; + deepImports: Set, alreadySeen: Set): void { + const fromContents = this.fs.readFile(file); + if (this.canSkipFile(fromContents)) { + return; + } + const imports = this.extractImports(file, fromContents); + for (const importPath of imports) { + const resolved = + this.processImport(importPath, file, dependencies, missing, deepImports, alreadySeen); + if (!resolved) { + missing.add(importPath); + } + } + } + + protected abstract canSkipFile(fileContents: string): boolean; + protected abstract extractImports(file: AbsoluteFsPath, fileContents: string): Set; + + /** + * Resolve the given `importPath` from `file` and add it to the appropriate set. + * + * If the import is local to this package then follow it by calling + * `recursivelyCollectDependencies()`. + * + * @returns `true` if the import was resolved (to an entry-point, a local import, or a + * deep-import), `false` otherwise. + */ + protected processImport( + importPath: string, file: AbsoluteFsPath, dependencies: Set, + missing: Set, deepImports: Set, alreadySeen: Set): boolean { + const resolvedModule = this.moduleResolver.resolveModuleImport(importPath, file); + if (resolvedModule === null) { + return false; + } + if (resolvedModule instanceof ResolvedRelativeModule) { + const internalDependency = resolvedModule.modulePath; + if (!alreadySeen.has(internalDependency)) { + alreadySeen.add(internalDependency); + this.recursivelyCollectDependencies( + internalDependency, dependencies, missing, deepImports, alreadySeen); + } + } else if (resolvedModule instanceof ResolvedDeepImport) { + deepImports.add(resolvedModule.importPath); + } else { + dependencies.add(resolvedModule.entryPointPath); + } + return true; + } } diff --git a/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts b/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts index b0b2021255..5833af645f 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {DepGraph} from 'dependency-graph'; import {AbsoluteFsPath, FileSystem, resolve} from '../../../src/ngtsc/file_system'; -import {Logger} from '../logging/logger'; +import {Logger} from '../../../src/ngtsc/logging'; import {NgccConfiguration} from '../packages/configuration'; import {EntryPoint, EntryPointFormat, getEntryPointFormat, SUPPORTED_FORMAT_PROPERTIES} from '../packages/entry_point'; import {PartiallyOrderedList} from '../utils'; @@ -225,8 +225,9 @@ export class DependencyResolver { private filterIgnorableDeepImports(entryPoint: EntryPoint, deepImports: Set): AbsoluteFsPath[] { const version = (entryPoint.packageJson.version || null) as string | null; - const packageConfig = this.config.getPackageConfig(entryPoint.package, version); - const matchers = packageConfig.ignorableDeepImportMatchers || []; + const packageConfig = + this.config.getPackageConfig(entryPoint.packageName, entryPoint.packagePath, version); + const matchers = packageConfig.ignorableDeepImportMatchers; return Array.from(deepImports) .filter(deepImport => !matchers.some(matcher => matcher.test(deepImport))); } diff --git a/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.ts b/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.ts index 2d4e076fe6..c651c562b3 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,7 +16,8 @@ import {ModuleResolver} from './module_resolver'; export class DtsDependencyHost extends EsmDependencyHost { constructor(fs: FileSystem, pathMappings?: PathMappings) { super( - fs, new ModuleResolver(fs, pathMappings, ['', '.d.ts', '/index.d.ts', '.js', '/index.js'])); + fs, new ModuleResolver(fs, pathMappings, ['', '.d.ts', '/index.d.ts', '.js', '/index.js']), + false); } /** diff --git a/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.ts b/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.ts index 3c4d6e80ee..7348463c14 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.ts @@ -1,84 +1,258 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as ts from 'typescript'; -import {AbsoluteFsPath} from '../../../src/ngtsc/file_system'; +import {AbsoluteFsPath, FileSystem} from '../../../src/ngtsc/file_system'; import {DependencyHostBase} from './dependency_host'; -import {ResolvedDeepImport, ResolvedRelativeModule} from './module_resolver'; +import {ModuleResolver} from './module_resolver'; /** * Helper functions for computing dependencies. */ export class EsmDependencyHost extends DependencyHostBase { - /** - * Compute the dependencies of the given file. - * - * @param file An absolute path to the file whose dependencies we want to get. - * @param dependencies A set that will have the absolute paths of resolved entry points added to - * it. - * @param missing A set that will have the dependencies that could not be found added to it. - * @param deepImports A set that will have the import paths that exist but cannot be mapped to - * entry-points, i.e. deep-imports. - * @param alreadySeen A set that is used to track internal dependencies to prevent getting stuck - * in a circular dependency loop. - */ - protected recursivelyCollectDependencies( - file: AbsoluteFsPath, dependencies: Set, missing: Set, - deepImports: Set, alreadySeen: Set): void { - const fromContents = this.fs.readFile(file); + constructor( + fs: FileSystem, moduleResolver: ModuleResolver, private scanImportExpressions = true) { + super(fs, moduleResolver); + } + // By skipping trivia here we don't have to account for it in the processing below + // It has no relevance to capturing imports. + private scanner = ts.createScanner(ts.ScriptTarget.Latest, /* skipTrivia */ true); - if (!hasImportOrReexportStatements(fromContents)) { - // Avoid parsing the source file as there are no imports. - return; - } - - // Parse the source into a TypeScript AST and then walk it looking for imports and re-exports. - const sf = - ts.createSourceFile(file, fromContents, ts.ScriptTarget.ES2015, false, ts.ScriptKind.JS); - sf.statements - // filter out statements that are not imports or reexports - .filter(isStringImportOrReexport) - // Grab the id of the module that is being imported - .map(stmt => stmt.moduleSpecifier.text) - .forEach(importPath => { - const resolved = - this.processImport(importPath, file, dependencies, missing, deepImports, alreadySeen); - if (!resolved) { - missing.add(importPath); - } - }); + protected canSkipFile(fileContents: string): boolean { + return !hasImportOrReexportStatements(fileContents); } /** - * Resolve the given `importPath` from `file` and add it to the appropriate set. + * Extract any import paths from imports found in the contents of this file. * - * @returns `true` if the import was resolved (to an entry-point, a local import, or a - * deep-import). + * This implementation uses the TypeScript scanner, which tokenizes source code, + * to process the string. This is halfway between working with the string directly, + * which is too difficult due to corner cases, and parsing the string into a full + * TypeScript Abstract Syntax Tree (AST), which ends up doing more processing than + * is needed. + * + * The scanning is not trivial because we must hold state between each token since + * the context of the token affects how it should be scanned, and the scanner does + * not manage this for us. + * + * Specifically, backticked strings are particularly challenging since it is possible + * to recursively nest backticks and TypeScript expressions within each other. */ - protected processImport( - importPath: string, file: AbsoluteFsPath, dependencies: Set, - missing: Set, deepImports: Set, alreadySeen: Set): boolean { - const resolvedModule = this.moduleResolver.resolveModuleImport(importPath, file); - if (resolvedModule === null) { - return false; - } - if (resolvedModule instanceof ResolvedRelativeModule) { - const internalDependency = resolvedModule.modulePath; - if (!alreadySeen.has(internalDependency)) { - alreadySeen.add(internalDependency); - this.recursivelyCollectDependencies( - internalDependency, dependencies, missing, deepImports, alreadySeen); + protected extractImports(file: AbsoluteFsPath, fileContents: string): Set { + const imports = new Set(); + const templateStack: ts.SyntaxKind[] = []; + let lastToken: ts.SyntaxKind = ts.SyntaxKind.Unknown; + let currentToken: ts.SyntaxKind = ts.SyntaxKind.Unknown; + const stopAtIndex = findLastPossibleImportOrReexport(fileContents); + + this.scanner.setText(fileContents); + + while ((currentToken = this.scanner.scan()) !== ts.SyntaxKind.EndOfFileToken) { + if (this.scanner.getTokenPos() > stopAtIndex) { + break; } - } else if (resolvedModule instanceof ResolvedDeepImport) { - deepImports.add(resolvedModule.importPath); - } else { - dependencies.add(resolvedModule.entryPointPath); + switch (currentToken) { + case ts.SyntaxKind.TemplateHead: + // TemplateHead indicates the beginning of a backticked string + // Capture this in the `templateStack` to indicate we are currently processing + // within the static text part of a backticked string. + templateStack.push(currentToken); + break; + case ts.SyntaxKind.OpenBraceToken: + if (templateStack.length > 0) { + // We are processing a backticked string. This indicates that we are either + // entering an interpolation expression or entering an object literal expression. + // We add it to the `templateStack` so we can track when we leave the interpolation or + // object literal. + templateStack.push(currentToken); + } + break; + case ts.SyntaxKind.CloseBraceToken: + if (templateStack.length > 0) { + // We are processing a backticked string then this indicates that we are either + // leaving an interpolation expression or leaving an object literal expression. + const templateToken = templateStack[templateStack.length - 1]; + if (templateToken === ts.SyntaxKind.TemplateHead) { + // We have hit a nested backticked string so we need to rescan it in that context + currentToken = this.scanner.reScanTemplateToken(/* isTaggedTemplate */ false); + if (currentToken === ts.SyntaxKind.TemplateTail) { + // We got to the end of the backticked string so pop the token that started it off + // the stack. + templateStack.pop(); + } + } else { + // We hit the end of an object-literal expression so pop the open-brace that started + // it off the stack. + templateStack.pop(); + } + } + break; + case ts.SyntaxKind.SlashToken: + case ts.SyntaxKind.SlashEqualsToken: + if (canPrecedeARegex(lastToken)) { + // We have hit a slash (`/`) in a context where it could be the start of a regular + // expression so rescan it in that context + currentToken = this.scanner.reScanSlashToken(); + } + break; + case ts.SyntaxKind.ImportKeyword: + const importPath = this.extractImportPath(); + if (importPath !== null) { + imports.add(importPath); + } + break; + case ts.SyntaxKind.ExportKeyword: + const reexportPath = this.extractReexportPath(); + if (reexportPath !== null) { + imports.add(reexportPath); + } + break; + } + lastToken = currentToken; } - return true; + + // Clear the text from the scanner to avoid holding on to potentially large strings of source + // content after the scanning has completed. + this.scanner.setText(''); + + return imports; + } + + + /** + * We have found an `import` token so now try to identify the import path. + * + * This method will use the current state of `this.scanner` to extract a string literal module + * specifier. It expects that the current state of the scanner is that an `import` token has just + * been scanned. + * + * The following forms of import are matched: + * + * * `import "module-specifier";` + * * `import("module-specifier")` + * * `import defaultBinding from "module-specifier";` + * * `import defaultBinding, * as identifier from "module-specifier";` + * * `import defaultBinding, {...} from "module-specifier";` + * * `import * as identifier from "module-specifier";` + * * `import {...} from "module-specifier";` + * + * @returns the import path or null if there is no import or it is not a string literal. + */ + protected extractImportPath(): string|null { + // Check for side-effect import + let sideEffectImportPath = this.tryStringLiteral(); + if (sideEffectImportPath !== null) { + return sideEffectImportPath; + } + + let kind: ts.SyntaxKind|null = this.scanner.getToken(); + + // Check for dynamic import expression + if (kind === ts.SyntaxKind.OpenParenToken) { + return this.scanImportExpressions ? this.tryStringLiteral() : null; + } + + // Check for defaultBinding + if (kind === ts.SyntaxKind.Identifier) { + // Skip default binding + kind = this.scanner.scan(); + if (kind === ts.SyntaxKind.CommaToken) { + // Skip comma that indicates additional import bindings + kind = this.scanner.scan(); + } + } + + // Check for namespace import clause + if (kind === ts.SyntaxKind.AsteriskToken) { + kind = this.skipNamespacedClause(); + if (kind === null) { + return null; + } + } + // Check for named imports clause + else if (kind === ts.SyntaxKind.OpenBraceToken) { + kind = this.skipNamedClause(); + } + + // Expect a `from` clause, if not bail out + if (kind !== ts.SyntaxKind.FromKeyword) { + return null; + } + + return this.tryStringLiteral(); + } + + /** + * We have found an `export` token so now try to identify a re-export path. + * + * This method will use the current state of `this.scanner` to extract a string literal module + * specifier. It expects that the current state of the scanner is that an `export` token has + * just been scanned. + * + * There are three forms of re-export that are matched: + * + * * `export * from '...'; + * * `export * as alias from '...'; + * * `export {...} from '...'; + */ + protected extractReexportPath(): string|null { + // Skip the `export` keyword + let token: ts.SyntaxKind|null = this.scanner.scan(); + if (token === ts.SyntaxKind.AsteriskToken) { + token = this.skipNamespacedClause(); + if (token === null) { + return null; + } + } else if (token === ts.SyntaxKind.OpenBraceToken) { + token = this.skipNamedClause(); + } + // Expect a `from` clause, if not bail out + if (token !== ts.SyntaxKind.FromKeyword) { + return null; + } + return this.tryStringLiteral(); + } + + protected skipNamespacedClause(): ts.SyntaxKind|null { + // Skip past the `*` + let token = this.scanner.scan(); + // Check for a `* as identifier` alias clause + if (token === ts.SyntaxKind.AsKeyword) { + // Skip past the `as` keyword + token = this.scanner.scan(); + // Expect an identifier, if not bail out + if (token !== ts.SyntaxKind.Identifier) { + return null; + } + // Skip past the identifier + token = this.scanner.scan(); + } + return token; + } + + protected skipNamedClause(): ts.SyntaxKind { + let braceCount = 1; + // Skip past the initial opening brace `{` + let token = this.scanner.scan(); + // Search for the matching closing brace `}` + while (braceCount > 0 && token !== ts.SyntaxKind.EndOfFileToken) { + if (token === ts.SyntaxKind.OpenBraceToken) { + braceCount++; + } else if (token === ts.SyntaxKind.CloseBraceToken) { + braceCount--; + } + token = this.scanner.scan(); + } + return token; + } + + protected tryStringLiteral(): string|null { + return this.scanner.scan() === ts.SyntaxKind.StringLiteral ? this.scanner.getTokenValue() : + null; } } @@ -93,9 +267,12 @@ export class EsmDependencyHost extends DependencyHostBase { * in this file, true otherwise. */ export function hasImportOrReexportStatements(source: string): boolean { - return /(import|export)\s.+from/.test(source); + return /(?:import|export)[\s\S]+?(["'])(?:\\\1|.)+?\1/.test(source); } +function findLastPossibleImportOrReexport(source: string): number { + return Math.max(source.lastIndexOf('import'), source.lastIndexOf(' from ')); +} /** * Check whether the given statement is an import with a string literal module specifier. @@ -108,3 +285,25 @@ export function isStringImportOrReexport(stmt: ts.Statement): stmt is ts.ImportD ts.isExportDeclaration(stmt) && !!stmt.moduleSpecifier && ts.isStringLiteral(stmt.moduleSpecifier); } + + +function canPrecedeARegex(kind: ts.SyntaxKind): boolean { + switch (kind) { + case ts.SyntaxKind.Identifier: + case ts.SyntaxKind.StringLiteral: + case ts.SyntaxKind.NumericLiteral: + case ts.SyntaxKind.BigIntLiteral: + case ts.SyntaxKind.RegularExpressionLiteral: + case ts.SyntaxKind.ThisKeyword: + case ts.SyntaxKind.PlusPlusToken: + case ts.SyntaxKind.MinusMinusToken: + case ts.SyntaxKind.CloseParenToken: + case ts.SyntaxKind.CloseBracketToken: + case ts.SyntaxKind.CloseBraceToken: + case ts.SyntaxKind.TrueKeyword: + case ts.SyntaxKind.FalseKeyword: + return false; + default: + return true; + } +} diff --git a/packages/compiler-cli/ngcc/src/dependencies/module_resolver.ts b/packages/compiler-cli/ngcc/src/dependencies/module_resolver.ts index fa360498c0..fafa3e95e2 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/module_resolver.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/module_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.ts b/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.ts index 7cc1b1c172..d3d97baf85 100644 --- a/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.ts +++ b/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.ts @@ -1,90 +1,41 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as ts from 'typescript'; + import {AbsoluteFsPath} from '../../../src/ngtsc/file_system'; import {getImportsOfUmdModule, parseStatementForUmdModule} from '../host/umd_host'; + +import {hasRequireCalls} from './commonjs_dependency_host'; import {DependencyHostBase} from './dependency_host'; -import {ResolvedDeepImport, ResolvedRelativeModule} from './module_resolver'; /** * Helper functions for computing dependencies. */ export class UmdDependencyHost extends DependencyHostBase { - /** - * Compute the dependencies of the given file. - * - * @param file An absolute path to the file whose dependencies we want to get. - * @param dependencies A set that will have the absolute paths of resolved entry points added to - * it. - * @param missing A set that will have the dependencies that could not be found added to it. - * @param deepImports A set that will have the import paths that exist but cannot be mapped to - * entry-points, i.e. deep-imports. - * @param alreadySeen A set that is used to track internal dependencies to prevent getting stuck - * in a circular dependency loop. - */ - protected recursivelyCollectDependencies( - file: AbsoluteFsPath, dependencies: Set, missing: Set, - deepImports: Set, alreadySeen: Set): void { - const fromContents = this.fs.readFile(file); - - if (!this.hasRequireCalls(fromContents)) { - // Avoid parsing the source file as there are no imports. - return; - } + protected canSkipFile(fileContents: string): boolean { + return !hasRequireCalls(fileContents); + } + protected extractImports(file: AbsoluteFsPath, fileContents: string): Set { // Parse the source into a TypeScript AST and then walk it looking for imports and re-exports. const sf = - ts.createSourceFile(file, fromContents, ts.ScriptTarget.ES2015, false, ts.ScriptKind.JS); + ts.createSourceFile(file, fileContents, ts.ScriptTarget.ES2015, false, ts.ScriptKind.JS); if (sf.statements.length !== 1) { - return; + return new Set(); } const umdModule = parseStatementForUmdModule(sf.statements[0]); const umdImports = umdModule && getImportsOfUmdModule(umdModule); if (umdImports === null) { - return; + return new Set(); } - umdImports.forEach(umdImport => { - const resolvedModule = this.moduleResolver.resolveModuleImport(umdImport.path, file); - if (resolvedModule) { - if (resolvedModule instanceof ResolvedRelativeModule) { - const internalDependency = resolvedModule.modulePath; - if (!alreadySeen.has(internalDependency)) { - alreadySeen.add(internalDependency); - this.recursivelyCollectDependencies( - internalDependency, dependencies, missing, deepImports, alreadySeen); - } - } else { - if (resolvedModule instanceof ResolvedDeepImport) { - deepImports.add(resolvedModule.importPath); - } else { - dependencies.add(resolvedModule.entryPointPath); - } - } - } else { - missing.add(umdImport.path); - } - }); - } - - /** - * Check whether a source file needs to be parsed for imports. - * This is a performance short-circuit, which saves us from creating - * a TypeScript AST unnecessarily. - * - * @param source The content of the source file to check. - * - * @returns false if there are definitely no require calls - * in this file, true otherwise. - */ - private hasRequireCalls(source: string): boolean { - return /require\(['"]/.test(source); + return new Set(umdImports.map(i => i.path)); } } diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.ts index a0047c1cf2..cd368582de 100644 --- a/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.ts +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.ts @@ -1,20 +1,18 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, FileSystem, PathSegment} from '../../../src/ngtsc/file_system'; +import {AbsoluteFsPath} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {EntryPointWithDependencies} from '../dependencies/dependency_host'; import {DependencyResolver, SortedEntryPointsInfo} from '../dependencies/dependency_resolver'; -import {Logger} from '../logging/logger'; -import {NgccConfiguration} from '../packages/configuration'; -import {getEntryPointInfo, INCOMPATIBLE_ENTRY_POINT, NO_ENTRY_POINT} from '../packages/entry_point'; import {EntryPointManifest} from '../packages/entry_point_manifest'; import {PathMappings} from '../path_mappings'; -import {NGCC_DIRECTORY} from '../writing/new_entry_point_file_writer'; +import {EntryPointCollector} from './entry_point_collector'; import {EntryPointFinder} from './interface'; import {getBasePaths, trackDuration} from './utils'; @@ -25,9 +23,11 @@ import {getBasePaths, trackDuration} from './utils'; export class DirectoryWalkerEntryPointFinder implements EntryPointFinder { private basePaths = getBasePaths(this.logger, this.sourceDirectory, this.pathMappings); constructor( - private fs: FileSystem, private config: NgccConfiguration, private logger: Logger, - private resolver: DependencyResolver, private entryPointManifest: EntryPointManifest, - private sourceDirectory: AbsoluteFsPath, private pathMappings: PathMappings|undefined) {} + private logger: Logger, private resolver: DependencyResolver, + private entryPointCollector: EntryPointCollector, + private entryPointManifest: EntryPointManifest, private sourceDirectory: AbsoluteFsPath, + private pathMappings: PathMappings|undefined) {} + /** * Search the `sourceDirectory`, and sub-directories, using `pathMappings` as necessary, to find * all package entry-points. @@ -45,143 +45,16 @@ export class DirectoryWalkerEntryPointFinder implements EntryPointFinder { /** * Search the `basePath` for possible Angular packages and entry-points. * - * @param basePath The path at which to start the search + * @param basePath The path at which to start the search. * @returns an array of `EntryPoint`s that were found within `basePath`. */ walkBasePathForPackages(basePath: AbsoluteFsPath): EntryPointWithDependencies[] { this.logger.debug( `No manifest found for ${basePath} so walking the directories for entry-points.`); const entryPoints = trackDuration( - () => this.walkDirectoryForPackages(basePath), + () => this.entryPointCollector.walkDirectoryForPackages(basePath), duration => this.logger.debug(`Walking ${basePath} for entry-points took ${duration}s.`)); this.entryPointManifest.writeEntryPointManifest(basePath, entryPoints); return entryPoints; } - - /** - * Look for Angular packages that need to be compiled, starting at the source directory. - * The function will recurse into directories that start with `@...`, e.g. `@angular/...`. - * - * @param sourceDirectory An absolute path to the root directory where searching begins. - * @returns an array of `EntryPoint`s that were found within `sourceDirectory`. - */ - walkDirectoryForPackages(sourceDirectory: AbsoluteFsPath): EntryPointWithDependencies[] { - // Try to get a primary entry point from this directory - const primaryEntryPoint = - getEntryPointInfo(this.fs, this.config, this.logger, sourceDirectory, sourceDirectory); - - // If there is an entry-point but it is not compatible with ngcc (it has a bad package.json or - // invalid typings) then exit. It is unlikely that such an entry point has a dependency on an - // Angular library. - if (primaryEntryPoint === INCOMPATIBLE_ENTRY_POINT) { - return []; - } - - const entryPoints: EntryPointWithDependencies[] = []; - if (primaryEntryPoint !== NO_ENTRY_POINT) { - entryPoints.push(this.resolver.getEntryPointWithDependencies(primaryEntryPoint)); - this.collectSecondaryEntryPoints( - entryPoints, sourceDirectory, sourceDirectory, this.fs.readdir(sourceDirectory)); - - // Also check for any nested node_modules in this package but only if at least one of the - // entry-points was compiled by Angular. - if (entryPoints.some(e => e.entryPoint.compiledByAngular)) { - const nestedNodeModulesPath = this.fs.join(sourceDirectory, 'node_modules'); - if (this.fs.exists(nestedNodeModulesPath)) { - entryPoints.push(...this.walkDirectoryForPackages(nestedNodeModulesPath)); - } - } - - return entryPoints; - } - - // The `sourceDirectory` was not a package (i.e. there was no package.json) - // So search its sub-directories for Angular packages and entry-points - for (const path of this.fs.readdir(sourceDirectory)) { - if (isIgnorablePath(path)) { - // Ignore hidden files, node_modules and ngcc directory - continue; - } - - const absolutePath = this.fs.resolve(sourceDirectory, path); - const stat = this.fs.lstat(absolutePath); - if (stat.isSymbolicLink() || !stat.isDirectory()) { - // Ignore symbolic links and non-directories - continue; - } - - entryPoints.push(...this.walkDirectoryForPackages(this.fs.join(sourceDirectory, path))); - } - - return entryPoints; - } - - /** - * Search the `directory` looking for any secondary entry-points for a package, adding any that - * are found to the `entryPoints` array. - * - * @param entryPoints An array where we will add any entry-points found in this directory - * @param packagePath The absolute path to the package that may contain entry-points - * @param directory The current directory being searched - * @param paths The paths contained in the current `directory`. - */ - private collectSecondaryEntryPoints( - entryPoints: EntryPointWithDependencies[], packagePath: AbsoluteFsPath, - directory: AbsoluteFsPath, paths: PathSegment[]): void { - for (const path of paths) { - if (isIgnorablePath(path)) { - // Ignore hidden files, node_modules and ngcc directory - continue; - } - - const absolutePath = this.fs.resolve(directory, path); - const stat = this.fs.lstat(absolutePath); - if (stat.isSymbolicLink()) { - // Ignore symbolic links - continue; - } - - const isDirectory = stat.isDirectory(); - if (!path.endsWith('.js') && !isDirectory) { - // Ignore files that do not end in `.js` - continue; - } - - // If the path is a JS file then strip its extension and see if we can match an - // entry-point. - const possibleEntryPointPath = isDirectory ? absolutePath : stripJsExtension(absolutePath); - let isEntryPoint = false; - const subEntryPoint = - getEntryPointInfo(this.fs, this.config, this.logger, packagePath, possibleEntryPointPath); - if (subEntryPoint !== NO_ENTRY_POINT && subEntryPoint !== INCOMPATIBLE_ENTRY_POINT) { - entryPoints.push(this.resolver.getEntryPointWithDependencies(subEntryPoint)); - isEntryPoint = true; - } - - if (!isDirectory) { - // This path is not a directory so we are done. - continue; - } - - // This directory may contain entry-points of its own. - const childPaths = this.fs.readdir(absolutePath); - if (!isEntryPoint && - childPaths.some( - childPath => childPath.endsWith('.js') && - this.fs.stat(this.fs.resolve(absolutePath, childPath)).isFile())) { - // We do not consider non-entry-point directories that contain JS files as they are very - // unlikely to be containers for sub-entry-points. - continue; - } - this.collectSecondaryEntryPoints(entryPoints, packagePath, absolutePath, childPaths); - } - } -} - -function stripJsExtension(filePath: T): T { - return filePath.replace(/\.js$/, '') as T; -} - -function isIgnorablePath(path: PathSegment): boolean { - return path.startsWith('.') || path === 'node_modules' || path === NGCC_DIRECTORY; } diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.ts new file mode 100644 index 0000000000..638c9f9249 --- /dev/null +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.ts @@ -0,0 +1,154 @@ +/** + * @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 {AbsoluteFsPath, FileSystem, PathSegment} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; + +import {EntryPointWithDependencies} from '../dependencies/dependency_host'; +import {DependencyResolver} from '../dependencies/dependency_resolver'; +import {NgccConfiguration} from '../packages/configuration'; +import {getEntryPointInfo, IGNORED_ENTRY_POINT, INCOMPATIBLE_ENTRY_POINT, isEntryPoint, NO_ENTRY_POINT} from '../packages/entry_point'; +import {NGCC_DIRECTORY} from '../writing/new_entry_point_file_writer'; + +/** + * A class that traverses a file-tree, starting at a given path, looking for all entry-points, + * also capturing the dependencies of each entry-point that is found. + */ +export class EntryPointCollector { + constructor( + private fs: FileSystem, private config: NgccConfiguration, private logger: Logger, + private resolver: DependencyResolver) {} + + /** + * Look for Angular packages that need to be compiled, starting at the source directory. + * The function will recurse into directories that start with `@...`, e.g. `@angular/...`. + * + * @param sourceDirectory An absolute path to the root directory where searching begins. + * @returns an array of `EntryPoint`s that were found within `sourceDirectory`. + */ + walkDirectoryForPackages(sourceDirectory: AbsoluteFsPath): EntryPointWithDependencies[] { + // Try to get a primary entry point from this directory + const primaryEntryPoint = + getEntryPointInfo(this.fs, this.config, this.logger, sourceDirectory, sourceDirectory); + + // If there is an entry-point but it is not compatible with ngcc (it has a bad package.json or + // invalid typings) then exit. It is unlikely that such an entry point has a dependency on an + // Angular library. + if (primaryEntryPoint === INCOMPATIBLE_ENTRY_POINT) { + return []; + } + + const entryPoints: EntryPointWithDependencies[] = []; + if (primaryEntryPoint !== NO_ENTRY_POINT) { + if (primaryEntryPoint !== IGNORED_ENTRY_POINT) { + entryPoints.push(this.resolver.getEntryPointWithDependencies(primaryEntryPoint)); + } + this.collectSecondaryEntryPoints( + entryPoints, sourceDirectory, sourceDirectory, this.fs.readdir(sourceDirectory)); + + // Also check for any nested node_modules in this package but only if at least one of the + // entry-points was compiled by Angular. + if (entryPoints.some(e => e.entryPoint.compiledByAngular)) { + const nestedNodeModulesPath = this.fs.join(sourceDirectory, 'node_modules'); + if (this.fs.exists(nestedNodeModulesPath)) { + entryPoints.push(...this.walkDirectoryForPackages(nestedNodeModulesPath)); + } + } + + return entryPoints; + } + + // The `sourceDirectory` was not a package (i.e. there was no package.json) + // So search its sub-directories for Angular packages and entry-points + for (const path of this.fs.readdir(sourceDirectory)) { + if (isIgnorablePath(path)) { + // Ignore hidden files, node_modules and ngcc directory + continue; + } + + const absolutePath = this.fs.resolve(sourceDirectory, path); + const stat = this.fs.lstat(absolutePath); + if (stat.isSymbolicLink() || !stat.isDirectory()) { + // Ignore symbolic links and non-directories + continue; + } + + entryPoints.push(...this.walkDirectoryForPackages(this.fs.join(sourceDirectory, path))); + } + + return entryPoints; + } + + /** + * Search the `directory` looking for any secondary entry-points for a package, adding any that + * are found to the `entryPoints` array. + * + * @param entryPoints An array where we will add any entry-points found in this directory. + * @param packagePath The absolute path to the package that may contain entry-points. + * @param directory The current directory being searched. + * @param paths The paths contained in the current `directory`. + */ + private collectSecondaryEntryPoints( + entryPoints: EntryPointWithDependencies[], packagePath: AbsoluteFsPath, + directory: AbsoluteFsPath, paths: PathSegment[]): void { + for (const path of paths) { + if (isIgnorablePath(path)) { + // Ignore hidden files, node_modules and ngcc directory + continue; + } + + const absolutePath = this.fs.resolve(directory, path); + const stat = this.fs.lstat(absolutePath); + if (stat.isSymbolicLink()) { + // Ignore symbolic links + continue; + } + + const isDirectory = stat.isDirectory(); + if (!path.endsWith('.js') && !isDirectory) { + // Ignore files that do not end in `.js` + continue; + } + + // If the path is a JS file then strip its extension and see if we can match an + // entry-point (even if it is an ignored one). + const possibleEntryPointPath = isDirectory ? absolutePath : stripJsExtension(absolutePath); + const subEntryPoint = + getEntryPointInfo(this.fs, this.config, this.logger, packagePath, possibleEntryPointPath); + if (isEntryPoint(subEntryPoint)) { + entryPoints.push(this.resolver.getEntryPointWithDependencies(subEntryPoint)); + } + + if (!isDirectory) { + // This path is not a directory so we are done. + continue; + } + + // If not an entry-point itself, this directory may contain entry-points of its own. + const canContainEntryPoints = + subEntryPoint === NO_ENTRY_POINT || subEntryPoint === INCOMPATIBLE_ENTRY_POINT; + const childPaths = this.fs.readdir(absolutePath); + if (canContainEntryPoints && + childPaths.some( + childPath => childPath.endsWith('.js') && + this.fs.stat(this.fs.resolve(absolutePath, childPath)).isFile())) { + // We do not consider non-entry-point directories that contain JS files as they are very + // unlikely to be containers for sub-entry-points. + continue; + } + this.collectSecondaryEntryPoints(entryPoints, packagePath, absolutePath, childPaths); + } + } +} + +function stripJsExtension(filePath: T): T { + return filePath.replace(/\.js$/, '') as T; +} + +function isIgnorablePath(path: PathSegment): boolean { + return path.startsWith('.') || path === 'node_modules' || path === NGCC_DIRECTORY; +} diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/interface.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/interface.ts index 3887774930..17905a26ff 100644 --- a/packages/compiler-cli/ngcc/src/entry_point_finder/interface.ts +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/interface.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.ts new file mode 100644 index 0000000000..35bf766afa --- /dev/null +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.ts @@ -0,0 +1,121 @@ +/** + * @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 {AbsoluteFsPath, FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; +import {ParsedConfiguration} from '../../../src/perform_compile'; + +import {createDependencyInfo, EntryPointWithDependencies} from '../dependencies/dependency_host'; +import {DependencyResolver} from '../dependencies/dependency_resolver'; +import {EsmDependencyHost} from '../dependencies/esm_dependency_host'; +import {ModuleResolver} from '../dependencies/module_resolver'; +import {NgccConfiguration} from '../packages/configuration'; +import {EntryPointManifest} from '../packages/entry_point_manifest'; +import {getPathMappingsFromTsConfig} from '../path_mappings'; + +import {EntryPointCollector} from './entry_point_collector'; +import {TracingEntryPointFinder} from './tracing_entry_point_finder'; +import {trackDuration} from './utils'; + +/** + * An EntryPointFinder that starts from the files in the program defined by the given tsconfig.json + * and only returns entry-points that are dependencies of these files. + * + * This is faster than searching the entire file-system for all the entry-points, + * and is used primarily by the CLI integration. + */ +export class ProgramBasedEntryPointFinder extends TracingEntryPointFinder { + private entryPointsWithDependencies: Map|null = null; + + constructor( + fs: FileSystem, config: NgccConfiguration, logger: Logger, resolver: DependencyResolver, + private entryPointCollector: EntryPointCollector, + private entryPointManifest: EntryPointManifest, basePath: AbsoluteFsPath, + private tsConfig: ParsedConfiguration, projectPath: AbsoluteFsPath) { + super( + fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(tsConfig, projectPath)); + } + + /** + * Return an array containing the external import paths that were extracted from the source-files + * of the program defined by the tsconfig.json. + */ + protected getInitialEntryPointPaths(): AbsoluteFsPath[] { + const moduleResolver = new ModuleResolver(this.fs, this.pathMappings, ['', '.ts', '/index.ts']); + const host = new EsmDependencyHost(this.fs, moduleResolver); + const dependencies = createDependencyInfo(); + this.logger.debug( + `Using the program from ${this.tsConfig.project} to seed the entry-point finding.`); + this.logger.debug( + `Collecting dependencies from the following files:` + + this.tsConfig.rootNames.map(file => `\n- ${file}`)); + this.tsConfig.rootNames.forEach(rootName => { + host.collectDependencies(this.fs.resolve(rootName), dependencies); + }); + return Array.from(dependencies.dependencies); + } + + /** + * For the given `entryPointPath`, compute, or retrieve, the entry-point information, including + * paths to other entry-points that this entry-point depends upon. + * + * In this entry-point finder, we use the `EntryPointManifest` to avoid computing each + * entry-point's dependencies in the case that this had been done previously. + * + * @param entryPointPath the path to the entry-point whose information and dependencies are to be + * retrieved or computed. + * + * @returns the entry-point and its dependencies or `null` if the entry-point is not compiled by + * Angular or cannot be determined. + */ + protected getEntryPointWithDeps(entryPointPath: AbsoluteFsPath): EntryPointWithDependencies|null { + const entryPoints = this.findOrLoadEntryPoints(); + if (!entryPoints.has(entryPointPath)) { + return null; + } + const entryPointWithDeps = entryPoints.get(entryPointPath)!; + if (!entryPointWithDeps.entryPoint.compiledByAngular) { + return null; + } + return entryPointWithDeps; + } + + /** + * Walk the base paths looking for entry-points or load this information from an entry-point + * manifest, if available. + */ + private findOrLoadEntryPoints(): Map { + if (this.entryPointsWithDependencies === null) { + const entryPointsWithDependencies = this.entryPointsWithDependencies = + new Map(); + for (const basePath of this.getBasePaths()) { + const entryPoints = this.entryPointManifest.readEntryPointsUsingManifest(basePath) || + this.walkBasePathForPackages(basePath); + for (const e of entryPoints) { + entryPointsWithDependencies.set(e.entryPoint.path, e); + } + } + } + return this.entryPointsWithDependencies; + } + + /** + * Search the `basePath` for possible Angular packages and entry-points. + * + * @param basePath The path at which to start the search. + * @returns an array of `EntryPoint`s that were found within `basePath`. + */ + walkBasePathForPackages(basePath: AbsoluteFsPath): EntryPointWithDependencies[] { + this.logger.debug( + `No manifest found for ${basePath} so walking the directories for entry-points.`); + const entryPoints = trackDuration( + () => this.entryPointCollector.walkDirectoryForPackages(basePath), + duration => this.logger.debug(`Walking ${basePath} for entry-points took ${duration}s.`)); + this.entryPointManifest.writeEntryPointManifest(basePath, entryPoints); + return entryPoints; + } +} diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.ts index 07d46dd771..d39f65d78c 100644 --- a/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.ts +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.ts @@ -1,21 +1,20 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, FileSystem, join, PathSegment, relative, relativeFrom} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {EntryPointWithDependencies} from '../dependencies/dependency_host'; import {DependencyResolver, SortedEntryPointsInfo} from '../dependencies/dependency_resolver'; -import {Logger} from '../logging/logger'; import {hasBeenProcessed} from '../packages/build_marker'; import {NgccConfiguration} from '../packages/configuration'; -import {EntryPoint, EntryPointJsonProperty, getEntryPointInfo, INCOMPATIBLE_ENTRY_POINT, NO_ENTRY_POINT} from '../packages/entry_point'; +import {EntryPointJsonProperty, getEntryPointInfo, isEntryPoint} from '../packages/entry_point'; import {PathMappings} from '../path_mappings'; -import {EntryPointFinder} from './interface'; -import {getBasePaths} from './utils'; +import {TracingEntryPointFinder} from './tracing_entry_point_finder'; /** * An EntryPointFinder that starts from a target entry-point and only finds @@ -24,30 +23,20 @@ import {getBasePaths} from './utils'; * This is faster than searching the entire file-system for all the entry-points, * and is used primarily by the CLI integration. */ -export class TargetedEntryPointFinder implements EntryPointFinder { - private unprocessedPaths: AbsoluteFsPath[] = []; - private unsortedEntryPoints = new Map(); - private basePaths: AbsoluteFsPath[]|null = null; - private getBasePaths() { - if (this.basePaths === null) { - this.basePaths = getBasePaths(this.logger, this.basePath, this.pathMappings); - } - return this.basePaths; +export class TargetedEntryPointFinder extends TracingEntryPointFinder { + constructor( + fs: FileSystem, config: NgccConfiguration, logger: Logger, resolver: DependencyResolver, + basePath: AbsoluteFsPath, pathMappings: PathMappings|undefined, + private targetPath: AbsoluteFsPath) { + super(fs, config, logger, resolver, basePath, pathMappings); } - constructor( - private fs: FileSystem, private config: NgccConfiguration, private logger: Logger, - private resolver: DependencyResolver, private basePath: AbsoluteFsPath, - private targetPath: AbsoluteFsPath, private pathMappings: PathMappings|undefined) {} - + /** + * Search for Angular entry-points that can be reached from the entry-point specified by the given + * `targetPath`. + */ findEntryPoints(): SortedEntryPointsInfo { - this.unprocessedPaths = [this.targetPath]; - while (this.unprocessedPaths.length > 0) { - this.processNextPath(); - } - const targetEntryPoint = this.unsortedEntryPoints.get(this.targetPath); - const entryPoints = this.resolver.sortEntryPointsByDependency( - Array.from(this.unsortedEntryPoints.values()), targetEntryPoint?.entryPoint); + const entryPoints = super.findEntryPoints(); const invalidTarget = entryPoints.invalidEntryPoints.find(i => i.entryPoint.path === this.targetPath); @@ -59,17 +48,25 @@ export class TargetedEntryPointFinder implements EntryPointFinder { return entryPoints; } + /** + * Determine whether the entry-point at the given `targetPath` needs to be processed. + * + * @param propertiesToConsider the package.json properties that should be considered for + * processing. + * @param compileAllFormats true if all formats need to be processed, or false if it is enough for + * one of the formats covered by the `propertiesToConsider` is processed. + */ targetNeedsProcessingOrCleaning( propertiesToConsider: EntryPointJsonProperty[], compileAllFormats: boolean): boolean { - const entryPoint = this.getEntryPoint(this.targetPath); - if (entryPoint === null || !entryPoint.compiledByAngular) { + const entryPointWithDeps = this.getEntryPointWithDeps(this.targetPath); + if (entryPointWithDeps === null) { return false; } for (const property of propertiesToConsider) { - if (entryPoint.packageJson[property]) { + if (entryPointWithDeps.entryPoint.packageJson[property]) { // Here is a property that should be processed. - if (!hasBeenProcessed(entryPoint.packageJson, property)) { + if (!hasBeenProcessed(entryPointWithDeps.entryPoint.packageJson, property)) { return true; } if (!compileAllFormats) { @@ -83,31 +80,42 @@ export class TargetedEntryPointFinder implements EntryPointFinder { return false; } - private processNextPath(): void { - const path = this.unprocessedPaths.shift()!; - const entryPoint = this.getEntryPoint(path); - if (entryPoint === null || !entryPoint.compiledByAngular) { - return; - } - const entryPointWithDeps = this.resolver.getEntryPointWithDependencies(entryPoint); - this.unsortedEntryPoints.set(entryPoint.path, entryPointWithDeps); - entryPointWithDeps.depInfo.dependencies.forEach(dep => { - if (!this.unsortedEntryPoints.has(dep)) { - this.unprocessedPaths.push(dep); - } - }); + /** + * Return an array containing the `targetPath` from which to start the trace. + */ + protected getInitialEntryPointPaths(): AbsoluteFsPath[] { + return [this.targetPath]; } - private getEntryPoint(entryPointPath: AbsoluteFsPath): EntryPoint|null { + /** + * For the given `entryPointPath`, compute, or retrieve, the entry-point information, including + * paths to other entry-points that this entry-point depends upon. + * + * @param entryPointPath the path to the entry-point whose information and dependencies are to be + * retrieved or computed. + * + * @returns the entry-point and its dependencies or `null` if the entry-point is not compiled by + * Angular or cannot be determined. + */ + protected getEntryPointWithDeps(entryPointPath: AbsoluteFsPath): EntryPointWithDependencies|null { const packagePath = this.computePackagePath(entryPointPath); const entryPoint = getEntryPointInfo(this.fs, this.config, this.logger, packagePath, entryPointPath); - if (entryPoint === NO_ENTRY_POINT || entryPoint === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(entryPoint) || !entryPoint.compiledByAngular) { return null; } - return entryPoint; + return this.resolver.getEntryPointWithDependencies(entryPoint); } + /** + * Compute the path to the package that contains the given entry-point. + * + * In this entry-point finder it is not trivial to find the containing package, since it is + * possible that this entry-point is not directly below the directory containing the package. + * Moreover, the import path could be affected by path-mapping. + * + * @param entryPointPath the path to the entry-point, whose package path we want to compute. + */ private computePackagePath(entryPointPath: AbsoluteFsPath): AbsoluteFsPath { // First try the main basePath, to avoid having to compute the other basePaths from the paths // mappings, which can be computationally intensive. @@ -139,6 +147,7 @@ export class TargetedEntryPointFinder implements EntryPointFinder { return this.computePackagePathFromNearestNodeModules(entryPointPath); } + /** * Search down to the `entryPointPath` from the `containingPath` for the first `package.json` that * we come to. This is the path to the entry-point's containing package. For example if @@ -218,7 +227,6 @@ export class TargetedEntryPointFinder implements EntryPointFinder { /** * Split the given `path` into path segments using an FS independent algorithm. - * @param path The path to split. */ private splitPath(path: PathSegment) { const segments = []; diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.ts new file mode 100644 index 0000000000..578b184247 --- /dev/null +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.ts @@ -0,0 +1,98 @@ +/** + * @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 {AbsoluteFsPath, FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; + +import {EntryPointWithDependencies} from '../dependencies/dependency_host'; +import {DependencyResolver, SortedEntryPointsInfo} from '../dependencies/dependency_resolver'; +import {NgccConfiguration} from '../packages/configuration'; +import {PathMappings} from '../path_mappings'; + +import {EntryPointFinder} from './interface'; +import {getBasePaths} from './utils'; + +/** + * An EntryPointFinder that starts from a set of initial files and only returns entry-points that + * are dependencies of these files. + * + * This is faster than processing all entry-points in the entire file-system, and is used primarily + * by the CLI integration. + * + * There are two concrete implementations of this class. + * + * * `TargetEntryPointFinder` - is given a single entry-point as the initial entry-point. This can + * be used in the synchronous CLI integration where the build tool has identified an external + * import to one of the source files being built. + * * `ProgramBasedEntryPointFinder` - computes the initial entry-points from the source files + * computed from a `tsconfig.json` file. This can be used in the asynchronous CLI integration + * where the `tsconfig.json` to be used to do the build is known. + */ +export abstract class TracingEntryPointFinder implements EntryPointFinder { + private basePaths: AbsoluteFsPath[]|null = null; + + constructor( + protected fs: FileSystem, protected config: NgccConfiguration, protected logger: Logger, + protected resolver: DependencyResolver, protected basePath: AbsoluteFsPath, + protected pathMappings: PathMappings|undefined) {} + + /** + * Search for Angular package entry-points. + */ + findEntryPoints(): SortedEntryPointsInfo { + const unsortedEntryPoints = new Map(); + const unprocessedPaths = this.getInitialEntryPointPaths(); + while (unprocessedPaths.length > 0) { + const path = unprocessedPaths.shift()!; + const entryPointWithDeps = this.getEntryPointWithDeps(path); + if (entryPointWithDeps === null) { + continue; + } + unsortedEntryPoints.set(entryPointWithDeps.entryPoint.path, entryPointWithDeps); + entryPointWithDeps.depInfo.dependencies.forEach(dep => { + if (!unsortedEntryPoints.has(dep)) { + unprocessedPaths.push(dep); + } + }); + } + return this.resolver.sortEntryPointsByDependency(Array.from(unsortedEntryPoints.values())); + } + + + /** + * Return an array of entry-point paths from which to start the trace. + */ + protected abstract getInitialEntryPointPaths(): AbsoluteFsPath[]; + + /** + * For the given `entryPointPath`, compute, or retrieve, the entry-point information, including + * paths to other entry-points that this entry-point depends upon. + * + * @param entryPointPath the path to the entry-point whose information and dependencies are to be + * retrieved or computed. + * + * @returns the entry-point and its dependencies or `null` if the entry-point is not compiled by + * Angular or cannot be determined. + */ + protected abstract getEntryPointWithDeps(entryPointPath: AbsoluteFsPath): + EntryPointWithDependencies|null; + + + /** + * Parse the path-mappings to compute the base-paths that need to be considered when finding + * entry-points. + * + * This processing can be time-consuming if the path-mappings are complex or extensive. + * So the result is cached locally once computed. + */ + protected getBasePaths() { + if (this.basePaths === null) { + this.basePaths = getBasePaths(this.logger, this.basePath, this.pathMappings); + } + return this.basePaths; + } +} diff --git a/packages/compiler-cli/ngcc/src/entry_point_finder/utils.ts b/packages/compiler-cli/ngcc/src/entry_point_finder/utils.ts index 404ba00059..37099f1e98 100644 --- a/packages/compiler-cli/ngcc/src/entry_point_finder/utils.ts +++ b/packages/compiler-cli/ngcc/src/entry_point_finder/utils.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, getFileSystem, isRoot, resolve} from '../../../src/ngtsc/file_system'; -import {Logger} from '../logging/logger'; +import {Logger} from '../../../src/ngtsc/logging'; import {PathMappings} from '../path_mappings'; /** @@ -82,8 +82,8 @@ function extractPathPrefix(path: string) { /** * Run a task and track how long it takes. * - * @param task The task whose duration we are tracking - * @param log The function to call with the duration of the task + * @param task The task whose duration we are tracking. + * @param log The function to call with the duration of the task. * @returns The result of calling `task`. */ export function trackDuration(task: () => T extends Promise? never : T, @@ -136,7 +136,7 @@ function addPath(root: Node, path: AbsoluteFsPath): void { } /** - * Flatten the tree of nodes back into an array of absolute paths + * Flatten the tree of nodes back into an array of absolute paths. */ function flattenTree(root: Node): AbsoluteFsPath[] { const paths: AbsoluteFsPath[] = []; diff --git a/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.ts b/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.ts index 0a3643e4de..d12c0cbe57 100644 --- a/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.ts +++ b/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,12 +8,12 @@ import {DepGraph} from 'dependency-graph'; import {FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {InvalidEntryPoint} from '../dependencies/dependency_resolver'; import {EntryPointFinder} from '../entry_point_finder/interface'; import {ParallelTaskQueue} from '../execution/tasks/queues/parallel_task_queue'; import {SerialTaskQueue} from '../execution/tasks/queues/serial_task_queue'; import {computeTaskDependencies} from '../execution/tasks/utils'; -import {Logger} from '../logging/logger'; import {hasBeenProcessed} from '../packages/build_marker'; import {EntryPoint, EntryPointJsonProperty, EntryPointPackageJson, SUPPORTED_FORMAT_PROPERTIES} from '../packages/entry_point'; import {cleanOutdatedPackages} from '../writing/cleaning/package_cleaner'; diff --git a/packages/compiler-cli/ngcc/src/execution/api.ts b/packages/compiler-cli/ngcc/src/execution/api.ts index 1c95403301..e613e9327e 100644 --- a/packages/compiler-cli/ngcc/src/execution/api.ts +++ b/packages/compiler-cli/ngcc/src/execution/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/api.ts b/packages/compiler-cli/ngcc/src/execution/cluster/api.ts index 59d28ceabb..0eea0171d2 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/api.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/executor.ts b/packages/compiler-cli/ngcc/src/execution/cluster/executor.ts index 44fad92aac..f9809bd8e9 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/executor.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/executor.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {FileSystem} from '../../../../src/ngtsc/file_system'; +import {Logger} from '../../../../src/ngtsc/logging'; import {AsyncLocker} from '../../locking/async_locker'; -import {Logger} from '../../logging/logger'; import {FileWriter} from '../../writing/file_writer'; import {PackageJsonUpdater} from '../../writing/package_json_updater'; import {AnalyzeEntryPointsFn, CreateCompileFn, Executor} from '../api'; diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/master.ts b/packages/compiler-cli/ngcc/src/execution/cluster/master.ts index a29997b4f8..f3020a7910 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/master.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/master.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,7 +11,7 @@ import * as cluster from 'cluster'; import {AbsoluteFsPath, FileSystem} from '../../../../src/ngtsc/file_system'; -import {Logger} from '../../logging/logger'; +import {Logger} from '../../../../src/ngtsc/logging'; import {FileWriter} from '../../writing/file_writer'; import {PackageJsonUpdater} from '../../writing/package_json_updater'; import {AnalyzeEntryPointsFn} from '../api'; diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.ts b/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.ts index 3f0ccde6b4..7da2ea6b7c 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/utils.ts b/packages/compiler-cli/ngcc/src/execution/cluster/utils.ts index 200cdd8d65..7c0308e25e 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/utils.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/cluster/worker.ts b/packages/compiler-cli/ngcc/src/execution/cluster/worker.ts index e018384c06..b74e849dbf 100644 --- a/packages/compiler-cli/ngcc/src/execution/cluster/worker.ts +++ b/packages/compiler-cli/ngcc/src/execution/cluster/worker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,9 +9,8 @@ import * as cluster from 'cluster'; +import {Logger} from '../../../../src/ngtsc/logging'; import {parseCommandLineOptions} from '../../command_line_options'; -import {ConsoleLogger} from '../../logging/console_logger'; -import {Logger, LogLevel} from '../../logging/logger'; import {getSharedSetup} from '../../ngcc_options'; import {CreateCompileFn} from '../api'; import {getCreateCompileFn} from '../create_compile_function'; diff --git a/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts b/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts index 5d162182dc..c3671e6946 100644 --- a/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts +++ b/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,8 +10,8 @@ import * as ts from 'typescript'; import {replaceTsWithNgInErrors} from '../../../src/ngtsc/diagnostics'; import {FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {ParsedConfiguration} from '../../../src/perform_compile'; -import {Logger} from '../logging/logger'; import {getEntryPointFormat} from '../packages/entry_point'; import {makeEntryPointBundle} from '../packages/entry_point_bundle'; import {PathMappings} from '../path_mappings'; diff --git a/packages/compiler-cli/ngcc/src/execution/single_process_executor.ts b/packages/compiler-cli/ngcc/src/execution/single_process_executor.ts index e487e5d5f3..4f41ed3c97 100644 --- a/packages/compiler-cli/ngcc/src/execution/single_process_executor.ts +++ b/packages/compiler-cli/ngcc/src/execution/single_process_executor.ts @@ -1,14 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger} from '../../../src/ngtsc/logging'; import {AsyncLocker} from '../locking/async_locker'; import {SyncLocker} from '../locking/sync_locker'; -import {Logger} from '../logging/logger'; import {AnalyzeEntryPointsFn, CreateCompileFn, Executor} from './api'; import {CreateTaskCompletedCallback} from './tasks/api'; diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/api.ts b/packages/compiler-cli/ngcc/src/execution/tasks/api.ts index 92e3a4a744..864f365099 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/api.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/completion.ts b/packages/compiler-cli/ngcc/src/execution/tasks/completion.ts index 88f2879aab..ea4b13d4d8 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/completion.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/completion.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {FileSystem, resolve} from '../../../../src/ngtsc/file_system'; -import {Logger} from '../../logging/logger'; +import {Logger} from '../../../../src/ngtsc/logging'; import {markAsProcessed} from '../../packages/build_marker'; import {getEntryPointFormat, PackageJsonFormatProperties} from '../../packages/entry_point'; import {PackageJsonUpdater} from '../../writing/package_json_updater'; diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.ts b/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.ts index a5d8ad1fbd..e142aa021d 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.ts @@ -1,11 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger} from '../../../logging/logger'; +import {Logger} from '../../../../../src/ngtsc/logging'; import {PartiallyOrderedTasks, Task, TaskDependencies, TaskQueue} from '../api'; import {stringifyTask} from '../utils'; diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.ts b/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.ts index 107aa154c2..5a0679b465 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.ts @@ -1,11 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger} from '../../../logging/logger'; +import {Logger} from '../../../../../src/ngtsc/logging'; import {PartiallyOrderedTasks, Task, TaskDependencies} from '../api'; import {getBlockedTasks, sortTasksByPriority, stringifyTask} from '../utils'; import {BaseTaskQueue} from './base_task_queue'; diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.ts b/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.ts index 869f0aeb52..0fe5fdb064 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/execution/tasks/utils.ts b/packages/compiler-cli/ngcc/src/execution/tasks/utils.ts index 22846a361e..b95886c56c 100644 --- a/packages/compiler-cli/ngcc/src/execution/tasks/utils.ts +++ b/packages/compiler-cli/ngcc/src/execution/tasks/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/host/commonjs_host.ts b/packages/compiler-cli/ngcc/src/host/commonjs_host.ts index 0ba357416b..ca3d6532c6 100644 --- a/packages/compiler-cli/ngcc/src/host/commonjs_host.ts +++ b/packages/compiler-cli/ngcc/src/host/commonjs_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,12 +9,12 @@ import * as ts from 'typescript'; import {absoluteFrom} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {Declaration, Import} from '../../../src/ngtsc/reflection'; -import {Logger} from '../logging/logger'; import {BundleProgram} from '../packages/bundle_program'; -import {FactoryMap, getTsHelperFnFromIdentifier, isDefined, stripExtension} from '../utils'; +import {FactoryMap, isDefined} from '../utils'; -import {ExportDeclaration, ExportStatement, findNamespaceOfIdentifier, findRequireCallReference, isExportStatement, isReexportStatement, isRequireCall, ReexportStatement, RequireCall} from './commonjs_umd_utils'; +import {DefinePropertyReexportStatement, ExportDeclaration, ExportStatement, extractGetterFnExpression, findNamespaceOfIdentifier, findRequireCallReference, isDefinePropertyReexportStatement, isExportStatement, isExternalImport, isRequireCall, isWildcardReexportStatement, RequireCall, WildcardReexportStatement} from './commonjs_umd_utils'; import {Esm5ReflectionHost} from './esm5_host'; import {NgccClassSymbol} from './ngcc_host'; @@ -43,7 +43,7 @@ export class CommonJsReflectionHost extends Esm5ReflectionHost { } getDeclarationOfIdentifier(id: ts.Identifier): Declaration|null { - return this.getCommonJsImportedDeclaration(id) || super.getDeclarationOfIdentifier(id); + return this.getCommonJsModuleDeclaration(id) || super.getDeclarationOfIdentifier(id); } getExportsOfModule(module: ts.Node): Map|null { @@ -99,39 +99,31 @@ export class CommonJsReflectionHost extends Esm5ReflectionHost { const moduleMap = new Map(); for (const statement of this.getModuleStatements(sourceFile)) { if (isExportStatement(statement)) { - const exportDeclaration = this.extractCommonJsExportDeclaration(statement); + const exportDeclaration = this.extractBasicCommonJsExportDeclaration(statement); moduleMap.set(exportDeclaration.name, exportDeclaration.declaration); - } else if (isReexportStatement(statement)) { - const reexports = this.extractCommonJsReexports(statement, sourceFile); + } else if (isWildcardReexportStatement(statement)) { + const reexports = this.extractCommonJsWildcardReexports(statement, sourceFile); for (const reexport of reexports) { moduleMap.set(reexport.name, reexport.declaration); } + } else if (isDefinePropertyReexportStatement(statement)) { + const exportDeclaration = this.extractCommonJsDefinePropertyExportDeclaration(statement); + if (exportDeclaration !== null) { + moduleMap.set(exportDeclaration.name, exportDeclaration.declaration); + } } } return moduleMap; } - private extractCommonJsExportDeclaration(statement: ExportStatement): ExportDeclaration { + private extractBasicCommonJsExportDeclaration(statement: ExportStatement): ExportDeclaration { const exportExpression = statement.expression.right; - const declaration = this.getDeclarationOfExpression(exportExpression); const name = statement.expression.left.name.text; - if (declaration !== null) { - return {name, declaration}; - } else { - return { - name, - declaration: { - node: null, - known: null, - expression: exportExpression, - viaModule: null, - }, - }; - } + return this.extractCommonJsExportDeclaration(name, exportExpression); } - private extractCommonJsReexports(statement: ReexportStatement, containingFile: ts.SourceFile): - ExportDeclaration[] { + private extractCommonJsWildcardReexports( + statement: WildcardReexportStatement, containingFile: ts.SourceFile): ExportDeclaration[] { const reexportArg = statement.expression.arguments[0]; const requireCall = isRequireCall(reexportArg) ? @@ -152,22 +144,28 @@ export class CommonJsReflectionHost extends Esm5ReflectionHost { return []; } - const viaModule = stripExtension(importedFile.fileName); + const viaModule = isExternalImport(importPath) ? importPath : null; const reexports: ExportDeclaration[] = []; - importedExports.forEach((decl, name) => { - if (decl.node !== null) { - reexports.push({ - name, - declaration: {node: decl.node, known: null, viaModule, identity: decl.identity} - }); - } else { - reexports.push( - {name, declaration: {node: null, known: null, expression: decl.expression, viaModule}}); + importedExports.forEach((declaration, name) => { + if (viaModule !== null && declaration.viaModule === null) { + declaration = {...declaration, viaModule}; } + reexports.push({name, declaration}); }); return reexports; } + private extractCommonJsDefinePropertyExportDeclaration( + statement: DefinePropertyReexportStatement): ExportDeclaration|null { + const args = statement.expression.arguments; + const name = args[1].text; + const getterFnExpression = extractGetterFnExpression(statement); + if (getterFnExpression === null) { + return null; + } + return this.extractCommonJsExportDeclaration(name, getterFnExpression); + } + private findCommonJsImport(id: ts.Identifier): RequireCall|null { // Is `id` a namespaced property access, e.g. `Directive` in `core.Directive`? // If so capture the symbol of the namespace, e.g. `core`. @@ -175,19 +173,38 @@ export class CommonJsReflectionHost extends Esm5ReflectionHost { return nsIdentifier && findRequireCallReference(nsIdentifier, this.checker); } - private getCommonJsImportedDeclaration(id: ts.Identifier): Declaration|null { - const importInfo = this.getImportOfIdentifier(id); - if (importInfo === null) { + private extractCommonJsExportDeclaration(name: string, expression: ts.Expression): + ExportDeclaration { + const declaration = this.getDeclarationOfExpression(expression); + if (declaration !== null) { + return {name, declaration}; + } else { + return { + name, + declaration: {node: null, known: null, expression, viaModule: null}, + }; + } + } + + /** + * Handle the case where the identifier represents a reference to a whole CommonJS + * module, i.e. the result of a call to `require(...)`. + * + * @param id the identifier whose declaration we are looking for. + * @returns a declaration if `id` refers to a CommonJS module, or `null` otherwise. + */ + private getCommonJsModuleDeclaration(id: ts.Identifier): Declaration|null { + const requireCall = findRequireCallReference(id, this.checker); + if (requireCall === null) { return null; } - - const importedFile = this.resolveModuleName(importInfo.from, id.getSourceFile()); - if (importedFile === undefined) { + const importPath = requireCall.arguments[0].text; + const module = this.resolveModuleName(importPath, id.getSourceFile()); + if (module === undefined) { return null; } - - const viaModule = !importInfo.from.startsWith('.') ? importInfo.from : null; - return {node: importedFile, known: getTsHelperFnFromIdentifier(id), viaModule, identity: null}; + const viaModule = isExternalImport(importPath) ? importPath : null; + return {node: module, known: null, viaModule, identity: null}; } private resolveModuleName(moduleName: string, containingFile: ts.SourceFile): ts.SourceFile diff --git a/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.ts b/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.ts index e871034f99..7374871584 100644 --- a/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.ts +++ b/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,9 +25,11 @@ export interface ExportStatement extends ts.ExpressionStatement { } /** - * A CommonJS or UMD re-export statement. + * A CommonJS or UMD wildcard re-export statement. * - * In CommonJS/UMD, re-export statements can have several forms (depending, for example, on whether + * The CommonJS or UMD version of `export * from 'blah';`. + * + * These statements can have several forms (depending, for example, on whether * the TypeScript helpers are imported or emitted inline). The expression can have one of the * following forms: * - `__export(firstArg)` @@ -35,14 +37,28 @@ export interface ExportStatement extends ts.ExpressionStatement { * - `tslib.__export(firstArg, exports)` * - `tslib.__exportStar(firstArg, exports)` * - * In all cases, we only care about `firstApp`, which is the first argument of the re-export call + * In all cases, we only care about `firstArg`, which is the first argument of the re-export call * expression and can be either a `require('...')` call or an identifier (initialized via a * `require('...')` call). */ -export interface ReexportStatement extends ts.ExpressionStatement { +export interface WildcardReexportStatement extends ts.ExpressionStatement { expression: ts.CallExpression; } +/** + * A CommonJS or UMD re-export statement using an `Object.defineProperty()` call. + * For example: + * + * ``` + * Object.defineProperty(exports, "", + * { enumerable: true, get: function () { return ; } }); + * ``` + */ +export interface DefinePropertyReexportStatement extends ts.ExpressionStatement { + expression: ts.CallExpression& + {arguments: [ts.Identifier, ts.StringLiteral, ts.ObjectLiteralExpression]}; +} + export interface RequireCall extends ts.CallExpression { arguments: ts.CallExpression['arguments']&[ts.StringLiteral]; } @@ -54,7 +70,7 @@ export interface RequireCall extends ts.CallExpression { * `ts.Identifier` corresponding to `` will be returned). Otherwise return `null`. */ export function findNamespaceOfIdentifier(id: ts.Identifier): ts.Identifier|null { - return id.parent && ts.isPropertyAccessExpression(id.parent) && + return id.parent && ts.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts.isIdentifier(id.parent.expression) ? id.parent.expression : null; @@ -76,7 +92,7 @@ export function findRequireCallReference(id: ts.Identifier, checker: ts.TypeChec /** * Check whether the specified `ts.Statement` is an export statement, i.e. an expression statement - * of the form: `export. = ` + * of the form: `exports. = ` */ export function isExportStatement(stmt: ts.Statement): stmt is ExportStatement { return ts.isExpressionStatement(stmt) && ts.isBinaryExpression(stmt.expression) && @@ -87,14 +103,14 @@ export function isExportStatement(stmt: ts.Statement): stmt is ExportStatement { } /** - * Check whether the specified `ts.Statement` is a re-export statement, i.e. an expression statement - * of one of the following forms: + * Check whether the specified `ts.Statement` is a wildcard re-export statement. + * I.E. an expression statement of one of the following forms: * - `__export()` * - `__exportStar()` * - `tslib.__export(, exports)` * - `tslib.__exportStar(, exports)` */ -export function isReexportStatement(stmt: ts.Statement): stmt is ReexportStatement { +export function isWildcardReexportStatement(stmt: ts.Statement): stmt is WildcardReexportStatement { // Ensure it is a call expression statement. if (!ts.isExpressionStatement(stmt) || !ts.isCallExpression(stmt.expression)) { return false; @@ -131,6 +147,69 @@ export function isReexportStatement(stmt: ts.Statement): stmt is ReexportStateme return stmt.expression.arguments.length > 0; } + +/** + * Check whether the statement is a re-export of the form: + * + * ``` + * Object.defineProperty(exports, "", + * { enumerable: true, get: function () { return ; } }); + * ``` + */ +export function isDefinePropertyReexportStatement(stmt: ts.Statement): + stmt is DefinePropertyReexportStatement { + if (!ts.isExpressionStatement(stmt) || !ts.isCallExpression(stmt.expression)) { + return false; + } + + // Check for Object.defineProperty + if (!ts.isPropertyAccessExpression(stmt.expression.expression) || + !ts.isIdentifier(stmt.expression.expression.expression) || + stmt.expression.expression.expression.text !== 'Object' || + !ts.isIdentifier(stmt.expression.expression.name) || + stmt.expression.expression.name.text !== 'defineProperty') { + return false; + } + + const args = stmt.expression.arguments; + if (args.length !== 3) { + return false; + } + const exportsObject = args[0]; + if (!ts.isIdentifier(exportsObject) || exportsObject.text !== 'exports') { + return false; + } + + const propertyKey = args[1]; + if (!ts.isStringLiteral(propertyKey)) { + return false; + } + + const propertyDescriptor = args[2]; + if (!ts.isObjectLiteralExpression(propertyDescriptor)) { + return false; + } + + return (propertyDescriptor.properties.some( + prop => prop.name !== undefined && ts.isIdentifier(prop.name) && prop.name.text === 'get')); +} + +export function extractGetterFnExpression(statement: DefinePropertyReexportStatement): + ts.Expression|null { + const args = statement.expression.arguments; + const getterFn = args[2].properties.find( + prop => prop.name !== undefined && ts.isIdentifier(prop.name) && prop.name.text === 'get'); + if (getterFn === undefined || !ts.isPropertyAssignment(getterFn) || + !ts.isFunctionExpression(getterFn.initializer)) { + return null; + } + const returnStatement = getterFn.initializer.body.statements[0]; + if (!ts.isReturnStatement(returnStatement) || returnStatement.expression === undefined) { + return null; + } + return returnStatement.expression; +} + /** * Check whether the specified `ts.Node` represents a `require()` call, i.e. an call expression of * the form: `require('')` @@ -140,3 +219,7 @@ export function isRequireCall(node: ts.Node): node is RequireCall { node.expression.text === 'require' && node.arguments.length === 1 && ts.isStringLiteral(node.arguments[0]); } + +export function isExternalImport(path: string): boolean { + return !/^\.\.?(\/|$)/.test(path); +} diff --git a/packages/compiler-cli/ngcc/src/host/delegating_host.ts b/packages/compiler-cli/ngcc/src/host/delegating_host.ts index d1e7293feb..907433fabd 100644 --- a/packages/compiler-cli/ngcc/src/host/delegating_host.ts +++ b/packages/compiler-cli/ngcc/src/host/delegating_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -32,7 +32,8 @@ export class DelegatingReflectionHost implements NgccReflectionHost { getDeclarationOfIdentifier(id: ts.Identifier): Declaration|null { if (isFromDtsFile(id)) { - return this.detectKnownDeclaration(this.tsHost.getDeclarationOfIdentifier(id)); + const declaration = this.tsHost.getDeclarationOfIdentifier(id); + return declaration !== null ? this.detectKnownDeclaration(declaration) : null; } return this.ngccHost.getDeclarationOfIdentifier(id); } @@ -157,10 +158,7 @@ export class DelegatingReflectionHost implements NgccReflectionHost { return this.ngccHost.getEndOfClass(classSymbol); } - detectKnownDeclaration(decl: null): null; - detectKnownDeclaration(decl: T): T; - detectKnownDeclaration(decl: T|null): T|null; - detectKnownDeclaration(decl: T|null): T|null { + detectKnownDeclaration(decl: T): T { return this.ngccHost.detectKnownDeclaration(decl); } } diff --git a/packages/compiler-cli/ngcc/src/host/esm2015_host.ts b/packages/compiler-cli/ngcc/src/host/esm2015_host.ts index a401f6ea64..bb355d5d7d 100644 --- a/packages/compiler-cli/ngcc/src/host/esm2015_host.ts +++ b/packages/compiler-cli/ngcc/src/host/esm2015_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,9 +8,9 @@ import * as ts from 'typescript'; -import {ClassDeclaration, ClassMember, ClassMemberKind, CtorParameter, Declaration, Decorator, EnumMember, isDecoratorIdentifier, isNamedClassDeclaration, KnownDeclaration, reflectObjectLiteral, SpecialDeclarationKind, TypeScriptReflectionHost, TypeValueReference} from '../../../src/ngtsc/reflection'; +import {Logger} from '../../../src/ngtsc/logging'; +import {ClassDeclaration, ClassMember, ClassMemberKind, CtorParameter, Declaration, Decorator, EnumMember, isDecoratorIdentifier, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration, KnownDeclaration, reflectObjectLiteral, SpecialDeclarationKind, TypeScriptReflectionHost, TypeValueReference} from '../../../src/ngtsc/reflection'; import {isWithinPackage} from '../analysis/util'; -import {Logger} from '../logging/logger'; import {BundleProgram} from '../packages/bundle_program'; import {findAll, getNameText, hasNameIdentifier, isDefined, stripDollarSuffix} from '../utils'; @@ -132,125 +132,16 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N return symbol; } + if (declaration.parent !== undefined && isNamedVariableDeclaration(declaration.parent)) { + const variableValue = this.getVariableValue(declaration.parent); + if (variableValue !== null) { + declaration = variableValue; + } + } + return this.getClassSymbolFromInnerDeclaration(declaration); } - /** - * In ES2015, a class may be declared using a variable declaration of the following structures: - * - * ``` - * var MyClass = MyClass_1 = class MyClass {}; - * ``` - * - * or - * - * ``` - * var MyClass = MyClass_1 = (() => { class MyClass {} ... return MyClass; })() - * ``` - * - * This method extracts the `NgccClassSymbol` for `MyClass` when provided with the `var MyClass` - * declaration node. When the `class MyClass {}` node or any other node is given, this method will - * return undefined instead. - * - * @param declaration the declaration whose symbol we are finding. - * @returns the symbol for the node or `undefined` if it does not represent an outer declaration - * of a class. - */ - protected getClassSymbolFromOuterDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { - // Create a symbol without inner declaration if it is a regular "top level" class declaration. - if (isNamedClassDeclaration(declaration) && isTopLevel(declaration)) { - return this.createClassSymbol(declaration, null); - } - - // Otherwise, the declaration may be a variable declaration, in which case it must be - // initialized using a class expression as inner declaration. - if (ts.isVariableDeclaration(declaration) && hasNameIdentifier(declaration)) { - const innerDeclaration = getInnerClassDeclaration(declaration); - if (innerDeclaration !== null) { - return this.createClassSymbol(declaration, innerDeclaration); - } - } - - return undefined; - } - - /** - * In ES2015, a class may be declared using a variable declaration of the following structures: - * - * ``` - * var MyClass = MyClass_1 = class MyClass {}; - * ``` - * - * or - * - * ``` - * var MyClass = MyClass_1 = (() => { class MyClass {} ... return MyClass; })() - * ``` - * - * This method extracts the `NgccClassSymbol` for `MyClass` when provided with the - * `class MyClass {}` declaration node. When the `var MyClass` node or any other node is given, - * this method will return undefined instead. - * - * @param declaration the declaration whose symbol we are finding. - * @returns the symbol for the node or `undefined` if it does not represent an inner declaration - * of a class. - */ - protected getClassSymbolFromInnerDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { - let outerDeclaration: ts.VariableDeclaration|undefined = undefined; - - if (isNamedClassDeclaration(declaration) && !isTopLevel(declaration)) { - let node = declaration.parent; - while (node !== undefined && !ts.isVariableDeclaration(node)) { - node = node.parent; - } - outerDeclaration = node; - } else if (ts.isClassExpression(declaration) && hasNameIdentifier(declaration)) { - outerDeclaration = getVariableDeclarationOfDeclaration(declaration); - } else { - return undefined; - } - - if (outerDeclaration === undefined || !hasNameIdentifier(outerDeclaration)) { - return undefined; - } - - return this.createClassSymbol(outerDeclaration, declaration); - } - - /** - * Creates an `NgccClassSymbol` from an outer and inner declaration. If a class only has an outer - * declaration, the "implementation" symbol of the created `NgccClassSymbol` will be set equal to - * the "declaration" symbol. - * - * @param outerDeclaration The outer declaration node of the class. - * @param innerDeclaration The inner declaration node of the class, or undefined if no inner - * declaration is present. - * @returns the `NgccClassSymbol` representing the class, or undefined if a `ts.Symbol` for any of - * the declarations could not be resolved. - */ - protected createClassSymbol( - outerDeclaration: ClassDeclaration, innerDeclaration: ClassDeclaration|null): NgccClassSymbol - |undefined { - const declarationSymbol = - this.checker.getSymbolAtLocation(outerDeclaration.name) as ClassSymbol | undefined; - if (declarationSymbol === undefined) { - return undefined; - } - - const implementationSymbol = innerDeclaration !== null ? - this.checker.getSymbolAtLocation(innerDeclaration.name) : - declarationSymbol; - if (implementationSymbol === undefined) { - return undefined; - } - - return { - name: declarationSymbol.name, - declaration: declarationSymbol, - implementation: implementationSymbol, - }; - } - /** * Examine a declaration (for example, of a class or function) and return metadata about any * decorators present on the declaration. @@ -318,32 +209,61 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N return null; } - hasBaseClass(clazz: ClassDeclaration): boolean { - const superHasBaseClass = super.hasBaseClass(clazz); - if (superHasBaseClass) { - return superHasBaseClass; - } - - const innerClassDeclaration = getInnerClassDeclaration(clazz); - if (innerClassDeclaration === null) { - return false; - } - - return super.hasBaseClass(innerClassDeclaration); - } - getBaseClassExpression(clazz: ClassDeclaration): ts.Expression|null { - // First try getting the base class from the "outer" declaration + // First try getting the base class from an ES2015 class declaration const superBaseClassIdentifier = super.getBaseClassExpression(clazz); if (superBaseClassIdentifier) { return superBaseClassIdentifier; } + // That didn't work so now try getting it from the "inner" declaration. - const innerClassDeclaration = getInnerClassDeclaration(clazz); - if (innerClassDeclaration === null) { + const classSymbol = this.getClassSymbol(clazz); + if (classSymbol === undefined || + !isNamedDeclaration(classSymbol.implementation.valueDeclaration)) { return null; } - return super.getBaseClassExpression(innerClassDeclaration); + return super.getBaseClassExpression(classSymbol.implementation.valueDeclaration); + } + + getInternalNameOfClass(clazz: ClassDeclaration): ts.Identifier { + const classSymbol = this.getClassSymbol(clazz); + if (classSymbol === undefined) { + throw new Error(`getInternalNameOfClass() called on a non-class: expected ${ + clazz.name.text} to be a class declaration.`); + } + return this.getNameFromClassSymbolDeclaration( + classSymbol, classSymbol.implementation.valueDeclaration); + } + + getAdjacentNameOfClass(clazz: ClassDeclaration): ts.Identifier { + const classSymbol = this.getClassSymbol(clazz); + if (classSymbol === undefined) { + throw new Error(`getAdjacentNameOfClass() called on a non-class: expected ${ + clazz.name.text} to be a class declaration.`); + } + + if (classSymbol.adjacent !== undefined) { + return this.getNameFromClassSymbolDeclaration( + classSymbol, classSymbol.adjacent.valueDeclaration); + } else { + return this.getNameFromClassSymbolDeclaration( + classSymbol, classSymbol.implementation.valueDeclaration); + } + } + + private getNameFromClassSymbolDeclaration( + classSymbol: NgccClassSymbol, declaration: ts.Declaration): ts.Identifier { + if (declaration === undefined) { + throw new Error( + `getInternalNameOfClass() called on a class with an undefined internal declaration. External class name: ${ + classSymbol.name}; internal class name: ${classSymbol.implementation.name}.`); + } + if (!isNamedDeclaration(declaration)) { + throw new Error( + `getInternalNameOfClass() called on a class with an anonymous inner declaration: expected a name on:\n${ + declaration.getText()}`); + } + return declaration.name; } /** @@ -381,23 +301,38 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N if (superDeclaration.known !== null || superDeclaration.identity !== null) { return superDeclaration; } + let declarationNode: ts.Node = superDeclaration.node; + if (isNamedVariableDeclaration(superDeclaration.node) && !isTopLevel(superDeclaration.node)) { + const variableValue = this.getVariableValue(superDeclaration.node); + if (variableValue !== null && ts.isClassExpression(variableValue)) { + declarationNode = getContainingStatement(variableValue); + } + } + + const outerClassNode = getClassDeclarationFromInnerDeclaration(declarationNode); + const declaration = outerClassNode !== null ? + this.getDeclarationOfIdentifier(outerClassNode.name) : + superDeclaration; + if (declaration === null || declaration.node === null || declaration.known !== null) { + return declaration; + } // The identifier may have been of an additional class assignment such as `MyClass_1` that was // present as alias for `MyClass`. If so, resolve such aliases to their original declaration. - const aliasedIdentifier = this.resolveAliasedClassIdentifier(superDeclaration.node); + const aliasedIdentifier = this.resolveAliasedClassIdentifier(declaration.node); if (aliasedIdentifier !== null) { return this.getDeclarationOfIdentifier(aliasedIdentifier); } // Variable declarations may represent an enum declaration, so attempt to resolve its members. - if (ts.isVariableDeclaration(superDeclaration.node)) { - const enumMembers = this.resolveEnumMembers(superDeclaration.node); + if (ts.isVariableDeclaration(declaration.node)) { + const enumMembers = this.resolveEnumMembers(declaration.node); if (enumMembers !== null) { - superDeclaration.identity = {kind: SpecialDeclarationKind.DownleveledEnum, enumMembers}; + declaration.identity = {kind: SpecialDeclarationKind.DownleveledEnum, enumMembers}; } } - return superDeclaration; + return declaration; } /** @@ -569,31 +504,47 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N } getEndOfClass(classSymbol: NgccClassSymbol): ts.Node { - let last: ts.Node = classSymbol.declaration.valueDeclaration; + const implementation = classSymbol.implementation; + let last: ts.Node = implementation.valueDeclaration; + const implementationStatement = getContainingStatement(last); + if (implementationStatement === null) return last; - // If there are static members on this class then find the last one - if (classSymbol.declaration.exports !== undefined) { - classSymbol.declaration.exports.forEach(exportSymbol => { - if (exportSymbol.valueDeclaration === undefined) { - return; - } - const exportStatement = getContainingStatement(exportSymbol.valueDeclaration); - if (exportStatement !== null && last.getEnd() < exportStatement.getEnd()) { - last = exportStatement; + const container = implementationStatement.parent; + if (ts.isBlock(container)) { + // Assume that the implementation is inside an IIFE + const returnStatementIndex = container.statements.findIndex(ts.isReturnStatement); + if (returnStatementIndex === -1) { + throw new Error( + `Compiled class wrapper IIFE does not have a return statement: ${classSymbol.name} in ${ + classSymbol.declaration.valueDeclaration.getSourceFile().fileName}`); + } + + // Return the statement before the IIFE return statement + last = container.statements[returnStatementIndex - 1]; + } else if (ts.isSourceFile(container)) { + // If there are static members on this class then find the last one + if (implementation.exports !== undefined) { + implementation.exports.forEach(exportSymbol => { + if (exportSymbol.valueDeclaration === undefined) { + return; + } + const exportStatement = getContainingStatement(exportSymbol.valueDeclaration); + if (exportStatement !== null && last.getEnd() < exportStatement.getEnd()) { + last = exportStatement; + } + }); + } + + // If there are helper calls for this class then find the last one + const helpers = this.getHelperCallsForClass( + classSymbol, ['__decorate', '__extends', '__param', '__metadata']); + helpers.forEach(helper => { + const helperStatement = getContainingStatement(helper); + if (helperStatement !== null && last.getEnd() < helperStatement.getEnd()) { + last = helperStatement; } }); } - - // If there are helper calls for this class then find the last one - const helpers = this.getHelperCallsForClass( - classSymbol, ['__decorate', '__extends', '__param', '__metadata']); - helpers.forEach(helper => { - const helperStatement = getContainingStatement(helper); - if (helperStatement !== null && last.getEnd() < helperStatement.getEnd()) { - last = helperStatement; - } - }); - return last; } @@ -604,29 +555,209 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N * @param decl The `Declaration` to check. * @return The passed in `Declaration` (potentially enhanced with a `KnownDeclaration`). */ - detectKnownDeclaration(decl: null): null; - detectKnownDeclaration(decl: T): T; - detectKnownDeclaration(decl: T|null): T|null; - detectKnownDeclaration(decl: T|null): T|null { - if (decl !== null && decl.known === null && this.isJavaScriptObjectDeclaration(decl)) { + detectKnownDeclaration(decl: T): T { + if (decl.known === null && this.isJavaScriptObjectDeclaration(decl)) { // If the identifier resolves to the global JavaScript `Object`, update the declaration to // denote it as the known `JsGlobalObject` declaration. decl.known = KnownDeclaration.JsGlobalObject; } - return decl; } ///////////// Protected Helpers ///////////// + /** + * A class may be declared as a top level class declaration: + * + * ``` + * class OuterClass { ... } + * ``` + * + * or in a variable declaration to a class expression: + * + * ``` + * var OuterClass = ClassAlias = class InnerClass {}; + * ``` + * + * or in a variable declaration to an IIFE containing a class declaration + * + * ``` + * var OuterClass = ClassAlias = (() => { + * class InnerClass {} + * ... + * return InnerClass; + * })() + * ``` + * + * or in a variable declaration to an IIFE containing a function declaration + * + * ``` + * var OuterClass = ClassAlias = (() => { + * function InnerClass() {} + * ... + * return InnerClass; + * })() + * ``` + * + * This method returns an `NgccClassSymbol` when provided with one of these cases. + * + * @param declaration the declaration whose symbol we are finding. + * @returns the symbol for the class or `undefined` if `declaration` does not represent an outer + * declaration of a class. + */ + protected getClassSymbolFromOuterDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { + // Return a class symbol without an inner declaration if it is a regular "top level" class + if (isNamedClassDeclaration(declaration) && isTopLevel(declaration)) { + return this.createClassSymbol(declaration, null); + } + + // Otherwise, an outer class declaration must be an initialized variable declaration: + if (!isInitializedVariableClassDeclaration(declaration)) { + return undefined; + } + + const innerDeclaration = getInnerClassDeclaration(skipClassAliases(declaration)); + if (innerDeclaration !== null) { + return this.createClassSymbol(declaration, innerDeclaration); + } + + + return undefined; + } + + /** + * In ES2015, a class may be declared using a variable declaration of the following structures: + * + * ``` + * let MyClass = MyClass_1 = class MyClass {}; + * ``` + * + * or + * + * ``` + * let MyClass = MyClass_1 = (() => { class MyClass {} ... return MyClass; })() + * ``` + * + * or + * + * ``` + * let MyClass = MyClass_1 = (() => { let MyClass = class MyClass {}; ... return MyClass; })() + * ``` + * + * This method extracts the `NgccClassSymbol` for `MyClass` when provided with the + * `class MyClass {}` declaration node. When the `var MyClass` node or any other node is given, + * this method will return undefined instead. + * + * @param declaration the declaration whose symbol we are finding. + * @returns the symbol for the node or `undefined` if it does not represent an inner declaration + * of a class. + */ + protected getClassSymbolFromInnerDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { + let outerDeclaration: ts.ClassDeclaration|ts.VariableDeclaration|undefined = undefined; + + if (ts.isClassExpression(declaration) && hasNameIdentifier(declaration)) { + // Handle `let MyClass = MyClass_1 = class MyClass {};` + outerDeclaration = getFarLeftHandSideOfAssignment(declaration); + + // Handle this being in an IIFE + if (outerDeclaration !== undefined && !isTopLevel(outerDeclaration)) { + outerDeclaration = getContainingVariableDeclaration(outerDeclaration); + } + } else if (isNamedClassDeclaration(declaration)) { + // Handle `class MyClass {}` statement + if (isTopLevel(declaration)) { + // At the top level + outerDeclaration = declaration; + } else { + // Or inside an IIFE + outerDeclaration = getContainingVariableDeclaration(declaration); + } + } + + if (outerDeclaration === undefined || !hasNameIdentifier(outerDeclaration)) { + return undefined; + } + + return this.createClassSymbol(outerDeclaration, declaration); + } + + /** + * Creates an `NgccClassSymbol` from an outer and inner declaration. If a class only has an outer + * declaration, the "implementation" symbol of the created `NgccClassSymbol` will be set equal to + * the "declaration" symbol. + * + * @param outerDeclaration The outer declaration node of the class. + * @param innerDeclaration The inner declaration node of the class, or undefined if no inner + * declaration is present. + * @returns the `NgccClassSymbol` representing the class, or undefined if a `ts.Symbol` for any of + * the declarations could not be resolved. + */ + protected createClassSymbol(outerDeclaration: ClassDeclaration, innerDeclaration: ts.Node|null): + NgccClassSymbol|undefined { + const declarationSymbol = + this.checker.getSymbolAtLocation(outerDeclaration.name) as ClassSymbol | undefined; + if (declarationSymbol === undefined) { + return undefined; + } + + let implementationSymbol = declarationSymbol; + if (innerDeclaration !== null && isNamedDeclaration(innerDeclaration)) { + implementationSymbol = this.checker.getSymbolAtLocation(innerDeclaration.name) as ClassSymbol; + } + + if (implementationSymbol === undefined) { + return undefined; + } + + const classSymbol: NgccClassSymbol = { + name: declarationSymbol.name, + declaration: declarationSymbol, + implementation: implementationSymbol, + }; + + let adjacent = this.getAdjacentSymbol(declarationSymbol, implementationSymbol); + if (adjacent !== null) { + classSymbol.adjacent = adjacent; + } + + return classSymbol; + } + + private getAdjacentSymbol(declarationSymbol: ClassSymbol, implementationSymbol: ClassSymbol): + ClassSymbol|undefined { + if (declarationSymbol === implementationSymbol) { + return undefined; + } + const innerDeclaration = implementationSymbol.valueDeclaration; + if (!ts.isClassExpression(innerDeclaration) && !ts.isFunctionExpression(innerDeclaration)) { + return undefined; + } + // Deal with the inner class looking like this inside an IIFE: + // `let MyClass = class MyClass {};` or `var MyClass = function MyClass() {};` + const adjacentDeclaration = getFarLeftHandSideOfAssignment(innerDeclaration); + if (adjacentDeclaration === undefined || !isNamedVariableDeclaration(adjacentDeclaration)) { + return undefined; + } + const adjacentSymbol = + this.checker.getSymbolAtLocation(adjacentDeclaration.name) as ClassSymbol; + if (adjacentSymbol === declarationSymbol || adjacentSymbol === implementationSymbol) { + return undefined; + } + return adjacentSymbol; + } + /** * Resolve a `ts.Symbol` to its declaration and detect whether it corresponds with a known * declaration. */ protected getDeclarationOfSymbol(symbol: ts.Symbol, originalId: ts.Identifier|null): Declaration |null { - return this.detectKnownDeclaration(super.getDeclarationOfSymbol(symbol, originalId)); + const declaration = super.getDeclarationOfSymbol(symbol, originalId); + if (declaration === null) { + return null; + } + return this.detectKnownDeclaration(declaration); } /** @@ -735,10 +866,10 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N /** * Try to retrieve the symbol of a static property on a class. * - * In some cases, a static property can either be set on the inner declaration inside the class' - * IIFE, or it can be set on the outer variable declaration. Therefore, the host checks both - * places, first looking up the property on the inner symbol, and if the property is not found it - * will fall back to looking up the property on the outer symbol. + * In some cases, a static property can either be set on the inner (implementation or adjacent) + * declaration inside the class' IIFE, or it can be set on the outer variable declaration. + * Therefore, the host checks all places, first looking up the property on the inner symbols, and + * if the property is not found it will fall back to looking up the property on the outer symbol. * * @param symbol the class whose property we are interested in. * @param propertyName the name of static property. @@ -746,8 +877,9 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N */ protected getStaticProperty(symbol: NgccClassSymbol, propertyName: ts.__String): ts.Symbol |undefined { - return symbol.implementation.exports && symbol.implementation.exports.get(propertyName) || - symbol.declaration.exports && symbol.declaration.exports.get(propertyName); + return symbol.implementation.exports?.get(propertyName) || + symbol.adjacent?.exports?.get(propertyName) || + symbol.declaration.exports?.get(propertyName); } /** @@ -906,6 +1038,33 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N } } + // If this class was declared as a VariableDeclaration inside an IIFE, then it may have static + // properties attached to the variable rather than the class itself. + // + // For example: + // ``` + // let OuterClass = (() => { + // let AdjacentClass = class InternalClass { + // // no static properties here! + // } + // AdjacentClass.staticProperty = ...; + // })(); + // ``` + if (symbol.adjacent !== undefined) { + if (ts.isVariableDeclaration(symbol.adjacent.valueDeclaration)) { + if (symbol.adjacent.exports !== undefined) { + symbol.adjacent.exports.forEach((value, key) => { + const decorators = decoratorsMap.get(key as string); + const reflectedMembers = this.reflectMembers(value, decorators, true); + if (reflectedMembers) { + decoratorsMap.delete(key as string); + members.push(...reflectedMembers); + } + }); + } + } + } + // Deal with any decorated properties that were not initialized in the class decoratorsMap.forEach((value, key) => { members.push({ @@ -1005,15 +1164,13 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N const outerDeclaration = classSymbol.declaration.valueDeclaration; const innerDeclaration = classSymbol.implementation.valueDeclaration; + const adjacentDeclaration = + this.getAdjacentNameOfClass((classSymbol.declaration.valueDeclaration)).parent; const matchesClass = (identifier: ts.Identifier) => { const decl = this.getDeclarationOfIdentifier(identifier); - if (decl === null) { - return false; - } - - // The identifier corresponds with the class if its declaration is either the outer or inner - // declaration. - return decl.node === outerDeclaration || decl.node === innerDeclaration; + return decl !== null && + (decl.node === adjacentDeclaration || decl.node === outerDeclaration || + decl.node === innerDeclaration); }; for (const helperCall of helperCalls) { @@ -1559,8 +1716,10 @@ export class Esm2015ReflectionHost extends TypeScriptReflectionHost implements N const classNode = classSymbol.implementation.valueDeclaration; if (isTopLevel(classNode)) { return this.getModuleStatements(classNode.getSourceFile()); - } else if (ts.isBlock(classNode.parent)) { - return Array.from(classNode.parent.statements); + } + const statement = getContainingStatement(classNode); + if (ts.isBlock(statement.parent)) { + return Array.from(statement.parent.statements); } // We should never arrive here throw new Error(`Unable to find adjacent statements for ${classSymbol.name}`); @@ -2005,7 +2164,7 @@ export function isAssignmentStatement(statement: ts.Statement): statement is Ass * @returns the `ts.Expression` or `ts.FunctionBody` that holds the body of the IIFE or `undefined` * if the `expression` did not have the correct shape. */ -export function getIifeConciseBody(expression: ts.Expression): ts.ConciseBody|undefined { +export function getIifeBody(expression: ts.Expression): ts.ConciseBody|undefined { const call = stripParentheses(expression); if (!ts.isCallExpression(call)) { return undefined; @@ -2107,60 +2266,107 @@ function getCalleeName(call: ts.CallExpression): string|null { ///////////// Internal Helpers ///////////// +type InitializedVariableClassDeclaration = + ClassDeclaration&{initializer: ts.Expression}; + +function isInitializedVariableClassDeclaration(node: ts.Node): + node is InitializedVariableClassDeclaration { + return isNamedVariableDeclaration(node) && node.initializer !== undefined; +} /** - * In ES2015, a class may be declared using a variable declaration of the following structures: + * Handle a variable declaration of the form * * ``` - * var MyClass = MyClass_1 = class MyClass {}; + * var MyClass = alias1 = alias2 = <> * ``` * - * or - * - * ``` - * var MyClass = MyClass_1 = (() => { class MyClass {} ... return MyClass; })() - * ``` - * - * Here, the intermediate `MyClass_1` assignment is optional. In the above example, the - * `class MyClass {}` expression is returned as declaration of `var MyClass`. If the variable - * is not initialized using a class expression, null is returned. - * - * @param node the node that represents the class whose declaration we are finding. - * @returns the declaration of the class or `null` if it is not a "class". + * @node the LHS of a variable declaration. + * @returns the original AST node or the RHS of a series of assignments in a variable + * declaration. */ -function getInnerClassDeclaration(node: ts.Node): - ClassDeclaration|null { - if (!ts.isVariableDeclaration(node) || node.initializer === undefined) { - return null; - } - // Recognize a variable declaration of the form `var MyClass = class MyClass {}` or - // `var MyClass = MyClass_1 = class MyClass {};` +export function skipClassAliases(node: InitializedVariableClassDeclaration): ts.Expression { let expression = node.initializer; while (isAssignment(expression)) { expression = expression.right; } + return expression; +} + +/** + * This expression could either be a class expression + * + * ``` + * class MyClass {}; + * ``` + * + * or an IIFE wrapped class expression + * + * ``` + * (() => { + * class MyClass {} + * ... + * return MyClass; + * })() + * ``` + * + * or an IIFE wrapped aliased class expression + * + * ``` + * (() => { + * let MyClass = class MyClass {} + * ... + * return MyClass; + * })() + * ``` + * + * or an IFFE wrapped ES5 class function + * + * ``` + * (function () { + * function MyClass() {} + * ... + * return MyClass + * })() + * ``` + * + * @param expression the node that represents the class whose declaration we are finding. + * @returns the declaration of the class or `null` if it is not a "class". + */ +function getInnerClassDeclaration(expression: ts.Expression): + ClassDeclaration|null { if (ts.isClassExpression(expression) && hasNameIdentifier(expression)) { return expression; } - // Try to parse out a class declaration wrapped in an IIFE (as generated by TS 3.9) - // e.g. - // /* @class */ = (() => { - // class MyClass {} - // ... - // return MyClass; - // })(); - const iifeBody = getIifeConciseBody(expression); + const iifeBody = getIifeBody(expression); if (iifeBody === undefined) { return null; } - // Extract the class declaration from inside the IIFE. - const innerDeclaration = ts.isBlock(iifeBody) ? - iifeBody.statements.find(ts.isClassDeclaration) : - ts.isClassExpression(iifeBody) ? iifeBody : undefined; - if (innerDeclaration === undefined || !hasNameIdentifier(innerDeclaration)) { - return null; + + if (!ts.isBlock(iifeBody)) { + // Handle the fat arrow expression case: `() => ClassExpression` + return ts.isClassExpression(iifeBody) && isNamedDeclaration(iifeBody) ? iifeBody : null; + } else { + // Handle the case of a normal or fat-arrow function with a body. + // Return the first ClassDeclaration/VariableDeclaration inside the body + for (const statement of iifeBody.statements) { + if (isNamedClassDeclaration(statement) || isNamedFunctionDeclaration(statement)) { + return statement; + } + if (ts.isVariableStatement(statement)) { + for (const declaration of statement.declarationList.declarations) { + if (isInitializedVariableClassDeclaration(declaration)) { + const expression = skipClassAliases(declaration); + if (ts.isClassExpression(expression) && hasNameIdentifier(expression)) { + return expression; + } + } + } + } + } } - return innerDeclaration; + + return null; } function getDecoratorArgs(node: ts.ObjectLiteralExpression): ts.Expression[] { @@ -2184,8 +2390,7 @@ function isThisAssignment(node: ts.Declaration): node is ts.BinaryExpression& node.left.expression.kind === ts.SyntaxKind.ThisKeyword; } -function isNamedDeclaration(node: ts.Declaration): node is ts.NamedDeclaration& - {name: ts.Identifier} { +function isNamedDeclaration(node: ts.Node): node is ts.NamedDeclaration&{name: ts.Identifier} { const anyNode: any = node; return !!anyNode.name && ts.isIdentifier(anyNode.name); } @@ -2223,7 +2428,7 @@ function isClassMemberType(node: ts.Declaration): node is ts.ClassElement| * @param declaration The declaration for which any variable declaration should be obtained. * @returns the outer variable declaration if found, undefined otherwise. */ -function getVariableDeclarationOfDeclaration(declaration: ts.Declaration): ts.VariableDeclaration| +function getFarLeftHandSideOfAssignment(declaration: ts.Declaration): ts.VariableDeclaration| undefined { let node = declaration.parent; @@ -2235,6 +2440,18 @@ function getVariableDeclarationOfDeclaration(declaration: ts.Declaration): ts.Va return ts.isVariableDeclaration(node) ? node : undefined; } +function getContainingVariableDeclaration(node: ts.Node): ClassDeclaration| + undefined { + node = node.parent; + while (node !== undefined) { + if (isNamedVariableDeclaration(node)) { + return node; + } + node = node.parent; + } + return undefined; +} + /** * A constructor function may have been "synthesized" by TypeScript during JavaScript emit, * in the case no user-defined constructor exists and e.g. property initializers are used. @@ -2287,14 +2504,14 @@ function isSynthesizedSuperCall(expression: ts.Expression): boolean { * Find the statement that contains the given node * @param node a node whose containing statement we wish to find */ -function getContainingStatement(node: ts.Node): ts.ExpressionStatement|null { - while (node) { - if (ts.isExpressionStatement(node)) { +export function getContainingStatement(node: ts.Node): ts.Statement { + while (node.parent) { + if (ts.isBlock(node.parent) || ts.isSourceFile(node.parent)) { break; } node = node.parent; } - return node || null; + return node as ts.Statement; } function getRootFileOrFail(bundle: BundleProgram): ts.SourceFile { @@ -2319,3 +2536,53 @@ function isTopLevel(node: ts.Node): boolean { } return true; } + +/** + * Get the actual (outer) declaration of a class. + * + * Sometimes, the implementation of a class is an expression that is hidden inside an IIFE and + * returned to be assigned to a variable outside the IIFE, which is what the rest of the program + * interacts with. + * + * Given the inner declaration, we want to get to the declaration of the outer variable that + * represents the class. + * + * @param node a node that could be the inner declaration inside an IIFE. + * @returns the outer variable declaration or `null` if it is not a "class". + */ +export function getClassDeclarationFromInnerDeclaration(node: ts.Node): + ClassDeclaration|null { + if (ts.isFunctionDeclaration(node) || ts.isClassDeclaration(node) || + ts.isVariableStatement(node)) { + // It might be the function expression inside the IIFE. We need to go 5 levels up... + + // - IIFE body. + let outerNode = node.parent; + if (!outerNode || !ts.isBlock(outerNode)) return null; + + // - IIFE function expression. + outerNode = outerNode.parent; + if (!outerNode || (!ts.isFunctionExpression(outerNode) && !ts.isArrowFunction(outerNode))) { + return null; + } + outerNode = outerNode.parent; + + // - Parenthesis inside IIFE. + if (outerNode && ts.isParenthesizedExpression(outerNode)) outerNode = outerNode.parent; + + // - IIFE call expression. + if (!outerNode || !ts.isCallExpression(outerNode)) return null; + outerNode = outerNode.parent; + + // - Parenthesis around IIFE. + if (outerNode && ts.isParenthesizedExpression(outerNode)) outerNode = outerNode.parent; + + // - Outer variable declaration. + if (!outerNode || !ts.isVariableDeclaration(outerNode)) return null; + + // Finally, ensure that the variable declaration has a `name` identifier. + return hasNameIdentifier(outerNode) ? outerNode : null; + } + + return null; +} diff --git a/packages/compiler-cli/ngcc/src/host/esm5_host.ts b/packages/compiler-cli/ngcc/src/host/esm5_host.ts index f620e38243..fbaf423b7c 100644 --- a/packages/compiler-cli/ngcc/src/host/esm5_host.ts +++ b/packages/compiler-cli/ngcc/src/host/esm5_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,10 +8,10 @@ import * as ts from 'typescript'; -import {ClassDeclaration, ClassMember, ClassMemberKind, Declaration, Decorator, FunctionDefinition, isNamedVariableDeclaration, Parameter, reflectObjectLiteral} from '../../../src/ngtsc/reflection'; -import {getNameText, getTsHelperFnFromDeclaration, getTsHelperFnFromIdentifier, hasNameIdentifier} from '../utils'; +import {ClassDeclaration, ClassMember, ClassMemberKind, Declaration, Decorator, FunctionDefinition, Parameter, reflectObjectLiteral} from '../../../src/ngtsc/reflection'; +import {getTsHelperFnFromDeclaration, getTsHelperFnFromIdentifier, hasNameIdentifier} from '../utils'; -import {Esm2015ReflectionHost, getIifeConciseBody, getPropertyValueFromSymbol, isAssignment, isAssignmentStatement, ParamInfo} from './esm2015_host'; +import {Esm2015ReflectionHost, getClassDeclarationFromInnerDeclaration, getPropertyValueFromSymbol, isAssignmentStatement, ParamInfo} from './esm2015_host'; import {NgccClassSymbol} from './ngcc_host'; @@ -23,6 +23,7 @@ import {NgccClassSymbol} from './ngcc_host'; * function CommonModule() { * } * CommonModule.decorators = [ ... ]; + * return CommonModule; * ``` * * * "Classes" are decorated if they have a static property called `decorators`. @@ -33,39 +34,14 @@ import {NgccClassSymbol} from './ngcc_host'; * */ export class Esm5ReflectionHost extends Esm2015ReflectionHost { - /** - * Determines whether the given declaration, which should be a "class", has a base "class". - * - * In ES5 code, we need to determine if the IIFE wrapper takes a `_super` parameter . - * - * @param clazz a `ClassDeclaration` representing the class over which to reflect. - */ - hasBaseClass(clazz: ClassDeclaration): boolean { - const classSymbol = this.getClassSymbol(clazz); - if (classSymbol === undefined) { - return false; - } - - const iifeBody = getIifeBody(classSymbol.declaration.valueDeclaration); - if (!iifeBody) return false; - - const iife = iifeBody.parent; - if (!iife || !ts.isFunctionExpression(iife)) return false; - - return iife.parameters.length === 1 && isSuperIdentifier(iife.parameters[0].name); - } - getBaseClassExpression(clazz: ClassDeclaration): ts.Expression|null { - const classSymbol = this.getClassSymbol(clazz); - if (classSymbol === undefined) { - return null; + const superBaseClassExpression = super.getBaseClassExpression(clazz); + if (superBaseClassExpression !== null) { + return superBaseClassExpression; } - const iifeBody = getIifeBody(classSymbol.declaration.valueDeclaration); - if (!iifeBody) return null; - - const iife = iifeBody.parent; - if (!iife || !ts.isFunctionExpression(iife)) return null; + const iife = getIifeFn(this.getClassSymbol(clazz)); + if (iife === null) return null; if (iife.parameters.length !== 1 || !isSuperIdentifier(iife.parameters[0].name)) { return null; @@ -78,100 +54,6 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { return iife.parent.arguments[0]; } - getInternalNameOfClass(clazz: ClassDeclaration): ts.Identifier { - const innerClass = this.getInnerFunctionDeclarationFromClassDeclaration(clazz); - if (innerClass === undefined) { - throw new Error(`getInternalNameOfClass() called on a non-ES5 class: expected ${ - clazz.name.text} to have an inner class declaration`); - } - if (innerClass.name === undefined) { - throw new Error( - `getInternalNameOfClass() called on a class with an anonymous inner declaration: expected a name on:\n${ - innerClass.getText()}`); - } - return innerClass.name; - } - - getAdjacentNameOfClass(clazz: ClassDeclaration): ts.Identifier { - return this.getInternalNameOfClass(clazz); - } - - getEndOfClass(classSymbol: NgccClassSymbol): ts.Node { - const iifeBody = getIifeBody(classSymbol.declaration.valueDeclaration); - if (!iifeBody) { - throw new Error(`Compiled class declaration is not inside an IIFE: ${classSymbol.name} in ${ - classSymbol.declaration.valueDeclaration.getSourceFile().fileName}`); - } - - const returnStatementIndex = iifeBody.statements.findIndex(ts.isReturnStatement); - if (returnStatementIndex === -1) { - throw new Error( - `Compiled class wrapper IIFE does not have a return statement: ${classSymbol.name} in ${ - classSymbol.declaration.valueDeclaration.getSourceFile().fileName}`); - } - - // Return the statement before the IIFE return statement - return iifeBody.statements[returnStatementIndex - 1]; - } - - /** - * In ES5, the implementation of a class is a function expression that is hidden inside an IIFE, - * whose value is assigned to a variable (which represents the class to the rest of the program). - * So we might need to dig around to get hold of the "class" declaration. - * - * This method extracts a `NgccClassSymbol` if `declaration` is the outer variable which is - * assigned the result of the IIFE. Otherwise, undefined is returned. - * - * @param declaration the declaration whose symbol we are finding. - * @returns the symbol for the node or `undefined` if it is not a "class" or has no symbol. - */ - protected getClassSymbolFromOuterDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { - const classSymbol = super.getClassSymbolFromOuterDeclaration(declaration); - if (classSymbol !== undefined) { - return classSymbol; - } - - if (!isNamedVariableDeclaration(declaration)) { - return undefined; - } - - const innerDeclaration = this.getInnerFunctionDeclarationFromClassDeclaration(declaration); - if (innerDeclaration === undefined || !hasNameIdentifier(innerDeclaration)) { - return undefined; - } - - return this.createClassSymbol(declaration, innerDeclaration); - } - - /** - * In ES5, the implementation of a class is a function expression that is hidden inside an IIFE, - * whose value is assigned to a variable (which represents the class to the rest of the program). - * So we might need to dig around to get hold of the "class" declaration. - * - * This method extracts a `NgccClassSymbol` if `declaration` is the function declaration inside - * the IIFE. Otherwise, undefined is returned. - * - * @param declaration the declaration whose symbol we are finding. - * @returns the symbol for the node or `undefined` if it is not a "class" or has no symbol. - */ - protected getClassSymbolFromInnerDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { - const classSymbol = super.getClassSymbolFromInnerDeclaration(declaration); - if (classSymbol !== undefined) { - return classSymbol; - } - - if (!ts.isFunctionDeclaration(declaration) || !hasNameIdentifier(declaration)) { - return undefined; - } - - const outerDeclaration = getClassDeclarationFromInnerFunctionDeclaration(declaration); - if (outerDeclaration === null || !hasNameIdentifier(outerDeclaration)) { - return undefined; - } - - return this.createClassSymbol(outerDeclaration, declaration); - } - /** * Trace an identifier to its declaration, if possible. * @@ -190,9 +72,9 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { * otherwise. */ getDeclarationOfIdentifier(id: ts.Identifier): Declaration|null { - const superDeclaration = super.getDeclarationOfIdentifier(id); + const declaration = super.getDeclarationOfIdentifier(id); - if (superDeclaration === null) { + if (declaration === null) { const nonEmittedNorImportedTsHelperDeclaration = getTsHelperFnFromIdentifier(id); if (nonEmittedNorImportedTsHelperDeclaration !== null) { // No declaration could be found for this identifier and its name matches a known TS helper @@ -208,17 +90,6 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { } } - if (superDeclaration === null || superDeclaration.node === null || - superDeclaration.known !== null) { - return superDeclaration; - } - - // Get the identifier for the outer class node (if any). - const outerClassNode = getClassDeclarationFromInnerFunctionDeclaration(superDeclaration.node); - const declaration = outerClassNode !== null ? - super.getDeclarationOfIdentifier(outerClassNode.name) : - superDeclaration; - if (declaration === null || declaration.node === null || declaration.known !== null) { return declaration; } @@ -257,23 +128,24 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { * @returns an object containing the node, statements and parameters of the function. */ getDefinitionOfFunction(node: ts.Node): FunctionDefinition|null { - if (!ts.isFunctionDeclaration(node) && !ts.isMethodDeclaration(node) && - !ts.isFunctionExpression(node)) { + const definition = super.getDefinitionOfFunction(node); + if (definition === null) { return null; } - const parameters = - node.parameters.map(p => ({name: getNameText(p.name), node: p, initializer: null})); - let lookingForParamInitializers = true; + // Filter out and capture parameter initializers + if (definition.body !== null) { + let lookingForInitializers = true; + const statements = definition.body.filter(s => { + lookingForInitializers = + lookingForInitializers && captureParamInitializer(s, definition.parameters); + // If we are no longer looking for parameter initializers then we include this statement + return !lookingForInitializers; + }); + definition.body = statements; + } - const statements = node.body && node.body.statements.filter(s => { - lookingForParamInitializers = - lookingForParamInitializers && reflectParamInitializer(s, parameters); - // If we are no longer looking for parameter initializers then we include this statement - return !lookingForParamInitializers; - }); - - return {node, body: statements || null, parameters}; + return definition; } /** @@ -283,13 +155,11 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { * @param decl The `Declaration` to check. * @return The passed in `Declaration` (potentially enhanced with a `KnownDeclaration`). */ - detectKnownDeclaration(decl: null): null; - detectKnownDeclaration(decl: T): T; - detectKnownDeclaration(decl: T|null): T|null; - detectKnownDeclaration(decl: T|null): T|null { + detectKnownDeclaration(decl: T): T { decl = super.detectKnownDeclaration(decl); - if (decl !== null && decl.known === null && decl.node !== null) { + // Also check for TS helpers + if (decl.known === null && decl.node !== null) { decl.known = getTsHelperFnFromDeclaration(decl.node); } @@ -300,38 +170,32 @@ export class Esm5ReflectionHost extends Esm2015ReflectionHost { ///////////// Protected Helpers ///////////// /** - * Get the inner function declaration of an ES5-style class. + * In ES5, the implementation of a class is a function expression that is hidden inside an IIFE, + * whose value is assigned to a variable (which represents the class to the rest of the program). + * So we might need to dig around to get hold of the "class" declaration. * - * In ES5, the implementation of a class is a function expression that is hidden inside an IIFE - * and returned to be assigned to a variable outside the IIFE, which is what the rest of the - * program interacts with. + * This method extracts a `NgccClassSymbol` if `declaration` is the function declaration inside + * the IIFE. Otherwise, undefined is returned. * - * Given the outer variable declaration, we want to get to the inner function declaration. - * - * @param decl a declaration node that could be the variable expression outside an ES5 class IIFE. - * @param checker the TS program TypeChecker - * @returns the inner function declaration or `undefined` if it is not a "class". + * @param declaration the declaration whose symbol we are finding. + * @returns the symbol for the node or `undefined` if it is not a "class" or has no symbol. */ - protected getInnerFunctionDeclarationFromClassDeclaration(decl: ts.Declaration): - ts.FunctionDeclaration|undefined { - // Extract the IIFE body (if any). - const iifeBody = getIifeBody(decl); - if (!iifeBody) return undefined; + protected getClassSymbolFromInnerDeclaration(declaration: ts.Node): NgccClassSymbol|undefined { + const classSymbol = super.getClassSymbolFromInnerDeclaration(declaration); + if (classSymbol !== undefined) { + return classSymbol; + } - // Extract the function declaration from inside the IIFE. - const functionDeclaration = iifeBody.statements.find(ts.isFunctionDeclaration); - if (!functionDeclaration) return undefined; + if (!ts.isFunctionDeclaration(declaration) || !hasNameIdentifier(declaration)) { + return undefined; + } - // Extract the return identifier of the IIFE. - const returnIdentifier = getReturnIdentifier(iifeBody); - const returnIdentifierSymbol = - returnIdentifier && this.checker.getSymbolAtLocation(returnIdentifier); - if (!returnIdentifierSymbol) return undefined; + const outerDeclaration = getClassDeclarationFromInnerDeclaration(declaration); + if (outerDeclaration === null || !hasNameIdentifier(outerDeclaration)) { + return undefined; + } - // Verify that the inner function is returned. - if (returnIdentifierSymbol.valueDeclaration !== functionDeclaration) return undefined; - - return functionDeclaration; + return this.createClassSymbol(outerDeclaration, declaration); } /** @@ -548,83 +412,6 @@ function readPropertyFunctionExpression(object: ts.ObjectLiteralExpression, name return property && ts.isFunctionExpression(property.initializer) && property.initializer || null; } -/** - * Get the actual (outer) declaration of a class. - * - * In ES5, the implementation of a class is a function expression that is hidden inside an IIFE and - * returned to be assigned to a variable outside the IIFE, which is what the rest of the program - * interacts with. - * - * Given the inner function declaration, we want to get to the declaration of the outer variable - * that represents the class. - * - * @param node a node that could be the function expression inside an ES5 class IIFE. - * @returns the outer variable declaration or `undefined` if it is not a "class". - */ -function getClassDeclarationFromInnerFunctionDeclaration(node: ts.Node): - ClassDeclaration|null { - if (ts.isFunctionDeclaration(node)) { - // It might be the function expression inside the IIFE. We need to go 5 levels up... - - // 1. IIFE body. - let outerNode = node.parent; - if (!outerNode || !ts.isBlock(outerNode)) return null; - - // 2. IIFE function expression. - outerNode = outerNode.parent; - if (!outerNode || !ts.isFunctionExpression(outerNode)) return null; - - // 3. IIFE call expression. - outerNode = outerNode.parent; - if (!outerNode || !ts.isCallExpression(outerNode)) return null; - - // 4. Parenthesis around IIFE. - outerNode = outerNode.parent; - if (!outerNode || !ts.isParenthesizedExpression(outerNode)) return null; - - // 5. Outer variable declaration. - outerNode = outerNode.parent; - if (!outerNode || !ts.isVariableDeclaration(outerNode)) return null; - - // Finally, ensure that the variable declaration has a `name` identifier. - return hasNameIdentifier(outerNode) ? outerNode : null; - } - - return null; -} - -export function getIifeBody(declaration: ts.Declaration): ts.Block|undefined { - if (!ts.isVariableDeclaration(declaration) || !declaration.initializer) { - return undefined; - } - - // Recognize a variable declaration of one of the forms: - // - `var MyClass = (function () { ... }());` - // - `var MyClass = MyClass_1 = (function () { ... }());` - let parenthesizedCall = declaration.initializer; - while (isAssignment(parenthesizedCall)) { - parenthesizedCall = parenthesizedCall.right; - } - - const body = getIifeConciseBody(parenthesizedCall); - return body !== undefined && ts.isBlock(body) ? body : undefined; -} - -function getReturnIdentifier(body: ts.Block): ts.Identifier|undefined { - const returnStatement = body.statements.find(ts.isReturnStatement); - if (!returnStatement || !returnStatement.expression) { - return undefined; - } - if (ts.isIdentifier(returnStatement.expression)) { - return returnStatement.expression; - } - if (isAssignment(returnStatement.expression) && - ts.isIdentifier(returnStatement.expression.left)) { - return returnStatement.expression.left; - } - return undefined; -} - function getReturnStatement(declaration: ts.Expression|undefined): ts.ReturnStatement|undefined { return declaration && ts.isFunctionExpression(declaration) ? declaration.body.statements.find(ts.isReturnStatement) : @@ -790,7 +577,7 @@ function isSuperIdentifier(node: ts.Node): boolean { * @param parameters the collection of parameters that were found in the function definition * @returns true if the statement was a parameter initializer */ -function reflectParamInitializer(statement: ts.Statement, parameters: Parameter[]) { +function captureParamInitializer(statement: ts.Statement, parameters: Parameter[]) { if (ts.isIfStatement(statement) && isUndefinedComparison(statement.expression) && ts.isBlock(statement.thenStatement) && statement.thenStatement.statements.length === 1) { const ifStatementComparison = statement.expression; // (arg === void 0) @@ -816,3 +603,34 @@ function isUndefinedComparison(expression: ts.Expression): expression is ts.Expr expression.operatorToken.kind === ts.SyntaxKind.EqualsEqualsEqualsToken && ts.isVoidExpression(expression.right) && ts.isIdentifier(expression.left); } + +/** + * Parse the declaration of the given `classSymbol` to find the IIFE wrapper function. + * + * This function may accept a `_super` argument if there is a base class. + * + * ``` + * var TestClass = (function (_super) { + * __extends(TestClass, _super); + * function TestClass() {} + * return TestClass; + * }(BaseClass)); + * ``` + * + * @param classSymbol the class whose iife wrapper function we want to get. + * @returns the IIFE function or null if it could not be parsed. + */ +function getIifeFn(classSymbol: NgccClassSymbol|undefined): ts.FunctionExpression|null { + if (classSymbol === undefined) { + return null; + } + + const innerDeclaration = classSymbol.implementation.valueDeclaration; + const iifeBody = innerDeclaration.parent; + if (!ts.isBlock(iifeBody)) { + return null; + } + + const iifeWrapper = iifeBody.parent; + return iifeWrapper && ts.isFunctionExpression(iifeWrapper) ? iifeWrapper : null; +} diff --git a/packages/compiler-cli/ngcc/src/host/ngcc_host.ts b/packages/compiler-cli/ngcc/src/host/ngcc_host.ts index 2d74d0532b..3d6423cecc 100644 --- a/packages/compiler-cli/ngcc/src/host/ngcc_host.ts +++ b/packages/compiler-cli/ngcc/src/host/ngcc_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -48,6 +48,12 @@ export interface NgccClassSymbol { * declaration. */ implementation: ts.Symbol; + + /** + * Represents the symbol corresponding to a variable within a class IIFE that may be used to + * attach static properties or decorated. + */ + adjacent?: ts.Symbol; } /** @@ -100,8 +106,8 @@ export interface NgccReflectionHost extends ReflectionHost { * Check whether a `Declaration` corresponds with a known declaration and set its `known` property * to the appropriate `KnownDeclaration`. * - * @param decl The `Declaration` to check or `null` if there is no declaration. + * @param decl The `Declaration` to check. * @return The passed in `Declaration` (potentially enhanced with a `KnownDeclaration`). */ - detectKnownDeclaration(decl: T|null): T|null; + detectKnownDeclaration(decl: T): T; } diff --git a/packages/compiler-cli/ngcc/src/host/umd_host.ts b/packages/compiler-cli/ngcc/src/host/umd_host.ts index 09298082fc..5a4b73ed70 100644 --- a/packages/compiler-cli/ngcc/src/host/umd_host.ts +++ b/packages/compiler-cli/ngcc/src/host/umd_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,12 +9,12 @@ import * as ts from 'typescript'; import {absoluteFrom} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {Declaration, Import} from '../../../src/ngtsc/reflection'; -import {Logger} from '../logging/logger'; import {BundleProgram} from '../packages/bundle_program'; import {FactoryMap, getTsHelperFnFromIdentifier, stripExtension} from '../utils'; -import {ExportDeclaration, ExportStatement, findNamespaceOfIdentifier, findRequireCallReference, isExportStatement, isReexportStatement, isRequireCall, ReexportStatement} from './commonjs_umd_utils'; +import {DefinePropertyReexportStatement, ExportDeclaration, ExportStatement, extractGetterFnExpression, findNamespaceOfIdentifier, findRequireCallReference, isDefinePropertyReexportStatement, isExportStatement, isExternalImport, isRequireCall, isWildcardReexportStatement, WildcardReexportStatement} from './commonjs_umd_utils'; import {Esm5ReflectionHost} from './esm5_host'; import {stripParentheses} from './utils'; @@ -44,7 +44,8 @@ export class UmdReflectionHost extends Esm5ReflectionHost { } getDeclarationOfIdentifier(id: ts.Identifier): Declaration|null { - return this.getUmdImportedDeclaration(id) || super.getDeclarationOfIdentifier(id); + return this.getUmdModuleDeclaration(id) || this.getUmdDeclaration(id) || + super.getDeclarationOfIdentifier(id); } getExportsOfModule(module: ts.Node): Map|null { @@ -90,13 +91,18 @@ export class UmdReflectionHost extends Esm5ReflectionHost { const moduleMap = new Map(); for (const statement of this.getModuleStatements(sourceFile)) { if (isExportStatement(statement)) { - const exportDeclaration = this.extractUmdExportDeclaration(statement); + const exportDeclaration = this.extractBasicUmdExportDeclaration(statement); moduleMap.set(exportDeclaration.name, exportDeclaration.declaration); - } else if (isReexportStatement(statement)) { - const reexports = this.extractUmdReexports(statement, sourceFile); + } else if (isWildcardReexportStatement(statement)) { + const reexports = this.extractUmdWildcardReexports(statement, sourceFile); for (const reexport of reexports) { moduleMap.set(reexport.name, reexport.declaration); } + } else if (isDefinePropertyReexportStatement(statement)) { + const exportDeclaration = this.extractUmdDefinePropertyExportDeclaration(statement); + if (exportDeclaration !== null) { + moduleMap.set(exportDeclaration.name, exportDeclaration.declaration); + } } } return moduleMap; @@ -126,27 +132,14 @@ export class UmdReflectionHost extends Esm5ReflectionHost { return importPath; } - private extractUmdExportDeclaration(statement: ExportStatement): ExportDeclaration { - const exportExpression = statement.expression.right; - const declaration = this.getDeclarationOfExpression(exportExpression); + private extractBasicUmdExportDeclaration(statement: ExportStatement): ExportDeclaration { const name = statement.expression.left.name.text; - if (declaration !== null) { - return {name, declaration}; - } else { - return { - name, - declaration: { - node: null, - known: null, - expression: exportExpression, - viaModule: null, - }, - }; - } + const exportExpression = statement.expression.right; + return this.extractUmdExportDeclaration(name, exportExpression); } - private extractUmdReexports(statement: ReexportStatement, containingFile: ts.SourceFile): - ExportDeclaration[] { + private extractUmdWildcardReexports( + statement: WildcardReexportStatement, containingFile: ts.SourceFile): ExportDeclaration[] { const reexportArg = statement.expression.arguments[0]; const requireCall = isRequireCall(reexportArg) ? @@ -192,6 +185,28 @@ export class UmdReflectionHost extends Esm5ReflectionHost { return reexports; } + private extractUmdDefinePropertyExportDeclaration(statement: DefinePropertyReexportStatement): + ExportDeclaration|null { + const args = statement.expression.arguments; + const name = args[1].text; + const getterFnExpression = extractGetterFnExpression(statement); + if (getterFnExpression === null) { + return null; + } + return this.extractUmdExportDeclaration(name, getterFnExpression); + } + + private extractUmdExportDeclaration(name: string, expression: ts.Expression): ExportDeclaration { + const declaration = this.getDeclarationOfExpression(expression); + if (declaration !== null) { + return {name, declaration}; + } + return { + name, + declaration: {node: null, known: null, expression, viaModule: null}, + }; + } + /** * Is the identifier a parameter on a UMD factory function, e.g. `function factory(this, core)`? * If so then return its declaration. @@ -202,25 +217,67 @@ export class UmdReflectionHost extends Esm5ReflectionHost { return declaration && ts.isParameter(declaration) ? declaration : null; } - private getUmdImportedDeclaration(id: ts.Identifier): Declaration|null { - const importInfo = this.getImportOfIdentifier(id); - if (importInfo === null) { + private getUmdDeclaration(id: ts.Identifier): Declaration|null { + const nsIdentifier = findNamespaceOfIdentifier(id); + if (nsIdentifier === null) { + return null; + } + const moduleDeclaration = this.getUmdModuleDeclaration(nsIdentifier); + if (moduleDeclaration === null || moduleDeclaration.node === null || + !ts.isSourceFile(moduleDeclaration.node)) { return null; } - const importedFile = this.resolveModuleName(importInfo.from, id.getSourceFile()); - if (importedFile === undefined) { + const moduleExports = this.getExportsOfModule(moduleDeclaration.node); + if (moduleExports === null) { return null; } - // We need to add the `viaModule` because the `getExportsOfModule()` call + // We need to compute the `viaModule` because the `getExportsOfModule()` call // did not know that we were importing the declaration. - return { - node: importedFile, - known: getTsHelperFnFromIdentifier(id), - viaModule: importInfo.from, - identity: null - }; + const declaration = moduleExports.get(id.text)!; + + if (!moduleExports.has(id.text)) { + return null; + } + + // We need to compute the `viaModule` because the `getExportsOfModule()` call + // did not know that we were importing the declaration. + const viaModule = + declaration.viaModule === null ? moduleDeclaration.viaModule : declaration.viaModule; + + return {...declaration, viaModule, known: getTsHelperFnFromIdentifier(id)}; + } + + private getUmdModuleDeclaration(id: ts.Identifier): Declaration|null { + const importPath = this.getImportPathFromParameter(id) || this.getImportPathFromRequireCall(id); + if (importPath === null) { + return null; + } + + const module = this.resolveModuleName(importPath, id.getSourceFile()); + if (module === undefined) { + return null; + } + + const viaModule = isExternalImport(importPath) ? importPath : null; + return {node: module, viaModule, known: null, identity: null}; + } + + private getImportPathFromParameter(id: ts.Identifier): string|null { + const importParameter = this.findUmdImportParameter(id); + if (importParameter === null) { + return null; + } + return this.getUmdImportPath(importParameter); + } + + private getImportPathFromRequireCall(id: ts.Identifier): string|null { + const requireCall = findRequireCallReference(id, this.checker); + if (requireCall === null) { + return null; + } + return requireCall.arguments[0].text; } private resolveModuleName(moduleName: string, containingFile: ts.SourceFile): ts.SourceFile diff --git a/packages/compiler-cli/ngcc/src/host/utils.ts b/packages/compiler-cli/ngcc/src/host/utils.ts index bc3df0dae0..b1b3bc3738 100644 --- a/packages/compiler-cli/ngcc/src/host/utils.ts +++ b/packages/compiler-cli/ngcc/src/host/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/locking/async_locker.ts b/packages/compiler-cli/ngcc/src/locking/async_locker.ts index 4d8bcdef55..42e1a0604a 100644 --- a/packages/compiler-cli/ngcc/src/locking/async_locker.ts +++ b/packages/compiler-cli/ngcc/src/locking/async_locker.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger} from '../../../src/ngtsc/logging'; import {NGCC_TIMED_OUT_EXIT_CODE} from '../constants'; -import {Logger} from '../logging/logger'; import {LockFile} from './lock_file'; @@ -56,22 +56,68 @@ export class AsyncLocker { pid = newPid; } if (attempts === 0) { - this.logger.info( + // Check to see if the process identified by the PID is still running. Because the + // process *should* clean up after itself, we only check for a stale lock file when the + // PID changes and only once. This may mean you have to wait if the process is killed + // after the first check and isn't given the chance to clean up after itself. + if (!this.isProcessRunning(pid)) { + // try to re-lock one last time in case there was a race condition checking the process. + try { + return this.lockFile.write(); + } catch (e2) { + if (e2.code !== 'EEXIST') { + throw e2; + } + } + + // finally check that the lock was held by the same process this whole time. + const finalPid = this.lockFile.read(); + if (finalPid === pid) { + throw new TimeoutError(this.lockFileMessage( + `Lock found, but no process with PID ${pid} seems to be running.`)); + } else { + // attempts is still 0, but adjust the PID so the message below is correct. + pid = finalPid; + } + } + + this.logger.info(this.lockFileMessage( `Another process, with id ${pid}, is currently running ngcc.\n` + - `Waiting up to ${this.retryDelay * this.retryAttempts / 1000}s for it to finish.\n` + - `(If you are sure no ngcc process is running then you should delete the lock-file at ${ - this.lockFile.path}.)`); + `Waiting up to ${this.retryDelay * this.retryAttempts / 1000}s for it to finish.`)); } // The file is still locked by another process so wait for a bit and retry await new Promise(resolve => setTimeout(resolve, this.retryDelay)); } } // If we fall out of the loop then we ran out of rety attempts - throw new TimeoutError( - `Timed out waiting ${ - this.retryAttempts * this.retryDelay / - 1000}s for another ngcc process, with id ${pid}, to complete.\n` + - `(If you are sure no ngcc process is running then you should delete the lock-file at ${ - this.lockFile.path}.)`); + throw new TimeoutError(this.lockFileMessage(`Timed out waiting ${ + this.retryAttempts * this.retryDelay / + 1000}s for another ngcc process, with id ${pid}, to complete.`)); + } + + protected isProcessRunning(pid: string): boolean { + // let the normal logic run if this is not called with a valid PID + if (isNaN(+pid)) { + this.logger.debug(`Cannot check if invalid PID "${pid}" is running, a number is expected.`); + return true; + } + + try { + process.kill(+pid, 0); + return true; + } catch (e) { + // If the process doesn't exist ESRCH will be thrown, if the error is not that, throw it. + if (e.code !== 'ESRCH') { + throw e; + } + + return false; + } + } + + private lockFileMessage(message: string): string { + return message + + `\n(If you are sure no ngcc process is running then you should delete the lock-file at ${ + this.lockFile.path}.)`; } } diff --git a/packages/compiler-cli/ngcc/src/locking/lock_file.ts b/packages/compiler-cli/ngcc/src/locking/lock_file.ts index 4bcb425466..dedd579449 100644 --- a/packages/compiler-cli/ngcc/src/locking/lock_file.ts +++ b/packages/compiler-cli/ngcc/src/locking/lock_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.ts b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.ts index ba2aaf487a..feafea9d45 100644 --- a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.ts +++ b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {ChildProcess, fork} from 'child_process'; import {AbsoluteFsPath, FileSystem} from '../../../../src/ngtsc/file_system'; -import {Logger, LogLevel} from '../../logging/logger'; +import {Logger, LogLevel} from '../../../../src/ngtsc/logging'; import {getLockFilePath, LockFile} from '../lock_file'; import {removeLockFile} from './util'; @@ -78,7 +78,7 @@ export class LockFileWithChildProcess implements LockFile { this.logger.level !== undefined ? this.logger.level.toString() : LogLevel.info.toString(); const isWindows = process.platform === 'win32'; const unlocker = fork( - this.fs.resolve(__dirname, './unlocker.js'), [path, logLevel], + __dirname + '/unlocker.js', [path, logLevel], {detached: true, stdio: isWindows ? 'pipe' : 'inherit'}); if (isWindows) { unlocker.stdout?.on('data', process.stdout.write.bind(process.stdout)); diff --git a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/unlocker.ts b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/unlocker.ts index b31f21f966..4e732ab7cf 100644 --- a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/unlocker.ts +++ b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/unlocker.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {NodeJSFileSystem} from '../../../../src/ngtsc/file_system'; -import {ConsoleLogger} from '../../logging/console_logger'; +import {ConsoleLogger} from '../../../../src/ngtsc/logging'; import {removeLockFile} from './util'; /// diff --git a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.ts b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.ts index 2ed0110d43..d4870221b2 100644 --- a/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.ts +++ b/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, FileSystem} from '../../../../src/ngtsc/file_system'; -import {Logger} from '../../logging/logger'; +import {Logger} from '../../../../src/ngtsc/logging'; /** * Remove the lock-file at the provided `lockFilePath` from the given file-system. diff --git a/packages/compiler-cli/ngcc/src/locking/sync_locker.ts b/packages/compiler-cli/ngcc/src/locking/sync_locker.ts index 6c58cbe41d..58f0762416 100644 --- a/packages/compiler-cli/ngcc/src/locking/sync_locker.ts +++ b/packages/compiler-cli/ngcc/src/locking/sync_locker.ts @@ -1,11 +1,10 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger} from '../logging/logger'; import {LockFile} from './lock_file'; /** diff --git a/packages/compiler-cli/ngcc/src/main.ts b/packages/compiler-cli/ngcc/src/main.ts index 1baf5debe6..d87bd556cd 100644 --- a/packages/compiler-cli/ngcc/src/main.ts +++ b/packages/compiler-cli/ngcc/src/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,6 +11,8 @@ import * as os from 'os'; import {AbsoluteFsPath, FileSystem, resolve} from '../../src/ngtsc/file_system'; +import {Logger} from '../../src/ngtsc/logging'; +import {ParsedConfiguration} from '../../src/perform_compile'; import {CommonJsDependencyHost} from './dependencies/commonjs_dependency_host'; import {DependencyResolver} from './dependencies/dependency_resolver'; @@ -19,7 +21,9 @@ import {EsmDependencyHost} from './dependencies/esm_dependency_host'; import {ModuleResolver} from './dependencies/module_resolver'; import {UmdDependencyHost} from './dependencies/umd_dependency_host'; import {DirectoryWalkerEntryPointFinder} from './entry_point_finder/directory_walker_entry_point_finder'; +import {EntryPointCollector} from './entry_point_finder/entry_point_collector'; import {EntryPointFinder} from './entry_point_finder/interface'; +import {ProgramBasedEntryPointFinder} from './entry_point_finder/program_based_entry_point_finder'; import {TargetedEntryPointFinder} from './entry_point_finder/targeted_entry_point_finder'; import {getAnalyzeEntryPointsFn} from './execution/analyze_entry_points'; import {Executor} from './execution/api'; @@ -31,8 +35,7 @@ import {composeTaskCompletedCallbacks, createLogErrorHandler, createMarkAsProces import {AsyncLocker} from './locking/async_locker'; import {LockFileWithChildProcess} from './locking/lock_file_with_child_process'; import {SyncLocker} from './locking/sync_locker'; -import {Logger} from './logging/logger'; -import {AsyncNgccOptions, getSharedSetup, NgccOptions, SyncNgccOptions} from './ngcc_options'; +import {AsyncNgccOptions, getSharedSetup, SyncNgccOptions} from './ngcc_options'; import {NgccConfiguration} from './packages/configuration'; import {EntryPointJsonProperty, SUPPORTED_FORMAT_PROPERTIES} from './packages/entry_point'; import {EntryPointManifest, InvalidatingEntryPointManifest} from './packages/entry_point_manifest'; @@ -48,9 +51,9 @@ import {DirectPackageJsonUpdater, PackageJsonUpdater} from './writing/package_js * * @param options The options telling ngcc what to compile and how. */ -export function mainNgcc(options: AsyncNgccOptions): Promise; -export function mainNgcc(options: SyncNgccOptions): void; -export function mainNgcc(options: NgccOptions): void|Promise { +export function mainNgcc(options: T): + T extends AsyncNgccOptions ? Promise: void; +export function mainNgcc(options: AsyncNgccOptions|SyncNgccOptions): void|Promise { const { basePath, targetEntryPointPath, @@ -81,7 +84,8 @@ export function mainNgcc(options: NgccOptions): void|Promise { targetEntryPointPath !== undefined ? resolve(basePath, targetEntryPointPath) : null; const finder = getEntryPointFinder( fileSystem, logger, dependencyResolver, config, entryPointManifest, absBasePath, - absoluteTargetEntryPointPath, pathMappings); + absoluteTargetEntryPointPath, pathMappings, + options.findEntryPointsFromTsConfigProgram ? tsConfig : null, projectPath); if (finder instanceof TargetedEntryPointFinder && !finder.targetNeedsProcessingOrCleaning(supportedPropertiesToConsider, compileAllFormats)) { logger.debug('The target entry-point has already been processed'); @@ -195,13 +199,20 @@ function getDependencyResolver( function getEntryPointFinder( fs: FileSystem, logger: Logger, resolver: DependencyResolver, config: NgccConfiguration, entryPointManifest: EntryPointManifest, basePath: AbsoluteFsPath, - absoluteTargetEntryPointPath: AbsoluteFsPath|null, - pathMappings: PathMappings|undefined): EntryPointFinder { + absoluteTargetEntryPointPath: AbsoluteFsPath|null, pathMappings: PathMappings|undefined, + tsConfig: ParsedConfiguration|null, projectPath: AbsoluteFsPath): EntryPointFinder { if (absoluteTargetEntryPointPath !== null) { return new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, absoluteTargetEntryPointPath, pathMappings); + fs, config, logger, resolver, basePath, pathMappings, absoluteTargetEntryPointPath); } else { - return new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, entryPointManifest, basePath, pathMappings); + const entryPointCollector = new EntryPointCollector(fs, config, logger, resolver); + if (tsConfig !== null) { + return new ProgramBasedEntryPointFinder( + fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, + projectPath); + } else { + return new DirectoryWalkerEntryPointFinder( + logger, resolver, entryPointCollector, entryPointManifest, basePath, pathMappings); + } } } diff --git a/packages/compiler-cli/ngcc/src/migrations/migration.ts b/packages/compiler-cli/ngcc/src/migrations/migration.ts index b0da462538..7cd712a9c0 100644 --- a/packages/compiler-cli/ngcc/src/migrations/migration.ts +++ b/packages/compiler-cli/ngcc/src/migrations/migration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.ts b/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.ts index 1affab1b79..f1fd7ec3d7 100644 --- a/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.ts +++ b/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.ts b/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.ts index cb100fe7c4..50a3116b69 100644 --- a/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.ts +++ b/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.ts b/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.ts index 4b77e3eec4..6bd6b06c5f 100644 --- a/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.ts +++ b/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/migrations/utils.ts b/packages/compiler-cli/ngcc/src/migrations/utils.ts index 1437f46b35..ccf16f9f2e 100644 --- a/packages/compiler-cli/ngcc/src/migrations/utils.ts +++ b/packages/compiler-cli/ngcc/src/migrations/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/ngcc_options.ts b/packages/compiler-cli/ngcc/src/ngcc_options.ts index 1ada2058d2..abb3578ef6 100644 --- a/packages/compiler-cli/ngcc/src/ngcc_options.ts +++ b/packages/compiler-cli/ngcc/src/ngcc_options.ts @@ -1,15 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '../../src/ngtsc/file_system'; +import {ConsoleLogger, Logger, LogLevel} from '../../src/ngtsc/logging'; import {ParsedConfiguration, readConfiguration} from '../../src/perform_compile'; -import {ConsoleLogger} from './logging/console_logger'; -import {Logger, LogLevel} from './logging/logger'; import {SUPPORTED_FORMAT_PROPERTIES} from './packages/entry_point'; import {getPathMappingsFromTsConfig, PathMappings} from './path_mappings'; import {FileWriter} from './writing/file_writer'; @@ -124,6 +123,14 @@ export interface SyncNgccOptions { * If `null`, ngcc will not attempt to load any TS config file at all. */ tsConfigPath?: string|null; + + /** + * Use the program defined in the loaded tsconfig.json (if available - see + * `tsConfigPath` option) to identify the entry-points that should be processed. + * If this is set to `true` then only the entry-points reachable from the given + * program (and their dependencies) will be processed. + */ + findEntryPointsFromTsConfigProgram?: boolean; } /** @@ -136,7 +143,8 @@ export type AsyncNgccOptions = Omit&{async: true}; */ export type NgccOptions = AsyncNgccOptions|SyncNgccOptions; -export type OptionalNgccOptionKeys = 'targetEntryPointPath'|'tsConfigPath'|'pathMappings'; +export type OptionalNgccOptionKeys = + 'targetEntryPointPath'|'tsConfigPath'|'pathMappings'|'findEntryPointsFromTsConfigProgram'; export type RequiredNgccOptions = Required>; export type OptionalNgccOptions = Pick; export type SharedSetup = { @@ -156,7 +164,7 @@ export function getSharedSetup(options: NgccOptions): SharedSetup&RequiredNgccOp const absBasePath = absoluteFrom(options.basePath); const projectPath = fileSystem.dirname(absBasePath); const tsConfig = - options.tsConfigPath !== null ? readConfiguration(options.tsConfigPath || projectPath) : null; + options.tsConfigPath !== null ? getTsConfig(options.tsConfigPath || projectPath) : null; let { basePath, @@ -200,3 +208,28 @@ export function getSharedSetup(options: NgccOptions): SharedSetup&RequiredNgccOp new InPlaceFileWriter(fileSystem, logger, errorOnFailedEntryPoint), }; } + +let tsConfigCache: ParsedConfiguration|null = null; +let tsConfigPathCache: string|null = null; + +/** + * Get the parsed configuration object for the given `tsConfigPath`. + * + * This function will cache the previous parsed configuration object to avoid unnecessary processing + * of the tsconfig.json in the case that it is requested repeatedly. + * + * This makes the assumption, which is true as of writing, that the contents of tsconfig.json and + * its dependencies will not change during the life of the process running ngcc. + */ +function getTsConfig(tsConfigPath: string): ParsedConfiguration|null { + if (tsConfigPath !== tsConfigPathCache) { + tsConfigPathCache = tsConfigPath; + tsConfigCache = readConfiguration(tsConfigPath); + } + return tsConfigCache; +} + +export function clearTsConfigCache() { + tsConfigPathCache = null; + tsConfigCache = null; +} diff --git a/packages/compiler-cli/ngcc/src/packages/build_marker.ts b/packages/compiler-cli/ngcc/src/packages/build_marker.ts index 3e214a63f0..1166ed9610 100644 --- a/packages/compiler-cli/ngcc/src/packages/build_marker.ts +++ b/packages/compiler-cli/ngcc/src/packages/build_marker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/packages/bundle_program.ts b/packages/compiler-cli/ngcc/src/packages/bundle_program.ts index a094a03c07..04ad6faaa9 100644 --- a/packages/compiler-cli/ngcc/src/packages/bundle_program.ts +++ b/packages/compiler-cli/ngcc/src/packages/bundle_program.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/packages/configuration.ts b/packages/compiler-cli/ngcc/src/packages/configuration.ts index e79b5fd6d4..9423158251 100644 --- a/packages/compiler-cli/ngcc/src/packages/configuration.ts +++ b/packages/compiler-cli/ngcc/src/packages/configuration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,11 +16,11 @@ import {PackageJsonFormatPropertiesMap} from './entry_point'; /** * The format of a project level configuration file. */ -export interface NgccProjectConfig { +export interface NgccProjectConfig { /** * The packages that are configured by this project config. */ - packages?: {[packagePath: string]: T}; + packages?: {[packagePath: string]: T|undefined}; /** * Options that control how locking the process is handled. */ @@ -44,17 +44,16 @@ export interface ProcessLockingConfiguration { } /** - * The format of a package level configuration file. + * The raw format of a package level configuration (as it appears in configuration files). */ -export interface NgccPackageConfig { +export interface RawNgccPackageConfig { /** * The entry-points to configure for this package. * - * In the config file the keys can be paths relative to the package path; - * but when being read back from the `NgccConfiguration` service, these paths - * will be absolute. + * In the config file the keys are paths relative to the package path. */ - entryPoints: {[entryPointPath: string]: NgccEntryPointConfig;}; + entryPoints?: {[entryPointPath: string]: NgccEntryPointConfig}; + /** * A collection of regexes that match deep imports to ignore, for this package, rather than * displaying a warning. @@ -71,6 +70,7 @@ export interface NgccPackageConfig { export interface NgccEntryPointConfig { /** Do not process (or even acknowledge the existence of) this entry-point, if true. */ ignore?: boolean; + /** * This property, if provided, holds values that will override equivalent properties in an * entry-point's package.json file. @@ -92,6 +92,12 @@ export interface NgccEntryPointConfig { generateDeepReexports?: boolean; } +interface VersionedPackageConfig extends RawNgccPackageConfig { + versionRange: string; +} + +type PartiallyProcessedConfig = Required>; + /** * The default configuration for ngcc. * @@ -152,14 +158,48 @@ export const DEFAULT_NGCC_CONFIG: NgccProjectConfig = { } }; -interface VersionedPackageConfig extends NgccPackageConfig { - versionRange: string; -} - -type ProcessedConfig = Required>; - const NGCC_CONFIG_FILENAME = 'ngcc.config.js'; +/** + * The processed package level configuration as a result of processing a raw package level config. + */ +export class ProcessedNgccPackageConfig implements Omit { + /** + * The absolute path to this instance of the package. + * Note that there may be multiple instances of a package inside a project in nested + * `node_modules/`. For example, one at `/node_modules/some-package/` and one at + * `/node_modules/other-package/node_modules/some-package/`. + */ + packagePath: AbsoluteFsPath; + + /** + * The entry-points to configure for this package. + * + * In contrast to `RawNgccPackageConfig`, the paths are absolute and take the path of the specific + * instance of the package into account. + */ + entryPoints: Map; + + /** + * A collection of regexes that match deep imports to ignore, for this package, rather than + * displaying a warning. + */ + ignorableDeepImportMatchers: RegExp[]; + + constructor(packagePath: AbsoluteFsPath, { + entryPoints = {}, + ignorableDeepImportMatchers = [], + }: RawNgccPackageConfig) { + const absolutePathEntries: [AbsoluteFsPath, NgccEntryPointConfig][] = + Object.entries(entryPoints).map(([relativePath, + config]) => [resolve(packagePath, relativePath), config]); + + this.packagePath = packagePath; + this.entryPoints = new Map(absolutePathEntries); + this.ignorableDeepImportMatchers = ignorableDeepImportMatchers; + } +} + /** * Ngcc has a hierarchical configuration system that lets us "fix up" packages that do not * work with ngcc out of the box. @@ -185,14 +225,14 @@ const NGCC_CONFIG_FILENAME = 'ngcc.config.js'; * configuration for a package is returned. */ export class NgccConfiguration { - private defaultConfig: ProcessedConfig; - private projectConfig: ProcessedConfig; + private defaultConfig: PartiallyProcessedConfig; + private projectConfig: PartiallyProcessedConfig; private cache = new Map(); readonly hash: string; constructor(private fs: FileSystem, baseDir: AbsoluteFsPath) { - this.defaultConfig = this.processProjectConfig(baseDir, DEFAULT_NGCC_CONFIG); - this.projectConfig = this.processProjectConfig(baseDir, this.loadProjectConfig(baseDir)); + this.defaultConfig = this.processProjectConfig(DEFAULT_NGCC_CONFIG); + this.projectConfig = this.processProjectConfig(this.loadProjectConfig(baseDir)); this.hash = this.computeHash(); } @@ -213,18 +253,27 @@ export class NgccConfiguration { /** * Get a configuration for the given `version` of a package at `packagePath`. * + * @param packageName The name of the package whose config we want. * @param packagePath The path to the package whose config we want. * @param version The version of the package whose config we want, or `null` if the package's * package.json did not exist or was invalid. */ - getPackageConfig(packagePath: AbsoluteFsPath, version: string|null): VersionedPackageConfig { - const cacheKey = packagePath + (version !== null ? `@${version}` : ''); + getPackageConfig(packageName: string, packagePath: AbsoluteFsPath, version: string|null): + ProcessedNgccPackageConfig { + const rawPackageConfig = this.getRawPackageConfig(packageName, packagePath, version); + return new ProcessedNgccPackageConfig(packagePath, rawPackageConfig); + } + + private getRawPackageConfig( + packageName: string, packagePath: AbsoluteFsPath, + version: string|null): VersionedPackageConfig { + const cacheKey = packageName + (version !== null ? `@${version}` : ''); if (this.cache.has(cacheKey)) { return this.cache.get(cacheKey)!; } const projectLevelConfig = this.projectConfig.packages ? - findSatisfactoryVersion(this.projectConfig.packages[packagePath], version) : + findSatisfactoryVersion(this.projectConfig.packages[packageName], version) : null; if (projectLevelConfig !== null) { this.cache.set(cacheKey, projectLevelConfig); @@ -238,19 +287,18 @@ export class NgccConfiguration { } const defaultLevelConfig = this.defaultConfig.packages ? - findSatisfactoryVersion(this.defaultConfig.packages[packagePath], version) : + findSatisfactoryVersion(this.defaultConfig.packages[packageName], version) : null; if (defaultLevelConfig !== null) { this.cache.set(cacheKey, defaultLevelConfig); return defaultLevelConfig; } - return {versionRange: '*', entryPoints: {}}; + return {versionRange: '*'}; } - private processProjectConfig(baseDir: AbsoluteFsPath, projectConfig: NgccProjectConfig): - ProcessedConfig { - const processedConfig: ProcessedConfig = {packages: {}, locking: {}}; + private processProjectConfig(projectConfig: NgccProjectConfig): PartiallyProcessedConfig { + const processedConfig: PartiallyProcessedConfig = {packages: {}, locking: {}}; // locking configuration if (projectConfig.locking !== undefined) { @@ -258,15 +306,13 @@ export class NgccConfiguration { } // packages configuration - for (const packagePathAndVersion in projectConfig.packages) { - const packageConfig = projectConfig.packages[packagePathAndVersion]; + for (const packageNameAndVersion in projectConfig.packages) { + const packageConfig = projectConfig.packages[packageNameAndVersion]; if (packageConfig) { - const [packagePath, versionRange = '*'] = this.splitPathAndVersion(packagePathAndVersion); - const absPackagePath = resolve(baseDir, 'node_modules', packagePath); - const entryPoints = this.processEntryPoints(absPackagePath, packageConfig); - processedConfig.packages[absPackagePath] = processedConfig.packages[absPackagePath] || []; - processedConfig.packages[absPackagePath].push( - {...packageConfig, versionRange, entryPoints}); + const [packageName, versionRange = '*'] = this.splitNameAndVersion(packageNameAndVersion); + const packageConfigs = + processedConfig.packages[packageName] || (processedConfig.packages[packageName] = []); + packageConfigs!.push({...packageConfig, versionRange}); } } @@ -295,7 +341,6 @@ export class NgccConfiguration { return { ...packageConfig, versionRange: version || '*', - entryPoints: this.processEntryPoints(packagePath, packageConfig), }; } catch (e) { throw new Error(`Invalid package configuration file at "${configFilePath}": ` + e.message); @@ -319,27 +364,16 @@ export class NgccConfiguration { return sandbox.module.exports; } - private processEntryPoints(packagePath: AbsoluteFsPath, packageConfig: NgccPackageConfig): - {[entryPointPath: string]: NgccEntryPointConfig;} { - const processedEntryPoints: {[entryPointPath: string]: NgccEntryPointConfig;} = {}; - for (const entryPointPath in packageConfig.entryPoints) { - // Change the keys to be absolute paths - processedEntryPoints[resolve(packagePath, entryPointPath)] = - packageConfig.entryPoints[entryPointPath]; - } - return processedEntryPoints; - } - - private splitPathAndVersion(packagePathAndVersion: string): [string, string|undefined] { - const versionIndex = packagePathAndVersion.lastIndexOf('@'); + private splitNameAndVersion(packageNameAndVersion: string): [string, string|undefined] { + const versionIndex = packageNameAndVersion.lastIndexOf('@'); // Note that > 0 is because we don't want to match @ at the start of the line // which is what you would have with a namespaced package, e.g. `@angular/common`. return versionIndex > 0 ? [ - packagePathAndVersion.substring(0, versionIndex), - packagePathAndVersion.substring(versionIndex + 1) + packageNameAndVersion.substring(0, versionIndex), + packageNameAndVersion.substring(versionIndex + 1), ] : - [packagePathAndVersion, undefined]; + [packageNameAndVersion, undefined]; } private computeHash(): string { diff --git a/packages/compiler-cli/ngcc/src/packages/entry_point.ts b/packages/compiler-cli/ngcc/src/packages/entry_point.ts index 271f94bd3a..2d725217b0 100644 --- a/packages/compiler-cli/ngcc/src/packages/entry_point.ts +++ b/packages/compiler-cli/ngcc/src/packages/entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,10 +8,12 @@ import {relative} from 'canonical-path'; import {basename} from 'path'; import * as ts from 'typescript'; + import {AbsoluteFsPath, FileSystem, join, resolve} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {parseStatementForUmdModule} from '../host/umd_host'; -import {Logger} from '../logging/logger'; import {resolveFileWithPostfixes} from '../utils'; + import {NgccConfiguration, NgccEntryPointConfig} from './configuration'; /** @@ -24,14 +26,19 @@ export type EntryPointFormat = 'esm5'|'esm2015'|'umd'|'commonjs'; * to each of the possible entry-point formats. */ export interface EntryPoint extends JsonObject { - /** The name of the package (e.g. `@angular/core`). */ + /** The name of the entry-point (e.g. `@angular/core` or `@angular/common/http`). */ name: string; - /** The parsed package.json file for this entry-point. */ - packageJson: EntryPointPackageJson; - /** The path to the package that contains this entry-point. */ - package: AbsoluteFsPath; /** The path to this entry point. */ path: AbsoluteFsPath; + /** + * The name of the package that contains this entry-point (e.g. `@angular/core` or + * `@angular/common`). + */ + packageName: string; + /** The path to the package that contains this entry-point. */ + packagePath: AbsoluteFsPath; + /** The parsed package.json file for this entry-point. */ + packageJson: EntryPointPackageJson; /** The path to a typings (.d.ts) file for this entry-point. */ typings: AbsoluteFsPath; /** Is this EntryPoint compiled with the Angular View Engine compiler? */ @@ -69,6 +76,7 @@ export type PackageJsonFormatProperties = keyof PackageJsonFormatPropertiesMap; */ export interface EntryPointPackageJson extends JsonObject, PackageJsonFormatPropertiesMap { name: string; + version?: string; scripts?: Record; __processed_by_ivy_ngcc__?: Record; } @@ -80,12 +88,16 @@ export const SUPPORTED_FORMAT_PROPERTIES: EntryPointJsonProperty[] = /** - * The path does not represent an entry-point: - * * there is no package.json at the path and there is no config to force an entry-point - * * or the entrypoint is `ignored` by a config. + * The path does not represent an entry-point, i.e. there is no package.json at the path and there + * is no config to force an entry-point. */ export const NO_ENTRY_POINT = 'no-entry-point'; +/** + * The path represents an entry-point that is `ignored` by an ngcc config. + */ +export const IGNORED_ENTRY_POINT = 'ignored-entry-point'; + /** * The path has a package.json, but it is not a valid entry-point for ngcc processing. */ @@ -100,7 +112,8 @@ export const INCOMPATIBLE_ENTRY_POINT = 'incompatible-entry-point'; * * INCOMPATIBLE_ENTRY_POINT - the path was a non-processable entry-point that should be searched * for sub-entry-points */ -export type GetEntryPointResult = EntryPoint|typeof INCOMPATIBLE_ENTRY_POINT|typeof NO_ENTRY_POINT; +export type GetEntryPointResult = + EntryPoint|typeof IGNORED_ENTRY_POINT|typeof INCOMPATIBLE_ENTRY_POINT|typeof NO_ENTRY_POINT; /** @@ -109,40 +122,48 @@ export type GetEntryPointResult = EntryPoint|typeof INCOMPATIBLE_ENTRY_POINT|typ * @param packagePath the absolute path to the containing npm package * @param entryPointPath the absolute path to the potential entry-point. * @returns - * - An entry-point if it is valid. + * - An entry-point if it is valid and not ignored. * - `NO_ENTRY_POINT` when there is no package.json at the path and there is no config to force an - * entry-point or the entrypoint is `ignored`. - * - `INCOMPATIBLE_ENTRY_POINT` there is a package.json but it is not a valid Angular compiled - * entry-point. + * entry-point, + * - `IGNORED_ENTRY_POINT` when the entry-point is ignored by an ngcc config. + * - `INCOMPATIBLE_ENTRY_POINT` when there is a package.json but it is not a valid Angular compiled + * entry-point. */ export function getEntryPointInfo( fs: FileSystem, config: NgccConfiguration, logger: Logger, packagePath: AbsoluteFsPath, entryPointPath: AbsoluteFsPath): GetEntryPointResult { - const packageJsonPath = resolve(entryPointPath, 'package.json'); - const packageVersion = getPackageVersion(fs, packageJsonPath); - const entryPointConfig = - config.getPackageConfig(packagePath, packageVersion).entryPoints[entryPointPath]; - const hasConfig = entryPointConfig !== undefined; + const packagePackageJsonPath = resolve(packagePath, 'package.json'); + const entryPointPackageJsonPath = resolve(entryPointPath, 'package.json'); + const loadedPackagePackageJson = loadPackageJson(fs, packagePackageJsonPath); + const loadedEntryPointPackageJson = (packagePackageJsonPath === entryPointPackageJsonPath) ? + loadedPackagePackageJson : + loadPackageJson(fs, entryPointPackageJsonPath); + const {packageName, packageVersion} = getPackageNameAndVersion( + fs, packagePath, loadedPackagePackageJson, loadedEntryPointPackageJson); - if (!hasConfig && !fs.exists(packageJsonPath)) { - // No package.json and no config - return NO_ENTRY_POINT; - } + const packageConfig = config.getPackageConfig(packageName, packagePath, packageVersion); + const entryPointConfig = packageConfig.entryPoints.get(entryPointPath); + let entryPointPackageJson: EntryPointPackageJson; - if (hasConfig && entryPointConfig.ignore === true) { - // Explicitly ignored - return NO_ENTRY_POINT; - } + if (entryPointConfig === undefined) { + if (!fs.exists(entryPointPackageJsonPath)) { + // No `package.json` and no config. + return NO_ENTRY_POINT; + } else if (loadedEntryPointPackageJson === null) { + // `package.json` exists but could not be parsed and there is no redeeming config. + logger.warn(`Failed to read entry point info from invalid 'package.json' file: ${ + entryPointPackageJsonPath}`); - const loadedEntryPointPackageJson = loadEntryPointPackage(fs, logger, packageJsonPath, hasConfig); - const entryPointPackageJson = hasConfig ? - mergeConfigAndPackageJson( - loadedEntryPointPackageJson, entryPointConfig, packagePath, entryPointPath) : - loadedEntryPointPackageJson; - - if (entryPointPackageJson === null) { - // package.json exists but could not be parsed and there was no redeeming config - return INCOMPATIBLE_ENTRY_POINT; + return INCOMPATIBLE_ENTRY_POINT; + } else { + entryPointPackageJson = loadedEntryPointPackageJson; + } + } else if (entryPointConfig.ignore === true) { + // Explicitly ignored entry-point. + return IGNORED_ENTRY_POINT; + } else { + entryPointPackageJson = mergeConfigAndPackageJson( + loadedEntryPointPackageJson, entryPointConfig, packagePath, entryPointPath); } const typings = entryPointPackageJson.typings || entryPointPackageJson.types || @@ -160,9 +181,10 @@ export function getEntryPointInfo( const entryPointInfo: EntryPoint = { name: entryPointPackageJson.name, - packageJson: entryPointPackageJson, - package: packagePath, path: entryPointPath, + packageName, + packagePath, + packageJson: entryPointPackageJson, typings: resolve(entryPointPath, typings), compiledByAngular, ignoreMissingDependencies: @@ -174,6 +196,11 @@ export function getEntryPointInfo( return entryPointInfo; } +export function isEntryPoint(result: GetEntryPointResult): result is EntryPoint { + return result !== NO_ENTRY_POINT && result !== INCOMPATIBLE_ENTRY_POINT && + result !== IGNORED_ENTRY_POINT; +} + /** * Convert a package.json property into an entry-point format. * @@ -223,20 +250,15 @@ export function getEntryPointFormat( } /** - * Parses the JSON from a package.json file. - * @param packageJsonPath the absolute path to the package.json file. - * @returns JSON from the package.json file if it is valid, `null` otherwise. + * Parse the JSON from a `package.json` file. + * @param packageJsonPath the absolute path to the `package.json` file. + * @returns JSON from the `package.json` file if it is valid, `null` otherwise. */ -function loadEntryPointPackage( - fs: FileSystem, logger: Logger, packageJsonPath: AbsoluteFsPath, - hasConfig: boolean): EntryPointPackageJson|null { +function loadPackageJson(fs: FileSystem, packageJsonPath: AbsoluteFsPath): EntryPointPackageJson| + null { try { return JSON.parse(fs.readFile(packageJsonPath)); - } catch (e) { - if (!hasConfig) { - // We may have run into a package.json with unexpected symbols - logger.warn(`Failed to read entry point info from ${packageJsonPath} with error ${e}.`); - } + } catch { return null; } } @@ -292,18 +314,44 @@ function guessTypingsFromPackageJson( } /** - * Find the version of the package at `packageJsonPath`. + * Find or infer the name and version of a package. * - * @returns the version string or `null` if the package.json does not exist or is invalid. + * - The name is computed based on the `name` property of the package's or the entry-point's + * `package.json` file (if available) or inferred from the package's path. + * - The version is read off of the `version` property of the package's `package.json` file (if + * available). + * + * @param fs The `FileSystem` instance to use for parsing `packagePath` (if needed). + * @param packagePath the absolute path to the package. + * @param packagePackageJson the parsed `package.json` of the package (if available). + * @param entryPointPackageJson the parsed `package.json` of an entry-point (if available). + * @returns the computed name and version of the package. */ -function getPackageVersion(fs: FileSystem, packageJsonPath: AbsoluteFsPath): string|null { - try { - if (fs.exists(packageJsonPath)) { - const packageJson = JSON.parse(fs.readFile(packageJsonPath)); - return packageJson['version'] || null; - } - } catch { - // Do nothing +function getPackageNameAndVersion( + fs: FileSystem, packagePath: AbsoluteFsPath, packagePackageJson: EntryPointPackageJson|null, + entryPointPackageJson: EntryPointPackageJson| + null): {packageName: string, packageVersion: string|null} { + let packageName: string; + + if (packagePackageJson !== null) { + // We have a valid `package.json` for the package: Get the package name from that. + packageName = packagePackageJson.name; + } else if (entryPointPackageJson !== null) { + // We have a valid `package.json` for the entry-point: Get the package name from that. + // This might be a secondary entry-point, so make sure we only keep the main package's name + // (e.g. only keep `@angular/common` from `@angular/common/http`). + packageName = /^(?:@[^/]+\/)?[^/]*/.exec(entryPointPackageJson.name)![0]; + } else { + // We don't have a valid `package.json`: Infer the package name from the package's path. + const lastSegment = fs.basename(packagePath); + const secondLastSegment = fs.basename(fs.dirname(packagePath)); + + packageName = + secondLastSegment.startsWith('@') ? `${secondLastSegment}/${lastSegment}` : lastSegment; } - return null; + + return { + packageName, + packageVersion: packagePackageJson?.version ?? null, + }; } diff --git a/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.ts b/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.ts index 90f13de885..41ba3d33ea 100644 --- a/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.ts +++ b/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -47,7 +47,7 @@ export function makeEntryPointBundle( mirrorDtsFromSrc: boolean = false, enableI18nLegacyMessageIdFormat: boolean = true): EntryPointBundle { // Create the TS program and necessary helpers. - const rootDir = entryPoint.package; + const rootDir = entryPoint.packagePath; const options: ts .CompilerOptions = {allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir, ...pathMappings}; const srcHost = new NgccSourcesCompilerHost(fs, options, entryPoint.path); @@ -57,12 +57,12 @@ export function makeEntryPointBundle( const absFormatPath = fs.resolve(entryPoint.path, formatPath); const typingsPath = fs.resolve(entryPoint.path, entryPoint.typings); const src = makeBundleProgram( - fs, isCore, entryPoint.package, absFormatPath, 'r3_symbols.js', options, srcHost); + fs, isCore, entryPoint.packagePath, absFormatPath, 'r3_symbols.js', options, srcHost); const additionalDtsFiles = transformDts && mirrorDtsFromSrc ? computePotentialDtsFilesFromJsFiles(fs, src.program, absFormatPath, typingsPath) : []; const dts = transformDts ? makeBundleProgram( - fs, isCore, entryPoint.package, typingsPath, 'r3_symbols.d.ts', + fs, isCore, entryPoint.packagePath, typingsPath, 'r3_symbols.d.ts', options, dtsHost, additionalDtsFiles) : null; const isFlatCore = isCore && src.r3SymbolsFile === null; diff --git a/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.ts b/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.ts index 9321ad5940..4bb317ce48 100644 --- a/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.ts +++ b/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,12 +8,12 @@ import {createHash} from 'crypto'; import {AbsoluteFsPath, FileSystem, PathSegment} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {EntryPointWithDependencies} from '../dependencies/dependency_host'; -import {Logger} from '../logging/logger'; import {NGCC_VERSION} from './build_marker'; import {NgccConfiguration} from './configuration'; -import {getEntryPointInfo, INCOMPATIBLE_ENTRY_POINT, NO_ENTRY_POINT} from './entry_point'; +import {getEntryPointInfo, isEntryPoint} from './entry_point'; /** * Manages reading and writing a manifest file that contains a list of all the entry-points that @@ -75,7 +75,7 @@ export class EntryPointManifest { const result = getEntryPointInfo( this.fs, this.config, this.logger, this.fs.resolve(basePath, packagePath), this.fs.resolve(basePath, entryPointPath)); - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { throw new Error(`The entry-point manifest at ${ manifestPath} contained an invalid pair of package paths: [${packagePath}, ${ entryPointPath}]`); @@ -126,7 +126,7 @@ export class EntryPointManifest { lockFileHash: lockFileHash, entryPointPaths: entryPoints.map(e => { const entryPointPaths: EntryPointPaths = [ - this.fs.relative(basePath, e.entryPoint.package), + this.fs.relative(basePath, e.entryPoint.packagePath), this.fs.relative(basePath, e.entryPoint.path), ]; // Only add depInfo arrays if needed. diff --git a/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.ts b/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.ts index 8e52769814..aab8b01b57 100644 --- a/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.ts +++ b/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.ts b/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.ts index b2d5428d2f..6094c3c7de 100644 --- a/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.ts +++ b/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/packages/transformer.ts b/packages/compiler-cli/ngcc/src/packages/transformer.ts index eded53a9a9..c8cf06dd37 100644 --- a/packages/compiler-cli/ngcc/src/packages/transformer.ts +++ b/packages/compiler-cli/ngcc/src/packages/transformer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import * as ts from 'typescript'; import {ParsedConfiguration} from '../../..'; import {FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {TypeScriptReflectionHost} from '../../../src/ngtsc/reflection'; import {DecorationAnalyzer} from '../analysis/decoration_analyzer'; import {ModuleWithProvidersAnalyses, ModuleWithProvidersAnalyzer} from '../analysis/module_with_providers_analyzer'; @@ -22,7 +23,6 @@ import {Esm2015ReflectionHost} from '../host/esm2015_host'; import {Esm5ReflectionHost} from '../host/esm5_host'; import {NgccReflectionHost} from '../host/ngcc_host'; import {UmdReflectionHost} from '../host/umd_host'; -import {Logger} from '../logging/logger'; import {CommonJsRenderingFormatter} from '../rendering/commonjs_rendering_formatter'; import {DtsRenderer} from '../rendering/dts_renderer'; import {Esm5RenderingFormatter} from '../rendering/esm5_rendering_formatter'; @@ -94,7 +94,8 @@ export class Transformer { // Transform the source files and source maps. const srcFormatter = this.getRenderingFormatter(ngccReflectionHost, bundle); - const renderer = new Renderer(reflectionHost, srcFormatter, this.fs, this.logger, bundle); + const renderer = + new Renderer(reflectionHost, srcFormatter, this.fs, this.logger, bundle, this.tsConfig); let renderedFiles = renderer.renderProgram( decorationAnalyses, switchMarkerAnalyses, privateDeclarationsAnalyses); @@ -147,7 +148,7 @@ export class Transformer { const referencesRegistry = new NgccReferencesRegistry(reflectionHost); const switchMarkerAnalyzer = - new SwitchMarkerAnalyzer(reflectionHost, bundle.entryPoint.package); + new SwitchMarkerAnalyzer(reflectionHost, bundle.entryPoint.packagePath); const switchMarkerAnalyses = switchMarkerAnalyzer.analyzeProgram(bundle.src.program); const diagnostics: ts.Diagnostic[] = []; diff --git a/packages/compiler-cli/ngcc/src/path_mappings.ts b/packages/compiler-cli/ngcc/src/path_mappings.ts index a1e764bc57..5a0fa4ff75 100644 --- a/packages/compiler-cli/ngcc/src/path_mappings.ts +++ b/packages/compiler-cli/ngcc/src/path_mappings.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.ts b/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.ts index 1ddfeb64fe..4213d605a4 100644 --- a/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/rendering/dts_renderer.ts b/packages/compiler-cli/ngcc/src/rendering/dts_renderer.ts index 91ab5ea398..465a4566d1 100644 --- a/packages/compiler-cli/ngcc/src/rendering/dts_renderer.ts +++ b/packages/compiler-cli/ngcc/src/rendering/dts_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import * as ts from 'typescript'; import {FileSystem} from '../../../src/ngtsc/file_system'; import {Reexport} from '../../../src/ngtsc/imports'; +import {Logger} from '../../../src/ngtsc/logging'; import {CompileResult} from '../../../src/ngtsc/transform'; import {ImportManager, translateType} from '../../../src/ngtsc/translator'; import {ModuleWithProvidersAnalyses, ModuleWithProvidersInfo} from '../analysis/module_with_providers_analyzer'; @@ -17,7 +18,6 @@ import {ExportInfo, PrivateDeclarationsAnalyses} from '../analysis/private_decla import {DecorationAnalyses} from '../analysis/types'; import {IMPORT_PREFIX} from '../constants'; import {NgccReflectionHost} from '../host/ngcc_host'; -import {Logger} from '../logging/logger'; import {EntryPointBundle} from '../packages/entry_point_bundle'; import {RenderingFormatter} from './rendering_formatter'; diff --git a/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.ts b/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.ts index 40a3474578..a2cefd7d42 100644 --- a/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,10 +8,12 @@ import {Statement} from '@angular/compiler'; import MagicString from 'magic-string'; import * as ts from 'typescript'; + import {NOOP_DEFAULT_IMPORT_RECORDER} from '../../../src/ngtsc/imports'; import {ImportManager, translateStatement} from '../../../src/ngtsc/translator'; import {CompiledClass} from '../analysis/types'; -import {getIifeBody} from '../host/esm5_host'; +import {getContainingStatement} from '../host/esm2015_host'; + import {EsmRenderingFormatter} from './esm_rendering_formatter'; /** @@ -20,11 +22,24 @@ import {EsmRenderingFormatter} from './esm_rendering_formatter'; */ export class Esm5RenderingFormatter extends EsmRenderingFormatter { /** - * Add the definitions inside the IIFE of each decorated class + * Add the definitions, directly before the return statement, inside the IIFE of each decorated + * class. */ addDefinitions(output: MagicString, compiledClass: CompiledClass, definitions: string): void { - const iifeBody = getIifeBody(compiledClass.declaration); - if (!iifeBody) { + const classSymbol = this.host.getClassSymbol(compiledClass.declaration); + if (!classSymbol) { + throw new Error( + `Compiled class "${compiledClass.name}" in "${ + compiledClass.declaration.getSourceFile() + .fileName}" does not have a valid syntax.\n` + + `Expected an ES5 IIFE wrapped function. But got:\n` + + compiledClass.declaration.getText()); + } + const declarationStatement = + getContainingStatement(classSymbol.implementation.valueDeclaration); + + const iifeBody = declarationStatement.parent; + if (!iifeBody || !ts.isBlock(iifeBody)) { throw new Error(`Compiled class declaration is not inside an IIFE: ${compiledClass.name} in ${ compiledClass.declaration.getSourceFile().fileName}`); } diff --git a/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.ts b/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.ts index 81739a50c1..94210bbb74 100644 --- a/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,7 +16,7 @@ import {isDtsPath} from '../../../src/ngtsc/util/src/typescript'; import {ModuleWithProvidersInfo} from '../analysis/module_with_providers_analyzer'; import {ExportInfo} from '../analysis/private_declarations_analyzer'; import {CompiledClass} from '../analysis/types'; -import {isAssignment} from '../host/esm2015_host'; +import {getContainingStatement, isAssignment} from '../host/esm2015_host'; import {NgccReflectionHost, POST_R3_MARKER, PRE_R3_MARKER, SwitchableVariableDeclaration} from '../host/ngcc_host'; import {RedundantDecoratorMap, RenderingFormatter} from './rendering_formatter'; @@ -104,7 +104,8 @@ export class EsmRenderingFormatter implements RenderingFormatter { if (!classSymbol) { throw new Error(`Compiled class does not have a valid symbol: ${compiledClass.name}`); } - const declarationStatement = getDeclarationStatement(classSymbol.declaration.valueDeclaration); + const declarationStatement = + getContainingStatement(classSymbol.implementation.valueDeclaration); const insertionPoint = declarationStatement.getEnd(); output.appendLeft(insertionPoint, '\n' + definitions); } @@ -277,17 +278,6 @@ export class EsmRenderingFormatter implements RenderingFormatter { } } -function getDeclarationStatement(node: ts.Node): ts.Statement { - let statement = node; - while (statement) { - if (ts.isVariableStatement(statement) || ts.isClassDeclaration(statement)) { - return statement; - } - statement = statement.parent; - } - throw new Error(`Class is not defined in a declaration statement: ${node.getText()}`); -} - function findStatement(node: ts.Node): ts.Statement|undefined { while (node) { if (ts.isExpressionStatement(node) || ts.isReturnStatement(node)) { diff --git a/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.ts b/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.ts index 09a6f669e9..ece42449b6 100644 --- a/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/rendering/renderer.ts b/packages/compiler-cli/ngcc/src/rendering/renderer.ts index 033d05530c..cffe8b0639 100644 --- a/packages/compiler-cli/ngcc/src/rendering/renderer.ts +++ b/packages/compiler-cli/ngcc/src/rendering/renderer.ts @@ -1,22 +1,23 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {ConstantPool, Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler'; +import {CommentStmt, ConstantPool, Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler'; import MagicString from 'magic-string'; import * as ts from 'typescript'; import {FileSystem} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {ImportManager} from '../../../src/ngtsc/translator'; +import {ParsedConfiguration} from '../../../src/perform_compile'; import {PrivateDeclarationsAnalyses} from '../analysis/private_declarations_analyzer'; import {SwitchMarkerAnalyses, SwitchMarkerAnalysis} from '../analysis/switch_marker_analyzer'; import {CompiledClass, CompiledFile, DecorationAnalyses} from '../analysis/types'; import {IMPORT_PREFIX} from '../constants'; import {NgccReflectionHost} from '../host/ngcc_host'; -import {Logger} from '../logging/logger'; import {EntryPointBundle} from '../packages/entry_point_bundle'; import {RedundantDecoratorMap, RenderingFormatter} from './rendering_formatter'; @@ -32,7 +33,8 @@ import {FileToWrite, getImportRewriter, stripExtension} from './utils'; export class Renderer { constructor( private host: NgccReflectionHost, private srcFormatter: RenderingFormatter, - private fs: FileSystem, private logger: Logger, private bundle: EntryPointBundle) {} + private fs: FileSystem, private logger: Logger, private bundle: EntryPointBundle, + private tsConfig: ParsedConfiguration|null = null) {} renderProgram( decorationAnalyses: DecorationAnalyses, switchMarkerAnalyses: SwitchMarkerAnalyses, @@ -82,8 +84,9 @@ export class Renderer { this.srcFormatter.removeDecorators(outputText, decoratorsToRemove); compiledFile.compiledClasses.forEach(clazz => { - const renderedDefinition = - this.renderDefinitions(compiledFile.sourceFile, clazz, importManager); + const renderedDefinition = this.renderDefinitions( + compiledFile.sourceFile, clazz, importManager, + !!this.tsConfig?.options.annotateForClosureCompiler); this.srcFormatter.addDefinitions(outputText, clazz, renderedDefinition); const renderedStatements = @@ -160,12 +163,14 @@ export class Renderer { * @param imports An object that tracks the imports that are needed by the rendered definitions. */ private renderDefinitions( - sourceFile: ts.SourceFile, compiledClass: CompiledClass, imports: ImportManager): string { + sourceFile: ts.SourceFile, compiledClass: CompiledClass, imports: ImportManager, + annotateForClosureCompiler: boolean): string { const name = this.host.getInternalNameOfClass(compiledClass.declaration); - const statements: Statement[] = compiledClass.compilation.map(c => { - return createAssignmentStatement(name, c.name, c.initializer); + const statements: Statement[][] = compiledClass.compilation.map(c => { + return createAssignmentStatements( + name, c.name, c.initializer, annotateForClosureCompiler ? '* @nocollapse ' : undefined); }); - return this.renderStatements(sourceFile, statements, imports); + return this.renderStatements(sourceFile, Array.prototype.concat.apply([], statements), imports); } /** @@ -208,8 +213,16 @@ export function renderConstantPool( * compiled decorator to be applied to the class. * @param analyzedClass The info about the class whose statement we want to create. */ -function createAssignmentStatement( - receiverName: ts.DeclarationName, propName: string, initializer: Expression): Statement { +function createAssignmentStatements( + receiverName: ts.DeclarationName, propName: string, initializer: Expression, + leadingComment?: string): Statement[] { const receiver = new WrappedNodeExpr(receiverName); - return new WritePropExpr(receiver, propName, initializer).toStmt(); + const statements = + [new WritePropExpr( + receiver, propName, initializer, /* type */ undefined, /* sourceSpan */ undefined) + .toStmt()]; + if (leadingComment !== undefined) { + statements.unshift(new CommentStmt(leadingComment, true)); + } + return statements; } diff --git a/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.ts b/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.ts index 4cfeadeb05..6c642de354 100644 --- a/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/rendering/source_maps.ts b/packages/compiler-cli/ngcc/src/rendering/source_maps.ts index 3106a8e517..ec1b64c1f4 100644 --- a/packages/compiler-cli/ngcc/src/rendering/source_maps.ts +++ b/packages/compiler-cli/ngcc/src/rendering/source_maps.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,9 +10,8 @@ import MagicString from 'magic-string'; import * as ts from 'typescript'; import {absoluteFrom, absoluteFromSourceFile, basename, FileSystem} from '../../../src/ngtsc/file_system'; -import {Logger} from '../logging/logger'; -import {RawSourceMap} from '../sourcemaps/raw_source_map'; -import {SourceFileLoader} from '../sourcemaps/source_file_loader'; +import {Logger} from '../../../src/ngtsc/logging'; +import {RawSourceMap, SourceFileLoader} from '../../../src/ngtsc/sourcemaps'; import {FileToWrite} from './utils'; @@ -36,14 +35,22 @@ export function renderSourceAndMap( {file: generatedPath, source: generatedPath, includeContent: true}); try { - const loader = new SourceFileLoader(fs, logger); + const loader = new SourceFileLoader(fs, logger, {}); const generatedFile = loader.loadSourceFile( generatedPath, generatedContent, {map: generatedMap, mapPath: generatedMapPath}); const rawMergedMap: RawSourceMap = generatedFile.renderFlattenedSourceMap(); const mergedMap = fromObject(rawMergedMap); - if (generatedFile.sources[0]?.inline) { - // The input source-map was inline so make the output one inline too. + const firstSource = generatedFile.sources[0]; + if (firstSource && (firstSource.rawMap !== null || !sourceFile.isDeclarationFile) && + firstSource.inline) { + // We render an inline source map if one of: + // * there was no input source map and this is not a typings file; + // * the input source map exists and was inline. + // + // We do not generate inline source maps for typings files unless there explicitly was one in + // the input file because these inline source maps can be very large and it impacts on the + // performance of IDEs that need to read them to provide intellisense etc. return [ {path: generatedPath, contents: `${generatedFile.contents}\n${mergedMap.toComment()}`} ]; diff --git a/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.ts b/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.ts index 8051f79c15..0a696b0e0d 100644 --- a/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.ts +++ b/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/rendering/utils.ts b/packages/compiler-cli/ngcc/src/rendering/utils.ts index 9b9d25303e..cd647b9704 100644 --- a/packages/compiler-cli/ngcc/src/rendering/utils.ts +++ b/packages/compiler-cli/ngcc/src/rendering/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/utils.ts b/packages/compiler-cli/ngcc/src/utils.ts index 507a880ff2..caaea704b2 100644 --- a/packages/compiler-cli/ngcc/src/utils.ts +++ b/packages/compiler-cli/ngcc/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.ts b/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.ts index 12c1ccfcea..9ce069d9a3 100644 --- a/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.ts +++ b/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.ts b/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.ts index 68917d41ff..872f180cef 100644 --- a/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.ts +++ b/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -63,7 +63,7 @@ export function cleanOutdatedPackages(fileSystem: FileSystem, entryPoints: Entry const packagesToClean = new Set(); for (const entryPoint of entryPoints) { if (needsCleaning(entryPoint.packageJson)) { - packagesToClean.add(entryPoint.package); + packagesToClean.add(entryPoint.packagePath); } } diff --git a/packages/compiler-cli/ngcc/src/writing/cleaning/utils.ts b/packages/compiler-cli/ngcc/src/writing/cleaning/utils.ts index 2afece08c6..6b2c49538b 100644 --- a/packages/compiler-cli/ngcc/src/writing/cleaning/utils.ts +++ b/packages/compiler-cli/ngcc/src/writing/cleaning/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/writing/file_writer.ts b/packages/compiler-cli/ngcc/src/writing/file_writer.ts index 9b2e27faf4..859776a690 100644 --- a/packages/compiler-cli/ngcc/src/writing/file_writer.ts +++ b/packages/compiler-cli/ngcc/src/writing/file_writer.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.ts b/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.ts index 22263d456b..98564638c9 100644 --- a/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.ts +++ b/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, dirname, FileSystem} from '../../../src/ngtsc/file_system'; -import {Logger} from '../logging/logger'; +import {Logger} from '../../../src/ngtsc/logging'; import {EntryPoint, EntryPointJsonProperty} from '../packages/entry_point'; import {EntryPointBundle} from '../packages/entry_point_bundle'; import {FileToWrite} from '../rendering/utils'; @@ -49,8 +49,12 @@ export class InPlaceFileWriter implements FileWriter { `Tried to write ${ backPath} with an ngcc back up file but it already exists so not writing, nor backing up, ${ file.path}.\n` + - `This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` + - `You should check other entry-points in this package and set up a config to ignore any that you are not using.`); + `This error may be caused by one of the following:\n` + + `* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` + + ` In this case, you should check other entry-points in this package\n` + + ` and set up a config to ignore any that you are not using.\n` + + `* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` + + ` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.`); } } else { if (this.fs.exists(file.path)) { diff --git a/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.ts b/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.ts index d6cfd344ea..d2139e4914 100644 --- a/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.ts +++ b/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.ts @@ -1,14 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFromSourceFile, AbsoluteFsPath, dirname, FileSystem, join, relative} from '../../../src/ngtsc/file_system'; +import {Logger} from '../../../src/ngtsc/logging'; import {isDtsPath} from '../../../src/ngtsc/util/src/typescript'; -import {Logger} from '../logging/logger'; import {EntryPoint, EntryPointJsonProperty} from '../packages/entry_point'; import {EntryPointBundle} from '../packages/entry_point_bundle'; import {FileToWrite} from '../rendering/utils'; @@ -39,9 +39,9 @@ export class NewEntryPointFileWriter extends InPlaceFileWriter { formatProperties: EntryPointJsonProperty[]) { // The new folder is at the root of the overall package const entryPoint = bundle.entryPoint; - const ngccFolder = join(entryPoint.package, NGCC_DIRECTORY); - this.copyBundle(bundle, entryPoint.package, ngccFolder); - transformedFiles.forEach(file => this.writeFile(file, entryPoint.package, ngccFolder)); + const ngccFolder = join(entryPoint.packagePath, NGCC_DIRECTORY); + this.copyBundle(bundle, entryPoint.packagePath, ngccFolder); + transformedFiles.forEach(file => this.writeFile(file, entryPoint.packagePath, ngccFolder)); this.updatePackageJson(entryPoint, formatProperties, ngccFolder); } @@ -59,7 +59,7 @@ export class NewEntryPointFileWriter extends InPlaceFileWriter { // Revert the transformed files. for (const filePath of transformedFilePaths) { - this.revertFile(filePath, entryPoint.package); + this.revertFile(filePath, entryPoint.packagePath); } // Revert any changes to `package.json`. @@ -118,7 +118,7 @@ export class NewEntryPointFileWriter extends InPlaceFileWriter { const oldFormatProp = formatProperties[0]!; const oldFormatPath = packageJson[oldFormatProp]!; const oldAbsFormatPath = join(entryPoint.path, oldFormatPath); - const newAbsFormatPath = join(ngccFolder, relative(entryPoint.package, oldAbsFormatPath)); + const newAbsFormatPath = join(ngccFolder, relative(entryPoint.packagePath, oldAbsFormatPath)); const newFormatPath = relative(entryPoint.path, newAbsFormatPath); // Update all properties in `package.json` (both in memory and on disk). diff --git a/packages/compiler-cli/ngcc/src/writing/package_json_updater.ts b/packages/compiler-cli/ngcc/src/writing/package_json_updater.ts index bf36458300..744581abef 100644 --- a/packages/compiler-cli/ngcc/src/writing/package_json_updater.ts +++ b/packages/compiler-cli/ngcc/src/writing/package_json_updater.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/BUILD.bazel b/packages/compiler-cli/ngcc/test/BUILD.bazel index 9e603dcfcf..6b789eaf86 100644 --- a/packages/compiler-cli/ngcc/test/BUILD.bazel +++ b/packages/compiler-cli/ngcc/test/BUILD.bazel @@ -12,12 +12,14 @@ ts_library( ), deps = [ "//packages/compiler", + "//packages/compiler-cli", "//packages/compiler-cli/ngcc", "//packages/compiler-cli/ngcc/test/helpers", "//packages/compiler-cli/src/ngtsc/diagnostics", "//packages/compiler-cli/src/ngtsc/file_system", "//packages/compiler-cli/src/ngtsc/file_system/testing", "//packages/compiler-cli/src/ngtsc/imports", + "//packages/compiler-cli/src/ngtsc/logging/testing", "//packages/compiler-cli/src/ngtsc/partial_evaluator", "//packages/compiler-cli/src/ngtsc/reflection", "//packages/compiler-cli/src/ngtsc/testing", @@ -56,6 +58,7 @@ ts_library( "//packages/compiler-cli/ngcc/test/helpers", "//packages/compiler-cli/src/ngtsc/file_system", "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/src/ngtsc/logging/testing", "//packages/compiler-cli/src/ngtsc/testing", "//packages/compiler-cli/test/helpers", "@npm//rxjs", @@ -63,13 +66,14 @@ ts_library( ], ) -# As of version 10, the release packages do not contain esm2015 output anymore. The ngcc -# integration tests intend to test ES5 features though, so we downlevel the flat esm2015 -# file to ES5 using Babel. We can then link that into the mock file system as if the Angular -# core package is still built with previous APF versions where esm5 output was shipped. This -# allows us to ensure that ngcc properly processes libraries with esm5 output. **Note**: We are -# using Babel instead of `tsc` as TypeScript does not allow us to downlevel the file without -# setting the module resolution to either `amd` or `system`. We want to preserve ES modules. +# As of version 10, the release packages do not contain esm5 output anymore. The ngcc integration +# tests intend to test ES5 features though, so we downlevel the flat esm2015 file to ES5 using +# Babel. We can then link that into the mock file system as if the Angular core package is still +# built with previous APF versions where esm5 output was shipped. This allows us to ensure that ngcc +# properly processes libraries with esm5 output. +# **Note**: We are using Babel instead of `tsc` as TypeScript does not allow us to downlevel the +# file without setting the module resolution to either `amd` or `system`. We want to preserve ES +# modules. babel( name = "fesm5_angular_core", outs = ["fesm5_angular_core.js"], diff --git a/packages/compiler-cli/ngcc/test/analysis/decoration_analyzer_spec.ts b/packages/compiler-cli/ngcc/test/analysis/decoration_analyzer_spec.ts index 014eb81d9a..51419b1056 100644 --- a/packages/compiler-cli/ngcc/test/analysis/decoration_analyzer_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/decoration_analyzer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import * as ts from 'typescript'; import {FatalDiagnosticError, makeDiagnostic} from '../../../src/ngtsc/diagnostics'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassDeclaration, Decorator} from '../../../src/ngtsc/reflection'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence} from '../../../src/ngtsc/transform'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; @@ -18,7 +19,6 @@ import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registr import {CompiledClass, DecorationAnalyses} from '../../src/analysis/types'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {Migration, MigrationHost} from '../../src/migrations/migration'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; type DecoratorHandlerWithResolve = DecoratorHandler&{ diff --git a/packages/compiler-cli/ngcc/test/analysis/migration_host_spec.ts b/packages/compiler-cli/ngcc/test/analysis/migration_host_spec.ts index 3598496c11..2e08a9d7f2 100644 --- a/packages/compiler-cli/ngcc/test/analysis/migration_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/migration_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,6 +11,7 @@ import * as ts from 'typescript'; import {makeDiagnostic} from '../../../src/ngtsc/diagnostics'; import {absoluteFrom} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassDeclaration, Decorator, isNamedClassDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, TraitState} from '../../../src/ngtsc/transform'; @@ -20,7 +21,6 @@ import {NgccTraitCompiler} from '../../src/analysis/ngcc_trait_compiler'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {createComponentDecorator} from '../../src/migrations/utils'; import {EntryPointBundle} from '../../src/packages/entry_point_bundle'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/analysis/module_with_providers_analyzer_spec.ts b/packages/compiler-cli/ngcc/test/analysis/module_with_providers_analyzer_spec.ts index 51ca221319..5280fcb551 100644 --- a/packages/compiler-cli/ngcc/test/analysis/module_with_providers_analyzer_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/module_with_providers_analyzer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,14 +9,14 @@ import * as ts from 'typescript'; import {absoluteFrom, AbsoluteFsPath, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; -import {isNamedClassDeclaration} from '../../../src/ngtsc/reflection'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; +import {isNamedClassDeclaration, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadTestFiles} from '../../../test/helpers'; import {ModuleWithProvidersAnalyses, ModuleWithProvidersAnalyzer} from '../../src/analysis/module_with_providers_analyzer'; import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registry'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {BundleProgram} from '../../src/packages/bundle_program'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { @@ -41,6 +41,7 @@ runInEachFileSystem(() => { export * from './no-providers'; export * from './module'; export * from './delegated'; + export * from './iife-wrapped'; ` }, { @@ -309,6 +310,25 @@ runInEachFileSystem(() => { name: _('/node_modules/some-library/index.d.ts'), contents: 'export declare class LibraryModule {}' }, + { + name: _('/node_modules/test-package/src/iife-wrapped.js'), + contents: ` + import {NgModule} from './core'; + let WrappedClass = (() => { + var WrappedClass_Alias; + let AdjacentWrappedClass = WrappedClass_Alias = class InnerWrappedClass { + static forRoot() { + return { + ngModule: WrappedClass_Alias, + providers: [] + }; + } + }; + AdjacentWrappedClass = WrappedClass_Alias = __decorate([], AdjacentWrappedClass); + return AdjacentWrappedClass; + })(); + export {WrappedClass};` + }, ]; const TEST_DTS_PROGRAM: TestFile[] = [ { @@ -320,6 +340,7 @@ runInEachFileSystem(() => { export * from './no-providers'; export * from './module'; export * from './delegated'; + export * from './iife-wrapped'; ` }, { @@ -453,6 +474,14 @@ runInEachFileSystem(() => { name: _('/node_modules/some-library/index.d.ts'), contents: 'export declare class LibraryModule {}' }, + { + name: _('/node_modules/test-package/typings/iife-wrapped.d.ts'), + contents: ` + import {ModuleWithProviders} from './core'; + export declare class WrappedClass { + static forRoot(): ModuleWithProviders; + }` + }, ]; loadTestFiles(TEST_PROGRAM); loadTestFiles(TEST_DTS_PROGRAM); @@ -613,6 +642,12 @@ runInEachFileSystem(() => { ]); }); + it('should find declarations that reference an aliased IIFE wrapped class', () => { + const analysis = getAnalysisDescription( + analyses, _('/node_modules/test-package/typings/iife-wrapped.d.ts')); + expect(analysis).toContain(['WrappedClass.forRoot', 'WrappedClass', null]); + }); + function getAnalysisDescription( analyses: ModuleWithProvidersAnalyses, fileName: AbsoluteFsPath) { const file = getSourceFileOrError(dtsProgram.program, fileName); @@ -626,7 +661,9 @@ runInEachFileSystem(() => { } function getName(node: ts.Declaration|null): string { - return node && isNamedClassDeclaration(node) ? `${node.name.text}.` : ''; + return node && (isNamedVariableDeclaration(node) || isNamedClassDeclaration(node)) ? + `${node.name.text}.` : + ''; } }); }); diff --git a/packages/compiler-cli/ngcc/test/analysis/ngcc_trait_compiler_spec.ts b/packages/compiler-cli/ngcc/test/analysis/ngcc_trait_compiler_spec.ts index 776be92f05..6e232ea856 100644 --- a/packages/compiler-cli/ngcc/test/analysis/ngcc_trait_compiler_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/ngcc_trait_compiler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import {ErrorCode, makeDiagnostic, ngErrorCode} from '../../../src/ngtsc/diagnostics'; import {absoluteFrom} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassDeclaration, Decorator, isNamedClassDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, TraitState} from '../../../src/ngtsc/transform'; @@ -17,7 +18,6 @@ import {NgccTraitCompiler} from '../../src/analysis/ngcc_trait_compiler'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {createComponentDecorator} from '../../src/migrations/utils'; import {EntryPointBundle} from '../../src/packages/entry_point_bundle'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/analysis/private_declarations_analyzer_spec.ts b/packages/compiler-cli/ngcc/test/analysis/private_declarations_analyzer_spec.ts index ec9ed520bc..de4acb6483 100644 --- a/packages/compiler-cli/ngcc/test/analysis/private_declarations_analyzer_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/private_declarations_analyzer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,12 +10,12 @@ import * as ts from 'typescript'; import {absoluteFrom, AbsoluteFsPath} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {Reference} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadTestFiles} from '../../../test/helpers/src/mock_file_loading'; import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registry'; import {PrivateDeclarationsAnalyzer} from '../../src/analysis/private_declarations_analyzer'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/analysis/references_registry_spec.ts b/packages/compiler-cli/ngcc/test/analysis/references_registry_spec.ts index 83d56e5a9a..9bb668ae08 100644 --- a/packages/compiler-cli/ngcc/test/analysis/references_registry_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/references_registry_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/analysis/switch_marker_analyzer_spec.ts b/packages/compiler-cli/ngcc/test/analysis/switch_marker_analyzer_spec.ts index 403877d50c..d0dfc62b9a 100644 --- a/packages/compiler-cli/ngcc/test/analysis/switch_marker_analyzer_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/switch_marker_analyzer_spec.ts @@ -1,16 +1,16 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {SwitchMarkerAnalyzer} from '../../src/analysis/switch_marker_analyzer'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { @@ -82,7 +82,7 @@ runInEachFileSystem(() => { 'test', 'esm2015', false, [_('/node_modules/test/entrypoint.js')]); const program = bundle.src.program; const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle.src); - const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.package); + const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath); const analysis = analyzer.analyzeProgram(program); const entrypoint = getSourceFileOrError(program, _('/node_modules/test/entrypoint.js')); @@ -113,7 +113,7 @@ runInEachFileSystem(() => { 'test', 'esm2015', false, [_('/node_modules/test/entrypoint.js')]); const program = bundle.src.program; const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle.src); - const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.package); + const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath); const analysis = analyzer.analyzeProgram(program); const x = getSourceFileOrError(program, _('/node_modules/other/x.js')); @@ -126,7 +126,7 @@ runInEachFileSystem(() => { 'test', 'esm2015', false, [_('/node_modules/test/entrypoint.js')]); const program = bundle.src.program; const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle.src); - const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.package); + const analyzer = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath); const analysis = analyzer.analyzeProgram(program); const x = getSourceFileOrError(program, _('/node_modules/test/node_modules/nested/e.js')); diff --git a/packages/compiler-cli/ngcc/test/analysis/util_spec.ts b/packages/compiler-cli/ngcc/test/analysis/util_spec.ts index 048deb0efe..6850474bd8 100644 --- a/packages/compiler-cli/ngcc/test/analysis/util_spec.ts +++ b/packages/compiler-cli/ngcc/test/analysis/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/dependencies/commonjs_dependency_host_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/commonjs_dependency_host_spec.ts index 9244efe96d..51ef70995d 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/commonjs_dependency_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/commonjs_dependency_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/dependencies/dependency_resolver_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/dependency_resolver_spec.ts index d418618d19..154c3a7942 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/dependency_resolver_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/dependency_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import {DepGraph} from 'dependency-graph'; import {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, relativeFrom} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {DependencyInfo, EntryPointWithDependencies} from '../../src/dependencies/dependency_host'; import {DependencyResolver, SortedEntryPointsInfo} from '../../src/dependencies/dependency_resolver'; import {DtsDependencyHost} from '../../src/dependencies/dts_dependency_host'; @@ -17,7 +18,6 @@ import {EsmDependencyHost} from '../../src/dependencies/esm_dependency_host'; import {ModuleResolver} from '../../src/dependencies/module_resolver'; import {NgccConfiguration} from '../../src/packages/configuration'; import {EntryPoint} from '../../src/packages/entry_point'; -import {MockLogger} from '../helpers/mock_logger'; interface DepMap { @@ -60,52 +60,63 @@ runInEachFileSystem(() => { first = { name: 'first', path: _('/first'), - package: _('/first'), + packageName: 'first', + packagePath: _('/first'), packageJson: {esm5: './index.js'}, + typings: _('/first/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/first/index.d.ts'), } as EntryPoint; second = { + name: 'second', path: _('/second'), - package: _('/second'), + packageName: 'second', + packagePath: _('/second'), packageJson: {esm2015: './sub/index.js'}, + typings: _('/second/sub/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/second/sub/index.d.ts'), } as EntryPoint; third = { + name: 'third', path: _('/third'), - package: _('/third'), + packageName: 'third', + packagePath: _('/third'), packageJson: {fesm5: './index.js'}, + typings: _('/third/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/third/index.d.ts'), } as EntryPoint; fourth = { + name: 'fourth', path: _('/fourth'), - package: _('/fourth'), + packageName: 'fourth', + packagePath: _('/fourth'), packageJson: {fesm2015: './sub2/index.js'}, + typings: _('/fourth/sub2/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/fourth/sub2/index.d.ts'), } as EntryPoint; fifth = { + name: 'fifth', path: _('/fifth'), - package: _('/fifth'), + packageName: 'fifth', + packagePath: _('/fifth'), packageJson: {module: './index.js'}, + typings: _('/fifth/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/fifth/index.d.ts'), } as EntryPoint; sixthIgnoreMissing = { + name: 'sixth', path: _('/sixth'), - package: _('/sixth'), + packageName: 'sixth', + packagePath: _('/sixth'), packageJson: {module: './index.js'}, + typings: _('/sixth/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: true, - typings: _('/sixth/index.d.ts'), } as EntryPoint; dependencies = { @@ -269,7 +280,7 @@ runInEachFileSystem(() => { it('should not log a warning for ignored deep imports', () => { spyOn(host, 'collectDependencies').and.callFake(createFakeComputeDependencies({ - [_('/project/node_modules/test-package/index.js')]: { + [_('/project/node_modules/test-package/test-entry-point/index.js')]: { resolved: [], missing: [], deepImports: [ @@ -279,7 +290,10 @@ runInEachFileSystem(() => { }, })); spyOn(dtsHost, 'collectDependencies').and.callFake(createFakeComputeDependencies({ - [_('/project/node_modules/test-package/index.d.ts')]: {resolved: [], missing: []}, + [_('/project/node_modules/test-package/test-entry-point/index.d.ts')]: { + resolved: [], + missing: [], + }, })); // Setup the configuration to ignore deep imports that contain either "deep/" or "two". fs.ensureDir(_('/project')); @@ -289,20 +303,21 @@ runInEachFileSystem(() => { config = new NgccConfiguration(fs, _('/project')); resolver = new DependencyResolver(fs, logger, config, {esm5: host, esm2015: host}, dtsHost); const testEntryPoint = { - name: 'test-package', - path: _('/project/node_modules/test-package'), - package: _('/project/node_modules/test-package'), + name: 'test-package/test-entry-point', + path: _('/project/node_modules/test-package/test-entry-point'), + packageName: 'test-package', + packagePath: _('/project/node_modules/test-package'), packageJson: {esm5: './index.js'}, + typings: _('/project/node_modules/test-package/test-entry-point/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, - typings: _('/project/node_modules/test-package/index.d.ts'), } as EntryPoint; const result = resolver.sortEntryPointsByDependency( getEntryPointsWithDeps(resolver, [testEntryPoint])); expect(result.entryPoints).toEqual([testEntryPoint]); expect(logger.logs.warn).toEqual([[ - `Entry point 'test-package' contains deep imports into '${ + `Entry point 'test-package/test-entry-point' contains deep imports into '${ _('/project/node_modules/deeper/one')}'. This is probably not a problem, but may cause the compilation of entry points to be out of order.` ]]); }); diff --git a/packages/compiler-cli/ngcc/test/dependencies/dts_dependency_host_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/dts_dependency_host_spec.ts index 48a9623934..291ae50e92 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/dts_dependency_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/dts_dependency_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -44,6 +44,15 @@ runInEachFileSystem(() => { expect(dependencies.has(_('/node_modules/lib-1/sub-1'))).toBe(true); }); + it('should ignore synthetic type imports', () => { + const {dependencies, missing, deepImports} = createDependencyInfo(); + host.collectDependencies( + _('/external/synthetic-type-imports/index.d.ts'), {dependencies, missing, deepImports}); + expect(dependencies.size).toBe(0); + expect(missing.size).toBe(0); + expect(deepImports.size).toBe(0); + }); + it('should resolve all the external re-exports of the source file', () => { const {dependencies, missing, deepImports} = createDependencyInfo(); host.collectDependencies( @@ -165,6 +174,18 @@ runInEachFileSystem(() => { }, {name: _('/external/imports/package.json'), contents: '{"esm2015": "./index.js"}'}, {name: _('/external/imports/index.metadata.json'), contents: 'MOCK METADATA'}, + { + name: _('/external/synthetic-type-imports/index.d.ts'), + contents: `const function foo(): Array;` + }, + { + name: _('/external/synthetic-type-imports/package.json'), + contents: '{"esm2015": "./index.js"}' + }, + { + name: _('/external/synthetic-type-imports/index.metadata.json'), + contents: 'MOCK METADATA' + }, { name: _('/external/re-exports/index.d.ts'), contents: `export {X} from 'lib-1';\nexport {Y} from 'lib-1/sub-1';` diff --git a/packages/compiler-cli/ngcc/test/dependencies/esm_dependency_host_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/esm_dependency_host_spec.ts index b0c79838d8..f9e80c2b4d 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/esm_dependency_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/esm_dependency_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,12 +27,12 @@ runInEachFileSystem(() => { }); describe('collectDependencies()', () => { - it('should not generate a TS AST if the source does not contain any imports or re-exports', + it('should not try to extract import paths if the source does not contain any imports or re-exports', () => { - spyOn(ts, 'createSourceFile'); + const extractImportsSpy = spyOn(host as any, 'extractImports'); host.collectDependencies( _('/no/imports/or/re-exports/index.js'), createDependencyInfo()); - expect(ts.createSourceFile).not.toHaveBeenCalled(); + expect(extractImportsSpy).not.toHaveBeenCalled(); }); it('should resolve all the external imports of the source file', () => { @@ -57,6 +57,17 @@ runInEachFileSystem(() => { expect(dependencies.has(_('/node_modules/lib-1/sub-1'))).toBe(true); }); + it('should resolve all the external dynamic imports of the source file', () => { + const {dependencies, missing, deepImports} = createDependencyInfo(); + host.collectDependencies( + _('/external/dynamic/index.js'), {dependencies, missing, deepImports}); + expect(dependencies.size).toBe(2); + expect(missing.size).toBe(0); + expect(deepImports.size).toBe(0); + expect(dependencies.has(_('/node_modules/lib-1'))).toBe(true); + expect(dependencies.has(_('/node_modules/lib-1/sub-1'))).toBe(true); + }); + it('should capture missing external imports', () => { const {dependencies, missing, deepImports} = createDependencyInfo(); host.collectDependencies( @@ -180,13 +191,20 @@ runInEachFileSystem(() => { {name: _('/no/imports/or/re-exports/index.metadata.json'), contents: 'MOCK METADATA'}, { name: _('/external/imports/index.js'), - contents: `import {X} from 'lib-1';\nimport {Y} from 'lib-1/sub-1';` + contents: `import {\n X\n} from 'lib-1';\nimport {Y, Z} from 'lib-1/sub-1';` }, {name: _('/external/imports/package.json'), contents: '{"esm2015": "./index.js"}'}, {name: _('/external/imports/index.metadata.json'), contents: 'MOCK METADATA'}, + { + name: _('/external/dynamic/index.js'), + contents: + `async function foo() { await const x = import('lib-1');\n const promise = import('lib-1/sub-1'); }` + }, + {name: _('/external/dynamic/package.json'), contents: '{"esm2015": "./index.js"}'}, + {name: _('/external/dynamic/index.metadata.json'), contents: 'MOCK METADATA'}, { name: _('/external/re-exports/index.js'), - contents: `export {X} from 'lib-1';\nexport {Y} from 'lib-1/sub-1';` + contents: `export {X} from 'lib-1';\nexport {\n Y,\n Z\n} from 'lib-1/sub-1';` }, {name: _('/external/re-exports/package.json'), contents: '{"esm2015": "./index.js"}'}, {name: _('/external/re-exports/index.metadata.json'), contents: 'MOCK METADATA'}, @@ -288,20 +306,44 @@ runInEachFileSystem(() => { describe('hasImportOrReexportStatements', () => { it('should return true if there is an import statement', () => { expect(hasImportOrReexportStatements('import {X} from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('import {X} from \'some/x\';')).toBe(true); expect(hasImportOrReexportStatements('import * as X from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('import * as X from \'some/x\';')).toBe(true); expect(hasImportOrReexportStatements('blah blah\n\n import {X} from "some/x";\nblah blah')) .toBe(true); + expect( + hasImportOrReexportStatements('blah blah\n\n import {X} from \'some/x\';\nblah blah')) + .toBe(true); expect(hasImportOrReexportStatements('\t\timport {X} from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('\t\timport {X} from \'some/x\';')).toBe(true); + expect(hasImportOrReexportStatements('\t\timport {\n X,\n Y\n} from "some/x";')) + .toBe(true); + expect(hasImportOrReexportStatements('\t\timport {\n X,\n Y\n} from \'some/x\';')) + .toBe(true); + expect(hasImportOrReexportStatements('\t\timport "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('\t\timport \'some/x\';')).toBe(true); }); + it('should return true if there is a re-export statement', () => { expect(hasImportOrReexportStatements('export {X} from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('export {X} from \'some/x\';')).toBe(true); expect(hasImportOrReexportStatements('blah blah\n\n export {X} from "some/x";\nblah blah')) .toBe(true); + expect( + hasImportOrReexportStatements('blah blah\n\n export {X} from \'some/x\';\nblah blah')) + .toBe(true); expect(hasImportOrReexportStatements('\t\texport {X} from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('\t\texport {X} from \'some/x\';')).toBe(true); + expect(hasImportOrReexportStatements('export {\n X,\n Y\n} from "some/x";')).toBe(true); + expect(hasImportOrReexportStatements('export {\n X,\n Y\n} from \'some/x\';')).toBe(true); expect(hasImportOrReexportStatements( - 'blah blah\n\n export * from "@angular/core;\nblah blah')) + 'blah blah\n\n export * from "@angular/core";\nblah blah')) + .toBe(true); + expect(hasImportOrReexportStatements( + 'blah blah\n\n export * from \'@angular/core\';\nblah blah')) .toBe(true); }); + it('should return false if there is no import nor re-export statement', () => { expect(hasImportOrReexportStatements('blah blah')).toBe(false); expect(hasImportOrReexportStatements('export function moo() {}')).toBe(false); diff --git a/packages/compiler-cli/ngcc/test/dependencies/module_resolver_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/module_resolver_spec.ts index 503c157161..a41b16efb4 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/module_resolver_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/module_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -257,6 +257,16 @@ runInEachFileSystem(() => { .toEqual(new ResolvedExternalModule(_('/dist/package-4/secondary-entry-point'))); }); }); + + describe('with mapped path relative paths', () => { + it('should resolve to a relative file if found via a paths mapping', () => { + const resolver = new ModuleResolver( + getFileSystem(), {baseUrl: '/', paths: {'mapped/*': ['libs/local-package/*']}}); + + expect(resolver.resolveModuleImport('mapped/x', _('/libs/local-package/index.js'))) + .toEqual(new ResolvedRelativeModule(_('/libs/local-package/x.js'))); + }); + }); }); }); }); diff --git a/packages/compiler-cli/ngcc/test/dependencies/umd_dependency_host_spec.ts b/packages/compiler-cli/ngcc/test/dependencies/umd_dependency_host_spec.ts index b736790fdd..77a80abc9a 100644 --- a/packages/compiler-cli/ngcc/test/dependencies/umd_dependency_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/dependencies/umd_dependency_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/entry_point_finder/directory_walker_entry_point_finder_spec.ts b/packages/compiler-cli/ngcc/test/entry_point_finder/directory_walker_entry_point_finder_spec.ts index 7f924bc1e2..a3ecc66be6 100644 --- a/packages/compiler-cli/ngcc/test/entry_point_finder/directory_walker_entry_point_finder_spec.ts +++ b/packages/compiler-cli/ngcc/test/entry_point_finder/directory_walker_entry_point_finder_spec.ts @@ -1,23 +1,24 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, relative} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {DependencyResolver} from '../../src/dependencies/dependency_resolver'; import {DtsDependencyHost} from '../../src/dependencies/dts_dependency_host'; import {EsmDependencyHost} from '../../src/dependencies/esm_dependency_host'; import {ModuleResolver} from '../../src/dependencies/module_resolver'; import {DirectoryWalkerEntryPointFinder} from '../../src/entry_point_finder/directory_walker_entry_point_finder'; -import {NgccConfiguration} from '../../src/packages/configuration'; +import {EntryPointCollector} from '../../src/entry_point_finder/entry_point_collector'; +import {NgccConfiguration, ProcessedNgccPackageConfig} from '../../src/packages/configuration'; import {EntryPoint} from '../../src/packages/entry_point'; import {EntryPointManifest, EntryPointManifestFile} from '../../src/packages/entry_point_manifest'; import {PathMappings} from '../../src/path_mappings'; -import {MockLogger} from '../helpers/mock_logger'; runInEachFileSystem(() => { describe('DirectoryWalkerEntryPointFinder', () => { @@ -25,6 +26,7 @@ runInEachFileSystem(() => { let resolver: DependencyResolver; let logger: MockLogger; let config: NgccConfiguration; + let collector: EntryPointCollector; let manifest: EntryPointManifest; let _Abs: typeof absoluteFrom; @@ -37,6 +39,7 @@ runInEachFileSystem(() => { config = new NgccConfiguration(fs, _Abs('/')); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); manifest = new EntryPointManifest(fs, config, logger); + collector = new EntryPointCollector(fs, config, logger, resolver); }); describe('findEntryPoints()', () => { @@ -50,7 +53,7 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, 'common'), 'testing', ['common']), ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['common', 'common'], @@ -71,7 +74,7 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, '@angular/common'), 'testing', ['@angular/common']), ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['@angular/common', '@angular/common'], @@ -84,7 +87,7 @@ runInEachFileSystem(() => { it('should return an empty array if there are no packages', () => { fs.ensureDir(_Abs('/no_packages/node_modules/should_not_be_found')); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/no_packages/node_modules'), undefined); + logger, resolver, collector, manifest, _Abs('/no_packages/node_modules'), undefined); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); @@ -97,12 +100,56 @@ runInEachFileSystem(() => { }, ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/no_valid_entry_points/node_modules'), + logger, resolver, collector, manifest, _Abs('/no_valid_entry_points/node_modules'), undefined); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); + it('should not include ignored entry-points', () => { + const basePath = _Abs('/project/node_modules'); + const finder = new DirectoryWalkerEntryPointFinder( + logger, resolver, collector, manifest, basePath, undefined); + + loadTestFiles(createPackage(basePath, 'some-package')); + spyOn(config, 'getPackageConfig') + .and.returnValue( + new ProcessedNgccPackageConfig(_Abs('/project/node_modules/some-package'), { + entryPoints: { + '.': {ignore: true}, + }, + })); + + const {entryPoints} = finder.findEntryPoints(); + expect(entryPoints).toEqual([]); + }); + + it('should look for sub-entry-points even if a containing entry-point is ignored', () => { + const basePath = _Abs('/project/node_modules'); + const finder = new DirectoryWalkerEntryPointFinder( + logger, resolver, collector, manifest, basePath, undefined); + + loadTestFiles([ + ...createPackage(basePath, 'some-package'), + ...createPackage(fs.resolve(basePath, 'some-package'), 'sub-entry-point-1'), + ...createPackage( + fs.resolve(basePath, 'some-package/sub-entry-point-1'), 'sub-entry-point-2'), + ]); + spyOn(config, 'getPackageConfig') + .and.returnValue( + new ProcessedNgccPackageConfig(_Abs('/project/node_modules/some-package'), { + entryPoints: { + './sub-entry-point-1': {ignore: true}, + }, + })); + + const {entryPoints} = finder.findEntryPoints(); + expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ + ['some-package', 'some-package'], + ['some-package', 'some-package/sub-entry-point-1/sub-entry-point-2'], + ]); + }); + it('should write an entry-point manifest file if none was found and basePath is `node_modules`', () => { const basePath = _Abs('/sub_entry_points/node_modules'); @@ -117,7 +164,7 @@ runInEachFileSystem(() => { spyOn(manifest, 'readEntryPointsUsingManifest').and.callThrough(); spyOn(manifest, 'writeEntryPointManifest').and.callThrough(); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); finder.findEntryPoints(); expect(manifest.readEntryPointsUsingManifest).toHaveBeenCalled(); expect(manifest.writeEntryPointManifest).toHaveBeenCalled(); @@ -138,7 +185,7 @@ runInEachFileSystem(() => { spyOn(manifest, 'readEntryPointsUsingManifest').and.callThrough(); spyOn(manifest, 'writeEntryPointManifest').and.callThrough(); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); finder.findEntryPoints(); expect(manifest.readEntryPointsUsingManifest).toHaveBeenCalled(); expect(manifest.writeEntryPointManifest).toHaveBeenCalled(); @@ -156,7 +203,7 @@ runInEachFileSystem(() => { {name: _Abs('/sub_entry_points/yarn.lock'), contents: 'MOCK LOCK FILE'}, ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); // Prime the manifest by calling findEntryPoints() once. finder.findEntryPoints(); @@ -185,8 +232,7 @@ runInEachFileSystem(() => { ...createPackage(_Abs('/dotted_folders/node_modules/'), '.common'), ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/dotted_folders/node_modules'), - undefined); + logger, resolver, collector, manifest, _Abs('/dotted_folders/node_modules'), undefined); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); @@ -197,7 +243,7 @@ runInEachFileSystem(() => { _Abs('/external/node_modules/common'), _Abs('/symlinked_folders/node_modules/common')); loadTestFiles(createPackage(_Abs('/external/node_modules'), 'common')); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/symlinked_folders/node_modules'), + logger, resolver, collector, manifest, _Abs('/symlinked_folders/node_modules'), undefined); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); @@ -209,7 +255,7 @@ runInEachFileSystem(() => { ...createPackage(_Abs('/nested_node_modules/node_modules/outer/node_modules'), 'inner'), ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/nested_node_modules/node_modules'), + logger, resolver, collector, manifest, _Abs('/nested_node_modules/node_modules'), undefined); const {entryPoints} = finder.findEntryPoints(); // Note that the `inner` entry-point is not part of the `outer` package @@ -228,9 +274,9 @@ runInEachFileSystem(() => { ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, _Abs('/nested_node_modules/node_modules'), + logger, resolver, collector, manifest, _Abs('/nested_node_modules/node_modules'), undefined); - const spy = spyOn(finder, 'walkDirectoryForPackages').and.callThrough(); + const spy = spyOn(collector, 'walkDirectoryForPackages').and.callThrough(); const {entryPoints} = finder.findEntryPoints(); expect(spy.calls.allArgs()).toEqual([ [_Abs(basePath)], @@ -251,8 +297,8 @@ runInEachFileSystem(() => { ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); - const spy = spyOn(finder, 'walkDirectoryForPackages').and.callThrough(); + logger, resolver, collector, manifest, basePath, undefined); + const spy = spyOn(collector, 'walkDirectoryForPackages').and.callThrough(); const {entryPoints} = finder.findEntryPoints(); expect(spy.calls.allArgs()).toEqual([ [_Abs(basePath)], @@ -275,8 +321,8 @@ runInEachFileSystem(() => { ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); - const spy = spyOn(finder, 'walkDirectoryForPackages').and.callThrough(); + logger, resolver, collector, manifest, basePath, undefined); + const spy = spyOn(collector, 'walkDirectoryForPackages').and.callThrough(); const {entryPoints} = finder.findEntryPoints(); expect(spy.calls.allArgs()).toEqual([ [_Abs(basePath)], @@ -295,7 +341,7 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, 'package/container'), 'entry-point-1'), ]); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, undefined); + logger, resolver, collector, manifest, basePath, undefined); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['package', 'package'], @@ -323,8 +369,9 @@ runInEachFileSystem(() => { const srcHost = new EsmDependencyHost(fs, new ModuleResolver(fs, pathMappings)); const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); + collector = new EntryPointCollector(fs, config, logger, resolver); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, pathMappings); + logger, resolver, collector, manifest, basePath, pathMappings); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['pkg1', 'pkg1'], @@ -352,7 +399,7 @@ runInEachFileSystem(() => { const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); const finder = new DirectoryWalkerEntryPointFinder( - fs, config, logger, resolver, manifest, basePath, pathMappings); + logger, resolver, collector, manifest, basePath, pathMappings); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['test', 'test'], @@ -409,7 +456,8 @@ runInEachFileSystem(() => { function dumpEntryPointPaths( basePath: AbsoluteFsPath, entryPoints: EntryPoint[]): [string, string][] { - return entryPoints.map(x => [relative(basePath, x.package), relative(basePath, x.path)]); + return entryPoints.map( + x => [relative(basePath, x.packagePath), relative(basePath, x.path)]); } }); }); diff --git a/packages/compiler-cli/ngcc/test/entry_point_finder/program_based_entry_point_finder_spec.ts b/packages/compiler-cli/ngcc/test/entry_point_finder/program_based_entry_point_finder_spec.ts new file mode 100644 index 0000000000..d48d7cf703 --- /dev/null +++ b/packages/compiler-cli/ngcc/test/entry_point_finder/program_based_entry_point_finder_spec.ts @@ -0,0 +1,170 @@ +/** + * @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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, relative} from '../../../src/ngtsc/file_system'; +import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; +import {readConfiguration} from '../../../src/perform_compile'; +import {loadTestFiles} from '../../../test/helpers'; + +import {DependencyResolver} from '../../src/dependencies/dependency_resolver'; +import {DtsDependencyHost} from '../../src/dependencies/dts_dependency_host'; +import {EsmDependencyHost} from '../../src/dependencies/esm_dependency_host'; +import {ModuleResolver} from '../../src/dependencies/module_resolver'; +import {EntryPointCollector} from '../../src/entry_point_finder/entry_point_collector'; +import {ProgramBasedEntryPointFinder} from '../../src/entry_point_finder/program_based_entry_point_finder'; +import {NgccConfiguration} from '../../src/packages/configuration'; +import {EntryPoint} from '../../src/packages/entry_point'; +import {EntryPointManifest} from '../../src/packages/entry_point_manifest'; + +runInEachFileSystem(() => { + describe('ProgramBasedEntryPointFinder', () => { + let fs: FileSystem; + let _Abs: typeof absoluteFrom; + let projectPath: AbsoluteFsPath; + let basePath: AbsoluteFsPath; + let angularNamespacePath: AbsoluteFsPath; + + beforeEach(() => { + fs = getFileSystem(); + _Abs = absoluteFrom; + projectPath = _Abs('/sub_entry_points'); + basePath = _Abs('/sub_entry_points/node_modules'); + angularNamespacePath = fs.resolve(basePath, '@angular'); + }); + + describe('findEntryPoints()', () => { + it('should find entry-points imported into the program', () => { + loadTestFiles([ + ...createProgram(projectPath), + ...createPackage(angularNamespacePath, 'core'), + ...createPackage(angularNamespacePath, 'common'), + ...createPackage(fs.resolve(angularNamespacePath, 'common'), 'http', ['@angular/common']), + ...createPackage( + fs.resolve(angularNamespacePath, 'common/http'), 'testing', + ['common/http', 'common/testing']), + ...createPackage( + fs.resolve(angularNamespacePath, 'common'), 'testing', ['@angular/common']), + ]); + const finder = createFinder(); + const {entryPoints} = finder.findEntryPoints(); + expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ + ['@angular/core', '@angular/core'], + ['@angular/common', '@angular/common'], + ['@angular/common', '@angular/common/http'], + ]); + }); + + function createFinder(): ProgramBasedEntryPointFinder { + const tsConfig = readConfiguration(`${projectPath}/tsconfig.json`); + const baseUrl = fs.resolve(projectPath, tsConfig.options.basePath!); + const paths = tsConfig.options.paths!; + + const logger = new MockLogger(); + const srcHost = new EsmDependencyHost(fs, new ModuleResolver(fs, {baseUrl, paths})); + const dtsHost = new DtsDependencyHost(fs); + const config = new NgccConfiguration(fs, projectPath); + const resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); + const collector = new EntryPointCollector(fs, config, logger, resolver); + const manifest = new EntryPointManifest(fs, config, logger); + return new ProgramBasedEntryPointFinder( + fs, config, logger, resolver, collector, manifest, basePath, tsConfig, projectPath); + } + + function createProgram(projectPath: AbsoluteFsPath): TestFile[] { + return [ + { + name: _Abs(`${projectPath}/package.json`), + contents: '', + }, + { + name: _Abs(`${projectPath}/tsconfig.json`), + contents: `{ + "files": [ + "src/main.ts" + ], + "compilerOptions": { + "baseUrl": ".", + "paths": { + "lib/*": ["lib/*"] + } + } + }`, + }, + { + name: _Abs(`${projectPath}/src/main.ts`), + contents: ` + import {AppComponent} from './app.component'; + import * from './app.module'; + import * from 'lib/service'; + `, + }, + { + name: _Abs(`${projectPath}/src/app.component.ts`), + contents: ` + import * as core from '@angular/core'; + export class AppComponent {} + `, + }, + { + name: _Abs(`${projectPath}/src/app.module.ts`), + contents: ` + import {NgModule} from '@angular/core'; + import * as common from '@angular/common'; + import {AppComponent} from './app.component'; + export class AppModule {} + `, + }, + { + name: _Abs(`${projectPath}/lib/service/index.ts`), + contents: ` + import * as http from '@angular/common/http'; + export class Service {} + `, + }, + ]; + } + + function createPackage( + basePath: AbsoluteFsPath, packageName: string, deps: string[] = [], + isCompiledByAngular = true): TestFile[] { + const files: TestFile[] = [ + { + name: _Abs(`${basePath}/${packageName}/package.json`), + contents: JSON.stringify({ + typings: `./${packageName}.d.ts`, + fesm2015: `./fesm2015/${packageName}.js`, + }) + }, + { + name: _Abs(`${basePath}/${packageName}/${packageName}.d.ts`), + contents: deps.map((dep, i) => `import * as i${i} from '${dep}';`).join('\n'), + }, + { + name: _Abs(`${basePath}/${packageName}/fesm2015/${packageName}.js`), + contents: deps.map((dep, i) => `import * as i${i} from '${dep}';`).join('\n'), + }, + ]; + + if (isCompiledByAngular) { + files.push({ + name: _Abs(`${basePath}/${packageName}/${packageName}.metadata.json`), + contents: 'metadata info' + }); + } + + return files; + } + + function dumpEntryPointPaths( + basePath: AbsoluteFsPath, entryPoints: EntryPoint[]): [string, string][] { + return entryPoints.map( + x => [relative(basePath, x.packagePath), relative(basePath, x.path)]); + } + }); + }); +}); diff --git a/packages/compiler-cli/ngcc/test/entry_point_finder/targeted_entry_point_finder_spec.ts b/packages/compiler-cli/ngcc/test/entry_point_finder/targeted_entry_point_finder_spec.ts index 04aa7dfe72..197b59b21b 100644 --- a/packages/compiler-cli/ngcc/test/entry_point_finder/targeted_entry_point_finder_spec.ts +++ b/packages/compiler-cli/ngcc/test/entry_point_finder/targeted_entry_point_finder_spec.ts @@ -1,12 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, relative} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {DependencyResolver} from '../../src/dependencies/dependency_resolver'; import {DtsDependencyHost} from '../../src/dependencies/dts_dependency_host'; @@ -14,10 +15,9 @@ import {EsmDependencyHost} from '../../src/dependencies/esm_dependency_host'; import {ModuleResolver} from '../../src/dependencies/module_resolver'; import {TargetedEntryPointFinder} from '../../src/entry_point_finder/targeted_entry_point_finder'; import {NGCC_VERSION} from '../../src/packages/build_marker'; -import {NgccConfiguration} from '../../src/packages/configuration'; +import {NgccConfiguration, ProcessedNgccPackageConfig} from '../../src/packages/configuration'; import {EntryPoint} from '../../src/packages/entry_point'; import {PathMappings} from '../../src/path_mappings'; -import {MockLogger} from '../helpers/mock_logger'; runInEachFileSystem(() => { describe('TargetedEntryPointFinder', () => { @@ -50,8 +50,8 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, 'common'), 'testing', ['@angular/common']), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/sub_entry_points/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/sub_entry_points/node_modules'), undefined, + targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['common', 'common'], @@ -69,8 +69,8 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, 'common'), 'testing', ['common']), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/sub_entry_points/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/sub_entry_points/node_modules'), undefined, + targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['common', 'common'], @@ -92,7 +92,7 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, '@angular/common'), 'testing', ['@angular/common']), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/namespaced/node_modules'), targetPath, undefined); + fs, config, logger, resolver, _Abs('/namespaced/node_modules'), undefined, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['@angular/common', '@angular/common'], @@ -104,7 +104,26 @@ runInEachFileSystem(() => { const targetPath = _Abs('/no_packages/node_modules/should_not_be_found'); fs.ensureDir(_Abs('/no_packages/node_modules/should_not_be_found')); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_packages/node_modules'), targetPath, undefined); + fs, config, logger, resolver, _Abs('/no_packages/node_modules'), undefined, targetPath); + const {entryPoints} = finder.findEntryPoints(); + expect(entryPoints).toEqual([]); + }); + + it('should return an empty array if the target path is an ignored entry-point', () => { + const basePath = _Abs('/project/node_modules'); + const targetPath = _Abs('/project/node_modules/some-package'); + const finder = new TargetedEntryPointFinder( + fs, config, logger, resolver, basePath, undefined, targetPath); + + loadTestFiles(createPackage(basePath, 'some-package')); + spyOn(config, 'getPackageConfig') + .and.returnValue( + new ProcessedNgccPackageConfig(_Abs('/project/node_modules/some-package'), { + entryPoints: { + '.': {ignore: true}, + }, + })); + const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); @@ -118,8 +137,8 @@ runInEachFileSystem(() => { }, ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), undefined, + targetPath); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); @@ -143,8 +162,8 @@ runInEachFileSystem(() => { }, ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), - targetPath, undefined); + fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), undefined, + targetPath); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints).toEqual([]); }); @@ -156,8 +175,8 @@ runInEachFileSystem(() => { ...createPackage(_Abs('/nested_node_modules/node_modules/outer/node_modules'), 'inner'), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/nested_node_modules/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/nested_node_modules/node_modules'), undefined, + targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(_Abs('/nested_node_modules/node_modules'), entryPoints)) .toEqual([ @@ -175,7 +194,7 @@ runInEachFileSystem(() => { ...createPackage(_Abs('/nested_node_modules/node_modules/package'), 'entry-point'), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(_Abs('/nested_node_modules'), entryPoints)).toEqual([ ['node_modules/package', 'node_modules/package/entry-point'], @@ -200,7 +219,7 @@ runInEachFileSystem(() => { // entry-point info for the `lib3/entry-point` dependency. const targetPath = _Abs('/project/node_modules/lib1/node_modules/lib2'); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(_Abs('/project/node_modules'), entryPoints)).toEqual([ ['lib3', 'lib3/entry-point'], @@ -232,7 +251,7 @@ runInEachFileSystem(() => { // entry-point info for the `lib3/entry-point` dependency. const targetPath = _Abs('/project/node_modules/lib1/node_modules/lib2'); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(_Abs('/project/node_modules'), entryPoints)).toEqual([ ['@scope/lib3/node_modules/lib4', '@scope/lib3/node_modules/lib4/entry-point'], @@ -266,7 +285,7 @@ runInEachFileSystem(() => { const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, pathMappings); + fs, config, logger, resolver, basePath, pathMappings, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['pkg1', 'pkg1'], @@ -294,13 +313,13 @@ runInEachFileSystem(() => { const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, pathMappings); + fs, config, logger, resolver, basePath, pathMappings, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(entryPoints.length).toEqual(1); const entryPoint = entryPoints[0]; expect(entryPoint.name).toEqual('secondary'); expect(entryPoint.path).toEqual(_Abs('/path_mapped/dist/primary/secondary')); - expect(entryPoint.package).toEqual(_Abs('/path_mapped/dist/primary')); + expect(entryPoint.packagePath).toEqual(_Abs('/path_mapped/dist/primary')); }); it('should correctly compute an entry-point whose path starts with the same string as another entry-point, via pathMappings', @@ -327,7 +346,7 @@ runInEachFileSystem(() => { const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, pathMappings); + fs, config, logger, resolver, basePath, pathMappings, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['../dist/my-lib/a', '../dist/my-lib/a'], @@ -354,7 +373,7 @@ runInEachFileSystem(() => { const dtsHost = new DtsDependencyHost(fs, pathMappings); resolver = new DependencyResolver(fs, logger, config, {esm2015: srcHost}, dtsHost); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, pathMappings); + fs, config, logger, resolver, basePath, pathMappings, targetPath); const {entryPoints} = finder.findEntryPoints(); expect(dumpEntryPointPaths(basePath, entryPoints)).toEqual([ ['test', 'test'], @@ -363,7 +382,8 @@ runInEachFileSystem(() => { function dumpEntryPointPaths( basePath: AbsoluteFsPath, entryPoints: EntryPoint[]): [string, string][] { - return entryPoints.map(x => [relative(basePath, x.package), relative(basePath, x.path)]); + return entryPoints.map( + x => [relative(basePath, x.packagePath), relative(basePath, x.path)]); } }); @@ -372,7 +392,7 @@ runInEachFileSystem(() => { const targetPath = _Abs('/no_packages/node_modules/should_not_be_found'); fs.ensureDir(targetPath); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_packages/node_modules'), targetPath, undefined); + fs, config, logger, resolver, _Abs('/no_packages/node_modules'), undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015'], true)).toBe(false); }); @@ -385,8 +405,26 @@ runInEachFileSystem(() => { }, ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), undefined, + targetPath); + expect(finder.targetNeedsProcessingOrCleaning(['fesm2015'], true)).toBe(false); + }); + + it('should return false if the target path is ignored by the config', () => { + const basePath = _Abs('/project/node_modules'); + const targetPath = _Abs('/project/node_modules/some-package'); + const finder = new TargetedEntryPointFinder( + fs, config, logger, resolver, basePath, undefined, targetPath); + + loadTestFiles(createPackage(basePath, 'some-package')); + spyOn(config, 'getPackageConfig') + .and.returnValue( + new ProcessedNgccPackageConfig(_Abs('/project/node_modules/some-package'), { + entryPoints: { + '.': {ignore: true}, + }, + })); + expect(finder.targetNeedsProcessingOrCleaning(['fesm2015'], true)).toBe(false); }); @@ -408,8 +446,8 @@ runInEachFileSystem(() => { }, ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), targetPath, - undefined); + fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), undefined, + targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015'], true)).toBe(false); }); @@ -431,8 +469,8 @@ runInEachFileSystem(() => { }, ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), - targetPath, undefined); + fs, config, logger, resolver, _Abs('/no_valid_entry_points/node_modules'), undefined, + targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015'], true)).toBe(false); }); @@ -448,7 +486,7 @@ runInEachFileSystem(() => { ...createPackage(fs.resolve(basePath, 'common'), 'testing', ['common']), ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], true)).toBe(true); }); @@ -474,7 +512,7 @@ runInEachFileSystem(() => { fs.writeFile(packageJsonPath, JSON.stringify(packageJson)); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], true)).toBe(true); }); @@ -500,7 +538,7 @@ runInEachFileSystem(() => { fs.writeFile(packageJsonPath, JSON.stringify(packageJson)); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], true)).toBe(false); }); }); @@ -518,7 +556,7 @@ runInEachFileSystem(() => { ]); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], false)).toBe(true); }); @@ -544,7 +582,7 @@ runInEachFileSystem(() => { fs.writeFile(packageJsonPath, JSON.stringify(packageJson)); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], false)).toBe(true); }); @@ -570,7 +608,7 @@ runInEachFileSystem(() => { fs.writeFile(packageJsonPath, JSON.stringify(packageJson)); const finder = new TargetedEntryPointFinder( - fs, config, logger, resolver, basePath, targetPath, undefined); + fs, config, logger, resolver, basePath, undefined, targetPath); expect(finder.targetNeedsProcessingOrCleaning(['fesm2015', 'esm5'], false)) .toBe(false); }); diff --git a/packages/compiler-cli/ngcc/test/entry_point_finder/utils_spec.ts b/packages/compiler-cli/ngcc/test/entry_point_finder/utils_spec.ts index ef309bb457..536e23559b 100644 --- a/packages/compiler-cli/ngcc/test/entry_point_finder/utils_spec.ts +++ b/packages/compiler-cli/ngcc/test/entry_point_finder/utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,8 +8,8 @@ import {absoluteFrom, getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {getBasePaths} from '../../src/entry_point_finder/utils'; -import {MockLogger} from '../helpers/mock_logger'; runInEachFileSystem(() => { let _: typeof absoluteFrom; @@ -159,4 +159,4 @@ runInEachFileSystem(() => { ]); }); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/ngcc/test/execution/cluster/executor_spec.ts b/packages/compiler-cli/ngcc/test/execution/cluster/executor_spec.ts index 0fbbd842c4..d47d34520c 100644 --- a/packages/compiler-cli/ngcc/test/execution/cluster/executor_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/cluster/executor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,13 +12,13 @@ import {getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; import * as cluster from 'cluster'; import {MockFileSystemNative, runInEachFileSystem} from '../../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../../src/ngtsc/logging/testing'; import {ClusterExecutor} from '../../../src/execution/cluster/executor'; import {ClusterMaster} from '../../../src/execution/cluster/master'; import {AsyncLocker} from '../../../src/locking/async_locker'; import {FileWriter} from '../../../src/writing/file_writer'; import {PackageJsonUpdater} from '../../../src/writing/package_json_updater'; import {MockLockFile} from '../../helpers/mock_lock_file'; -import {MockLogger} from '../../helpers/mock_logger'; import {mockProperty} from '../../helpers/spy_utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts b/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts index 902d8d06c1..36d6ae473f 100644 --- a/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/execution/cluster/worker_spec.ts b/packages/compiler-cli/ngcc/test/execution/cluster/worker_spec.ts index 277bf7c5e2..990d9c465d 100644 --- a/packages/compiler-cli/ngcc/test/execution/cluster/worker_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/cluster/worker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,11 +12,11 @@ import * as cluster from 'cluster'; import {EventEmitter} from 'events'; import {AbsoluteFsPath} from '../../../../src/ngtsc/file_system'; +import {MockLogger} from '../../../../src/ngtsc/logging/testing'; import {CreateCompileFn} from '../../../src/execution/api'; import {startWorker} from '../../../src/execution/cluster/worker'; import {Task, TaskCompletedCallback, TaskProcessingOutcome} from '../../../src/execution/tasks/api'; import {FileToWrite} from '../../../src/rendering/utils'; -import {MockLogger} from '../../helpers/mock_logger'; import {mockProperty, spyProperty} from '../../helpers/spy_utils'; diff --git a/packages/compiler-cli/ngcc/test/execution/helpers.ts b/packages/compiler-cli/ngcc/test/execution/helpers.ts index a72ad23452..30ecd02b4c 100644 --- a/packages/compiler-cli/ngcc/test/execution/helpers.ts +++ b/packages/compiler-cli/ngcc/test/execution/helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/execution/single_processor_executor_spec.ts b/packages/compiler-cli/ngcc/test/execution/single_processor_executor_spec.ts index c4f11a0e17..81ff7a1ac2 100644 --- a/packages/compiler-cli/ngcc/test/execution/single_processor_executor_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/single_processor_executor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,11 +9,11 @@ /// import {MockFileSystemNative} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {SingleProcessExecutorSync} from '../../src/execution/single_process_executor'; import {Task, TaskQueue} from '../../src/execution/tasks/api'; import {SyncLocker} from '../../src/locking/sync_locker'; import {MockLockFile} from '../helpers/mock_lock_file'; -import {MockLogger} from '../helpers/mock_logger'; describe('SingleProcessExecutor', () => { diff --git a/packages/compiler-cli/ngcc/test/execution/tasks/queues/parallel_task_queue_spec.ts b/packages/compiler-cli/ngcc/test/execution/tasks/queues/parallel_task_queue_spec.ts index 4fc0869b48..8be126b4ca 100644 --- a/packages/compiler-cli/ngcc/test/execution/tasks/queues/parallel_task_queue_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/tasks/queues/parallel_task_queue_spec.ts @@ -1,15 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {MockLogger} from '../../../../../src/ngtsc/logging/testing'; import {PartiallyOrderedTasks, TaskQueue} from '../../../../src/execution/tasks/api'; import {ParallelTaskQueue} from '../../../../src/execution/tasks/queues/parallel_task_queue'; import {computeTaskDependencies} from '../../../../src/execution/tasks/utils'; -import {MockLogger} from '../../../helpers/mock_logger'; import {createTasksAndGraph} from '../../helpers'; describe('ParallelTaskQueue', () => { diff --git a/packages/compiler-cli/ngcc/test/execution/tasks/queues/serial_task_queue_spec.ts b/packages/compiler-cli/ngcc/test/execution/tasks/queues/serial_task_queue_spec.ts index 6374b4ecc4..327efd9fbb 100644 --- a/packages/compiler-cli/ngcc/test/execution/tasks/queues/serial_task_queue_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/tasks/queues/serial_task_queue_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {DepGraph} from 'dependency-graph'; +import {MockLogger} from '../../../../../src/ngtsc/logging/testing'; import {PartiallyOrderedTasks, Task, TaskQueue} from '../../../../src/execution/tasks/api'; import {SerialTaskQueue} from '../../../../src/execution/tasks/queues/serial_task_queue'; import {computeTaskDependencies} from '../../../../src/execution/tasks/utils'; import {EntryPoint} from '../../../../src/packages/entry_point'; -import {MockLogger} from '../../../helpers/mock_logger'; describe('SerialTaskQueue', () => { diff --git a/packages/compiler-cli/ngcc/test/execution/utils_spec.ts b/packages/compiler-cli/ngcc/test/execution/utils_spec.ts index 0b3a540da4..76d92e25f0 100644 --- a/packages/compiler-cli/ngcc/test/execution/utils_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/helpers/mock_lock_file.ts b/packages/compiler-cli/ngcc/test/helpers/mock_lock_file.ts index 5917df00a5..51f016e6c6 100644 --- a/packages/compiler-cli/ngcc/test/helpers/mock_lock_file.ts +++ b/packages/compiler-cli/ngcc/test/helpers/mock_lock_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/helpers/spy_utils.ts b/packages/compiler-cli/ngcc/test/helpers/spy_utils.ts index a173839613..881cf9fa93 100644 --- a/packages/compiler-cli/ngcc/test/helpers/spy_utils.ts +++ b/packages/compiler-cli/ngcc/test/helpers/spy_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/helpers/utils.ts b/packages/compiler-cli/ngcc/test/helpers/utils.ts index cfd4315b1a..d0a7940671 100644 --- a/packages/compiler-cli/ngcc/test/helpers/utils.ts +++ b/packages/compiler-cli/ngcc/test/helpers/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,9 +21,10 @@ export function makeTestEntryPoint( entryPointName: string, packageName: string = entryPointName, config?: TestConfig): EntryPoint { return { name: entryPointName, - packageJson: {name: entryPointName}, - package: absoluteFrom(`/node_modules/${packageName}`), path: absoluteFrom(`/node_modules/${entryPointName}`), + packageName, + packagePath: absoluteFrom(`/node_modules/${packageName}`), + packageJson: {name: entryPointName}, typings: absoluteFrom(`/node_modules/${entryPointName}/index.d.ts`), compiledByAngular: true, ignoreMissingDependencies: false, @@ -43,8 +44,9 @@ export function makeTestEntryPointBundle( enableI18nLegacyMessageIdFormat = false): EntryPointBundle { const entryPoint = makeTestEntryPoint(packageName, packageName, config); const src = makeTestBundleProgram(srcRootNames[0], isCore); - const dts = - dtsRootNames ? makeTestDtsBundleProgram(dtsRootNames[0], entryPoint.package, isCore) : null; + const dts = dtsRootNames ? + makeTestDtsBundleProgram(dtsRootNames[0], entryPoint.packagePath, isCore) : + null; const isFlatCore = isCore && src.r3SymbolsFile === null; return { entryPoint, diff --git a/packages/compiler-cli/ngcc/test/host/commonjs_host_import_helper_spec.ts b/packages/compiler-cli/ngcc/test/host/commonjs_host_import_helper_spec.ts index cb3e012f4e..c17dfadde3 100644 --- a/packages/compiler-cli/ngcc/test/host/commonjs_host_import_helper_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/commonjs_host_import_helper_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {CommonJsReflectionHost} from '../../src/host/commonjs_host'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestBundleProgram} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/host/commonjs_host_spec.ts b/packages/compiler-cli/ngcc/test/host/commonjs_host_spec.ts index 3ead77cd2c..df863ee554 100644 --- a/packages/compiler-cli/ngcc/test/host/commonjs_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/commonjs_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,15 +9,15 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, ConcreteDeclaration, CtorParameter, DownleveledEnum, InlineDeclaration, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration, KnownDeclaration, TypeScriptReflectionHost} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {CommonJsReflectionHost} from '../../src/host/commonjs_host'; import {DelegatingReflectionHost} from '../../src/host/delegating_host'; -import {getIifeBody} from '../../src/host/esm5_host'; +import {getIifeBody} from '../../src/host/esm2015_host'; import {NgccReflectionHost} from '../../src/host/ngcc_host'; import {BundleProgram} from '../../src/packages/bundle_program'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestBundleProgram, makeTestDtsBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -513,72 +513,68 @@ var c = file_a.a; EXPORTS_FILES = [ { name: _('/index.js'), - contents: ` - var a_module = require('./a_module'); - var b_module = require('./b_module'); - var xtra_module = require('./xtra_module'); - var wildcard_reexports_emitted_helpers = require('./wildcard_reexports_emitted_helpers'); - var wildcard_reexports_imported_helpers = require('./wildcard_reexports_imported_helpers'); - ` + contents: `var a_module = require('./a_module');\n` + + `var b_module = require('./b_module');\n` + + `var xtra_module = require('./xtra_module');\n` + + `var wildcard_reexports_emitted_helpers = require('./wildcard_reexports_emitted_helpers');\n` + + `var wildcard_reexports_imported_helpers = require('./wildcard_reexports_imported_helpers');\n` + + `var define_property_reexports = require('./define_property_reexports');\n` }, { name: _('/a_module.js'), - contents: ` -var a = 'a'; -exports.a = a; -`, + contents: `// In TS 3.9 exports are initialized to undefined at the top of the file\n` + + `exports.a = void 0;\n` + + `var a = 'a';\n` + + `exports.a = a;\n`, }, { name: _('/b_module.js'), - contents: ` -var core = require('@angular/core'); -var a_module = require('./a_module'); -var b = a_module.a; -var e = 'e'; -var SomeClass = (function() { - function SomeClass() {} - return SomeClass; -}()); - -exports.Directive = core.Directive; -exports.a = a_module.a; -exports.b = b; -exports.c = a_module.a; -exports.d = b; -exports.e = e; -exports.DirectiveX = core.Directive; -exports.SomeClass = SomeClass; -`, + contents: `var core = require('@angular/core');\n` + + `var a_module = require('./a_module');\n` + + `var b = a_module.a;\n` + + `var e = 'e';\n` + + `var SomeClass = (function() {\n` + + ` function SomeClass() {}\n` + + ` return SomeClass;\n` + + `}());\n` + + `\n` + + `exports.Directive = core.Directive;\n` + + `exports.a = a_module.a;\n` + + `exports.b = b;\n` + + `exports.c = a_module.a;\n` + + `exports.d = b;\n` + + `exports.e = e;\n` + + `exports.DirectiveX = core.Directive;\n` + + `exports.SomeClass = SomeClass;\n`, }, { name: _('/xtra_module.js'), - contents: ` -var xtra1 = 'xtra1'; -var xtra2 = 'xtra2'; -exports.xtra1 = xtra1; -exports.xtra2 = xtra2; -`, + contents: `var xtra1 = 'xtra1';\n` + + `var xtra2 = 'xtra2';\n` + + `exports.xtra1 = xtra1;\n` + + `exports.xtra2 = xtra2;\n`, }, { name: _('/wildcard_reexports_emitted_helpers.js'), - contents: ` -function __export(m) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; -} -var b_module = require("./b_module"); -__export(b_module); -__export(require("./xtra_module")); -`, + contents: `function __export(m) {\n` + + ` for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n` + + `}\n` + + `var b_module = require("./b_module");\n` + + `__export(b_module);\n` + + `__export(require("./xtra_module"));\n`, }, { name: _('/wildcard_reexports_imported_helpers.js'), - contents: ` -var tslib_1 = require("tslib"); -var b_module = require("./b_module"); -tslib_1.__exportStar(b_module, exports); -tslib_1.__exportStar(require("./xtra_module"), exports); -`, + contents: `var tslib_1 = require("tslib");\n` + + `var b_module = require("./b_module");\n` + + `tslib_1.__exportStar(b_module, exports);\n` + + `tslib_1.__exportStar(require("./xtra_module"), exports);\n`, }, + { + name: _('/define_property_reexports.js'), + contents: `var moduleA = require("./a_module");\n` + + `Object.defineProperty(exports, "newA", { enumerable: true, get: function () { return moduleA.a; } });`, + } ]; FUNCTION_BODY_FILE = { @@ -1658,7 +1654,7 @@ exports.MissingClass2 = MissingClass2; bundle.program, SOME_DIRECTIVE_FILE.name, 'SomeDirective', isNamedVariableDeclaration); const classDecorators = host.getDecoratorsOfDeclaration(classNode)!; - const identifierOfDirective = + const namespaceIdentifier = (((classDecorators[0].node as ts.ObjectLiteralExpression).properties[0] as ts.PropertyAssignment) .initializer as ts.PropertyAccessExpression) @@ -1666,7 +1662,7 @@ exports.MissingClass2 = MissingClass2; const expectedDeclarationNode = getSourceFileOrError(bundle.program, _('/node_modules/@angular/core/index.d.ts')); - const actualDeclaration = host.getDeclarationOfIdentifier(identifierOfDirective); + const actualDeclaration = host.getDeclarationOfIdentifier(namespaceIdentifier); expect(actualDeclaration).not.toBe(null); expect(actualDeclaration!.node).toBe(expectedDeclarationNode); expect(actualDeclaration!.viaModule).toBe('@angular/core'); @@ -1867,10 +1863,11 @@ exports.MissingClass2 = MissingClass2; const bundle = makeTestBundleProgram(testFile.name); const host = createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const tslibSourceFile = getSourceFileOrError(bundle.program, tslibFile.name); - const testForHelper = - createTestForTsHelper(bundle.program, host, testFile, () => tslibSourceFile); + const testForHelper = createTestForTsHelper( + bundle.program, host, testFile, + helperName => getDeclaration( + bundle.program, tslibFile.name, helperName, ts.isFunctionDeclaration)); testForHelper('a', '__assign', KnownDeclaration.TsHelperAssign, 'tslib'); testForHelper('b', '__spread', KnownDeclaration.TsHelperSpread, 'tslib'); @@ -1944,135 +1941,6 @@ exports.MissingClass2 = MissingClass2; testForHelper('b', '__spread$2', KnownDeclaration.TsHelperSpread); testForHelper('c', '__spreadArrays$3', KnownDeclaration.TsHelperSpreadArrays); }); - }); - - describe('getExportsOfModule()', () => { - it('should return a map of all the exports from a given module', () => { - loadFakeCore(getFileSystem()); - loadTestFiles(EXPORTS_FILES); - const bundle = makeTestBundleProgram(_('/index.js')); - const host = - createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const file = getSourceFileOrError(bundle.program, _('/b_module.js')); - const exportDeclarations = host.getExportsOfModule(file); - expect(exportDeclarations).not.toBe(null); - expect(Array.from(exportDeclarations!.entries()) - .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) - .toEqual([ - ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], - ['a', `a = 'a'`, null], - ['b', `b = a_module.a`, null], - ['c', `a = 'a'`, null], - ['d', `b = a_module.a`, null], - ['e', `e = 'e'`, null], - ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], - [ - 'SomeClass', - `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, - null - ], - ]); - }); - - it('should handle wildcard re-exports of other modules (with emitted helpers)', () => { - loadFakeCore(getFileSystem()); - loadTestFiles(EXPORTS_FILES); - const bundle = makeTestBundleProgram(_('/index.js')); - const host = - createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const file = - getSourceFileOrError(bundle.program, _('/wildcard_reexports_emitted_helpers.js')); - const exportDeclarations = host.getExportsOfModule(file); - expect(exportDeclarations).not.toBe(null); - expect(Array.from(exportDeclarations!.entries()) - .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) - .toEqual([ - ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, _('/b_module')], - ['a', `a = 'a'`, _('/b_module')], - ['b', `b = a_module.a`, _('/b_module')], - ['c', `a = 'a'`, _('/b_module')], - ['d', `b = a_module.a`, _('/b_module')], - ['e', `e = 'e'`, _('/b_module')], - ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, _('/b_module')], - [ - 'SomeClass', - `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, - _('/b_module') - ], - ['xtra1', `xtra1 = 'xtra1'`, _('/xtra_module')], - ['xtra2', `xtra2 = 'xtra2'`, _('/xtra_module')], - ]); - }); - - it('should handle wildcard re-exports of other modules (with imported helpers)', () => { - loadFakeCore(getFileSystem()); - loadTestFiles(EXPORTS_FILES); - const bundle = makeTestBundleProgram(_('/index.js')); - const host = - createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const file = - getSourceFileOrError(bundle.program, _('/wildcard_reexports_imported_helpers.js')); - const exportDeclarations = host.getExportsOfModule(file); - expect(exportDeclarations).not.toBe(null); - expect(Array.from(exportDeclarations!.entries()) - .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) - .toEqual([ - ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, _('/b_module')], - ['a', `a = 'a'`, _('/b_module')], - ['b', `b = a_module.a`, _('/b_module')], - ['c', `a = 'a'`, _('/b_module')], - ['d', `b = a_module.a`, _('/b_module')], - ['e', `e = 'e'`, _('/b_module')], - ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, _('/b_module')], - [ - 'SomeClass', - `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, - _('/b_module') - ], - ['xtra1', `xtra1 = 'xtra1'`, _('/xtra_module')], - ['xtra2', `xtra2 = 'xtra2'`, _('/xtra_module')], - ]); - }); - - it('should handle inline exports', () => { - loadTestFiles([INLINE_EXPORT_FILE]); - const bundle = makeTestBundleProgram(_('/inline_export.js')); - const host = - createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const file = getSourceFileOrError(bundle.program, _('/inline_export.js')); - const exportDeclarations = host.getExportsOfModule(file); - expect(exportDeclarations).not.toBeNull(); - const decl = exportDeclarations!.get('directives') as InlineDeclaration; - expect(decl).not.toBeUndefined(); - expect(decl.node).toBeNull(); - expect(decl.expression).toBeDefined(); - }); - - it('should recognize declarations of known TypeScript helpers', () => { - const tslib = { - name: _('/tslib.d.ts'), - contents: ` - export declare function __assign(t: any, ...sources: any[]): any; - export declare function __spread(...args: any[][]): any[]; - export declare function __spreadArrays(...args: any[][]): any[]; - export declare function __unknownHelper(...args: any[]): any; - `, - }; - loadTestFiles([tslib]); - const bundle = makeTestBundleProgram(tslib.name); - const host = - createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); - const sf = getSourceFileOrError(bundle.program, tslib.name); - const exportDeclarations = host.getExportsOfModule(sf)!; - - expect([...exportDeclarations].map(([exportName, {known}]) => [exportName, known])) - .toEqual([ - ['__assign', KnownDeclaration.TsHelperAssign], - ['__spread', KnownDeclaration.TsHelperSpread], - ['__spreadArrays', KnownDeclaration.TsHelperSpreadArrays], - ['__unknownHelper', null], - ]); - }); it('should recognize enum declarations with string values', () => { const testFile: TestFile = { @@ -2190,6 +2058,151 @@ exports.MissingClass2 = MissingClass2; }); }); + describe('getExportsOfModule()', () => { + it('should return a map of all the exports from a given module', () => { + loadFakeCore(getFileSystem()); + loadTestFiles(EXPORTS_FILES); + const bundle = makeTestBundleProgram(_('/index.js')); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const file = getSourceFileOrError(bundle.program, _('/b_module.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBe(null); + expect(Array.from(exportDeclarations!.entries()) + .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) + .toEqual([ + ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + ['a', `a = 'a'`, null], + ['b', `b = a_module.a`, null], + ['c', `a = 'a'`, null], + ['d', `b = a_module.a`, null], + ['e', `e = 'e'`, null], + ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + [ + 'SomeClass', + `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, + null + ], + ]); + }); + + it('should handle wildcard re-exports of other modules (with emitted helpers)', () => { + loadFakeCore(getFileSystem()); + loadTestFiles(EXPORTS_FILES); + const bundle = makeTestBundleProgram(_('/index.js')); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const file = + getSourceFileOrError(bundle.program, _('/wildcard_reexports_emitted_helpers.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBe(null); + expect(Array.from(exportDeclarations!.entries()) + .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) + .toEqual([ + ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + ['a', `a = 'a'`, null], + ['b', `b = a_module.a`, null], + ['c', `a = 'a'`, null], + ['d', `b = a_module.a`, null], + ['e', `e = 'e'`, null], + ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + [ + 'SomeClass', + `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, + null + ], + ['xtra1', `xtra1 = 'xtra1'`, null], + ['xtra2', `xtra2 = 'xtra2'`, null], + ]); + }); + + it('should handle wildcard re-exports of other modules (with imported helpers)', () => { + loadFakeCore(getFileSystem()); + loadTestFiles(EXPORTS_FILES); + const bundle = makeTestBundleProgram(_('/index.js')); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const file = + getSourceFileOrError(bundle.program, _('/wildcard_reexports_imported_helpers.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBe(null); + expect(Array.from(exportDeclarations!.entries()) + .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) + .toEqual([ + ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + ['a', `a = 'a'`, null], + ['b', `b = a_module.a`, null], + ['c', `a = 'a'`, null], + ['d', `b = a_module.a`, null], + ['e', `e = 'e'`, null], + ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], + [ + 'SomeClass', + `SomeClass = (function() {\n function SomeClass() {}\n return SomeClass;\n}())`, + null + ], + ['xtra1', `xtra1 = 'xtra1'`, null], + ['xtra2', `xtra2 = 'xtra2'`, null], + ]); + }); + + it('should handle inline exports', () => { + loadTestFiles([INLINE_EXPORT_FILE]); + const bundle = makeTestBundleProgram(_('/inline_export.js')); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const file = getSourceFileOrError(bundle.program, _('/inline_export.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBeNull(); + const decl = exportDeclarations!.get('directives') as InlineDeclaration; + expect(decl).not.toBeUndefined(); + expect(decl.node).toBeNull(); + expect(decl.expression).toBeDefined(); + }); + + it('should recognize declarations of known TypeScript helpers', () => { + const tslib = { + name: _('/tslib.d.ts'), + contents: ` + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __spread(...args: any[][]): any[]; + export declare function __spreadArrays(...args: any[][]): any[]; + export declare function __unknownHelper(...args: any[]): any; + `, + }; + loadTestFiles([tslib]); + const bundle = makeTestBundleProgram(tslib.name); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const sf = getSourceFileOrError(bundle.program, tslib.name); + const exportDeclarations = host.getExportsOfModule(sf)!; + + expect([...exportDeclarations].map(([exportName, {known}]) => [exportName, known])) + .toEqual([ + ['__assign', KnownDeclaration.TsHelperAssign], + ['__spread', KnownDeclaration.TsHelperSpread], + ['__spreadArrays', KnownDeclaration.TsHelperSpreadArrays], + ['__unknownHelper', null], + ]); + }); + + it('should define property exports from a module', () => { + loadFakeCore(getFileSystem()); + loadTestFiles(EXPORTS_FILES); + const bundle = makeTestBundleProgram(_('/index.js')); + const host = + createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); + const file = getSourceFileOrError(bundle.program, _('/define_property_reexports.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBe(null); + expect(Array.from(exportDeclarations!.entries()) + .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) + .toEqual([ + ['newA', `a = 'a'`, null], + ]); + }); + }); + describe('getClassSymbol()', () => { it('should return the class symbol for an ES2015 class', () => { loadTestFiles([SIMPLE_ES2015_CLASS_FILE]); @@ -2212,7 +2225,8 @@ exports.MissingClass2 = MissingClass2; createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2227,7 +2241,8 @@ exports.MissingClass2 = MissingClass2; createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(innerNode); expect(classSymbol).toBeDefined(); @@ -2243,7 +2258,8 @@ exports.MissingClass2 = MissingClass2; createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const innerSymbol = host.getClassSymbol(innerNode)!; const outerSymbol = host.getClassSymbol(outerNode)!; @@ -2260,7 +2276,8 @@ exports.MissingClass2 = MissingClass2; const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'NoParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2277,7 +2294,8 @@ exports.MissingClass2 = MissingClass2; const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'InnerParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2345,7 +2363,8 @@ exports.MissingClass2 = MissingClass2; createHost(bundle, new CommonJsReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', ts.isVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; expect(host.isClass(innerNode)).toBe(true); }); diff --git a/packages/compiler-cli/ngcc/test/host/esm2015_host_import_helper_spec.ts b/packages/compiler-cli/ngcc/test/host/esm2015_host_import_helper_spec.ts index 554862120e..466484722a 100644 --- a/packages/compiler-cli/ngcc/test/host/esm2015_host_import_helper_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/esm2015_host_import_helper_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,11 +10,11 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; -import {ClassMemberKind, Import, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; +import {ClassMemberKind, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles, loadTsLib} from '../../../test/helpers'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; -import {MockLogger} from '../helpers/mock_logger'; import {convertToDirectTsLibImport, convertToInlineTsLib, makeTestBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -93,6 +93,36 @@ runInEachFileSystem(() => { ], SomeDirective); export { SomeDirective }; `, + }, + { + name: _('/some_directive_ctor_parameters_iife.js'), + contents: ` + import * as tslib_1 from 'tslib'; + import { Directive, Inject, InjectionToken, Input } from '@angular/core'; + const INJECTED_TOKEN = new InjectionToken('injected'); + let ViewContainerRef = /** class */ (() => { class ViewContainerRef {} return ViewContainerRef; })(); + let TemplateRef = /** class */ (() => { class TemplateRef {} return TemplateRef; })(); + let SomeDirective = /** @class */ (() => { + let SomeDirective = class SomeDirective { + constructor(_viewContainer, _template, injected) { + this.input1 = ''; + } + }; + SomeDirective.ctorParameters = () => [ + { type: ViewContainerRef, }, + { type: TemplateRef, }, + { type: undefined, decorators: [{ type: Inject, args: [INJECTED_TOKEN,] },] }, + ]; + tslib_1.__decorate([ + Input(), + ], SomeDirective.prototype, "input1", void 0); + SomeDirective = tslib_1.__decorate([ + Directive({ selector: '[someDirective]' }), + tslib_1.__param(2, Inject(INJECTED_TOKEN)), + ], SomeDirective); + })(); + export { SomeDirective }; + `, }, { name: _('/node_modules/@angular/core/some_directive.js'), @@ -203,6 +233,27 @@ runInEachFileSystem(() => { ]); }); + it('should find the decorators on an IIFE wrapped class when mixing `ctorParameters` and `__decorate`', + () => { + const bundle = makeTestBundleProgram(_('/some_directive_ctor_parameters_iife.js')); + const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle); + const classNode = getDeclaration( + bundle.program, _('/some_directive_ctor_parameters_iife.js'), 'SomeDirective', + isNamedVariableDeclaration); + const decorators = host.getDecoratorsOfDeclaration(classNode)!; + + expect(decorators).toBeDefined(); + expect(decorators.length).toEqual(1); + + const decorator = decorators[0]; + expect(decorator.name).toEqual('Directive'); + expect(decorator.identifier!.getText()).toEqual('Directive'); + expect(decorator.import).toEqual({name: 'Directive', from: '@angular/core'}); + expect(decorator.args!.map(arg => arg.getText())).toEqual([ + '{ selector: \'[someDirective]\' }', + ]); + }); + it('should support decorators being used inside @angular/core', () => { const bundle = makeTestBundleProgram(_('/node_modules/@angular/core/some_directive.js')); @@ -260,6 +311,21 @@ runInEachFileSystem(() => { expect(input1.decorators!.map(d => d.name)).toEqual(['Input']); }); + it('should find decorated members on an IIFE wrapped class when mixing `ctorParameters` and `__decorate`', + () => { + const bundle = makeTestBundleProgram(_('/some_directive_ctor_parameters_iife.js')); + const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle); + const classNode = getDeclaration( + bundle.program, _('/some_directive_ctor_parameters_iife.js'), 'SomeDirective', + isNamedVariableDeclaration); + const members = host.getMembersOfClass(classNode); + + const input1 = members.find(member => member.name === 'input1')!; + expect(input1.kind).toEqual(ClassMemberKind.Property); + expect(input1.isStatic).toEqual(false); + expect(input1.decorators!.map(d => d.name)).toEqual(['Input']); + }); + it('should find non decorated properties on a class', () => { const bundle = makeTestBundleProgram(_('/some_directive.js')); const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle); @@ -383,6 +449,32 @@ runInEachFileSystem(() => { }); }); + it('should find the decorated constructor parameters on an IIFE wrapped class when mixing `ctorParameters` and `__decorate`', + () => { + const bundle = makeTestBundleProgram(_('/some_directive_ctor_parameters_iife.js')); + const host = new Esm2015ReflectionHost(new MockLogger(), false, bundle); + const classNode = getDeclaration( + bundle.program, _('/some_directive_ctor_parameters_iife.js'), 'SomeDirective', + isNamedVariableDeclaration); + const parameters = host.getConstructorParameters(classNode); + + expect(parameters).toBeDefined(); + expect(parameters!.map(parameter => parameter.name)).toEqual([ + '_viewContainer', '_template', 'injected' + ]); + expectTypeValueReferencesForParameters(parameters!, [ + 'ViewContainerRef', + 'TemplateRef', + null, + ]); + + const decorators = parameters![2].decorators!; + expect(decorators.length).toEqual(1); + expect(decorators[0].name).toBe('Inject'); + expect(decorators[0].import!.from).toBe('@angular/core'); + expect(decorators[0].import!.name).toBe('Inject'); + }); + describe('getDeclarationOfIdentifier', () => { it('should return the declaration of a locally defined identifier', () => { const bundle = makeTestBundleProgram(_('/some_directive.js')); diff --git a/packages/compiler-cli/ngcc/test/host/esm2015_host_spec.ts b/packages/compiler-cli/ngcc/test/host/esm2015_host_spec.ts index 2319a5a8d2..b5db58d50b 100644 --- a/packages/compiler-cli/ngcc/test/host/esm2015_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/esm2015_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,13 +10,14 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, ConcreteDeclaration, CtorParameter, DownleveledEnum, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration, TypeScriptReflectionHost} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; +import {walkForDeclaration} from '../../../src/ngtsc/testing/src/utils'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DelegatingReflectionHost} from '../../src/host/delegating_host'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {BundleProgram} from '../../src/packages/bundle_program'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestBundleProgram, makeTestDtsBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -133,6 +134,14 @@ runInEachFileSystem(() => { class NoDecoratorConstructorClass { constructor(foo) {} } + let SimpleWrappedClass = /** @class */ (() => { + class SimpleWrappedClassInner {} + return SimpleWrappedClassInner; + })(); + let AliasedWrappedClass = /** @class */ (() => { + let AliasedWrappedClassAdjacent = class AliasedWrappedClassInner {}; + return AliasWrappedClassAdjacent; + })(); `, }; @@ -167,6 +176,18 @@ runInEachFileSystem(() => { return AliasedWrappedClass; })(); let usageOfWrappedClass = AliasedWrappedClass_1; + let DecoratedWrappedClass = /** @class */ (() => { + var DecoratedWrappedClass_1; + let AdjacentDecoratedWrappedClass = DecoratedWrappedClass_1 = class InnerDecoratedWrappedClass { + static forRoot() { + return new DecoratedWrappedClass_1(); + } + }; + AdjacentDecoratedWrappedClass = DecoratedWrappedClass_1 = __decorate([ + Decorator() + ], AdjacentDecoratedWrappedClass); + return AdjacentDecoratedWrappedClass; + })(); `, }; @@ -534,7 +555,27 @@ runInEachFileSystem(() => { { type: Directive, args: [{ selector: '[b]' }] } ]; class C {} - export { A, x, C }; + var AliasedClass_1; + let AliasedClass = AliasedClass_1 = class AliasedClass {} + AliasedClass.decorators = [ + { type: Directive, args: [{ selector: '[aliased]' },] } + ]; + let Wrapped1 = /** @class */ (() => { + let Wrapped1 = class Wrapped1 { + }; + Wrapped1 = __decorate([ + Directive({selector: '[wrapped-1]'}) + ], Wrapped1); + return Wrapped1; + })(); + let Wrapped2 = /** @class */ (() => { + class Wrapped2 {} + Wrapped2.decorators = [ + { type: Directive, args: [{ selector: '[wrapped-2]' },] } + ]; + return Wrapped2; + })(); + export { A, x, C, AliasedClass, Wrapped1, Wrapped2 }; ` }, { @@ -1589,7 +1630,7 @@ runInEachFileSystem(() => { .toBe(classDeclaration); }); - it('should return the original declaration of an aliased class', () => { + it('should return the original declaration of a wrapped aliased class', () => { loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); const host = createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); @@ -1605,6 +1646,51 @@ runInEachFileSystem(() => { .toBe(classDeclaration); }); + it('should return the correct declaration for an inner class identifier inside an IIFE', + () => { + loadTestFiles([SIMPLE_CLASS_FILE]); + const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + + const outerDeclaration = getDeclaration( + bundle.program, SIMPLE_CLASS_FILE.name, 'SimpleWrappedClass', + isNamedVariableDeclaration); + const innerDeclaration = + ((((outerDeclaration.initializer as ts.CallExpression).expression as + ts.ParenthesizedExpression) + .expression as ts.ArrowFunction) + .body as ts.Block) + .statements[0] as ts.ClassDeclaration; + + const outerIdentifier = outerDeclaration.name as ts.Identifier; + const innerIdentifier = innerDeclaration.name as ts.Identifier; + + expect(host.getDeclarationOfIdentifier(outerIdentifier)!.node).toBe(outerDeclaration); + expect(host.getDeclarationOfIdentifier(innerIdentifier)!.node).toBe(outerDeclaration); + }); + + it('should return the correct declaration for an aliased class identifier inside an IIFE', + () => { + loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); + const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const classDeclaration = getDeclaration( + bundle.program, WRAPPED_CLASS_EXPRESSION_FILE.name, 'DecoratedWrappedClass', + ts.isVariableDeclaration); + const innerClassDeclaration = + walkForDeclaration('InnerDecoratedWrappedClass', classDeclaration); + if (innerClassDeclaration === null) { + throw new Error('Expected InnerDecoratedWrappedClass to exist'); + } + const aliasedClassIdentifier = + (innerClassDeclaration.parent as ts.BinaryExpression).left as ts.Identifier; + expect(aliasedClassIdentifier.text).toBe('DecoratedWrappedClass_1'); + const d = host.getDeclarationOfIdentifier(aliasedClassIdentifier); + expect(d!.node).toBe(classDeclaration); + }); + it('should recognize enum declarations with string values', () => { const testFile: TestFile = { name: _('/node_modules/test-package/some/file.js'), @@ -1767,6 +1853,7 @@ runInEachFileSystem(() => { expect(classSymbol).toBeDefined(); expect(classSymbol!.declaration.valueDeclaration).toBe(node); expect(classSymbol!.implementation.valueDeclaration).toBe(node); + expect(classSymbol!.adjacent).toBeUndefined(); }); it('should return the class symbol for a class expression (outer variable declaration)', @@ -1784,6 +1871,7 @@ runInEachFileSystem(() => { expect(classSymbol).toBeDefined(); expect(classSymbol!.declaration.valueDeclaration).toBe(outerNode); expect(classSymbol!.implementation.valueDeclaration).toBe(innerNode); + expect(classSymbol!.adjacent).toBeUndefined(); }); it('should return the class symbol for a class expression (inner class expression)', () => { @@ -1798,6 +1886,7 @@ runInEachFileSystem(() => { expect(classSymbol).toBeDefined(); expect(classSymbol!.declaration.valueDeclaration).toBe(outerNode); expect(classSymbol!.implementation.valueDeclaration).toBe(innerNode); + expect(classSymbol!.adjacent).toBeUndefined(); }); it('should return the same class symbol (of the outer declaration) for outer and inner declarations', @@ -1837,6 +1926,7 @@ runInEachFileSystem(() => { return fail('Expected a named class declaration'); } expect(classSymbol.implementation.valueDeclaration.name.text).toBe('SimpleWrappedClass'); + expect(classSymbol.adjacent).toBeUndefined(); }); it('should return the class symbol for a wrapped class expression (inner class expression)', @@ -1861,6 +1951,7 @@ runInEachFileSystem(() => { return fail('Expected a named class declaration'); } expect(classSymbol.implementation.valueDeclaration.name.text).toBe('SimpleWrappedClass'); + expect(classSymbol.adjacent).toBeUndefined(); }); it('should return the same class symbol (of the outer declaration) for wrapped outer and inner declarations', @@ -1881,6 +1972,123 @@ runInEachFileSystem(() => { expect(innerSymbol.implementation).toBe(outerSymbol.implementation); }); + it('should return the class symbol for a decorated wrapped class expression (from the outer variable declaration)', + () => { + loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); + const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const outerNode = getDeclaration( + bundle.program, WRAPPED_CLASS_EXPRESSION_FILE.name, 'DecoratedWrappedClass', + isNamedVariableDeclaration); + const classSymbol = host.getClassSymbol(outerNode); + + if (classSymbol === undefined) { + return fail('Expected classSymbol to be defined'); + } + expect(classSymbol.name).toEqual('DecoratedWrappedClass'); + expect(classSymbol.declaration.valueDeclaration).toBe(outerNode); + + if (!ts.isClassExpression(classSymbol.implementation.valueDeclaration)) { + return fail('Expected a named class declaration'); + } + expect(classSymbol.implementation.valueDeclaration.name!.text) + .toBe('InnerDecoratedWrappedClass'); + + if (classSymbol.adjacent === undefined || + !isNamedVariableDeclaration(classSymbol.adjacent.valueDeclaration)) { + return fail('Expected a named variable declaration for the adjacent symbol'); + } + expect(classSymbol.adjacent.valueDeclaration.name.text) + .toBe('AdjacentDecoratedWrappedClass'); + }); + + it('should return the class symbol for a decorated wrapped class expression (from the inner class expression)', + () => { + loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); + const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const outerNode = getDeclaration( + bundle.program, WRAPPED_CLASS_EXPRESSION_FILE.name, 'DecoratedWrappedClass', + isNamedVariableDeclaration); + const innerNode = walkForDeclaration('InnerDecoratedWrappedClass', outerNode); + if (innerNode === null) { + throw new Error('Expected to find InnerDecoratedWrappedClass'); + } + const classSymbol = host.getClassSymbol(innerNode); + + if (classSymbol === undefined) { + return fail('Expected classSymbol to be defined'); + } + expect(classSymbol.name).toEqual('DecoratedWrappedClass'); + expect(classSymbol.declaration.valueDeclaration).toBe(outerNode); + expect(classSymbol.implementation.valueDeclaration).toBe(innerNode); + + if (classSymbol.adjacent === undefined || + !isNamedVariableDeclaration(classSymbol.adjacent.valueDeclaration)) { + return fail('Expected a named variable declaration for the adjacent symbol'); + } + expect(classSymbol.adjacent.valueDeclaration.name.text) + .toBe('AdjacentDecoratedWrappedClass'); + }); + + + it('should return the class symbol for a decorated wrapped class expression (from the adjacent class expression)', + () => { + loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); + const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const outerNode = getDeclaration( + bundle.program, WRAPPED_CLASS_EXPRESSION_FILE.name, 'DecoratedWrappedClass', + isNamedVariableDeclaration); + const innerNode = walkForDeclaration('InnerDecoratedWrappedClass', outerNode); + if (innerNode === null) { + throw new Error('Expected to find InnerDecoratedWrappedClass'); + } + const adjacentNode: ts.ClassExpression = + (outerNode as any) + .initializer.expression.expression.body.statements[0] + .declarationList.declarations[0] + .name; + const classSymbol = host.getClassSymbol(adjacentNode); + + if (classSymbol === undefined) { + return fail('Expected classSymbol to be defined'); + } + expect(classSymbol.name).toEqual('DecoratedWrappedClass'); + expect(classSymbol.declaration.valueDeclaration).toBe(outerNode); + expect(classSymbol.implementation.valueDeclaration).toBe(innerNode); + + if (classSymbol.adjacent === undefined || + !isNamedVariableDeclaration(classSymbol.adjacent.valueDeclaration)) { + return fail('Expected a named variable declaration for the adjacent symbol'); + } + expect(classSymbol.adjacent.valueDeclaration.name.text) + .toBe('AdjacentDecoratedWrappedClass'); + }); + + it('should return the same class symbol (of the outer declaration) for decorated wrapped outer and inner declarations', + () => { + loadTestFiles([WRAPPED_CLASS_EXPRESSION_FILE]); + const bundle = makeTestBundleProgram(WRAPPED_CLASS_EXPRESSION_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const outerNode = getDeclaration( + bundle.program, WRAPPED_CLASS_EXPRESSION_FILE.name, 'DecoratedWrappedClass', + isNamedVariableDeclaration); + const innerNode = walkForDeclaration('InnerDecoratedWrappedClass', outerNode); + if (innerNode === null) { + throw new Error('Expected to find InnerDecoratedWrappedClass'); + } + + const innerSymbol = host.getClassSymbol(innerNode)!; + const outerSymbol = host.getClassSymbol(outerNode)!; + expect(innerSymbol.declaration).toBe(outerSymbol.declaration); + expect(innerSymbol.implementation).toBe(outerSymbol.implementation); + }); + it('should return undefined if node is not a class', () => { loadTestFiles([FOO_FUNCTION_FILE]); const bundle = makeTestBundleProgram(FOO_FUNCTION_FILE.name); @@ -1892,7 +2100,7 @@ runInEachFileSystem(() => { expect(classSymbol).toBeUndefined(); }); - it('should return undefined if variable declaration is not initialized using a class expression', + it('should return undefined if variable declaration is not initialized to a valid class definition', () => { const testFile = { name: _('/test.js'), @@ -2115,8 +2323,9 @@ runInEachFileSystem(() => { const secondaryFile = getSourceFileOrError(bundle.program, DECORATED_FILES[1].name); const classSymbolsPrimary = host.findClassSymbols(primaryFile); - expect(classSymbolsPrimary.length).toEqual(3); - expect(classSymbolsPrimary.map(c => c.name)).toEqual(['A', 'B', 'C']); + expect(classSymbolsPrimary.map(c => c.name)).toEqual([ + 'A', 'B', 'C', 'AliasedClass', 'Wrapped1', 'Wrapped2' + ]); const classSymbolsSecondary = host.findClassSymbols(secondaryFile); expect(classSymbolsSecondary.length).toEqual(1); @@ -2134,10 +2343,14 @@ runInEachFileSystem(() => { const classSymbolsPrimary = host.findClassSymbols(primaryFile); const classDecoratorsPrimary = classSymbolsPrimary.map(s => host.getDecoratorsOfSymbol(s)); - expect(classDecoratorsPrimary.length).toEqual(3); + + expect(classDecoratorsPrimary.length).toEqual(6); expect(classDecoratorsPrimary[0]!.map(d => d.name)).toEqual(['Directive']); expect(classDecoratorsPrimary[1]!.map(d => d.name)).toEqual(['Directive']); expect(classDecoratorsPrimary[2]).toBe(null); + expect(classDecoratorsPrimary[3]!.map(d => d.name)).toEqual(['Directive']); + expect(classDecoratorsPrimary[4]!.map(d => d.name)).toEqual(['Directive']); + expect(classDecoratorsPrimary[5]!.map(d => d.name)).toEqual(['Directive']); const classSymbolsSecondary = host.findClassSymbols(secondaryFile); const classDecoratorsSecondary = @@ -2339,7 +2552,7 @@ runInEachFileSystem(() => { }); describe('getInternalNameOfClass()', () => { - it('should return the name of the class (there is no separate inner class in ES2015)', () => { + it('should return the name of the class (if there is no separate inner class)', () => { loadTestFiles([SIMPLE_CLASS_FILE]); const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); const host = createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); @@ -2347,10 +2560,32 @@ runInEachFileSystem(() => { bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedClassDeclaration); expect(host.getInternalNameOfClass(node).text).toEqual('EmptyClass'); }); + + it('should return the name of the inner class (if there is an IIFE)', () => { + loadTestFiles([SIMPLE_CLASS_FILE]); + const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); + const host = createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const node = getDeclaration( + bundle.program, SIMPLE_CLASS_FILE.name, 'SimpleWrappedClass', + isNamedVariableDeclaration); + expect(host.getInternalNameOfClass(node).text).toEqual('SimpleWrappedClassInner'); + }); + + it('should return the name of the inner variable declaration (if there is an aliased class in an IIFE)', + () => { + loadTestFiles([SIMPLE_CLASS_FILE]); + const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const node = getDeclaration( + bundle.program, SIMPLE_CLASS_FILE.name, 'AliasedWrappedClass', + isNamedVariableDeclaration); + expect(host.getInternalNameOfClass(node).text).toEqual('AliasedWrappedClassInner'); + }); }); describe('getAdjacentNameOfClass()', () => { - it('should return the name of the class (there is no separate inner class in ES2015)', () => { + it('should return the name of the class (if there is no separate inner class)', () => { loadTestFiles([SIMPLE_CLASS_FILE]); const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); const host = createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); @@ -2358,6 +2593,28 @@ runInEachFileSystem(() => { bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedClassDeclaration); expect(host.getAdjacentNameOfClass(node).text).toEqual('EmptyClass'); }); + + it('should return the name of the inner class (if there is an IIFE)', () => { + loadTestFiles([SIMPLE_CLASS_FILE]); + const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); + const host = createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const node = getDeclaration( + bundle.program, SIMPLE_CLASS_FILE.name, 'SimpleWrappedClass', + isNamedVariableDeclaration); + expect(host.getAdjacentNameOfClass(node).text).toEqual('SimpleWrappedClassInner'); + }); + + it('should return the name of the inner variable declaration (if there is an aliased class in an IIFE)', + () => { + loadTestFiles([SIMPLE_CLASS_FILE]); + const bundle = makeTestBundleProgram(SIMPLE_CLASS_FILE.name); + const host = + createHost(bundle, new Esm2015ReflectionHost(new MockLogger(), false, bundle)); + const node = getDeclaration( + bundle.program, SIMPLE_CLASS_FILE.name, 'AliasedWrappedClass', + isNamedVariableDeclaration); + expect(host.getAdjacentNameOfClass(node).text).toEqual('AliasedWrappedClassAdjacent'); + }); }); describe('getEndOfClass()', () => { diff --git a/packages/compiler-cli/ngcc/test/host/esm5_host_import_helper_spec.ts b/packages/compiler-cli/ngcc/test/host/esm5_host_import_helper_spec.ts index 6ad45d394a..6b91881644 100644 --- a/packages/compiler-cli/ngcc/test/host/esm5_host_import_helper_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/esm5_host_import_helper_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,11 +9,12 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, isNamedFunctionDeclaration, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles, loadTsLib} from '../../../test/helpers'; -import {Esm5ReflectionHost, getIifeBody} from '../../src/host/esm5_host'; -import {MockLogger} from '../helpers/mock_logger'; +import {getIifeBody} from '../../src/host/esm2015_host'; +import {Esm5ReflectionHost} from '../../src/host/esm5_host'; import {convertToDirectTsLibImport, convertToInlineTsLib, makeTestBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -331,7 +332,8 @@ export { AliasedDirective$1 }; const classNode = getDeclaration( bundle.program, _('/some_minified_directive.js'), 'SomeDirective', isNamedVariableDeclaration); - const innerNode = getIifeBody(classNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(classNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(classNode); expect(classSymbol).toBeDefined(); diff --git a/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts b/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts index 86a3372f69..e7663a72ee 100644 --- a/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,15 +10,15 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, ConcreteDeclaration, CtorParameter, Decorator, DownleveledEnum, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration, KnownDeclaration, TypeScriptReflectionHost} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DelegatingReflectionHost} from '../../src/host/delegating_host'; -import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; -import {Esm5ReflectionHost, getIifeBody} from '../../src/host/esm5_host'; +import {Esm2015ReflectionHost, getIifeBody} from '../../src/host/esm2015_host'; +import {Esm5ReflectionHost} from '../../src/host/esm5_host'; import {NgccReflectionHost} from '../../src/host/ngcc_host'; import {BundleProgram} from '../../src/packages/bundle_program'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestBundleProgram, makeTestDtsBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -2283,7 +2283,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new Esm5ReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2297,7 +2298,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new Esm5ReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(innerNode); expect(classSymbol).toBeDefined(); @@ -2312,7 +2314,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new Esm5ReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const innerSymbol = host.getClassSymbol(innerNode)!; const outerSymbol = host.getClassSymbol(outerNode)!; @@ -2327,7 +2330,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new Esm5ReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'NoParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2343,7 +2347,8 @@ runInEachFileSystem(() => { const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'InnerParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2403,7 +2408,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new Esm5ReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', ts.isVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; expect(host.isClass(innerNode)).toBe(true); }); diff --git a/packages/compiler-cli/ngcc/test/host/umd_host_import_helper_spec.ts b/packages/compiler-cli/ngcc/test/host/umd_host_import_helper_spec.ts index 9be9a1f3a2..777703d06b 100644 --- a/packages/compiler-cli/ngcc/test/host/umd_host_import_helper_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/umd_host_import_helper_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,11 +8,11 @@ import {absoluteFrom} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, isNamedVariableDeclaration} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadTestFiles} from '../../../test/helpers'; import {UmdReflectionHost} from '../../src/host/umd_host'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -61,7 +61,7 @@ runInEachFileSystem(() => { return SomeDirective; }()); exports.SomeDirective = SomeDirective; - + var AliasedDirective$1 = /** @class */ (function () { function AliasedDirective() {} AliasedDirective = __decorate([ diff --git a/packages/compiler-cli/ngcc/test/host/umd_host_spec.ts b/packages/compiler-cli/ngcc/test/host/umd_host_spec.ts index b5033c65dc..e4f712f0f6 100644 --- a/packages/compiler-cli/ngcc/test/host/umd_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/umd_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,15 +10,15 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ClassMemberKind, ConcreteDeclaration, CtorParameter, DownleveledEnum, Import, InlineDeclaration, isNamedClassDeclaration, isNamedFunctionDeclaration, isNamedVariableDeclaration, KnownDeclaration, TypeScriptReflectionHost} from '../../../src/ngtsc/reflection'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DelegatingReflectionHost} from '../../src/host/delegating_host'; -import {getIifeBody} from '../../src/host/esm5_host'; +import {getIifeBody} from '../../src/host/esm2015_host'; import {NgccReflectionHost} from '../../src/host/ngcc_host'; import {parseStatementForUmdModule, UmdReflectionHost} from '../../src/host/umd_host'; import {BundleProgram} from '../../src/packages/bundle_program'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestBundleProgram} from '../helpers/utils'; import {expectTypeValueReferencesForParameters} from './util'; @@ -570,108 +570,110 @@ runInEachFileSystem(() => { EXPORTS_FILES = [ { name: _('/index.js'), - contents: ` - (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./a_module'), require('./b_module'), require('./wildcard_reexports'), require('./wildcard_reexports_imported_helpers'), require('./wildcard_reexports_with_require')) : - typeof define === 'function' && define.amd ? define('index', ['exports', './a_module', './b_module', './wildcard_reexports', './wildcard_reexports_imported_helpers', './wildcard_reexports_with_require'], factory) : - (factory(global.index, global.a_module, global.b_module, global.wildcard_reexports, global.wildcard_reexports_imported_helpers, global.wildcard_reexports_with_require)); - }(this, (function (exports, a_module, b_module, wildcard_reexports, wildcard_reexports_imported_helpers, wildcard_reexports_with_require) { 'use strict'; - }))); - ` + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./a_module'), require('./b_module'), require('./wildcard_reexports'), require('./wildcard_reexports_imported_helpers'), require('./wildcard_reexports_with_require'), require('./define_property_reexports')) :\n` + + ` typeof define === 'function' && define.amd ? define('index', ['exports', './a_module', './b_module', './wildcard_reexports', './wildcard_reexports_imported_helpers', './wildcard_reexports_with_require', './define_property_reexports'], factory) :\n` + + ` (factory(global.index, global.a_module, global.b_module, global.wildcard_reexports, global.wildcard_reexports_imported_helpers, global.wildcard_reexports_with_require, global.define_property_reexports));\n` + + `}(this, (function (exports, a_module, b_module, wildcard_reexports, wildcard_reexports_imported_helpers, wildcard_reexports_with_require, define_property_reexports) { 'use strict';\n` + + `})));\n` }, { name: _('/a_module.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define('a_module', ['exports'], factory) : - (factory(global.a_module)); -}(this, (function (exports) { 'use strict'; - var a = 'a'; - exports.a = a; -})));`, + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n` + + ` typeof define === 'function' && define.amd ? define('a_module', ['exports'], factory) :\n` + + ` (factory(global.a_module));\n` + + `}(this, (function (exports) { 'use strict';\n` + + ` var a = 'a';\n` + + ` exports.a = a;\n` + + `})));\n`, }, { name: _('/b_module.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('/a_module')) : - typeof define === 'function' && define.amd ? define('b_module', ['exports', '@angular/core', 'a_module'], factory) : - (factory(global.b_module)); -}(this, (function (exports, core, a_module) { 'use strict'; - var b = a_module.a; - var e = 'e'; - var SomeClass = (function() { - function SomeClass() {} - return SomeClass; - }()); - - exports.Directive = core.Directive; - exports.a = a_module.a; - exports.b = b; - exports.c = a_module.a; - exports.d = b; - exports.e = e; - exports.DirectiveX = core.Directive; - exports.SomeClass = SomeClass; -})));`, + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('./a_module')) :\n` + + ` typeof define === 'function' && define.amd ? define('b_module', ['exports', '@angular/core', './a_module'], factory) :\n` + + ` (factory(global.b_module));\n` + + `}(this, (function (exports, core, a_module) { 'use strict';\n` + + ` var b = a_module.a;\n` + + ` var e = 'e';\n` + + ` var SomeClass = (function() {\n` + + ` function SomeClass() {}\n` + + ` return SomeClass;\n` + + ` }());\n` + + `\n` + + ` exports.Directive = core.Directive;\n` + + ` exports.a = a_module.a;\n` + + ` exports.b = b;\n` + + ` exports.c = a_module.a;\n` + + ` exports.d = b;\n` + + ` exports.e = e;\n` + + ` exports.DirectiveX = core.Directive;\n` + + ` exports.SomeClass = SomeClass;\n` + + `})));\n`, }, { name: _('/xtra_module.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define('xtra_module', ['exports'], factory) : - (factory(global.xtra_module)); -}(this, (function (exports) { 'use strict'; - var xtra1 = 'xtra1'; - var xtra2 = 'xtra2'; - exports.xtra1 = xtra1; - exports.xtra2 = xtra2; -})));`, + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n` + + ` typeof define === 'function' && define.amd ? define('xtra_module', ['exports'], factory) :\n` + + ` (factory(global.xtra_module));\n` + + `}(this, (function (exports) { 'use strict';\n` + + ` var xtra1 = 'xtra1';\n` + + ` var xtra2 = 'xtra2';\n` + + ` exports.xtra1 = xtra1;\n` + + ` exports.xtra2 = xtra2;\n` + + `})));\n`, }, { name: _('/wildcard_reexports.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./b_module'), require('./xtra_module')) : - typeof define === 'function' && define.amd ? define('wildcard_reexports', ['exports', './b_module', './xtra_module'], factory) : - (factory(global.wildcard_reexports, b_module, xtra_module)); -}(this, (function (exports, b_module, xtra_module) { 'use strict'; - function __export(m) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - __export(b_module); - __export(xtra_module); -})));`, + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./b_module'), require('./xtra_module')) :\n` + + ` typeof define === 'function' && define.amd ? define('wildcard_reexports', ['exports', './b_module', './xtra_module'], factory) :\n` + + ` (factory(global.wildcard_reexports, b_module, xtra_module));\n` + + `}(this, (function (exports, b_module, xtra_module) { 'use strict';\n` + + ` function __export(m) {\n` + + ` for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n` + + ` }\n` + + ` __export(b_module);\n` + + ` __export(xtra_module);\n` + + `})));\n`, }, { name: _('/wildcard_reexports_imported_helpers.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('./b_module'), require('./xtra_module')) : - typeof define === 'function' && define.amd ? define('wildcard_reexports', ['exports', 'tslib', './b_module', './xtra_module'], factory) : - (factory(global.wildcard_reexports_imported_helpers, tslib, b_module, xtra_module)); -}(this, (function (exports, tslib, b_module, xtra_module) { 'use strict'; - tslib.__exportStar(b_module, exports); - tslib.__exportStar(xtra_module, exports); -})));`, + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('./b_module'), require('./xtra_module')) :\n` + + ` typeof define === 'function' && define.amd ? define('wildcard_reexports', ['exports', 'tslib', './b_module', './xtra_module'], factory) :\n` + + ` (factory(global.wildcard_reexports_imported_helpers, tslib, b_module, xtra_module));\n` + + `}(this, (function (exports, tslib, b_module, xtra_module) { 'use strict';\n` + + ` tslib.__exportStar(b_module, exports);\n` + + ` tslib.__exportStar(xtra_module, exports);\n` + + `})));\n`, }, { name: _('/wildcard_reexports_with_require.js'), - contents: ` -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(require, exports) : - typeof define === 'function' && define.amd ? define('wildcard_reexports_with_require', ['require', 'exports'], factory); -}(this, (function (require, exports) { 'use strict'; - function __export(m) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - var b_module = require('./b_module'); - __export(b_module); - __export(require('./xtra_module')); -})));`, - } + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(require, exports) :\n` + + ` typeof define === 'function' && define.amd ? define('wildcard_reexports_with_require', ['require', 'exports'], factory);\n` + + `}(this, (function (require, exports) { 'use strict';\n` + + ` function __export(m) {\n` + + ` for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n` + + ` }\n` + + ` var b_module = require('./b_module');\n` + + ` __export(b_module);\n` + + ` __export(require('./xtra_module'));\n` + + `})));\n`, + }, + { + name: _('/define_property_reexports.js'), + contents: `(function (global, factory) {\n` + + ` typeof exports === 'object' && typeof module !== 'undefined' ? factory(require, exports) :\n` + + ` typeof define === 'function' && define.amd ? define('define_property_reexports', ['require', 'exports'], factory);\n` + + `}(this, (function (require, exports) { 'use strict';\n` + + `var moduleA = require("./a_module");\n` + + `Object.defineProperty(exports, "newA", { enumerable: true, get: function () { return moduleA.a; } });\n` + + `})));`, + }, ]; FUNCTION_BODY_FILE = { @@ -1939,9 +1941,10 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const {factoryFn} = parseStatementForUmdModule( getSourceFileOrError(bundle.program, testFile.name).statements[0])!; - const tslibSourceFile = getSourceFileOrError(bundle.program, tslibFile.name); - - const testForHelper = createTestForTsHelper(host, factoryFn, () => tslibSourceFile); + const testForHelper = createTestForTsHelper( + host, factoryFn, + (_fn, helperName) => getDeclaration( + bundle.program, tslibFile.name, helperName, ts.isFunctionDeclaration)); testForHelper('a', '__assign', KnownDeclaration.TsHelperAssign, 'tslib'); testForHelper('b', '__spread', KnownDeclaration.TsHelperSpread, 'tslib'); @@ -2181,9 +2184,9 @@ runInEachFileSystem(() => { .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) .toEqual([ ['Directive', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], - ['a', `a = 'a'`, '/a_module'], + ['a', `a = 'a'`, null], ['b', `b = a_module.a`, null], - ['c', `a = 'a'`, '/a_module'], + ['c', `a = 'a'`, null], ['d', `b = a_module.a`, null], ['e', `e = 'e'`, null], ['DirectiveX', `Directive: FnWithArg<(clazz: any) => any>`, '@angular/core'], @@ -2292,6 +2295,21 @@ runInEachFileSystem(() => { ['__unknownHelper', null], ]); }); + + it('should define property exports from a module', () => { + loadFakeCore(getFileSystem()); + loadTestFiles(EXPORTS_FILES); + const bundle = makeTestBundleProgram(_('/index.js')); + const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); + const file = getSourceFileOrError(bundle.program, _('/define_property_reexports.js')); + const exportDeclarations = host.getExportsOfModule(file); + expect(exportDeclarations).not.toBe(null); + expect(Array.from(exportDeclarations!.entries()) + .map(entry => [entry[0], entry[1].node!.getText(), entry[1].viaModule])) + .toEqual([ + ['newA', `a = 'a'`, null], + ]); + }); }); describe('getClassSymbol()', () => { @@ -2399,7 +2417,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2413,7 +2432,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(innerNode); expect(classSymbol).toBeDefined(); @@ -2428,7 +2448,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const innerSymbol = host.getClassSymbol(innerNode)!; const outerSymbol = host.getClassSymbol(outerNode)!; @@ -2443,7 +2464,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'NoParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2459,7 +2481,8 @@ runInEachFileSystem(() => { const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'InnerParensClass', isNamedVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; const classSymbol = host.getClassSymbol(outerNode); expect(classSymbol).toBeDefined(); @@ -2519,7 +2542,8 @@ runInEachFileSystem(() => { const host = createHost(bundle, new UmdReflectionHost(new MockLogger(), false, bundle)); const outerNode = getDeclaration( bundle.program, SIMPLE_CLASS_FILE.name, 'EmptyClass', ts.isVariableDeclaration); - const innerNode = getIifeBody(outerNode)!.statements.find(isNamedFunctionDeclaration)!; + const innerNode = (getIifeBody(outerNode.initializer!) as ts.Block) + .statements.find(isNamedFunctionDeclaration)!; expect(host.isClass(innerNode)).toBe(true); }); diff --git a/packages/compiler-cli/ngcc/test/host/util.ts b/packages/compiler-cli/ngcc/test/host/util.ts index f461a85a04..0295155af5 100644 --- a/packages/compiler-cli/ngcc/test/host/util.ts +++ b/packages/compiler-cli/ngcc/test/host/util.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/integration/ngcc_spec.ts b/packages/compiler-cli/ngcc/test/integration/ngcc_spec.ts index b98f64f853..a6531a5172 100644 --- a/packages/compiler-cli/ngcc/test/integration/ngcc_spec.ts +++ b/packages/compiler-cli/ngcc/test/integration/ngcc_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,15 +12,16 @@ import * as os from 'os'; import {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, join} from '../../../src/ngtsc/file_system'; import {Folder, MockFileSystem, runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadStandardTestFiles, loadTestFiles} from '../../../test/helpers'; import {getLockFilePath} from '../../src/locking/lock_file'; import {mainNgcc} from '../../src/main'; +import {clearTsConfigCache} from '../../src/ngcc_options'; import {hasBeenProcessed, markAsProcessed} from '../../src/packages/build_marker'; import {EntryPointJsonProperty, EntryPointPackageJson, SUPPORTED_FORMAT_PROPERTIES} from '../../src/packages/entry_point'; import {EntryPointManifestFile} from '../../src/packages/entry_point_manifest'; import {Transformer} from '../../src/packages/transformer'; import {DirectPackageJsonUpdater, PackageJsonUpdater} from '../../src/writing/package_json_updater'; -import {MockLogger} from '../helpers/mock_logger'; import {compileIntoApf, compileIntoFlatEs2015Package, compileIntoFlatEs5Package} from './util'; @@ -31,6 +32,14 @@ runInEachFileSystem(() => { let _: typeof absoluteFrom; let fs: FileSystem; let pkgJsonUpdater: PackageJsonUpdater; + const STANDARD_MARKERS = { + main: '0.0.0-PLACEHOLDER', + module: '0.0.0-PLACEHOLDER', + es2015: '0.0.0-PLACEHOLDER', + esm2015: '0.0.0-PLACEHOLDER', + fesm2015: '0.0.0-PLACEHOLDER', + typings: '0.0.0-PLACEHOLDER', + }; beforeEach(() => { _ = absoluteFrom; @@ -42,6 +51,10 @@ runInEachFileSystem(() => { spyOn(os, 'cpus').and.returnValue([{model: 'Mock CPU'} as any]); }); + afterEach(() => { + clearTsConfigCache(); + }); + /** * Sets up the esm5 format in the Angular core package. By default, package output * no longer contains esm5 output, so we process the fesm2015 file into ES5 and @@ -639,15 +652,6 @@ runInEachFileSystem(() => { describe('with targetEntryPointPath', () => { it('should only compile the given package entry-point (and its dependencies).', () => { - const STANDARD_MARKERS = { - main: '0.0.0-PLACEHOLDER', - module: '0.0.0-PLACEHOLDER', - es2015: '0.0.0-PLACEHOLDER', - esm2015: '0.0.0-PLACEHOLDER', - fesm2015: '0.0.0-PLACEHOLDER', - typings: '0.0.0-PLACEHOLDER', - }; - mainNgcc({basePath: '/node_modules', targetEntryPointPath: '@angular/common/http/testing'}); expect(loadPackage('@angular/common/http/testing').__processed_by_ivy_ngcc__) .toEqual(STANDARD_MARKERS); @@ -813,6 +817,27 @@ runInEachFileSystem(() => { pkgJsonUpdater, targetPackage, targetPackageJsonPath, ['typings', ...properties]); } + describe('with findEntryPointsFromTsConfigProgram', () => { + it('should only compile the package entry-points (and their dependencies) reachable from the program in tsconfig.json.', + () => { + mainNgcc({basePath: '/node_modules', findEntryPointsFromTsConfigProgram: true}); + // * `common/testing` is a dependency of `./y`, so is compiled. + expect(loadPackage('@angular/common/testing').__processed_by_ivy_ngcc__) + .toEqual(STANDARD_MARKERS); + // * `common/http` is a dependency of `./x`, so is compiled. + expect(loadPackage('@angular/common/http').__processed_by_ivy_ngcc__) + .toEqual(STANDARD_MARKERS); + // * `core` is a dependency of `common/http`, so is compiled. + expect(loadPackage('@angular/core').__processed_by_ivy_ngcc__).toEqual(STANDARD_MARKERS); + // * `common` is a private (only in .js not .d.ts) dependency so is compiled. + expect(loadPackage('@angular/common').__processed_by_ivy_ngcc__) + .toEqual(STANDARD_MARKERS); + // * `common/http/testing` is not a dependency of the program so is not compiled. + expect(loadPackage('@angular/common/http/testing').__processed_by_ivy_ngcc__) + .toBeUndefined(); + }); + }); + it('should clean up outdated artifacts', () => { compileIntoFlatEs2015Package('test-package', { 'index.ts': ` @@ -1516,6 +1541,22 @@ runInEachFileSystem(() => { }); }); + describe('with Closure Compiler', () => { + it('should give closure annotated output with annotateForClosureCompiler: true', () => { + fs.writeFile( + _('/tsconfig.json'), + JSON.stringify({angularCompilerOptions: {annotateForClosureCompiler: true}})); + mainNgcc({basePath: '/dist', propertiesToConsider: ['es2015']}); + const jsContents = fs.readFile(_(`/dist/local-package/index.js`)); + expect(jsContents).toContain('/** @nocollapse */ \nAppComponent.ɵcmp ='); + }); + it('should default to not give closure annotated output', () => { + mainNgcc({basePath: '/dist', propertiesToConsider: ['es2015']}); + const jsContents = fs.readFile(_(`/dist/local-package/index.js`)); + expect(jsContents).not.toContain('/** @nocollapse */'); + }); + }); + describe('with configuration files', () => { it('should process a configured deep-import as an entry-point', () => { loadTestFiles([ @@ -1531,7 +1572,7 @@ runInEachFileSystem(() => { }, { name: _('/node_modules/deep_import/package.json'), - contents: '{"name": "deep-import", "es2015": "./index.js", "typings": "./index.d.ts"}', + contents: '{"name": "deep_import", "es2015": "./index.js", "typings": "./index.d.ts"}', }, { name: _('/node_modules/deep_import/entry_point.js'), @@ -1574,21 +1615,28 @@ runInEachFileSystem(() => { loadTestFiles([ { name: _('/ngcc.config.js'), - contents: `module.exports = { packages: { - '@angular/core': { - entryPoints: { - './testing': {ignore: true} - }, - }, - '@angular/common': { - entryPoints: { - '.': {ignore: true} - }, - } - }};`, + contents: ` + module.exports = { + packages: { + '@angular/core': { + entryPoints: { + './testing': {ignore: true}, + }, + }, + '@angular/common': { + entryPoints: { + '.': {ignore: true}, + './http': {override: {fesm2015: undefined}}, + }, + }, + }, + }; + `, }, ]); + mainNgcc({basePath: '/node_modules', propertiesToConsider: ['es2015']}); + // We process core but not core/testing. expect(loadPackage('@angular/core').__processed_by_ivy_ngcc__).toEqual({ module: '0.0.0-PLACEHOLDER', @@ -1597,12 +1645,14 @@ runInEachFileSystem(() => { typings: '0.0.0-PLACEHOLDER', }); expect(loadPackage('@angular/core/testing').__processed_by_ivy_ngcc__).toBeUndefined(); + // We do not compile common but we do compile its sub-entry-points. expect(loadPackage('@angular/common').__processed_by_ivy_ngcc__).toBeUndefined(); expect(loadPackage('@angular/common/http').__processed_by_ivy_ngcc__).toEqual({ + // `fesm2015` is not processed, because the ngcc config removes it. + // fesm2015: '0.0.0-PLACEHOLDER', module: '0.0.0-PLACEHOLDER', es2015: '0.0.0-PLACEHOLDER', - fesm2015: '0.0.0-PLACEHOLDER', typings: '0.0.0-PLACEHOLDER', }); }); @@ -2108,6 +2158,17 @@ runInEachFileSystem(() => { }, {name: _('/node_modules/invalid-package/index.metadata.json'), contents: 'DUMMY DATA'}, ]); + + // A sample application that imports entry-points + loadTestFiles([ + {name: _('/tsconfig.json'), contents: '{"files": ["src/index.ts"]}'}, + {name: _('/src/index.ts'), contents: `import {X} from './x';\nimport {Y} from './y';`}, + {name: _('/src/x.ts'), contents: `import '@angular/common/http';\nexport class X {}`}, + { + name: _('/src/y.ts'), + contents: `import * as t from '@angular/common/testing';\n export class Y {}` + }, + ]); } }); }); diff --git a/packages/compiler-cli/ngcc/test/integration/util.ts b/packages/compiler-cli/ngcc/test/integration/util.ts index c48d223604..53f272cb23 100644 --- a/packages/compiler-cli/ngcc/test/integration/util.ts +++ b/packages/compiler-cli/ngcc/test/integration/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,8 @@ export type PackageSources = { /** * Instead of writing packaged code by hand, and manually describing the layout of the package, this * function transpiles the TypeScript sources into a flat file structure using the ES5 format. In - * this package layout, all compiled sources are at the root of the package, with .d.ts files next - * to the .js files. Each .js also has a corresponding .metadata.js file alongside with it. + * this package layout, all compiled sources are at the root of the package, with `.d.ts` files next + * to the `.js` files. Each `.js` also has a corresponding `.metadata.json` file alongside with it. * * All generated code is written into the `node_modules` in the top-level filesystem, ready for use * in testing ngcc. @@ -41,7 +41,7 @@ export function compileIntoFlatEs5Package(pkgName: string, sources: PackageSourc * Instead of writing packaged code by hand, and manually describing the layout of the package, * this function transpiles the TypeScript sources into a flat file structure using the ES2015 * format. In this package layout, all compiled sources are at the root of the package, with - * `.d.ts` files next to the `.js` files. Each `.js` also has a corresponding `.metadata.js` + * `.d.ts` files next to the `.js` files. Each `.js` also has a corresponding `.metadata.json` * file alongside with it. * * All generated code is written into the `node_modules` in the top-level filesystem, ready for use @@ -78,8 +78,8 @@ export interface FlatLayoutOptions { /** * Instead of writing packaged code by hand, and manually describing the layout of the package, this * function transpiles the TypeScript sources into a flat file structure using a single format. In - * this package layout, all compiled sources are at the root of the package, with .d.ts files next - * to the .js files. Each .js also has a corresponding .metadata.js file alongside with it. + * this package layout, all compiled sources are at the root of the package, with `.d.ts` files next + * to the `.js` files. Each `.js` also has a corresponding `.metadata.json` file alongside with it. * * All generated code is written into the `node_modules` in the top-level filesystem, ready for use * in testing ngcc. diff --git a/packages/compiler-cli/ngcc/test/locking/async_locker_spec.ts b/packages/compiler-cli/ngcc/test/locking/async_locker_spec.ts index 9f359b37d8..3cd2374ecb 100644 --- a/packages/compiler-cli/ngcc/test/locking/async_locker_spec.ts +++ b/packages/compiler-cli/ngcc/test/locking/async_locker_spec.ts @@ -1,15 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {AsyncLocker} from '../../src/locking/async_locker'; import {MockLockFile} from '../helpers/mock_lock_file'; -import {MockLogger} from '../helpers/mock_logger'; runInEachFileSystem(() => { describe('AsyncLocker', () => { @@ -71,6 +71,7 @@ runInEachFileSystem(() => { } return lockFileContents; }); + spyOn(process, 'kill').and.returnValue(); const promise = locker.lock(async () => log.push('fn()')); // The lock is now waiting on the lock-file becoming free, so no `fn()` in the log. @@ -80,6 +81,7 @@ runInEachFileSystem(() => { `(If you are sure no ngcc process is running then you should delete the lock-file at ${ lockFile.path}.)` ]]); + expect(process.kill).toHaveBeenCalledWith(188, 0); lockFileContents = null; // The lock-file has been removed, so we can create our own lock-file, call `fn()` and then @@ -88,6 +90,47 @@ runInEachFileSystem(() => { expect(log).toEqual(['write()', 'read() => 188', 'write()', 'fn()', 'remove()']); }); + it('should fail fast when waiting on a dead process', async () => { + const fs = getFileSystem(); + const log: string[] = []; + const lockFile = new MockLockFile(fs, log); + const logger = new MockLogger(); + const locker = new AsyncLocker(lockFile, logger, 100, 10); + + let lockFileContents: string|null = '188'; + spyOn(lockFile, 'write').and.callFake(() => { + log.push('write()'); + if (lockFileContents) { + throw {code: 'EEXIST'}; + } + }); + spyOn(lockFile, 'read').and.callFake(() => { + log.push('read() => ' + lockFileContents); + if (lockFileContents === null) { + throw {code: 'ENOENT'}; + } + return lockFileContents; + }); + spyOn(process, 'kill').and.callFake(() => { + throw {code: 'ESRCH'}; + }); + + const promise = locker.lock(async () => log.push('fn()')); + // The lock has already failed so no `fn()` in the log. + expect(log).toEqual(['write()', 'read() => 188', 'write()', 'read() => 188']); + expect(logger.logs.info).toEqual([]); + expect(process.kill).toHaveBeenCalledWith(188, 0); + // Check that a missing process errors out. + let error: Error; + await promise.catch(e => error = e); + expect(log).toEqual(['write()', 'read() => 188', 'write()', 'read() => 188']); + expect(error!.message) + .toEqual( + `Lock found, but no process with PID 188 seems to be running.\n` + + `(If you are sure no ngcc process is running then you should delete the lock-file at ${ + lockFile.path}.)`); + }); + it('should extend the retry timeout if the other process locking the file changes', async () => { const fs = getFileSystem(); const log: string[] = []; @@ -109,6 +152,7 @@ runInEachFileSystem(() => { } return lockFileContents; }); + spyOn(process, 'kill').and.returnValue(); const promise = locker.lock(async () => log.push('fn()')); // The lock is now waiting on the lock-file becoming free, so no `fn()` in the log. @@ -118,6 +162,7 @@ runInEachFileSystem(() => { `(If you are sure no ngcc process is running then you should delete the lock-file at ${ lockFile.path}.)` ]]); + expect(process.kill).toHaveBeenCalledWith(188, 0); lockFileContents = '444'; // The lock-file has been taken over by another process - wait for the next attempt @@ -131,6 +176,7 @@ runInEachFileSystem(() => { `(If you are sure no ngcc process is running then you should delete the lock-file at ${ lockFile.path}.)`] ]); + expect(process.kill).toHaveBeenCalledWith(444, 0); lockFileContents = null; // The lock-file has been removed, so we can create our own lock-file, call `fn()` and @@ -163,11 +209,13 @@ runInEachFileSystem(() => { } return lockFileContents; }); + spyOn(process, 'kill').and.returnValue(); const promise = locker.lock(async () => log.push('fn()')); // The lock is now waiting on the lock-file becoming free, so no `fn()` in the log. expect(log).toEqual(['write()', 'read() => 188']); + expect(process.kill).toHaveBeenCalledWith(188, 0); // Do not remove the lock-file and let the call to `lock()` timeout. let error: Error; await promise.catch(e => error = e); diff --git a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/index_spec.ts b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/index_spec.ts index 1f1c85720b..69017747e7 100644 --- a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/index_spec.ts +++ b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/index_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,9 +10,9 @@ import * as process from 'process'; import {FileSystem, getFileSystem} from '../../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../../src/ngtsc/logging/testing'; import {getLockFilePath} from '../../../src/locking/lock_file'; import {LockFileWithChildProcess} from '../../../src/locking/lock_file_with_child_process'; -import {MockLogger} from '../../helpers/mock_logger'; runInEachFileSystem(() => { describe('LockFileWithChildProcess', () => { diff --git a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/unlocker_spec.ts b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/unlocker_spec.ts index 80ad758291..07ca1b5995 100644 --- a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/unlocker_spec.ts +++ b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/unlocker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/util_spec.ts b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/util_spec.ts index 171d4625a4..3247dce7cb 100644 --- a/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/util_spec.ts +++ b/packages/compiler-cli/ngcc/test/locking/lockfile_with_child_process/util_spec.ts @@ -1,14 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '../../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../../src/ngtsc/logging/testing'; import {removeLockFile} from '../../../src/locking/lock_file_with_child_process/util'; -import {MockLogger} from '../../helpers/mock_logger'; runInEachFileSystem(() => { describe('LockFileWithChildProcess utils', () => { diff --git a/packages/compiler-cli/ngcc/test/locking/sync_locker_spec.ts b/packages/compiler-cli/ngcc/test/locking/sync_locker_spec.ts index 05e18987d7..21fc15790a 100644 --- a/packages/compiler-cli/ngcc/test/locking/sync_locker_spec.ts +++ b/packages/compiler-cli/ngcc/test/locking/sync_locker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/migrations/missing_injectable_migration_spec.ts b/packages/compiler-cli/ngcc/test/migrations/missing_injectable_migration_spec.ts index f8553bda29..03d45ffb2d 100644 --- a/packages/compiler-cli/ngcc/test/migrations/missing_injectable_migration_spec.ts +++ b/packages/compiler-cli/ngcc/test/migrations/missing_injectable_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,13 +9,13 @@ import * as ts from 'typescript'; import {absoluteFrom, AbsoluteFsPath, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DecorationAnalyzer} from '../../src/analysis/decoration_analyzer'; import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registry'; import {DecorationAnalyses} from '../../src/analysis/types'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {getAngularCoreDecoratorName, MissingInjectableMigration} from '../../src/migrations/missing_injectable_migration'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/migrations/undecorated_parent_migration_spec.ts b/packages/compiler-cli/ngcc/test/migrations/undecorated_parent_migration_spec.ts index 064aa26b96..a67c5254e1 100644 --- a/packages/compiler-cli/ngcc/test/migrations/undecorated_parent_migration_spec.ts +++ b/packages/compiler-cli/ngcc/test/migrations/undecorated_parent_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,12 +9,12 @@ import * as ts from 'typescript'; import {absoluteFrom, AbsoluteFsPath, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DecorationAnalyzer} from '../../src/analysis/decoration_analyzer'; import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registry'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {UndecoratedParentMigration} from '../../src/migrations/undecorated_parent_migration'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { diff --git a/packages/compiler-cli/ngcc/test/ngcc_options_spec.ts b/packages/compiler-cli/ngcc/test/ngcc_options_spec.ts new file mode 100644 index 0000000000..f044799d9a --- /dev/null +++ b/packages/compiler-cli/ngcc/test/ngcc_options_spec.ts @@ -0,0 +1,78 @@ +/** + * @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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '../../src/ngtsc/file_system'; +import {runInEachFileSystem} from '../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../src/ngtsc/logging/testing'; + +import {clearTsConfigCache, getSharedSetup, NgccOptions} from '../src/ngcc_options'; + + + +runInEachFileSystem(() => { + let fs: FileSystem; + let _abs: typeof absoluteFrom; + let projectPath: AbsoluteFsPath; + + beforeEach(() => { + fs = getFileSystem(); + _abs = absoluteFrom; + projectPath = _abs('/project'); + }); + + describe('getSharedSetup()', () => { + let pathToProjectTsConfig: AbsoluteFsPath; + let pathToCustomTsConfig: AbsoluteFsPath; + + beforeEach(() => { + clearTsConfigCache(); + pathToProjectTsConfig = fs.resolve(projectPath, 'tsconfig.json'); + fs.ensureDir(fs.dirname(pathToProjectTsConfig)); + fs.writeFile(pathToProjectTsConfig, '{"files": ["src/index.ts"]}'); + pathToCustomTsConfig = _abs('/path/to/tsconfig.json'); + fs.ensureDir(fs.dirname(pathToCustomTsConfig)); + fs.writeFile(pathToCustomTsConfig, '{"files": ["custom/index.ts"]}'); + }); + + it('should load the tsconfig.json at the project root if tsConfigPath is `undefined`', () => { + const setup = getSharedSetup({...createOptions()}); + expect(setup.tsConfigPath).toBeUndefined(); + expect(setup.tsConfig?.rootNames).toEqual([fs.resolve(projectPath, 'src/index.ts')]); + }); + + it('should load a specific tsconfig.json if tsConfigPath is a string', () => { + const setup = getSharedSetup({...createOptions(), tsConfigPath: pathToCustomTsConfig}); + expect(setup.tsConfigPath).toEqual(pathToCustomTsConfig); + expect(setup.tsConfig?.rootNames).toEqual([_abs('/path/to/custom/index.ts')]); + }); + + it('should not load a tsconfig.json if tsConfigPath is `null`', () => { + const setup = getSharedSetup({...createOptions(), tsConfigPath: null}); + expect(setup.tsConfigPath).toBe(null); + expect(setup.tsConfig).toBe(null); + }); + }); + + /** + * This function creates an object that contains the minimal required properties for NgccOptions. + */ + function createOptions(): NgccOptions { + return { + async: false, + basePath: fs.resolve(projectPath, 'node_modules'), + propertiesToConsider: ['es2015'], + compileAllFormats: false, + createNewEntryPointFormats: false, + logger: new MockLogger(), + fileSystem: getFileSystem(), + errorOnFailedEntryPoint: true, + enableI18nLegacyMessageIdFormat: true, + invalidateEntryPointManifest: false, + }; + } +}); diff --git a/packages/compiler-cli/ngcc/test/packages/build_marker_spec.ts b/packages/compiler-cli/ngcc/test/packages/build_marker_spec.ts index ff9f414c7a..0dc303e7e8 100644 --- a/packages/compiler-cli/ngcc/test/packages/build_marker_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/build_marker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts b/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts index c13d38ee1d..e646e9a350 100644 --- a/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -36,9 +36,6 @@ runInEachFileSystem(() => { it('should compute a hash from the loaded and processed project configuration', () => { const project1 = _Abs('/project-1'); const project1Config = fs.resolve(project1, 'ngcc.config.js'); - const project1NodeModules = fs.resolve(project1, 'node_modules'); - const project1Package1 = fs.resolve(project1NodeModules, 'package-1'); - const project1Package1EntryPoint1 = fs.resolve(project1Package1, 'entry-point-1'); loadTestFiles([{ name: project1Config, @@ -50,16 +47,13 @@ runInEachFileSystem(() => { };` }]); const project1Conf = new NgccConfiguration(fs, project1); - const expectedProject1Config = `{"packages":{"${project1Package1}":[{"entryPoints":{"${ - project1Package1EntryPoint1}":{}},"versionRange":"*"}]},"locking":{}}`; + const expectedProject1Config = + `{"packages":{"package-1":[{"entryPoints":{"./entry-point-1":{}},"versionRange":"*"}]},"locking":{}}`; expect(project1Conf.hash) .toEqual(createHash('md5').update(expectedProject1Config).digest('hex')); const project2 = _Abs('/project-2'); const project2Config = fs.resolve(project2, 'ngcc.config.js'); - const project2NodeModules = fs.resolve(project2, 'node_modules'); - const project2Package1 = fs.resolve(project2NodeModules, 'package-1'); - const project2Package1EntryPoint1 = fs.resolve(project2Package1, 'entry-point-1'); loadTestFiles([{ name: project2Config, @@ -71,8 +65,8 @@ runInEachFileSystem(() => { };` }]); const project2Conf = new NgccConfiguration(fs, project2); - const expectedProject2Config = `{"packages":{"${project2Package1}":[{"entryPoints":{"${ - project2Package1EntryPoint1}":{"ignore":true}},"versionRange":"*"}]},"locking":{}}`; + const expectedProject2Config = + `{"packages":{"package-1":[{"entryPoints":{"./entry-point-1":{"ignore":true}},"versionRange":"*"}]},"locking":{}}`; expect(project2Conf.hash) .toEqual(createHash('md5').update(expectedProject2Config).digest('hex')); }); @@ -94,29 +88,58 @@ runInEachFileSystem(() => { loadTestFiles(packageWithConfigFiles('package-1', 'entry-point-1', '1.0.0')); const readFileSpy = spyOn(fs, 'readFile').and.callThrough(); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '1.0.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}} - }); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); expect(readFileSpy) .toHaveBeenCalledWith(_Abs('/project-1/node_modules/package-1/ngcc.config.js')); }); + it('should cope with configurations missing an `entryPoints` property', () => { + loadTestFiles([ + { + name: _Abs('/project-1/node_modules/package-1/package.json'), + contents: '{"version": "1.0.0"}', + }, + { + name: _Abs('/project-1/node_modules/package-1/ngcc.config.js'), + contents: ` + module.exports = { + ignorableDeepImportMatchers: [ /xxx/ ], + }; + `, + }, + ]); + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [/xxx/], + entryPoints: new Map(), + })); + }); + it('should read extra package config from package level file', () => { loadTestFiles(packageWithConfigFiles( 'package-1', 'entry-point-1', '1.0.0', 'ignorableDeepImportMatchers: [ /xxx/ ]')); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '1.0.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}}, + expect(config).toEqual(jasmine.objectContaining({ ignorableDeepImportMatchers: [/xxx/], - }); + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); }); it('should used cached configuration for a package if available', () => { @@ -124,16 +147,19 @@ runInEachFileSystem(() => { const configuration = new NgccConfiguration(fs, _Abs('/project-1')); // Populate the cache - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); const readFileSpy = spyOn(fs, 'readFile').and.callThrough(); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '1.0.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}} - }); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); expect(readFileSpy).not.toHaveBeenCalled(); }); @@ -141,9 +167,12 @@ runInEachFileSystem(() => { () => { loadTestFiles(packageWithConfigFiles('package-2', 'entry-point-1', '1.0.0')); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({versionRange: '*', entryPoints: {}}); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map(), + })); }); it('should error if a package level config file is badly formatted', () => { @@ -154,11 +183,59 @@ runInEachFileSystem(() => { const configuration = new NgccConfiguration(fs, _Abs('/project-1')); expect( () => configuration.getPackageConfig( - _Abs('/project-1/node_modules/package-1'), '1.0.0')) + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0')) .toThrowError(`Invalid package configuration file at "${ _Abs( '/project-1/node_modules/package-1/ngcc.config.js')}": Unexpected identifier`); }); + + it('should correctly differentiate packages in nested `node_modules/`', () => { + loadTestFiles([ + ...packageWithConfigFiles('package-1', 'entry-point-1', '1.0.0'), + ...packageWithConfigFiles('package-2/node_modules/package-1', 'entry-point-2', '2.0.0'), + ]); + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); + + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-2/node_modules/package-1'), + '2.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [ + _Abs('/project-1/node_modules/package-2/node_modules/package-1/entry-point-2'), + {}, + ], + ]), + })); + + // It should also be able to return a cached config for a package name/version + // combination, but adjust the entry-point paths. + // NOTE: While the package does not exist on the test file system, we are able to retrieve + // the config from cache. + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-3/node_modules/package-1'), + '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [ + _Abs('/project-1/node_modules/package-3/node_modules/package-1/entry-point-1'), + {}, + ], + ]), + })); + }); }); describe('at the project level', () => { @@ -178,13 +255,40 @@ runInEachFileSystem(() => { };` }]); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}}, + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + expect(config).toEqual(jasmine.objectContaining({ ignorableDeepImportMatchers: [/xxx/], - }); + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); + }); + + it('should cope with configurations missing an `entryPoints` property', () => { + loadTestFiles([ + { + name: _Abs('/project-1/ngcc.config.js'), + contents: ` + module.exports = { + packages: { + 'package-1': { + ignorableDeepImportMatchers: [ /xxx/ ], + }, + }, + }; + `, + }, + ]); + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [/xxx/], + entryPoints: new Map(), + })); }); it('should return configuration for the correct version of a package found in a project level file', @@ -214,27 +318,36 @@ runInEachFileSystem(() => { }]); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - expect( - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0')) - .toEqual({ - versionRange: '1.0.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}} - }); - expect( - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '2.5.0')) - .toEqual({ - versionRange: '2.*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-2')]: {}} - }); - expect( - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '3.2.5')) - .toEqual({ - versionRange: '^3.2.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-3')]: {}} - }); - expect( - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '4.0.0')) - .toEqual({versionRange: '*', entryPoints: {}}); + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + })); + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '2.5.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-2'), {}], + ]), + })); + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '3.2.5')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-3'), {}], + ]), + })); + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '4.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map(), + })); }); it('should correctly handle pre-release versions and version ranges', () => { @@ -265,85 +378,62 @@ runInEachFileSystem(() => { }, ]); + const NO_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map(), + }); + const PACKAGE_1_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + }); + const PACKAGE_2_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-2/entry-point-2'), {}], + ]), + }); + const PACKAGE_3_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-3/entry-point-3'), {}], + ]), + }); + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); const getConfig = (packageName: string, version: string|null) => configuration.getPackageConfig( - _Abs(`/project-1/node_modules/${packageName}`), version); + packageName, _Abs(`/project-1/node_modules/${packageName}`), version); // Default version range: * expect(getConfig('package-1', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}}, - }, - 'Config for package-1@1.0.0-beta.2'); + .toEqual(PACKAGE_1_CONFIG, 'Config for package-1@1.0.0-beta.2'); // Version range: 1.0.0-beta.2 expect(getConfig('package-2', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-2/entry-point-2')]: {}}, - }, - 'Config for package-2@1.0.0-beta.2'); + .toEqual(PACKAGE_2_CONFIG, 'Config for package-2@1.0.0-beta.2'); - expect(getConfig('package-2', '1.0.0')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-2@1.0.0'); + expect(getConfig('package-2', '1.0.0')).toEqual(NO_CONFIG, 'Config for package-2@1.0.0'); expect(getConfig('package-2', null)) - .toEqual( - { - versionRange: '1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-2/entry-point-2')]: {}}, - }, - 'Config for package-2@null'); + .toEqual(PACKAGE_2_CONFIG, 'Config for package-2@null'); // Version range: >=1.0.0-beta.2 expect(getConfig('package-3', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@1.0.0-beta.2'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@1.0.0-beta.2'); expect(getConfig('package-3', '1.0.0')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@1.0.0'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@1.0.0'); expect(getConfig('package-3', '2.0.0')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@2.0.0'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@2.0.0'); expect(getConfig('package-3', '1.0.0-beta.1')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-3@1.0.0-beta.1'); + .toEqual(NO_CONFIG, 'Config for package-3@1.0.0-beta.1'); expect(getConfig('package-3', '0.9.99')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-3@0.9.99'); + .toEqual(NO_CONFIG, 'Config for package-3@0.9.99'); }); it('should not get confused by the @ in namespaced packages', () => { @@ -363,11 +453,13 @@ runInEachFileSystem(() => { const configuration = new NgccConfiguration(fs, _Abs('/project-1')); expect(configuration.getPackageConfig( - _Abs('/project-1/node_modules/@angular/common'), '1.0.0')) - .toEqual({ - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/@angular/common')]: {}} - }); + '@angular/common', _Abs('/project-1/node_modules/@angular/common'), '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/@angular/common'), {}], + ]), + })); }); it('should override package level config with project level config per package', () => { @@ -393,29 +485,79 @@ runInEachFileSystem(() => { const configuration = new NgccConfiguration(fs, _Abs('/project-1')); expect(readFileSpy).toHaveBeenCalledWith(_Abs('/project-1/ngcc.config.js')); - const package1Config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(package1Config).toEqual({ - versionRange: '1.0.0', - entryPoints: - {[_Abs('/project-1/node_modules/package-1/package-setting-entry-point')]: {}} - }); + const package1Config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + expect(package1Config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/package-setting-entry-point'), {}], + ]), + })); expect(readFileSpy) .toHaveBeenCalledWith(_Abs('/project-1/node_modules/package-1/ngcc.config.js')); // Note that for `package-2` only the project level entry-point is left. // This is because overriding happens for packages as a whole and there is no attempt to // merge entry-points. - const package2Config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-2'), '1.0.0'); - expect(package2Config).toEqual({ - versionRange: '*', - entryPoints: - {[_Abs('/project-1/node_modules/package-2/project-setting-entry-point')]: {}} - }); + const package2Config = configuration.getPackageConfig( + 'package-2', _Abs('/project-1/node_modules/package-2'), '1.0.0'); + expect(package2Config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-2/project-setting-entry-point'), {}], + ]), + })); expect(readFileSpy) .not.toHaveBeenCalledWith(_Abs('/project-1/node_modules/package-2/ngcc.config.js')); }); + + it('should correctly match packages in nested `node_modules/` (and adjust entry-point paths)', + () => { + loadTestFiles([ + { + name: _Abs('/project-1/ngcc.config.js'), + contents: ` + module.exports = { + packages: { + 'package-1': { + entryPoints: { + '.': {}, + 'foo': {}, + './bar': {}, + }, + }, + }, + }; + `, + }, + ]); + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1'), {}], + [_Abs('/project-1/node_modules/package-1/foo'), {}], + [_Abs('/project-1/node_modules/package-1/bar'), {}], + ]), + })); + + expect(configuration.getPackageConfig( + 'package-1', + _Abs('/project-1/node_modules/other-package/node_modules/package-1'), + '2.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/other-package/node_modules/package-1'), {}], + [_Abs('/project-1/node_modules/other-package/node_modules/package-1/foo'), {}], + [_Abs('/project-1/node_modules/other-package/node_modules/package-1/bar'), {}], + ]), + })); + }); }); describe('at the default level', () => { @@ -432,26 +574,45 @@ runInEachFileSystem(() => { const configuration = new NgccConfiguration(fs, _Abs('/project-1')); expect(readFileSpy).not.toHaveBeenCalled(); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/default-level-entry-point')]: {}} - }); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/default-level-entry-point'), {}], + ]), + })); + }); + + it('should cope with configurations missing an `entryPoints` property', () => { + DEFAULT_NGCC_CONFIG.packages!['package-1'] = { + ignorableDeepImportMatchers: [/xxx/], + }; + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); + + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [/xxx/], + entryPoints: new Map(), + })); }); it('should override default level config with package level config, if provided', () => { loadTestFiles(packageWithConfigFiles('package-1', 'package-level-entry-point', '1.0.0')); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); // Note that only the package-level-entry-point is left. // This is because overriding happens for packages as a whole and there is no attempt to // merge entry-points. - expect(config).toEqual({ - versionRange: '1.0.0', - entryPoints: {[_Abs('/project-1/node_modules/package-1/package-level-entry-point')]: {}} - }); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/package-level-entry-point'), {}], + ]), + })); }); it('should override default level config with project level config, if provided', () => { @@ -480,15 +641,17 @@ runInEachFileSystem(() => { ]); const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - const config = - configuration.getPackageConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); + const config = configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0'); // Note that only the project-level-entry-point is left. // This is because overriding happens for packages as a whole and there is no attempt to // merge entry-points. - expect(config).toEqual({ - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/project-level-entry-point')]: {}} - }); + expect(config).toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/project-level-entry-point'), {}], + ]), + })); }); it('should correctly handle pre-release versions and version ranges', () => { @@ -510,86 +673,100 @@ runInEachFileSystem(() => { }, }); + const NO_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map(), + }); + const PACKAGE_1_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1/entry-point-1'), {}], + ]), + }); + const PACKAGE_2_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-2/entry-point-2'), {}], + ]), + }); + const PACKAGE_3_CONFIG = jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-3/entry-point-3'), {}], + ]), + }); + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); const getConfig = (packageName: string, version: string|null) => configuration.getPackageConfig( - _Abs(`/project-1/node_modules/${packageName}`), version); + packageName, _Abs(`/project-1/node_modules/${packageName}`), version); // Default version range: * expect(getConfig('package-1', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}}, - }, - 'Config for package-1@1.0.0-beta.2'); + .toEqual(PACKAGE_1_CONFIG, 'Config for package-1@1.0.0-beta.2'); // Version range: 1.0.0-beta.2 expect(getConfig('package-2', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-2/entry-point-2')]: {}}, - }, - 'Config for package-2@1.0.0-beta.2'); + .toEqual(PACKAGE_2_CONFIG, 'Config for package-2@1.0.0-beta.2'); - expect(getConfig('package-2', '1.0.0')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-2@1.0.0'); + expect(getConfig('package-2', '1.0.0')).toEqual(NO_CONFIG, 'Config for package-2@1.0.0'); expect(getConfig('package-2', null)) - .toEqual( - { - versionRange: '1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-2/entry-point-2')]: {}}, - }, - 'Config for package-2@null'); + .toEqual(PACKAGE_2_CONFIG, 'Config for package-2@null'); // Version range: >=1.0.0-beta.2 expect(getConfig('package-3', '1.0.0-beta.2')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@1.0.0-beta.2'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@1.0.0-beta.2'); expect(getConfig('package-3', '1.0.0')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@1.0.0'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@1.0.0'); expect(getConfig('package-3', '2.0.0')) - .toEqual( - { - versionRange: '>=1.0.0-beta.2', - entryPoints: {[_Abs('/project-1/node_modules/package-3/entry-point-3')]: {}}, - }, - 'Config for package-3@2.0.0'); + .toEqual(PACKAGE_3_CONFIG, 'Config for package-3@2.0.0'); expect(getConfig('package-3', '1.0.0-beta.1')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-3@1.0.0-beta.1'); + .toEqual(NO_CONFIG, 'Config for package-3@1.0.0-beta.1'); expect(getConfig('package-3', '0.9.99')) - .toEqual( - { - versionRange: '*', - entryPoints: {}, - }, - 'Config for package-3@0.9.99'); + .toEqual(NO_CONFIG, 'Config for package-3@0.9.99'); }); + + it('should correctly match packages in nested `node_modules/` (and adjust entry-point paths)', + () => { + DEFAULT_NGCC_CONFIG.packages!['package-1'] = { + entryPoints: { + '.': {}, + 'foo': {}, + './bar': {}, + }, + }; + + const configuration = new NgccConfiguration(fs, _Abs('/project-1')); + + expect(configuration.getPackageConfig( + 'package-1', _Abs('/project-1/node_modules/package-1'), '1.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/package-1'), {}], + [_Abs('/project-1/node_modules/package-1/foo'), {}], + [_Abs('/project-1/node_modules/package-1/bar'), {}], + ]), + })); + + expect(configuration.getPackageConfig( + 'package-1', + _Abs('/project-1/node_modules/other-package/node_modules/package-1'), + '2.0.0')) + .toEqual(jasmine.objectContaining({ + ignorableDeepImportMatchers: [], + entryPoints: new Map([ + [_Abs('/project-1/node_modules/other-package/node_modules/package-1'), {}], + [_Abs('/project-1/node_modules/other-package/node_modules/package-1/foo'), {}], + [_Abs('/project-1/node_modules/other-package/node_modules/package-1/bar'), {}], + ]), + })); + }); }); }); diff --git a/packages/compiler-cli/ngcc/test/packages/entry_point_bundle_spec.ts b/packages/compiler-cli/ngcc/test/packages/entry_point_bundle_spec.ts index 8f9b1df83d..546370ff53 100644 --- a/packages/compiler-cli/ngcc/test/packages/entry_point_bundle_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/entry_point_bundle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -167,9 +167,10 @@ runInEachFileSystem(() => { const fs = getFileSystem(); const entryPoint: EntryPoint = { name: 'test', - packageJson: {name: 'test'}, - package: absoluteFrom('/node_modules/test'), path: absoluteFrom('/node_modules/test'), + packageName: 'test', + packagePath: absoluteFrom('/node_modules/test'), + packageJson: {name: 'test'}, typings: absoluteFrom('/node_modules/test/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, @@ -217,9 +218,10 @@ runInEachFileSystem(() => { const fs = getFileSystem(); const entryPoint: EntryPoint = { name: 'test', - packageJson: {name: 'test'}, - package: absoluteFrom('/node_modules/test'), path: absoluteFrom('/node_modules/test'), + packageName: 'test', + packagePath: absoluteFrom('/node_modules/test'), + packageJson: {name: 'test'}, typings: absoluteFrom('/node_modules/test/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, @@ -239,9 +241,10 @@ runInEachFileSystem(() => { const fs = getFileSystem(); const entryPoint: EntryPoint = { name: 'internal', - packageJson: {name: 'internal'}, - package: absoluteFrom('/node_modules/internal'), path: absoluteFrom('/node_modules/internal'), + packageName: 'internal', + packagePath: absoluteFrom('/node_modules/internal'), + packageJson: {name: 'internal'}, typings: absoluteFrom('/node_modules/internal/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, @@ -261,9 +264,10 @@ runInEachFileSystem(() => { const fs = getFileSystem(); const entryPoint: EntryPoint = { name: 'test', - packageJson: {name: 'test'}, - package: absoluteFrom('/node_modules/test'), path: absoluteFrom('/node_modules/test'), + packageName: 'test', + packagePath: absoluteFrom('/node_modules/test'), + packageJson: {name: 'test'}, typings: absoluteFrom('/node_modules/test/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, @@ -284,9 +288,10 @@ runInEachFileSystem(() => { const fs = getFileSystem(); const entryPoint: EntryPoint = { name: 'secondary', - packageJson: {name: 'secondary'}, - package: absoluteFrom('/node_modules/primary'), path: absoluteFrom('/node_modules/primary/secondary'), + packageName: 'primary', + packagePath: absoluteFrom('/node_modules/primary'), + packageJson: {name: 'secondary'}, typings: absoluteFrom('/node_modules/primary/secondary/index.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, diff --git a/packages/compiler-cli/ngcc/test/packages/entry_point_manifest_spec.ts b/packages/compiler-cli/ngcc/test/packages/entry_point_manifest_spec.ts index afed5fe6b1..e87d474cae 100644 --- a/packages/compiler-cli/ngcc/test/packages/entry_point_manifest_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/entry_point_manifest_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,12 +9,12 @@ import {createHash} from 'crypto'; import {absoluteFrom, FileSystem, getFileSystem, relativeFrom} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {EntryPointWithDependencies} from '../../src/dependencies/dependency_host'; import {NGCC_VERSION} from '../../src/packages/build_marker'; -import {NgccConfiguration} from '../../src/packages/configuration'; +import {NgccConfiguration, ProcessedNgccPackageConfig} from '../../src/packages/configuration'; import {EntryPointManifest, EntryPointManifestFile} from '../../src/packages/entry_point_manifest'; -import {MockLogger} from '../helpers/mock_logger'; import {createPackageJson} from './entry_point_spec'; @@ -148,9 +148,10 @@ runInEachFileSystem(() => { expect(entryPoints).toEqual([{ entryPoint: { name: 'some_package/valid_entry_point', - packageJson: jasmine.any(Object), - package: _Abs('/project/node_modules/some_package'), path: _Abs('/project/node_modules/some_package/valid_entry_point'), + packageName: 'some_package', + packagePath: _Abs('/project/node_modules/some_package'), + packageJson: jasmine.any(Object), typings: _Abs('/project/node_modules/some_package/valid_entry_point/valid_entry_point.d.ts'), compiledByAngular: true, @@ -185,6 +186,54 @@ runInEachFileSystem(() => { const entryPoints = manifest.readEntryPointsUsingManifest(_Abs('/project/node_modules')); expect(entryPoints).toEqual(null); }); + + it('should return null if any of the entry-points are ignored by a config', () => { + fs.ensureDir(_Abs('/project/node_modules')); + fs.writeFile(_Abs('/project/yarn.lock'), 'LOCK FILE CONTENTS'); + loadTestFiles([ + { + name: _Abs('/project/node_modules/some_package/valid_entry_point/package.json'), + contents: createPackageJson('valid_entry_point'), + }, + { + name: _Abs( + '/project/node_modules/some_package/valid_entry_point/valid_entry_point.metadata.json'), + contents: 'some meta data', + }, + { + name: _Abs('/project/node_modules/some_package/ignored_entry_point/package.json'), + contents: createPackageJson('ignored_entry_point'), + }, + { + name: _Abs( + '/project/node_modules/some_package/ignored_entry_point/ignored_entry_point.metadata.json'), + contents: 'some meta data', + }, + ]); + manifestFile.entryPointPaths.push( + [ + _Abs('/project/node_modules/some_package'), + _Abs('/project/node_modules/some_package/valid_entry_point'), [], [], [] + ], + [ + _Abs('/project/node_modules/some_package'), + _Abs('/project/node_modules/some_package/ignored_entry_point'), [], [], [] + ], + ); + fs.writeFile( + _Abs('/project/node_modules/__ngcc_entry_points__.json'), JSON.stringify(manifestFile)); + + spyOn(config, 'getPackageConfig') + .and.returnValue( + new ProcessedNgccPackageConfig(_Abs('/project/node_modules/some_package'), { + entryPoints: { + './ignored_entry_point': {ignore: true}, + }, + })); + + const entryPoints = manifest.readEntryPointsUsingManifest(_Abs('/project/node_modules')); + expect(entryPoints).toEqual(null); + }); }); describe('writeEntryPointManifest()', () => { @@ -251,8 +300,8 @@ runInEachFileSystem(() => { fs.writeFile(_Abs('/project/package-lock.json'), 'LOCK FILE CONTENTS'); const entryPoint1: EntryPointWithDependencies = { entryPoint: { - package: _Abs('/project/node_modules/package-1/'), path: _Abs('/project/node_modules/package-1/'), + packagePath: _Abs('/project/node_modules/package-1/'), } as any, depInfo: { dependencies: new Set([ @@ -265,8 +314,8 @@ runInEachFileSystem(() => { }; const entryPoint2: EntryPointWithDependencies = { entryPoint: { - package: _Abs('/project/node_modules/package-2/'), path: _Abs('/project/node_modules/package-2/entry-point'), + packagePath: _Abs('/project/node_modules/package-2/'), } as any, depInfo: { dependencies: new Set(), @@ -307,4 +356,4 @@ runInEachFileSystem(() => { }); }); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/ngcc/test/packages/entry_point_spec.ts b/packages/compiler-cli/ngcc/test/packages/entry_point_spec.ts index 4a0dc47aab..5e08f6da26 100644 --- a/packages/compiler-cli/ngcc/test/packages/entry_point_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/entry_point_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '../../../src/ngtsc/file_system'; +import {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, join, relative} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; -import {NgccConfiguration} from '../../src/packages/configuration'; -import {EntryPoint, EntryPointJsonProperty, getEntryPointFormat, getEntryPointInfo, INCOMPATIBLE_ENTRY_POINT, NO_ENTRY_POINT, SUPPORTED_FORMAT_PROPERTIES} from '../../src/packages/entry_point'; -import {MockLogger} from '../helpers/mock_logger'; +import {NgccConfiguration, ProcessedNgccPackageConfig} from '../../src/packages/configuration'; +import {EntryPoint, EntryPointJsonProperty, getEntryPointFormat, getEntryPointInfo, IGNORED_ENTRY_POINT, INCOMPATIBLE_ENTRY_POINT, isEntryPoint, NO_ENTRY_POINT, SUPPORTED_FORMAT_PROPERTIES} from '../../src/packages/entry_point'; runInEachFileSystem(() => { describe('getEntryPointInfo()', () => { @@ -44,18 +44,19 @@ runInEachFileSystem(() => { _('/project/node_modules/some_package/valid_entry_point')); expect(entryPoint).toEqual({ name: 'some_package/valid_entry_point', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/valid_entry_point'), + packageName: 'some_package', + packagePath: SOME_PACKAGE, + packageJson: loadPackageJson(fs, '/project/node_modules/some_package/valid_entry_point'), typings: _(`/project/node_modules/some_package/valid_entry_point/valid_entry_point.d.ts`), - packageJson: loadPackageJson(fs, '/project/node_modules/some_package/valid_entry_point'), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, }); }); - it('should return `NO_ENTRY_POINT` if configured to ignore the specified entry-point', () => { + it('should return `IGNORED_ENTRY_POINT` if configured to ignore the specified entry-point', () => { loadTestFiles([ { name: _('/project/node_modules/some_package/valid_entry_point/package.json'), @@ -68,13 +69,100 @@ runInEachFileSystem(() => { }, ]); const config = new NgccConfiguration(fs, _('/project')); - spyOn(config, 'getPackageConfig').and.returnValue({ - entryPoints: {[_('/project/node_modules/some_package/valid_entry_point')]: {ignore: true}} - } as any); + spyOn(config, 'getPackageConfig') + .and.returnValue(new ProcessedNgccPackageConfig( + _('/project/node_modules/some_package'), + {entryPoints: {'./valid_entry_point': {ignore: true}}})); const entryPoint = getEntryPointInfo( fs, config, new MockLogger(), SOME_PACKAGE, _('/project/node_modules/some_package/valid_entry_point')); - expect(entryPoint).toBe(NO_ENTRY_POINT); + expect(entryPoint).toBe(IGNORED_ENTRY_POINT); + }); + + it('should retrieve the entry-point\'s version from the package\'s `package.json`', () => { + const entryPointPath = join(SOME_PACKAGE, 'valid_entry_point'); + + loadTestFiles([ + { + name: _('/project/ngcc.config.js'), + contents: ` + module.exports = { + packages: { + 'some_package@3': { + entryPoints: {valid_entry_point: {override: {packageVersion: '3'}}}, + }, + 'some_package@2': { + entryPoints: {valid_entry_point: {override: {packageVersion: '2'}}}, + }, + 'some_package@1': { + entryPoints: {valid_entry_point: {override: {packageVersion: '1'}}}, + }, + }, + }; + `, + }, + { + name: join(SOME_PACKAGE, 'package.json'), + contents: createPackageJson('', {version: '1.0.0'}), + }, + { + name: join(entryPointPath, 'package.json'), + contents: createPackageJson('valid_entry_point', {version: '2.0.0'}), + }, + { + name: join(entryPointPath, 'valid_entry_point.metadata.json'), + contents: 'some meta data', + }, + ]); + + const config = new NgccConfiguration(fs, _('/project')); + const info: EntryPoint = + getEntryPointInfo(fs, config, new MockLogger(), SOME_PACKAGE, entryPointPath) as any; + + expect(info.packageJson).toEqual(jasmine.objectContaining({packageVersion: '1'})); + }); + + it('should use `null` for version if it cannot be retrieved from a `package.json`', () => { + const entryPointPath = join(SOME_PACKAGE, 'valid_entry_point'); + + loadTestFiles([ + { + name: _('/project/ngcc.config.js'), + contents: ` + module.exports = { + packages: { + 'some_package@3': { + entryPoints: {valid_entry_point: {override: {packageVersion: '3'}}}, + }, + 'some_package@2': { + entryPoints: {valid_entry_point: {override: {packageVersion: '2'}}}, + }, + 'some_package@1': { + entryPoints: {valid_entry_point: {override: {packageVersion: '1'}}}, + }, + }, + }; + `, + }, + { + name: join(SOME_PACKAGE, 'package.json'), + contents: createPackageJson(''), + }, + { + name: join(entryPointPath, 'package.json'), + contents: createPackageJson('valid_entry_point'), + }, + { + name: join(entryPointPath, 'valid_entry_point.metadata.json'), + contents: 'some meta data', + }, + ]); + + const config = new NgccConfiguration(fs, _('/project')); + const info: EntryPoint = + getEntryPointInfo(fs, config, new MockLogger(), SOME_PACKAGE, entryPointPath) as any; + + expect(info.packageJson).toEqual(jasmine.objectContaining({packageVersion: '3'})); }); it('should override the properties on package.json if the entry-point is configured', () => { @@ -94,10 +182,10 @@ runInEachFileSystem(() => { typings: './some_other.d.ts', esm2015: './some_other.js', }; - spyOn(config, 'getPackageConfig').and.returnValue({ - entryPoints: {[_('/project/node_modules/some_package/valid_entry_point')]: {override}}, - versionRange: '*' - }); + spyOn(config, 'getPackageConfig') + .and.returnValue(new ProcessedNgccPackageConfig( + _('/project/node_modules/some_package'), + {entryPoints: {'./valid_entry_point': {override}}})); const entryPoint = getEntryPointInfo( fs, config, new MockLogger(), SOME_PACKAGE, _('/project/node_modules/some_package/valid_entry_point')); @@ -107,10 +195,11 @@ runInEachFileSystem(() => { }; expect(entryPoint).toEqual({ name: 'some_package/valid_entry_point', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/valid_entry_point'), - typings: _('/project/node_modules/some_package/valid_entry_point/some_other.d.ts'), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: overriddenPackageJson, + typings: _('/project/node_modules/some_package/valid_entry_point/some_other.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -145,27 +234,175 @@ runInEachFileSystem(() => { const config = new NgccConfiguration(fs, _('/project')); const override = JSON.parse(createPackageJson('missing_package_json', {excludes: ['name']})); - spyOn(config, 'getPackageConfig').and.returnValue({ - entryPoints: - {[_('/project/node_modules/some_package/missing_package_json')]: {override}}, - versionRange: '*' - }); + spyOn(config, 'getPackageConfig') + .and.returnValue(new ProcessedNgccPackageConfig( + _('/project/node_modules/some_package/'), + {entryPoints: {'./missing_package_json': {override}}})); const entryPoint = getEntryPointInfo( fs, config, new MockLogger(), SOME_PACKAGE, _('/project/node_modules/some_package/missing_package_json')); expect(entryPoint).toEqual({ name: 'some_package/missing_package_json', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/missing_package_json'), + packageName: 'some_package', + packagePath: SOME_PACKAGE, + packageJson: {name: 'some_package/missing_package_json', ...override}, typings: _( '/project/node_modules/some_package/missing_package_json/missing_package_json.d.ts'), - packageJson: {name: 'some_package/missing_package_json', ...override}, compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, }); }); + [false, true].forEach(isScoped => { + const nameWithScope = (baseName: string) => `${isScoped ? '@some-scope/' : ''}${baseName}`; + const getPackageName = (packagePath: AbsoluteFsPath, entryPointPath: AbsoluteFsPath) => { + const config = new NgccConfiguration(fs, _('/project')); + const logger = new MockLogger(); + const entryPoint = getEntryPointInfo(fs, config, logger, packagePath, entryPointPath); + + if (!isEntryPoint(entryPoint)) { + return fail(`Expected an entry point but got ${entryPoint}`); + } + + return entryPoint.packageName; + }; + const setUpPackageWithEntryPointPackageJson = + (entryPointName: string, entryPointPath: AbsoluteFsPath) => { + // Ensure a `package.json` exists for the entry-point (containing `entryPointName`). + loadTestFiles([ + { + name: join(entryPointPath, 'package.json'), + contents: JSON.stringify({name: entryPointName, typings: './index.d.ts'}), + }, + ]); + }; + const setUpPackageWithoutEntryPointPackageJson = + (packagePath: AbsoluteFsPath, entryPointPath: AbsoluteFsPath) => { + // Ensure there is an ngcc config for the entry-point providing a `typings` field to + // avoid returning `INCOMPATIBLE_ENTRY_POINT` (since there is no `package.json`). + loadTestFiles([ + { + name: join(packagePath, 'ngcc.config.js'), + contents: ` + module.exports = { + entryPoints: { + '${relative(packagePath, entryPointPath)}': { + override: {typings: './index.d.ts'}, + }, + }, + }; + `, + }, + ]); + }; + + describe(`should compute the containing ${isScoped ? 'scoped ' : ''}package's name`, () => { + it('for a primary entry-point with a `package.json`', () => { + const packagePath = _(`/project/node_modules/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = packagePath; + const expectedPackageName = nameWithScope('package-json-package-name'); + + setUpPackageWithEntryPointPackageJson(expectedPackageName, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a primary entry-point without a `package.json`', () => { + const packagePath = _(`/project/node_modules/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = packagePath; + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a secondary entry-point with a `package.json`', () => { + const packagePath = _(`/project/node_modules/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = join(packagePath, 'some-entry-point'); + const expectedPackageName = nameWithScope('package-json-package-name'); + + setUpPackageWithEntryPointPackageJson( + `${expectedPackageName}/some-entry-point`, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a secondary entry-point without a `package.json`', () => { + const packagePath = _(`/project/node_modules/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = join(packagePath, 'some-entry-point'); + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a primary entry-point without a `package.json` in nested `node_modules/`', () => { + const packagePath = _(`/project/node_modules/other-package/node_modules/${ + nameWithScope('on-disk-package-name')}`); + const entryPointPath = packagePath; + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a secondary entry-point without a `package.json` in nested `node_modules/`', () => { + const packagePath = _(`/project/node_modules/other-package/node_modules/${ + nameWithScope('on-disk-package-name')}`); + const entryPointPath = join(packagePath, 'some-entry-point'); + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a primary entry-point with a `package.json` outside `node_modules/`', () => { + const packagePath = _(`/project/libs/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = packagePath; + const expectedPackageName = nameWithScope('package-json-package-name'); + + setUpPackageWithEntryPointPackageJson(expectedPackageName, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a primary entry-point without a `package.json` outside `node_modules/`', () => { + const packagePath = _(`/project/libs/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = packagePath; + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a secondary entry-point with a `package.json` outside `node_modules/`', () => { + const packagePath = _(`/project/libs/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = join(packagePath, 'some-entry-point'); + const expectedPackageName = nameWithScope('package-json-package-name'); + + setUpPackageWithEntryPointPackageJson(expectedPackageName, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + + it('for a secondary entry-point without a `package.json` outside `node_modules/`', () => { + const packagePath = _(`/project/libs/${nameWithScope('on-disk-package-name')}`); + const entryPointPath = join(packagePath, 'some-entry-point'); + const expectedPackageName = nameWithScope('on-disk-package-name'); + + setUpPackageWithoutEntryPointPackageJson(packagePath, entryPointPath); + + expect(getPackageName(packagePath, entryPointPath)).toBe(expectedPackageName); + }); + }); + }); it('should return `INCOMPATIBLE_ENTRY_POINT` if there is no typings or types field in the package.json', () => { @@ -236,10 +473,11 @@ runInEachFileSystem(() => { _('/project/node_modules/some_package/missing_typings')); expect(entryPoint).toEqual({ name: 'some_package/missing_typings', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/missing_typings'), - typings: _(`/project/node_modules/some_package/missing_typings/${typingsPath}.d.ts`), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: loadPackageJson(fs, '/project/node_modules/some_package/missing_typings'), + typings: _(`/project/node_modules/some_package/missing_typings/${typingsPath}.d.ts`), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -261,10 +499,11 @@ runInEachFileSystem(() => { _('/project/node_modules/some_package/missing_metadata')); expect(entryPoint).toEqual({ name: 'some_package/missing_metadata', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/missing_metadata'), - typings: _(`/project/node_modules/some_package/missing_metadata/missing_metadata.d.ts`), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: loadPackageJson(fs, '/project/node_modules/some_package/missing_metadata'), + typings: _(`/project/node_modules/some_package/missing_metadata/missing_metadata.d.ts`), compiledByAngular: false, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -281,19 +520,20 @@ runInEachFileSystem(() => { // no metadata.json! ]); const config = new NgccConfiguration(fs, _('/project')); - spyOn(config, 'getPackageConfig').and.returnValue({ - entryPoints: {[_('/project/node_modules/some_package/missing_metadata')]: {}}, - versionRange: '*' - }); + spyOn(config, 'getPackageConfig') + .and.returnValue(new ProcessedNgccPackageConfig( + _('/project/node_modules/some_package'), + {entryPoints: {'./missing_metadata': {}}})); const entryPoint = getEntryPointInfo( fs, config, new MockLogger(), SOME_PACKAGE, _('/project/node_modules/some_package/missing_metadata')); expect(entryPoint).toEqual({ name: 'some_package/missing_metadata', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/missing_metadata'), - typings: _('/project/node_modules/some_package/missing_metadata/missing_metadata.d.ts'), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: loadPackageJson(fs, '/project/node_modules/some_package/missing_metadata'), + typings: _('/project/node_modules/some_package/missing_metadata/missing_metadata.d.ts'), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -318,12 +558,13 @@ runInEachFileSystem(() => { _('/project/node_modules/some_package/types_rather_than_typings')); expect(entryPoint).toEqual({ name: 'some_package/types_rather_than_typings', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/types_rather_than_typings'), - typings: _( - `/project/node_modules/some_package/types_rather_than_typings/types_rather_than_typings.d.ts`), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: loadPackageJson(fs, '/project/node_modules/some_package/types_rather_than_typings'), + typings: _( + `/project/node_modules/some_package/types_rather_than_typings/types_rather_than_typings.d.ts`), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -353,10 +594,11 @@ runInEachFileSystem(() => { _('/project/node_modules/some_package/material_style')); expect(entryPoint).toEqual({ name: 'some_package/material_style', - package: SOME_PACKAGE, path: _('/project/node_modules/some_package/material_style'), - typings: _(`/project/node_modules/some_package/material_style/material_style.d.ts`), + packageName: 'some_package', + packagePath: SOME_PACKAGE, packageJson: loadPackageJson(fs, '/project/node_modules/some_package/material_style'), + typings: _(`/project/node_modules/some_package/material_style/material_style.d.ts`), compiledByAngular: true, ignoreMissingDependencies: false, generateDeepReexports: false, @@ -381,7 +623,7 @@ runInEachFileSystem(() => { }); }); - describe('getEntryPointFormat', () => { + describe('getEntryPointFormat()', () => { let SOME_PACKAGE: AbsoluteFsPath; let _: typeof absoluteFrom; let fs: FileSystem; @@ -399,10 +641,10 @@ runInEachFileSystem(() => { const result = getEntryPointInfo( fs, config, new MockLogger(), SOME_PACKAGE, _('/project/node_modules/some_package/valid_entry_point')); - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { return fail(`Expected an entry point but got ${result}`); } - entryPoint = result as any; + entryPoint = result; }); it('should return `esm2015` format for `fesm2015` property', () => { @@ -514,19 +756,23 @@ runInEachFileSystem(() => { }); export function createPackageJson( - packageName: string, - {excludes, typingsProp = 'typings', typingsIsArray}: - {excludes?: string[], typingsProp?: string, typingsIsArray?: boolean} = {}): string { + entryPointName: string, {excludes, typingsProp = 'typings', typingsIsArray, version}: { + excludes?: string[], + typingsProp?: string, + typingsIsArray?: boolean, + version?: string + } = {}): string { const packageJson: any = { - name: `some_package/${packageName}`, - [typingsProp]: typingsIsArray ? [`./${packageName}.d.ts`] : `./${packageName}.d.ts`, - fesm2015: `./fesm2015/${packageName}.js`, - esm2015: `./esm2015/${packageName}.js`, - es2015: `./es2015/${packageName}.js`, - fesm5: `./fesm5/${packageName}.js`, - esm5: `./esm5/${packageName}.js`, - main: `./bundles/${packageName}/index.js`, - browser: `./bundles/${packageName}/index.js`, + name: (entryPointName === '') ? 'some_package' : `some_package/${entryPointName}`, + version, + [typingsProp]: typingsIsArray ? [`./${entryPointName}.d.ts`] : `./${entryPointName}.d.ts`, + fesm2015: `./fesm2015/${entryPointName}.js`, + esm2015: `./esm2015/${entryPointName}.js`, + es2015: `./es2015/${entryPointName}.js`, + fesm5: `./fesm5/${entryPointName}.js`, + esm5: `./esm5/${entryPointName}.js`, + main: `./bundles/${entryPointName}/index.js`, + browser: `./bundles/${entryPointName}/index.js`, module: './index.js', }; if (excludes) { diff --git a/packages/compiler-cli/ngcc/test/rendering/commonjs_rendering_formatter_spec.ts b/packages/compiler-cli/ngcc/test/rendering/commonjs_rendering_formatter_spec.ts index 914208bedc..a43cdd1d33 100644 --- a/packages/compiler-cli/ngcc/test/rendering/commonjs_rendering_formatter_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/commonjs_rendering_formatter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,6 +12,7 @@ import * as ts from 'typescript'; import {absoluteFrom, absoluteFromSourceFile, AbsoluteFsPath, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {NoopImportRewriter} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {ImportManager} from '../../../src/ngtsc/translator'; import {loadTestFiles} from '../../../test/helpers'; @@ -20,7 +21,6 @@ import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registr import {SwitchMarkerAnalyzer} from '../../src/analysis/switch_marker_analyzer'; import {CommonJsReflectionHost} from '../../src/host/commonjs_host'; import {CommonJsRenderingFormatter} from '../../src/rendering/commonjs_rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; runInEachFileSystem(() => { @@ -156,7 +156,7 @@ exports.D = D; const referencesRegistry = new NgccReferencesRegistry(host); const decorationAnalyses = new DecorationAnalyzer(fs, bundle, host, referencesRegistry).analyzeProgram(); - const switchMarkerAnalyses = new SwitchMarkerAnalyzer(host, bundle.entryPoint.package) + const switchMarkerAnalyses = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath) .analyzeProgram(bundle.src.program); const renderer = new CommonJsRenderingFormatter(host, false); const importManager = new ImportManager(new NoopImportRewriter(), 'i'); @@ -315,8 +315,11 @@ SOME DEFINITION TEXT program, absoluteFromSourceFile(sourceFile), 'NoIife', ts.isFunctionDeclaration); const mockNoIifeClass: any = {declaration: noIifeDeclaration, name: 'NoIife'}; expect(() => renderer.addDefinitions(output, mockNoIifeClass, 'SOME DEFINITION TEXT')) - .toThrowError(`Compiled class declaration is not inside an IIFE: NoIife in ${ - _('/node_modules/test-package/some/file.js')}`); + .toThrowError( + `Compiled class "NoIife" in "${ + _('/node_modules/test-package/some/file.js')}" does not have a valid syntax.\n` + + `Expected an ES5 IIFE wrapped function. But got:\n` + + `function NoIife() {}`); const badIifeDeclaration = getDeclaration( program, absoluteFromSourceFile(sourceFile), 'BadIife', ts.isVariableDeclaration); diff --git a/packages/compiler-cli/ngcc/test/rendering/dts_renderer_spec.ts b/packages/compiler-cli/ngcc/test/rendering/dts_renderer_spec.ts index 5ede7165f8..eb5a925a3c 100644 --- a/packages/compiler-cli/ngcc/test/rendering/dts_renderer_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/dts_renderer_spec.ts @@ -1,16 +1,19 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {fromObject} from 'convert-source-map'; import MagicString from 'magic-string'; +import {encode} from 'sourcemap-codec'; import * as ts from 'typescript'; import {absoluteFrom, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {Reexport} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {Import, ImportManager} from '../../../src/ngtsc/translator'; import {loadTestFiles} from '../../../test/helpers'; import {DecorationAnalyzer} from '../../src/analysis/decoration_analyzer'; @@ -21,7 +24,6 @@ import {CompiledClass} from '../../src/analysis/types'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {DtsRenderer} from '../../src/rendering/dts_renderer'; import {RedundantDecoratorMap, RenderingFormatter} from '../../src/rendering/rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; class TestRenderingFormatter implements RenderingFormatter { @@ -195,5 +197,47 @@ runInEachFileSystem(() => { result.find(f => f.path === _('/node_modules/test-package/typings/file.d.ts'))!; expect(typingsFile.contents).toContain(`\n// ADD MODUlE WITH PROVIDERS PARAMS\n`); }); + + it('should render an external source map for files whose original file does not have a source map', + () => { + const { + renderer, + decorationAnalyses, + privateDeclarationsAnalyses, + moduleWithProvidersAnalyses + } = createTestRenderer('test-package', [INPUT_PROGRAM], [INPUT_DTS_PROGRAM]); + + const result = renderer.renderProgram( + decorationAnalyses, privateDeclarationsAnalyses, moduleWithProvidersAnalyses); + + const typingsFile = + result.find(f => f.path === _('/node_modules/test-package/typings/file.d.ts'))!; + expect(typingsFile.contents).toContain('//# sourceMappingURL=file.d.ts.map'); + }); + + it('should render an internal source map for files whose original file has an internal source map', + () => { + const sourceMap = fromObject({ + 'version': 3, + 'file': 'file.d.ts', + 'sources': ['file.d.ts'], + 'names': [], + 'mappings': encode([[]]), + 'sourcesContent': [INPUT_DTS_PROGRAM.contents], + }); + INPUT_DTS_PROGRAM.contents += sourceMap.toComment(); + const { + renderer, + decorationAnalyses, + privateDeclarationsAnalyses, + moduleWithProvidersAnalyses + } = createTestRenderer('test-package', [INPUT_PROGRAM], [INPUT_DTS_PROGRAM]); + const result = renderer.renderProgram( + decorationAnalyses, privateDeclarationsAnalyses, moduleWithProvidersAnalyses); + + const typingsFile = + result.find(f => f.path === _('/node_modules/test-package/typings/file.d.ts'))!; + expect(typingsFile.contents).toContain('//# sourceMappingURL=data:application/json'); + }); }); }); diff --git a/packages/compiler-cli/ngcc/test/rendering/esm5_rendering_formatter_spec.ts b/packages/compiler-cli/ngcc/test/rendering/esm5_rendering_formatter_spec.ts index 72edb0a840..1f74f9287b 100644 --- a/packages/compiler-cli/ngcc/test/rendering/esm5_rendering_formatter_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/esm5_rendering_formatter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,6 +12,7 @@ import * as ts from 'typescript'; import {absoluteFrom, absoluteFromSourceFile, AbsoluteFsPath, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {NoopImportRewriter} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {ImportManager} from '../../../src/ngtsc/translator'; import {loadTestFiles} from '../../../test/helpers'; @@ -21,7 +22,6 @@ import {SwitchMarkerAnalyzer} from '../../src/analysis/switch_marker_analyzer'; import {IMPORT_PREFIX} from '../../src/constants'; import {Esm5ReflectionHost} from '../../src/host/esm5_host'; import {Esm5RenderingFormatter} from '../../src/rendering/esm5_rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; function setup(file: {name: AbsoluteFsPath, contents: string}) { @@ -33,8 +33,8 @@ function setup(file: {name: AbsoluteFsPath, contents: string}) { const referencesRegistry = new NgccReferencesRegistry(host); const decorationAnalyses = new DecorationAnalyzer(fs, bundle, host, referencesRegistry).analyzeProgram(); - const switchMarkerAnalyses = - new SwitchMarkerAnalyzer(host, bundle.entryPoint.package).analyzeProgram(bundle.src.program); + const switchMarkerAnalyses = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath) + .analyzeProgram(bundle.src.program); const renderer = new Esm5RenderingFormatter(host, false); const importManager = new ImportManager(new NoopImportRewriter(), IMPORT_PREFIX); return { @@ -321,8 +321,11 @@ SOME DEFINITION TEXT program, absoluteFromSourceFile(sourceFile), 'NoIife', ts.isFunctionDeclaration); const mockNoIifeClass: any = {declaration: noIifeDeclaration, name: 'NoIife'}; expect(() => renderer.addDefinitions(output, mockNoIifeClass, 'SOME DEFINITION TEXT')) - .toThrowError(`Compiled class declaration is not inside an IIFE: NoIife in ${ - _('/node_modules/test-package/some/file.js')}`); + .toThrowError( + `Compiled class "NoIife" in "${ + _('/node_modules/test-package/some/file.js')}" does not have a valid syntax.\n` + + `Expected an ES5 IIFE wrapped function. But got:\n` + + `function NoIife() {}`); const badIifeDeclaration = getDeclaration( program, absoluteFromSourceFile(sourceFile), 'BadIife', ts.isVariableDeclaration); diff --git a/packages/compiler-cli/ngcc/test/rendering/esm_rendering_formatter_spec.ts b/packages/compiler-cli/ngcc/test/rendering/esm_rendering_formatter_spec.ts index d603411e60..bec7eafb96 100644 --- a/packages/compiler-cli/ngcc/test/rendering/esm_rendering_formatter_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/esm_rendering_formatter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,6 +12,7 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {NoopImportRewriter} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {ImportManager} from '../../../src/ngtsc/translator'; import {loadFakeCore, loadTestFiles} from '../../../test/helpers'; import {DecorationAnalyzer} from '../../src/analysis/decoration_analyzer'; @@ -21,7 +22,6 @@ import {SwitchMarkerAnalyzer} from '../../src/analysis/switch_marker_analyzer'; import {IMPORT_PREFIX} from '../../src/constants'; import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {EsmRenderingFormatter} from '../../src/rendering/esm_rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; function setup(files: TestFile[], dtsFiles?: TestFile[]) { @@ -38,8 +38,8 @@ function setup(files: TestFile[], dtsFiles?: TestFile[]) { const referencesRegistry = new NgccReferencesRegistry(host); const decorationAnalyses = new DecorationAnalyzer(fs, bundle, host, referencesRegistry).analyzeProgram(); - const switchMarkerAnalyses = - new SwitchMarkerAnalyzer(host, bundle.entryPoint.package).analyzeProgram(bundle.src.program); + const switchMarkerAnalyses = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath) + .analyzeProgram(bundle.src.program); const renderer = new EsmRenderingFormatter(host, false); const importManager = new ImportManager(new NoopImportRewriter(), IMPORT_PREFIX); return { @@ -54,17 +54,8 @@ function setup(files: TestFile[], dtsFiles?: TestFile[]) { }; } -runInEachFileSystem(() => { - describe('EsmRenderingFormatter', () => { - let _: typeof absoluteFrom; - let PROGRAM: TestFile; - - beforeEach(() => { - _ = absoluteFrom; - - PROGRAM = { - name: _('/node_modules/test-package/some/file.js'), - contents: ` +const PROGRAM_CONTENT: Record = { + 'top-level': ` /* A copyright notice */ import 'some-side-effect'; import {Directive} from '@angular/core'; @@ -97,245 +88,298 @@ function compileNgModuleFactory__POST_R3__(injector, options, moduleType) { ngDevMode && assertNgModuleType(moduleType); return Promise.resolve(new R3NgModuleFactory(moduleType)); } -// Some other content` - }; - }); +// Some other content`, - describe('addImports', () => { - it('should insert the given imports after existing imports of the source file', () => { - const {renderer, sourceFile} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - renderer.addImports( - output, - [ - {specifier: '@angular/core', qualifier: 'i0'}, - {specifier: '@angular/common', qualifier: 'i1'} - ], - sourceFile); - expect(output.toString()).toContain(`/* A copyright notice */ + + 'iife-wrapped': ` +/* A copyright notice */ +import 'some-side-effect'; +import {Directive} from '@angular/core'; +let A = /** @class */ (() => { +class A {} +A.decorators = [ + { type: Directive, args: [{ selector: '[a]' }] }, + { type: OtherA } +]; +return A; +})(); +let B = /** @class */ (() => { +class B {} +B.decorators = [ + { type: OtherB }, + { type: Directive, args: [{ selector: '[b]' }] } +]; +return B; +})(); +var C_1; +let C = C_1 = /** @class */ (() => { +class C {} +C.decorators = [ + { type: Directive, args: [{ selector: '[c]' }] }, +]; +return C; +})(); +export A, B, C; +let compileNgModuleFactory = compileNgModuleFactory__PRE_R3__; +let badlyFormattedVariable = __PRE_R3__badlyFormattedVariable; +function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) { + const compilerFactory = injector.get(CompilerFactory); + const compiler = compilerFactory.createCompiler([options]); + return compiler.compileModuleAsync(moduleType); +} +function compileNgModuleFactory__POST_R3__(injector, options, moduleType) { + ngDevMode && assertNgModuleType(moduleType); + return Promise.resolve(new R3NgModuleFactory(moduleType)); +} +// Some other content` +}; + +runInEachFileSystem(() => { + ['top-level', 'iife-wrapped'].forEach(classLayout => { + describe(`EsmRenderingFormatter {${classLayout} classes}`, () => { + let _: typeof absoluteFrom; + let PROGRAM: TestFile; + + beforeEach(() => { + _ = absoluteFrom; + + PROGRAM = { + name: _('/node_modules/test-package/some/file.js'), + contents: PROGRAM_CONTENT[classLayout], + }; + }); + + describe('addImports', () => { + it('should insert the given imports after existing imports of the source file', () => { + const {renderer, sourceFile} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + renderer.addImports( + output, + [ + {specifier: '@angular/core', qualifier: 'i0'}, + {specifier: '@angular/common', qualifier: 'i1'} + ], + sourceFile); + expect(output.toString()).toContain(`/* A copyright notice */ import 'some-side-effect'; import {Directive} from '@angular/core'; import * as i0 from '@angular/core'; import * as i1 from '@angular/common';`); + }); + + it('should leave the file unchanged if there are no imports to add', () => { + const {renderer, sourceFile} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + const contentsBefore = output.toString(); + + renderer.addImports(output, [], sourceFile); + const contentsAfter = output.toString(); + + expect(contentsAfter).toBe(contentsBefore); + }); }); - it('should leave the file unchanged if there are no imports to add', () => { - const {renderer, sourceFile} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - const contentsBefore = output.toString(); - - renderer.addImports(output, [], sourceFile); - const contentsAfter = output.toString(); - - expect(contentsAfter).toBe(contentsBefore); - }); - }); - - describe('addExports', () => { - it('should insert the given exports at the end of the source file', () => { - const {importManager, renderer, sourceFile} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - renderer.addExports( - output, _(PROGRAM.name.replace(/\.js$/, '')), - [ - { - from: _('/node_modules/test-package/some/a.js'), - dtsFrom: _('/node_modules/test-package/some/a.d.ts'), - identifier: 'ComponentA1' - }, - { - from: _('/node_modules/test-package/some/a.js'), - dtsFrom: _('/node_modules/test-package/some/a.d.ts'), - identifier: 'ComponentA2' - }, - { - from: _('/node_modules/test-package/some/foo/b.js'), - dtsFrom: _('/node_modules/test-package/some/foo/b.d.ts'), - identifier: 'ComponentB' - }, - {from: PROGRAM.name, dtsFrom: PROGRAM.name, identifier: 'TopLevelComponent'}, - ], - importManager, sourceFile); - expect(output.toString()).toContain(` + describe('addExports', () => { + it('should insert the given exports at the end of the source file', () => { + const {importManager, renderer, sourceFile} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + renderer.addExports( + output, _(PROGRAM.name.replace(/\.js$/, '')), + [ + { + from: _('/node_modules/test-package/some/a.js'), + dtsFrom: _('/node_modules/test-package/some/a.d.ts'), + identifier: 'ComponentA1' + }, + { + from: _('/node_modules/test-package/some/a.js'), + dtsFrom: _('/node_modules/test-package/some/a.d.ts'), + identifier: 'ComponentA2' + }, + { + from: _('/node_modules/test-package/some/foo/b.js'), + dtsFrom: _('/node_modules/test-package/some/foo/b.d.ts'), + identifier: 'ComponentB' + }, + {from: PROGRAM.name, dtsFrom: PROGRAM.name, identifier: 'TopLevelComponent'}, + ], + importManager, sourceFile); + expect(output.toString()).toContain(` // Some other content export {ComponentA1} from './a'; export {ComponentA2} from './a'; export {ComponentB} from './foo/b'; export {TopLevelComponent};`); + }); }); - }); - describe('addConstants', () => { - it('should insert the given constants after imports in the source file', () => { - const {renderer, program} = setup([PROGRAM]); - const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); - const output = new MagicString(PROGRAM.contents); - renderer.addConstants(output, 'const x = 3;', file); - expect(output.toString()).toContain(` + describe('addConstants', () => { + it('should insert the given constants after imports in the source file', () => { + const {renderer, program} = setup([PROGRAM]); + const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); + const output = new MagicString(PROGRAM.contents); + renderer.addConstants(output, 'const x = 3;', file); + expect(output.toString()).toContain(` import {Directive} from '@angular/core'; const x = 3; -export class A {}`); - }); +`); + }); - it('should insert constants after inserted imports', () => { - const {renderer, program} = setup([PROGRAM]); - const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); - const output = new MagicString(PROGRAM.contents); - renderer.addConstants(output, 'const x = 3;', file); - renderer.addImports(output, [{specifier: '@angular/core', qualifier: 'i0'}], file); - expect(output.toString()).toContain(` + it('should insert constants after inserted imports', () => { + const {renderer, program} = setup([PROGRAM]); + const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); + const output = new MagicString(PROGRAM.contents); + renderer.addConstants(output, 'const x = 3;', file); + renderer.addImports(output, [{specifier: '@angular/core', qualifier: 'i0'}], file); + expect(output.toString()).toContain(` import {Directive} from '@angular/core'; import * as i0 from '@angular/core'; const x = 3; -export class A {`); +`); + }); }); - }); - describe('rewriteSwitchableDeclarations', () => { - it('should switch marked declaration initializers', () => { - const {renderer, program, switchMarkerAnalyses, sourceFile} = setup([PROGRAM]); - const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); - const output = new MagicString(PROGRAM.contents); - renderer.rewriteSwitchableDeclarations( - output, file, switchMarkerAnalyses.get(sourceFile)!.declarations); - expect(output.toString()) - .not.toContain(`let compileNgModuleFactory = compileNgModuleFactory__PRE_R3__;`); - expect(output.toString()) - .toContain(`let badlyFormattedVariable = __PRE_R3__badlyFormattedVariable;`); - expect(output.toString()) - .toContain(`let compileNgModuleFactory = compileNgModuleFactory__POST_R3__;`); - expect(output.toString()) - .toContain( - `function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {`); - expect(output.toString()) - .toContain( - `function compileNgModuleFactory__POST_R3__(injector, options, moduleType) {`); + describe('rewriteSwitchableDeclarations', () => { + it('should switch marked declaration initializers', () => { + const {renderer, program, switchMarkerAnalyses, sourceFile} = setup([PROGRAM]); + const file = getSourceFileOrError(program, _('/node_modules/test-package/some/file.js')); + const output = new MagicString(PROGRAM.contents); + renderer.rewriteSwitchableDeclarations( + output, file, switchMarkerAnalyses.get(sourceFile)!.declarations); + expect(output.toString()) + .not.toContain(`let compileNgModuleFactory = compileNgModuleFactory__PRE_R3__;`); + expect(output.toString()) + .toContain(`let badlyFormattedVariable = __PRE_R3__badlyFormattedVariable;`); + expect(output.toString()) + .toContain(`let compileNgModuleFactory = compileNgModuleFactory__POST_R3__;`); + expect(output.toString()) + .toContain( + `function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {`); + expect(output.toString()) + .toContain( + `function compileNgModuleFactory__POST_R3__(injector, options, moduleType) {`); + }); }); - }); - describe('addDefinitions', () => { - it('should insert the definitions directly after the class declaration', () => { - const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; - renderer.addDefinitions(output, compiledClass, 'SOME DEFINITION TEXT'); - expect(output.toString()).toContain(` -export class A {} + describe('addDefinitions', () => { + it('should insert the definitions directly after the class declaration', () => { + const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; + renderer.addDefinitions(output, compiledClass, 'SOME DEFINITION TEXT'); + expect(output.toString()).toContain(`class A {} SOME DEFINITION TEXT A.decorators = [ `); - }); + }); - it('should insert the definitions after the variable declaration of class expressions', - () => { - const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; - renderer.addDefinitions(output, compiledClass, 'SOME DEFINITION TEXT'); - expect(output.toString()).toContain(` -let C = C_1 = class C {}; -SOME DEFINITION TEXT -C.decorators = [ -`); - }); - }); - - describe('addAdjacentStatements', () => { - const contents = `import {Directive, NgZone, Console} from '@angular/core';\n` + - `export class SomeDirective {\n` + - ` constructor(zone, cons) {}\n` + - ` method() {}\n` + - `}\n` + - `SomeDirective.decorators = [\n` + - ` { type: Directive, args: [{ selector: '[a]' }] },\n` + - ` { type: OtherA }\n` + - `];\n` + - `SomeDirective.ctorParameters = () => [\n` + - ` { type: NgZone },\n` + - ` { type: Console }\n` + - `];`; - - it('should insert the statements after all the static methods of the class', () => { - const program = {name: _('/node_modules/test-package/some/file.js'), contents}; - const {renderer, decorationAnalyses, sourceFile} = setup([program]); - const output = new MagicString(contents); - const compiledClass = decorationAnalyses.get(sourceFile)!.compiledClasses.find( - c => c.name === 'SomeDirective')!; - renderer.addAdjacentStatements(output, compiledClass, 'SOME STATEMENTS'); - expect(output.toString()) - .toContain( - `SomeDirective.ctorParameters = () => [\n` + - ` { type: NgZone },\n` + - ` { type: Console }\n` + - `];\n` + - `SOME STATEMENTS`); - }); - - it('should insert the statements after any definitions', () => { - const program = {name: _('/node_modules/test-package/some/file.js'), contents}; - const {renderer, decorationAnalyses, sourceFile} = setup([program]); - const output = new MagicString(contents); - const compiledClass = decorationAnalyses.get(sourceFile)!.compiledClasses.find( - c => c.name === 'SomeDirective')!; - renderer.addDefinitions(output, compiledClass, 'SOME DEFINITIONS'); - renderer.addAdjacentStatements(output, compiledClass, 'SOME STATEMENTS'); - const definitionsPosition = output.toString().indexOf('SOME DEFINITIONS'); - const statementsPosition = output.toString().indexOf('SOME STATEMENTS'); - expect(definitionsPosition).not.toEqual(-1, 'definitions should exist'); - expect(statementsPosition).not.toEqual(-1, 'statements should exist'); - expect(statementsPosition).toBeGreaterThan(definitionsPosition); - }); - }); - - describe('removeDecorators', () => { - describe('[static property declaration]', () => { - it('should delete the decorator (and following comma) that was matched in the analysis', + it('should insert the definitions after the variable declaration of class expressions', () => { - const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); + const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM]); const output = new MagicString(PROGRAM.contents); const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; - const decorator = compiledClass.decorators![0]; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; + renderer.addDefinitions(output, compiledClass, 'SOME DEFINITION TEXT'); expect(output.toString()) - .not.toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); - expect(output.toString()).toContain(`{ type: OtherA }`); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); - expect(output.toString()).toContain(`{ type: OtherB }`); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); + .toMatch(/class C \{\};?\nSOME DEFINITION TEXT\nC.decorators = \[/); }); + }); + + describe('addAdjacentStatements', () => { + const contents = `import {Directive, NgZone, Console} from '@angular/core';\n` + + `export class SomeDirective {\n` + + ` constructor(zone, cons) {}\n` + + ` method() {}\n` + + `}\n` + + `SomeDirective.decorators = [\n` + + ` { type: Directive, args: [{ selector: '[a]' }] },\n` + + ` { type: OtherA }\n` + + `];\n` + + `SomeDirective.ctorParameters = () => [\n` + + ` { type: NgZone },\n` + + ` { type: Console }\n` + + `];`; + + it('should insert the statements after all the static methods of the class', () => { + const program = {name: _('/node_modules/test-package/some/file.js'), contents}; + const {renderer, decorationAnalyses, sourceFile} = setup([program]); + const output = new MagicString(contents); + const compiledClass = decorationAnalyses.get(sourceFile)!.compiledClasses.find( + c => c.name === 'SomeDirective')!; + renderer.addAdjacentStatements(output, compiledClass, 'SOME STATEMENTS'); + expect(output.toString()) + .toContain( + `SomeDirective.ctorParameters = () => [\n` + + ` { type: NgZone },\n` + + ` { type: Console }\n` + + `];\n` + + `SOME STATEMENTS`); + }); + + it('should insert the statements after any definitions', () => { + const program = {name: _('/node_modules/test-package/some/file.js'), contents}; + const {renderer, decorationAnalyses, sourceFile} = setup([program]); + const output = new MagicString(contents); + const compiledClass = decorationAnalyses.get(sourceFile)!.compiledClasses.find( + c => c.name === 'SomeDirective')!; + renderer.addDefinitions(output, compiledClass, 'SOME DEFINITIONS'); + renderer.addAdjacentStatements(output, compiledClass, 'SOME STATEMENTS'); + const definitionsPosition = output.toString().indexOf('SOME DEFINITIONS'); + const statementsPosition = output.toString().indexOf('SOME STATEMENTS'); + expect(definitionsPosition).not.toEqual(-1, 'definitions should exist'); + expect(statementsPosition).not.toEqual(-1, 'statements should exist'); + expect(statementsPosition).toBeGreaterThan(definitionsPosition); + }); + }); + + describe('removeDecorators', () => { + describe('[static property declaration]', () => { + it('should delete the decorator (and following comma) that was matched in the analysis', + () => { + const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; + const decorator = compiledClass.decorators![0]; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()) + .not.toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); + expect(output.toString()).toContain(`{ type: OtherA }`); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); + expect(output.toString()).toContain(`{ type: OtherB }`); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); + }); - it('should delete the decorator (but cope with no trailing comma) that was matched in the analysis', - () => { - const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'B')!; - const decorator = compiledClass.decorators![0]; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); - expect(output.toString()).toContain(`{ type: OtherA }`); - expect(output.toString()) - .not.toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); - expect(output.toString()).toContain(`{ type: OtherB }`); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); - }); + it('should delete the decorator (but cope with no trailing comma) that was matched in the analysis', + () => { + const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'B')!; + const decorator = compiledClass.decorators![0]; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); + expect(output.toString()).toContain(`{ type: OtherA }`); + expect(output.toString()) + .not.toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); + expect(output.toString()).toContain(`{ type: OtherB }`); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); + }); - it('should handle a decorator with a trailing comment', () => { - const text = ` + it('should handle a decorator with a trailing comment', () => { + const text = ` import {Directive} from '@angular/core'; export class A {} A.decorators = [ @@ -343,50 +387,50 @@ A.decorators = [ { type: OtherA } ]; `; - const file = {name: _('/node_modules/test-package/index.js'), contents: text}; - const {decorationAnalyses, sourceFile, renderer} = setup([file]); - const output = new MagicString(text); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; - const decorator = compiledClass.decorators![0]; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - // The decorator should have been removed correctly. - expect(output.toString()).toContain('A.decorators = [ { type: OtherA }'); + const file = {name: _('/node_modules/test-package/index.js'), contents: text}; + const {decorationAnalyses, sourceFile, renderer} = setup([file]); + const output = new MagicString(text); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; + const decorator = compiledClass.decorators![0]; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + // The decorator should have been removed correctly. + expect(output.toString()).toContain('A.decorators = [ { type: OtherA }'); + }); + + + it('should delete the decorator (and its container if there are no other decorators left) that was matched in the analysis', + () => { + const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); + const output = new MagicString(PROGRAM.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; + const decorator = compiledClass.decorators![0]; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); + expect(output.toString()).toContain(`{ type: OtherA }`); + expect(output.toString()) + .toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); + expect(output.toString()).toContain(`{ type: OtherB }`); + expect(output.toString()) + .not.toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); + expect(output.toString()).not.toContain(`C.decorators = [`); + }); }); - - - it('should delete the decorator (and its container if there are no other decorators left) that was matched in the analysis', - () => { - const {decorationAnalyses, sourceFile, renderer} = setup([PROGRAM]); - const output = new MagicString(PROGRAM.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; - const decorator = compiledClass.decorators![0]; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[a]' }] },`); - expect(output.toString()).toContain(`{ type: OtherA }`); - expect(output.toString()) - .toContain(`{ type: Directive, args: [{ selector: '[b]' }] }`); - expect(output.toString()).toContain(`{ type: OtherB }`); - expect(output.toString()) - .not.toContain(`{ type: Directive, args: [{ selector: '[c]' }] }`); - expect(output.toString()).not.toContain(`C.decorators = [`); - }); }); - }); - describe('[__decorate declarations]', () => { - let PROGRAM_DECORATE_HELPER: TestFile; + describe('[__decorate declarations]', () => { + let PROGRAM_DECORATE_HELPER: TestFile; - beforeEach(() => { - PROGRAM_DECORATE_HELPER = { - name: _('/node_modules/test-package/some/file.js'), - contents: ` + beforeEach(() => { + PROGRAM_DECORATE_HELPER = { + name: _('/node_modules/test-package/some/file.js'), + contents: ` import * as tslib_1 from "tslib"; var D_1; /* A copyright notice */ @@ -420,72 +464,72 @@ D = D_1 = tslib_1.__decorate([ ], D); export { D }; // Some other content` - }; + }; + }); + + it('should delete the decorator (and following comma) that was matched in the analysis', + () => { + const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); + const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; + const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()).not.toContain(`Directive({ selector: '[a]' }),`); + expect(output.toString()).toContain(`OtherA()`); + expect(output.toString()).toContain(`Directive({ selector: '[b]' })`); + expect(output.toString()).toContain(`OtherB()`); + expect(output.toString()).toContain(`Directive({ selector: '[c]' })`); + }); + + it('should delete the decorator (but cope with no trailing comma) that was matched in the analysis', + () => { + const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); + const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'B')!; + const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()).toContain(`Directive({ selector: '[a]' }),`); + expect(output.toString()).toContain(`OtherA()`); + expect(output.toString()).not.toContain(`Directive({ selector: '[b]' })`); + expect(output.toString()).toContain(`OtherB()`); + expect(output.toString()).toContain(`Directive({ selector: '[c]' })`); + }); + + + it('should delete the decorator (and its container if there are not other decorators left) that was matched in the analysis', + () => { + const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); + const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); + const compiledClass = + decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; + const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; + const decoratorsToRemove = new Map(); + decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); + renderer.removeDecorators(output, decoratorsToRemove); + expect(output.toString()).toContain(`Directive({ selector: '[a]' }),`); + expect(output.toString()).toContain(`OtherA()`); + expect(output.toString()).toContain(`Directive({ selector: '[b]' })`); + expect(output.toString()).toContain(`OtherB()`); + expect(output.toString()).not.toContain(`Directive({ selector: '[c]' })`); + expect(output.toString()).not.toContain(`C = tslib_1.__decorate([`); + expect(output.toString()).toContain(`let C = class C {\n};\nexport { C };`); + }); }); - it('should delete the decorator (and following comma) that was matched in the analysis', - () => { - const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); - const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'A')!; - const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - expect(output.toString()).not.toContain(`Directive({ selector: '[a]' }),`); - expect(output.toString()).toContain(`OtherA()`); - expect(output.toString()).toContain(`Directive({ selector: '[b]' })`); - expect(output.toString()).toContain(`OtherB()`); - expect(output.toString()).toContain(`Directive({ selector: '[c]' })`); - }); - - it('should delete the decorator (but cope with no trailing comma) that was matched in the analysis', - () => { - const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); - const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'B')!; - const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - expect(output.toString()).toContain(`Directive({ selector: '[a]' }),`); - expect(output.toString()).toContain(`OtherA()`); - expect(output.toString()).not.toContain(`Directive({ selector: '[b]' })`); - expect(output.toString()).toContain(`OtherB()`); - expect(output.toString()).toContain(`Directive({ selector: '[c]' })`); - }); - - - it('should delete the decorator (and its container if there are not other decorators left) that was matched in the analysis', - () => { - const {renderer, decorationAnalyses, sourceFile} = setup([PROGRAM_DECORATE_HELPER]); - const output = new MagicString(PROGRAM_DECORATE_HELPER.contents); - const compiledClass = - decorationAnalyses.get(sourceFile)!.compiledClasses.find(c => c.name === 'C')!; - const decorator = compiledClass.decorators!.find(d => d.name === 'Directive')!; - const decoratorsToRemove = new Map(); - decoratorsToRemove.set(decorator.node!.parent!, [decorator.node!]); - renderer.removeDecorators(output, decoratorsToRemove); - expect(output.toString()).toContain(`Directive({ selector: '[a]' }),`); - expect(output.toString()).toContain(`OtherA()`); - expect(output.toString()).toContain(`Directive({ selector: '[b]' })`); - expect(output.toString()).toContain(`OtherB()`); - expect(output.toString()).not.toContain(`Directive({ selector: '[c]' })`); - expect(output.toString()).not.toContain(`C = tslib_1.__decorate([`); - expect(output.toString()).toContain(`let C = class C {\n};\nexport { C };`); - }); - }); - - describe('addModuleWithProvidersParams', () => { - let MODULE_WITH_PROVIDERS_PROGRAM: TestFile[]; - let MODULE_WITH_PROVIDERS_DTS_PROGRAM: TestFile[]; - beforeEach(() => { - MODULE_WITH_PROVIDERS_PROGRAM = [ - { - name: _('/node_modules/test-package/src/index.js'), - contents: ` + describe('addModuleWithProvidersParams', () => { + let MODULE_WITH_PROVIDERS_PROGRAM: TestFile[]; + let MODULE_WITH_PROVIDERS_DTS_PROGRAM: TestFile[]; + beforeEach(() => { + MODULE_WITH_PROVIDERS_PROGRAM = [ + { + name: _('/node_modules/test-package/src/index.js'), + contents: ` import {ExternalModule} from './module'; import {LibraryModule} from 'some-library'; export class SomeClass {} @@ -509,25 +553,25 @@ export { D }; export function withProviders8() { return {ngModule: SomeModule}; } export {ExternalModule} from './module'; ` - }, - { - name: _('/node_modules/test-package/src/module.js'), - contents: ` + }, + { + name: _('/node_modules/test-package/src/module.js'), + contents: ` export class ExternalModule { static withProviders1() { return {ngModule: ExternalModule}; } static withProviders2() { return {ngModule: ExternalModule}; } }` - }, - { - name: _('/node_modules/some-library/index.d.ts'), - contents: 'export declare class LibraryModule {}' - }, - ]; + }, + { + name: _('/node_modules/some-library/index.d.ts'), + contents: 'export declare class LibraryModule {}' + }, + ]; - MODULE_WITH_PROVIDERS_DTS_PROGRAM = [ - { - name: _('/node_modules/test-package/typings/index.d.ts'), - contents: ` + MODULE_WITH_PROVIDERS_DTS_PROGRAM = [ + { + name: _('/node_modules/test-package/typings/index.d.ts'), + contents: ` import {ModuleWithProviders} from '@angular/core'; export declare class SomeClass {} export interface MyModuleWithProviders extends ModuleWithProviders {} @@ -551,41 +595,41 @@ export { D }; export declare function withProviders8(): MyModuleWithProviders; export {ExternalModule} from './module'; ` - }, - { - name: _('/node_modules/test-package/typings/module.d.ts'), - contents: ` + }, + { + name: _('/node_modules/test-package/typings/module.d.ts'), + contents: ` export interface ModuleWithProviders {} export declare class ExternalModule { static withProviders1(): ModuleWithProviders; static withProviders2(): ModuleWithProviders; }` - }, - { - name: _('/node_modules/some-library/index.d.ts'), - contents: 'export declare class LibraryModule {}' - }, - ]; - }); + }, + { + name: _('/node_modules/some-library/index.d.ts'), + contents: 'export declare class LibraryModule {}' + }, + ]; + }); - it('should fixup functions/methods that return ModuleWithProviders structures', () => { - const {bundle, renderer, host} = - setup(MODULE_WITH_PROVIDERS_PROGRAM, MODULE_WITH_PROVIDERS_DTS_PROGRAM); + it('should fixup functions/methods that return ModuleWithProviders structures', () => { + const {bundle, renderer, host} = + setup(MODULE_WITH_PROVIDERS_PROGRAM, MODULE_WITH_PROVIDERS_DTS_PROGRAM); - const referencesRegistry = new NgccReferencesRegistry(host); - const moduleWithProvidersAnalyses = - new ModuleWithProvidersAnalyzer( - host, bundle.src.program.getTypeChecker(), referencesRegistry, true) - .analyzeProgram(bundle.src.program); - const typingsFile = getSourceFileOrError( - bundle.dts!.program, _('/node_modules/test-package/typings/index.d.ts')); - const moduleWithProvidersInfo = moduleWithProvidersAnalyses.get(typingsFile)!; + const referencesRegistry = new NgccReferencesRegistry(host); + const moduleWithProvidersAnalyses = + new ModuleWithProvidersAnalyzer( + host, bundle.src.program.getTypeChecker(), referencesRegistry, true) + .analyzeProgram(bundle.src.program); + const typingsFile = getSourceFileOrError( + bundle.dts!.program, _('/node_modules/test-package/typings/index.d.ts')); + const moduleWithProvidersInfo = moduleWithProvidersAnalyses.get(typingsFile)!; - const output = new MagicString(MODULE_WITH_PROVIDERS_DTS_PROGRAM[0].contents); - const importManager = new ImportManager(new NoopImportRewriter(), 'i'); - renderer.addModuleWithProvidersParams(output, moduleWithProvidersInfo, importManager); + const output = new MagicString(MODULE_WITH_PROVIDERS_DTS_PROGRAM[0].contents); + const importManager = new ImportManager(new NoopImportRewriter(), 'i'); + renderer.addModuleWithProvidersParams(output, moduleWithProvidersInfo, importManager); - expect(output.toString()).toContain(` + expect(output.toString()).toContain(` static withProviders1(): ModuleWithProviders; static withProviders2(): ModuleWithProviders; static withProviders3(): ModuleWithProviders; @@ -594,7 +638,7 @@ export { D }; static withProviders6(): ModuleWithProviders; static withProviders7(): ({ngModule: SomeModule, providers: any[]})&{ngModule:SomeModule}; static withProviders8(): (MyModuleWithProviders)&{ngModule:SomeModule};`); - expect(output.toString()).toContain(` + expect(output.toString()).toContain(` export declare function withProviders1(): ModuleWithProviders; export declare function withProviders2(): ModuleWithProviders; export declare function withProviders3(): ModuleWithProviders; @@ -603,42 +647,44 @@ export { D }; export declare function withProviders6(): ModuleWithProviders; export declare function withProviders7(): ({ngModule: SomeModule, providers: any[]})&{ngModule:SomeModule}; export declare function withProviders8(): (MyModuleWithProviders)&{ngModule:SomeModule};`); - }); + }); - it('should not mistake `ModuleWithProviders` types that are not imported from `@angular/core', - () => { - const {bundle, renderer, host} = - setup(MODULE_WITH_PROVIDERS_PROGRAM, MODULE_WITH_PROVIDERS_DTS_PROGRAM); + it('should not mistake `ModuleWithProviders` types that are not imported from `@angular/core', + () => { + const {bundle, renderer, host} = + setup(MODULE_WITH_PROVIDERS_PROGRAM, MODULE_WITH_PROVIDERS_DTS_PROGRAM); - const referencesRegistry = new NgccReferencesRegistry(host); - const moduleWithProvidersAnalyses = - new ModuleWithProvidersAnalyzer( - host, bundle.src.program.getTypeChecker(), referencesRegistry, true) - .analyzeProgram(bundle.src.program); - const typingsFile = getSourceFileOrError( - bundle.dts!.program, _('/node_modules/test-package/typings/module.d.ts')); - const moduleWithProvidersInfo = moduleWithProvidersAnalyses.get(typingsFile)!; + const referencesRegistry = new NgccReferencesRegistry(host); + const moduleWithProvidersAnalyses = + new ModuleWithProvidersAnalyzer( + host, bundle.src.program.getTypeChecker(), referencesRegistry, true) + .analyzeProgram(bundle.src.program); + const typingsFile = getSourceFileOrError( + bundle.dts!.program, _('/node_modules/test-package/typings/module.d.ts')); + const moduleWithProvidersInfo = moduleWithProvidersAnalyses.get(typingsFile)!; - const output = new MagicString(MODULE_WITH_PROVIDERS_DTS_PROGRAM[1].contents); - const importManager = new ImportManager(new NoopImportRewriter(), 'i'); - renderer.addModuleWithProvidersParams(output, moduleWithProvidersInfo, importManager); - expect(output.toString()).toContain(` + const output = new MagicString(MODULE_WITH_PROVIDERS_DTS_PROGRAM[1].contents); + const importManager = new ImportManager(new NoopImportRewriter(), 'i'); + renderer.addModuleWithProvidersParams(output, moduleWithProvidersInfo, importManager); + expect(output.toString()).toContain(` static withProviders1(): (ModuleWithProviders)&{ngModule:ExternalModule}; static withProviders2(): (ModuleWithProviders)&{ngModule:ExternalModule};`); - }); - }); + }); + }); - describe('printStatement', () => { - it('should transpile code to ES2015', () => { - const {renderer, sourceFile, importManager} = setup([PROGRAM]); + describe('printStatement', () => { + it('should transpile code to ES2015', () => { + const {renderer, sourceFile, importManager} = setup([PROGRAM]); - const stmt1 = new DeclareVarStmt('foo', new LiteralExpr(42), null, [StmtModifier.Final]); - const stmt2 = new DeclareVarStmt('bar', new LiteralExpr(true)); - const stmt3 = new DeclareVarStmt('baz', new LiteralExpr('qux'), undefined, []); + const stmt1 = new DeclareVarStmt('foo', new LiteralExpr(42), null, [StmtModifier.Final]); + const stmt2 = new DeclareVarStmt('bar', new LiteralExpr(true)); + const stmt3 = new DeclareVarStmt('baz', new LiteralExpr('qux'), undefined, []); - expect(renderer.printStatement(stmt1, sourceFile, importManager)).toBe('const foo = 42;'); - expect(renderer.printStatement(stmt2, sourceFile, importManager)).toBe('var bar = true;'); - expect(renderer.printStatement(stmt3, sourceFile, importManager)).toBe('var baz = "qux";'); + expect(renderer.printStatement(stmt1, sourceFile, importManager)).toBe('const foo = 42;'); + expect(renderer.printStatement(stmt2, sourceFile, importManager)).toBe('var bar = true;'); + expect(renderer.printStatement(stmt3, sourceFile, importManager)) + .toBe('var baz = "qux";'); + }); }); }); }); diff --git a/packages/compiler-cli/ngcc/test/rendering/renderer_spec.ts b/packages/compiler-cli/ngcc/test/rendering/renderer_spec.ts index ff450182c4..d21888d796 100644 --- a/packages/compiler-cli/ngcc/test/rendering/renderer_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/renderer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,6 +14,7 @@ import * as ts from 'typescript'; import {absoluteFrom, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {NOOP_DEFAULT_IMPORT_RECORDER, Reexport} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {Import, ImportManager, translateStatement} from '../../../src/ngtsc/translator'; import {loadTestFiles} from '../../../test/helpers'; import {DecorationAnalyzer} from '../../src/analysis/decoration_analyzer'; @@ -26,7 +27,6 @@ import {Esm2015ReflectionHost} from '../../src/host/esm2015_host'; import {Esm5ReflectionHost} from '../../src/host/esm5_host'; import {Renderer} from '../../src/rendering/renderer'; import {RedundantDecoratorMap, RenderingFormatter} from '../../src/rendering/rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {getRootFiles, makeTestEntryPointBundle} from '../helpers/utils'; class TestRenderingFormatter implements RenderingFormatter { @@ -90,8 +90,8 @@ function createTestRenderer( const referencesRegistry = new NgccReferencesRegistry(host); const decorationAnalyses = new DecorationAnalyzer(fs, bundle, host, referencesRegistry).analyzeProgram(); - const switchMarkerAnalyses = - new SwitchMarkerAnalyzer(host, bundle.entryPoint.package).analyzeProgram(bundle.src.program); + const switchMarkerAnalyses = new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath) + .analyzeProgram(bundle.src.program); const privateDeclarationsAnalyses = new PrivateDeclarationsAnalyzer(host, referencesRegistry).analyzeProgram(bundle.src.program); const testFormatter = new TestRenderingFormatter(); @@ -640,6 +640,24 @@ UndecoratedBase.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: UndecoratedBase, vie expect(mapFile.path).toEqual(_('/node_modules/test-package/src/file.js.map')); expect(JSON.parse(mapFile.contents)).toEqual(MERGED_OUTPUT_PROGRAM_MAP.toObject()); }); + + + it('should render an internal source map for files whose original file does not have a source map', + () => { + const sourceFiles: TestFile[] = [JS_CONTENT]; + const { + decorationAnalyses, + renderer, + switchMarkerAnalyses, + privateDeclarationsAnalyses + } = createTestRenderer('test-package', sourceFiles, undefined); + const [sourceFile, mapFile] = renderer.renderProgram( + decorationAnalyses, switchMarkerAnalyses, privateDeclarationsAnalyses); + expect(sourceFile.path).toEqual(_('/node_modules/test-package/src/file.js')); + expect(sourceFile.contents) + .toEqual(RENDERED_CONTENTS + '\n' + OUTPUT_PROGRAM_MAP.toComment()); + expect(mapFile).toBeUndefined(); + }); }); describe('@angular/core support', () => { diff --git a/packages/compiler-cli/ngcc/test/rendering/umd_rendering_formatter_spec.ts b/packages/compiler-cli/ngcc/test/rendering/umd_rendering_formatter_spec.ts index b260b54b99..15b35a981c 100644 --- a/packages/compiler-cli/ngcc/test/rendering/umd_rendering_formatter_spec.ts +++ b/packages/compiler-cli/ngcc/test/rendering/umd_rendering_formatter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,6 +12,7 @@ import * as ts from 'typescript'; import {absoluteFrom, absoluteFromSourceFile, getFileSystem, getSourceFileOrError} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem, TestFile} from '../../../src/ngtsc/file_system/testing'; import {NoopImportRewriter} from '../../../src/ngtsc/imports'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {getDeclaration} from '../../../src/ngtsc/testing'; import {ImportManager} from '../../../src/ngtsc/translator'; import {loadTestFiles} from '../../../test/helpers'; @@ -20,7 +21,6 @@ import {NgccReferencesRegistry} from '../../src/analysis/ngcc_references_registr import {SwitchMarkerAnalyzer} from '../../src/analysis/switch_marker_analyzer'; import {UmdReflectionHost} from '../../src/host/umd_host'; import {UmdRenderingFormatter} from '../../src/rendering/umd_rendering_formatter'; -import {MockLogger} from '../helpers/mock_logger'; import {makeTestEntryPointBundle} from '../helpers/utils'; function setup(file: TestFile) { @@ -34,7 +34,7 @@ function setup(file: TestFile) { const decorationAnalyses = new DecorationAnalyzer(fs, bundle, host, referencesRegistry).analyzeProgram(); const switchMarkerAnalyses = - new SwitchMarkerAnalyzer(host, bundle.entryPoint.package).analyzeProgram(src.program); + new SwitchMarkerAnalyzer(host, bundle.entryPoint.packagePath).analyzeProgram(src.program); const renderer = new UmdRenderingFormatter(host, false); const importManager = new ImportManager(new NoopImportRewriter(), 'i'); return { @@ -481,8 +481,11 @@ SOME DEFINITION TEXT program, absoluteFromSourceFile(sourceFile), 'NoIife', ts.isFunctionDeclaration); const mockNoIifeClass: any = {declaration: noIifeDeclaration, name: 'NoIife'}; expect(() => renderer.addDefinitions(output, mockNoIifeClass, 'SOME DEFINITION TEXT')) - .toThrowError(`Compiled class declaration is not inside an IIFE: NoIife in ${ - _('/node_modules/test-package/some/file.js')}`); + .toThrowError( + `Compiled class "NoIife" in "${ + _('/node_modules/test-package/some/file.js')}" does not have a valid syntax.\n` + + `Expected an ES5 IIFE wrapped function. But got:\n` + + `function NoIife() {}`); const badIifeDeclaration = getDeclaration( program, absoluteFromSourceFile(sourceFile), 'BadIife', ts.isVariableDeclaration); diff --git a/packages/compiler-cli/ngcc/test/utils_spec.ts b/packages/compiler-cli/ngcc/test/utils_spec.ts index d01b1e3e9a..14aa5fbabe 100644 --- a/packages/compiler-cli/ngcc/test/utils_spec.ts +++ b/packages/compiler-cli/ngcc/test/utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/test/writing/cleaning/cleaning_strategies_spec.ts b/packages/compiler-cli/ngcc/test/writing/cleaning/cleaning_strategies_spec.ts index 5678d41a64..7fc1ff9de1 100644 --- a/packages/compiler-cli/ngcc/test/writing/cleaning/cleaning_strategies_spec.ts +++ b/packages/compiler-cli/ngcc/test/writing/cleaning/cleaning_strategies_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -235,4 +235,4 @@ runInEachFileSystem(() => { }); }); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/ngcc/test/writing/cleaning/package_cleaner_spec.ts b/packages/compiler-cli/ngcc/test/writing/cleaning/package_cleaner_spec.ts index 7260845cfe..8c64aee814 100644 --- a/packages/compiler-cli/ngcc/test/writing/cleaning/package_cleaner_spec.ts +++ b/packages/compiler-cli/ngcc/test/writing/cleaning/package_cleaner_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -83,4 +83,4 @@ class MockCleaningStrategy implements CleaningStrategy { clean(path: AbsoluteFsPath, basename: PathSegment): void { this.log.push(`${this.label}:clean('${path}', '${basename}')`); } -} \ No newline at end of file +} diff --git a/packages/compiler-cli/ngcc/test/writing/in_place_file_writer_spec.ts b/packages/compiler-cli/ngcc/test/writing/in_place_file_writer_spec.ts index 22feed4ec1..a2919eeb04 100644 --- a/packages/compiler-cli/ngcc/test/writing/in_place_file_writer_spec.ts +++ b/packages/compiler-cli/ngcc/test/writing/in_place_file_writer_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, getFileSystem} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {EntryPoint} from '../../src/packages/entry_point'; import {EntryPointBundle} from '../../src/packages/entry_point_bundle'; import {InPlaceFileWriter, NGCC_BACKUP_EXTENSION} from '../../src/writing/in_place_file_writer'; -import {MockLogger} from '../helpers/mock_logger'; runInEachFileSystem(() => { describe('InPlaceFileWriter', () => { @@ -101,8 +101,12 @@ runInEachFileSystem(() => { `Tried to write ${ absoluteBackupPath}.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, ${ absoluteBackupPath}.\n` + - `This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` + - `You should check other entry-points in this package and set up a config to ignore any that you are not using.` + `This error may be caused by one of the following:\n` + + `* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` + + ` In this case, you should check other entry-points in this package\n` + + ` and set up a config to ignore any that you are not using.\n` + + `* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` + + ` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.` ]]); }); }); diff --git a/packages/compiler-cli/ngcc/test/writing/new_entry_point_file_writer_spec.ts b/packages/compiler-cli/ngcc/test/writing/new_entry_point_file_writer_spec.ts index 640c3e1209..b8fb4aba33 100644 --- a/packages/compiler-cli/ngcc/test/writing/new_entry_point_file_writer_spec.ts +++ b/packages/compiler-cli/ngcc/test/writing/new_entry_point_file_writer_spec.ts @@ -1,20 +1,20 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, FileSystem, getFileSystem, join} from '../../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; +import {MockLogger} from '../../../src/ngtsc/logging/testing'; import {loadTestFiles} from '../../../test/helpers'; import {NgccConfiguration} from '../../src/packages/configuration'; -import {EntryPoint, EntryPointFormat, EntryPointJsonProperty, getEntryPointInfo, INCOMPATIBLE_ENTRY_POINT, NO_ENTRY_POINT} from '../../src/packages/entry_point'; +import {EntryPoint, EntryPointFormat, EntryPointJsonProperty, getEntryPointInfo, isEntryPoint} from '../../src/packages/entry_point'; import {EntryPointBundle, makeEntryPointBundle} from '../../src/packages/entry_point_bundle'; import {FileWriter} from '../../src/writing/file_writer'; import {NewEntryPointFileWriter} from '../../src/writing/new_entry_point_file_writer'; import {DirectPackageJsonUpdater} from '../../src/writing/package_json_updater'; -import {MockLogger} from '../helpers/mock_logger'; import {loadPackageJson} from '../packages/entry_point_spec'; runInEachFileSystem(() => { @@ -106,7 +106,7 @@ runInEachFileSystem(() => { const config = new NgccConfiguration(fs, _('/')); const result = getEntryPointInfo( fs, config, logger, _('/node_modules/test'), _('/node_modules/test'))!; - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { return fail(`Expected an entry point but got ${result}`); } entryPoint = result; @@ -246,7 +246,7 @@ runInEachFileSystem(() => { const config = new NgccConfiguration(fs, _('/')); const result = getEntryPointInfo( fs, config, logger, _('/node_modules/test'), _('/node_modules/test/a'))!; - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { return fail(`Expected an entry point but got ${result}`); } entryPoint = result; @@ -375,7 +375,7 @@ runInEachFileSystem(() => { const config = new NgccConfiguration(fs, _('/')); const result = getEntryPointInfo( fs, config, new MockLogger(), _('/node_modules/test'), _('/node_modules/test/b'))!; - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { return fail(`Expected an entry point but got ${result}`); } entryPoint = result; @@ -501,7 +501,7 @@ runInEachFileSystem(() => { const config = new NgccConfiguration(fs, _('/')); const result = getEntryPointInfo( fs, config, logger, _('/node_modules/test'), _('/node_modules/test'))!; - if (result === NO_ENTRY_POINT || result === INCOMPATIBLE_ENTRY_POINT) { + if (!isEntryPoint(result)) { return fail(`Expected an entry point but got ${result}`); } entryPoint = result; @@ -577,7 +577,7 @@ runInEachFileSystem(() => { it('should revert changes to `package.json`', () => { const entryPoint = esm5bundle.entryPoint; - const packageJsonPath = join(entryPoint.package, 'package.json'); + const packageJsonPath = join(entryPoint.packagePath, 'package.json'); fileWriter.writeBundle( esm5bundle, diff --git a/packages/compiler-cli/ngcc/test/writing/package_json_updater_spec.ts b/packages/compiler-cli/ngcc/test/writing/package_json_updater_spec.ts index 8efe32c3ba..871c4f41c0 100644 --- a/packages/compiler-cli/ngcc/test/writing/package_json_updater_spec.ts +++ b/packages/compiler-cli/ngcc/test/writing/package_json_updater_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/package.json b/packages/compiler-cli/package.json index 930f075a4e..785e0fdd3a 100644 --- a/packages/compiler-cli/package.json +++ b/packages/compiler-cli/package.json @@ -22,12 +22,12 @@ "semver": "^6.3.0", "source-map": "^0.6.1", "sourcemap-codec": "^1.4.8", + "tslib": "^2.0.0", "yargs": "15.3.0" }, "peerDependencies": { "@angular/compiler": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0", - "typescript": ">=3.8 <3.9" + "typescript": ">=3.9 <4.0" }, "engines": { "node": ">=10.0" @@ -52,4 +52,4 @@ "publishConfig": { "registry": "https://wombat-dressing-room.appspot.com" } -} +} \ No newline at end of file diff --git a/packages/compiler-cli/src/diagnostics/translate_diagnostics.ts b/packages/compiler-cli/src/diagnostics/translate_diagnostics.ts index d44d1f8852..df1d63ee05 100644 --- a/packages/compiler-cli/src/diagnostics/translate_diagnostics.ts +++ b/packages/compiler-cli/src/diagnostics/translate_diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/diagnostics/typescript_version.ts b/packages/compiler-cli/src/diagnostics/typescript_version.ts index 3ca5b79842..a8c53a49e0 100644 --- a/packages/compiler-cli/src/diagnostics/typescript_version.ts +++ b/packages/compiler-cli/src/diagnostics/typescript_version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/extract_i18n.ts b/packages/compiler-cli/src/extract_i18n.ts index ad4cd93cb2..650d12adb4 100644 --- a/packages/compiler-cli/src/extract_i18n.ts +++ b/packages/compiler-cli/src/extract_i18n.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/language_services.ts b/packages/compiler-cli/src/language_services.ts index 3a75c881da..4ad5958ac9 100644 --- a/packages/compiler-cli/src/language_services.ts +++ b/packages/compiler-cli/src/language_services.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/main.ts b/packages/compiler-cli/src/main.ts index c57f62fbd0..0c8eb8ddb8 100644 --- a/packages/compiler-cli/src/main.ts +++ b/packages/compiler-cli/src/main.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -89,18 +89,9 @@ export function mainDiagnosticsForTest( } function createEmitCallback(options: api.CompilerOptions): api.TsEmitCallback|undefined { - const transformDecorators = - (options.enableIvy === false && options.annotationsAs !== 'decorators'); - const transformTypesToClosure = options.annotateForClosureCompiler; - if (!transformDecorators && !transformTypesToClosure) { + if (!options.annotateForClosureCompiler) { return undefined; } - if (transformDecorators) { - // This is needed as a workaround for https://github.com/angular/tsickle/issues/635 - // Otherwise tsickle might emit references to non imported values - // as TypeScript elided the import. - options.emitDecoratorMetadata = true; - } const tsickleHost: Pick< tsickle.TsickleHost, 'shouldSkipTsickleProcessing'|'pathToModuleName'|'shouldIgnoreWarningsForPath'| @@ -115,41 +106,29 @@ function createEmitCallback(options: api.CompilerOptions): api.TsEmitCallback|un googmodule: false, untyped: true, convertIndexImportShorthand: false, - transformDecorators, - transformTypesToClosure, + // Decorators are transformed as part of the Angular compiler programs. To avoid + // conflicts, we disable decorator transformations for tsickle. + transformDecorators: false, + transformTypesToClosure: true, }; - if (options.annotateForClosureCompiler || options.annotationsAs === 'static fields') { - return ({ - program, - targetSourceFile, - writeFile, - cancellationToken, - emitOnlyDtsFiles, - customTransformers = {}, - host, - options - }) => - // tslint:disable-next-line:no-require-imports only depend on tsickle if requested - require('tsickle').emitWithTsickle( - program, {...tsickleHost, options, host, moduleResolutionHost: host}, host, options, - targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, { - beforeTs: customTransformers.before, - afterTs: customTransformers.after, - }); - } else { - return ({ - program, - targetSourceFile, - writeFile, - cancellationToken, - emitOnlyDtsFiles, - customTransformers = {}, - }) => - program.emit( - targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, - {after: customTransformers.after, before: customTransformers.before}); - } + return ({ + program, + targetSourceFile, + writeFile, + cancellationToken, + emitOnlyDtsFiles, + customTransformers = {}, + host, + options + }) => + // tslint:disable-next-line:no-require-imports only depend on tsickle if requested + require('tsickle').emitWithTsickle( + program, {...tsickleHost, options, host, moduleResolutionHost: host}, host, options, + targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, { + beforeTs: customTransformers.before, + afterTs: customTransformers.after, + }); } export interface NgcParsedConfiguration extends ParsedConfiguration { diff --git a/packages/compiler-cli/src/metadata/bundle_index_host.ts b/packages/compiler-cli/src/metadata/bundle_index_host.ts index 74db9c8979..17080bcb7a 100644 --- a/packages/compiler-cli/src/metadata/bundle_index_host.ts +++ b/packages/compiler-cli/src/metadata/bundle_index_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/metadata/bundler.ts b/packages/compiler-cli/src/metadata/bundler.ts index e1d3ad407e..694598f9ee 100644 --- a/packages/compiler-cli/src/metadata/bundler.ts +++ b/packages/compiler-cli/src/metadata/bundler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/metadata/collector.ts b/packages/compiler-cli/src/metadata/collector.ts index 577347181e..81510e93a8 100644 --- a/packages/compiler-cli/src/metadata/collector.ts +++ b/packages/compiler-cli/src/metadata/collector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/metadata/evaluator.ts b/packages/compiler-cli/src/metadata/evaluator.ts index 4752d98211..f064afea73 100644 --- a/packages/compiler-cli/src/metadata/evaluator.ts +++ b/packages/compiler-cli/src/metadata/evaluator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -694,4 +694,4 @@ const empty = ts.createNodeArray(); function arrayOrEmpty(v: ts.NodeArray|undefined): ts.NodeArray { return v || empty; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/metadata/index.ts b/packages/compiler-cli/src/metadata/index.ts index d8aa3ff8f7..58eb3e7161 100644 --- a/packages/compiler-cli/src/metadata/index.ts +++ b/packages/compiler-cli/src/metadata/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,4 +8,4 @@ export * from './collector'; export * from './schema'; -export * from './bundle_index_host'; \ No newline at end of file +export * from './bundle_index_host'; diff --git a/packages/compiler-cli/src/metadata/index_writer.ts b/packages/compiler-cli/src/metadata/index_writer.ts index 2c209f1c5b..e845b71963 100644 --- a/packages/compiler-cli/src/metadata/index_writer.ts +++ b/packages/compiler-cli/src/metadata/index_writer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -55,4 +55,4 @@ function compare(select: (e: E) => T): (a: E, b: E) => number { const bk = select(b); return ak > bk ? 1 : ak < bk ? -1 : 0; }; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/metadata/schema.ts b/packages/compiler-cli/src/metadata/schema.ts index 519a8c1fd6..06683c10ec 100644 --- a/packages/compiler-cli/src/metadata/schema.ts +++ b/packages/compiler-cli/src/metadata/schema.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/metadata/symbols.ts b/packages/compiler-cli/src/metadata/symbols.ts index e1f6563c76..262056014c 100644 --- a/packages/compiler-cli/src/metadata/symbols.ts +++ b/packages/compiler-cli/src/metadata/symbols.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/BUILD.bazel b/packages/compiler-cli/src/ngtsc/annotations/BUILD.bazel index 46dc232739..e63dc1852f 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/annotations/BUILD.bazel @@ -20,7 +20,7 @@ ts_library( "//packages/compiler-cli/src/ngtsc/reflection", "//packages/compiler-cli/src/ngtsc/routing", "//packages/compiler-cli/src/ngtsc/scope", - "//packages/compiler-cli/src/ngtsc/shims", + "//packages/compiler-cli/src/ngtsc/shims:api", "//packages/compiler-cli/src/ngtsc/transform", "//packages/compiler-cli/src/ngtsc/typecheck", "//packages/compiler-cli/src/ngtsc/util", diff --git a/packages/compiler-cli/src/ngtsc/annotations/index.ts b/packages/compiler-cli/src/ngtsc/annotations/index.ts index d439994d26..f36b2a1a28 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/index.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/api.ts b/packages/compiler-cli/src/ngtsc/annotations/src/api.ts index 364cfdaf0c..544bbdf461 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/component.ts b/packages/compiler-cli/src/ngtsc/annotations/src/component.ts index 7e7ed4c0ca..abaf8d0826 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/component.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,7 +26,7 @@ import {tsSourceMapBug29300Fixed} from '../../util/src/ts_source_map_bug_29300'; import {SubsetOfKeys} from '../../util/src/typescript'; import {ResourceLoader} from './api'; -import {getDirectiveDiagnostics, getProviderDiagnostics} from './diagnostics'; +import {createValueHasWrongTypeError, getDirectiveDiagnostics, getProviderDiagnostics} from './diagnostics'; import {extractDirectiveMetadata, parseFieldArrayValue} from './directive'; import {compileNgFactoryDefField} from './factory'; import {generateSetClassMetadataCall} from './metadata'; @@ -243,8 +243,8 @@ export class ComponentDecoratorHandler implements const templateUrlExpr = component.get('templateUrl')!; const templateUrl = this.evaluator.evaluate(templateUrlExpr); if (typeof templateUrl !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, templateUrlExpr, 'templateUrl must be a string'); + throw createValueHasWrongTypeError( + templateUrlExpr, templateUrl, 'templateUrl must be a string'); } const resourceUrl = this.resourceLoader.resolve(templateUrl, containingFile); template = this._extractExternalTemplate(node, component, templateUrlExpr, resourceUrl); @@ -617,9 +617,8 @@ export class ComponentDecoratorHandler implements if (value instanceof EnumValue && isAngularCoreReference(value.enumRef, enumSymbolName)) { resolved = value.resolved as number; } else { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, - `${field} must be a member of ${enumSymbolName} enum from @angular/core`); + throw createValueHasWrongTypeError( + expr, value, `${field} must be a member of ${enumSymbolName} enum from @angular/core`); } } return resolved; @@ -634,8 +633,8 @@ export class ComponentDecoratorHandler implements const styleUrlsExpr = component.get('styleUrls')!; const styleUrls = this.evaluator.evaluate(styleUrlsExpr); if (!Array.isArray(styleUrls) || !styleUrls.every(url => typeof url === 'string')) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, styleUrlsExpr, 'styleUrls must be an array of strings'); + throw createValueHasWrongTypeError( + styleUrlsExpr, styleUrls, 'styleUrls must be an array of strings'); } styleUrls.push(...extraUrls); return styleUrls as string[]; @@ -649,8 +648,8 @@ export class ComponentDecoratorHandler implements const templateUrlExpr = component.get('templateUrl')!; const templateUrl = this.evaluator.evaluate(templateUrlExpr); if (typeof templateUrl !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, templateUrlExpr, 'templateUrl must be a string'); + throw createValueHasWrongTypeError( + templateUrlExpr, templateUrl, 'templateUrl must be a string'); } const resourceUrl = this.resourceLoader.resolve(templateUrl, containingFile); const templatePromise = this.resourceLoader.preload(resourceUrl); @@ -729,8 +728,8 @@ export class ComponentDecoratorHandler implements } else { const resolvedTemplate = this.evaluator.evaluate(templateExpr); if (typeof resolvedTemplate !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, templateExpr, 'template must be a string'); + throw createValueHasWrongTypeError( + templateExpr, resolvedTemplate, 'template must be a string'); } templateStr = resolvedTemplate; sourceMapping = { @@ -755,8 +754,7 @@ export class ComponentDecoratorHandler implements const expr = component.get('preserveWhitespaces')!; const value = this.evaluator.evaluate(expr); if (typeof value !== 'boolean') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, 'preserveWhitespaces must be a boolean'); + throw createValueHasWrongTypeError(expr, value, 'preserveWhitespaces must be a boolean'); } preserveWhitespaces = value; } @@ -767,9 +765,8 @@ export class ComponentDecoratorHandler implements const value = this.evaluator.evaluate(expr); if (!Array.isArray(value) || value.length !== 2 || !value.every(element => typeof element === 'string')) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, - 'interpolation must be an array with 2 elements of string type'); + throw createValueHasWrongTypeError( + expr, value, 'interpolation must be an array with 2 elements of string type'); } interpolation = InterpolationConfig.fromArray(value as [string, string]); } diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.ts b/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.ts index 6ddcacd939..195254d627 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,15 +8,57 @@ import * as ts from 'typescript'; -import {ErrorCode, makeDiagnostic} from '../../diagnostics'; +import {ErrorCode, FatalDiagnosticError, makeDiagnostic, makeRelatedInformation} from '../../diagnostics'; import {Reference} from '../../imports'; import {InjectableClassRegistry, MetadataReader} from '../../metadata'; -import {PartialEvaluator} from '../../partial_evaluator'; +import {describeResolvedType, DynamicValue, PartialEvaluator, ResolvedValue, traceDynamicValue} from '../../partial_evaluator'; import {ClassDeclaration, ReflectionHost} from '../../reflection'; import {LocalModuleScopeRegistry} from '../../scope'; +import {identifierOfNode} from '../../util/src/typescript'; import {makeDuplicateDeclarationError, readBaseClass} from './util'; +/** + * Creates a `FatalDiagnosticError` for a node that did not evaluate to the expected type. The + * diagnostic that is created will include details on why the value is incorrect, i.e. it includes + * a representation of the actual type that was unsupported, or in the case of a dynamic value the + * trace to the node where the dynamic value originated. + * + * @param node The node for which the diagnostic should be produced. + * @param value The evaluated value that has the wrong type. + * @param messageText The message text of the error. + */ +export function createValueHasWrongTypeError( + node: ts.Node, value: ResolvedValue, messageText: string): FatalDiagnosticError { + let chainedMessage: string; + let relatedInformation: ts.DiagnosticRelatedInformation[]|undefined; + if (value instanceof DynamicValue) { + chainedMessage = 'Value could not be determined statically.'; + relatedInformation = traceDynamicValue(node, value); + } else if (value instanceof Reference) { + const target = value.debugName !== null ? `'${value.debugName}'` : 'an anonymous declaration'; + chainedMessage = `Value is a reference to ${target}.`; + + const referenceNode = identifierOfNode(value.node) ?? value.node; + relatedInformation = [makeRelatedInformation(referenceNode, 'Reference is declared here.')]; + } else { + chainedMessage = `Value is of type '${describeResolvedType(value)}'.`; + } + + const chain: ts.DiagnosticMessageChain = { + messageText, + category: ts.DiagnosticCategory.Error, + code: 0, + next: [{ + messageText: chainedMessage, + category: ts.DiagnosticCategory.Message, + code: 0, + }] + }; + + return new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, node, chain, relatedInformation); +} + /** * Gets the diagnostics for a set of provider classes. * @param providerClasses Classes that should be checked. @@ -44,7 +86,7 @@ Either add the @Injectable() decorator to '${ provider.node.name .text}', or configure a different provider (such as a provider with 'useFactory'). `, - [{node: provider.node, messageText: `'${provider.node.name.text}' is declared here.`}])); + [makeRelatedInformation(provider.node, `'${provider.node.name.text}' is declared here.`)])); } return diagnostics; diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/directive.ts b/packages/compiler-cli/src/ngtsc/annotations/src/directive.ts index b4ea78b33e..04c6f3f2c4 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/directive.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,7 +18,7 @@ import {ClassDeclaration, ClassMember, ClassMemberKind, Decorator, filterToMembe import {LocalModuleScopeRegistry} from '../../scope'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerFlags, HandlerPrecedence, ResolveResult} from '../../transform'; -import {getDirectiveDiagnostics, getProviderDiagnostics, getUndecoratedClassWithAngularFeaturesDiagnostic} from './diagnostics'; +import {createValueHasWrongTypeError, getDirectiveDiagnostics, getProviderDiagnostics, getUndecoratedClassWithAngularFeaturesDiagnostic} from './diagnostics'; import {compileNgFactoryDefField} from './factory'; import {generateSetClassMetadataCall} from './metadata'; import {createSourceSpan, findAngularDecorator, getConstructorDependencies, isAngularDecorator, readBaseClass, resolveProvidersRequiringFactory, unwrapConstructorDependencies, unwrapExpression, unwrapForwardRef, validateConstructorDependencies, wrapFunctionExpressionsInParens, wrapTypeReference} from './util'; @@ -278,8 +278,7 @@ export function extractDirectiveMetadata( const expr = directive.get('selector')!; const resolved = evaluator.evaluate(expr); if (typeof resolved !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, `selector must be a string`); + throw createValueHasWrongTypeError(expr, resolved, `selector must be a string`); } // use default selector in case selector is an empty string selector = resolved === '' ? defaultSelector : resolved; @@ -310,8 +309,7 @@ export function extractDirectiveMetadata( const expr = directive.get('exportAs')!; const resolved = evaluator.evaluate(expr); if (typeof resolved !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, `exportAs must be a string`); + throw createValueHasWrongTypeError(expr, resolved, `exportAs must be a string`); } exportAs = resolved.split(',').map(part => part.trim()); } @@ -381,8 +379,7 @@ export function extractQueryMetadata( } else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) { predicate = arg; } else { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, node, `@${name} predicate cannot be interpreted`); + throw createValueHasWrongTypeError(node, arg, `@${name} predicate cannot be interpreted`); } // Extract the read and descendants options. @@ -405,9 +402,8 @@ export function extractQueryMetadata( const descendantsExpr = options.get('descendants')!; const descendantsValue = evaluator.evaluate(descendantsExpr); if (typeof descendantsValue !== 'boolean') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, descendantsExpr, - `@${name} options.descendants must be a boolean`); + throw createValueHasWrongTypeError( + descendantsExpr, descendantsValue, `@${name} options.descendants must be a boolean`); } descendants = descendantsValue; } @@ -415,8 +411,8 @@ export function extractQueryMetadata( if (options.has('static')) { const staticValue = evaluator.evaluate(options.get('static')!); if (typeof staticValue !== 'boolean') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, node, `@${name} options.static must be a boolean`); + throw createValueHasWrongTypeError( + node, staticValue, `@${name} options.static must be a boolean`); } isStatic = staticValue; } @@ -482,9 +478,8 @@ function isStringArrayOrDie(value: any, name: string, node: ts.Expression): valu for (let i = 0; i < value.length; i++) { if (typeof value[i] !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, node, - `Failed to resolve ${name} at position ${i} to a string`); + throw createValueHasWrongTypeError( + node, value[i], `Failed to resolve ${name} at position ${i} to a string`); } } return true; @@ -501,9 +496,8 @@ export function parseFieldArrayValue( const expression = directive.get(field)!; const value = evaluator.evaluate(expression); if (!isStringArrayOrDie(value, field, expression)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expression, - `Failed to resolve @Directive.${field} to a string array`); + throw createValueHasWrongTypeError( + expression, value, `Failed to resolve @Directive.${field} to a string array`); } return value; @@ -548,8 +542,8 @@ function parseDecoratedFields( } else if (decorator.args.length === 1) { const property = evaluator.evaluate(decorator.args[0]); if (typeof property !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, Decorator.nodeForError(decorator), + throw createValueHasWrongTypeError( + Decorator.nodeForError(decorator), property, `@${decorator.name} decorator argument must resolve to a string`); } results[fieldName] = mapValueResolver(property, fieldName); @@ -613,8 +607,8 @@ function evaluateHostExpressionBindings( hostExpr: ts.Expression, evaluator: PartialEvaluator): ParsedHostBindings { const hostMetaMap = evaluator.evaluate(hostExpr); if (!(hostMetaMap instanceof Map)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, hostExpr, `Decorator host metadata must be an object`); + throw createValueHasWrongTypeError( + hostExpr, hostMetaMap, `Decorator host metadata must be an object`); } const hostMetadata: StringMap = {}; hostMetaMap.forEach((value, key) => { @@ -624,8 +618,8 @@ function evaluateHostExpressionBindings( } if (typeof key !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, hostExpr, + throw createValueHasWrongTypeError( + hostExpr, key, `Decorator host metadata must be a string -> string object, but found unparseable key`); } @@ -634,8 +628,8 @@ function evaluateHostExpressionBindings( } else if (value instanceof DynamicValue) { hostMetadata[key] = new WrappedNodeExpr(value.node as ts.Expression); } else { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, hostExpr, + throw createValueHasWrongTypeError( + hostExpr, value, `Decorator host metadata must be a string -> string object, but found unparseable value`); } }); @@ -678,8 +672,8 @@ export function extractHostBindings( const resolved = evaluator.evaluate(decorator.args[0]); if (typeof resolved !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, Decorator.nodeForError(decorator), + throw createValueHasWrongTypeError( + Decorator.nodeForError(decorator), resolved, `@HostBinding's argument must be a string`); } @@ -704,8 +698,8 @@ export function extractHostBindings( const resolved = evaluator.evaluate(decorator.args[0]); if (typeof resolved !== 'string') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, decorator.args[0], + throw createValueHasWrongTypeError( + decorator.args[0], resolved, `@HostListener's event name argument must be a string`); } @@ -715,8 +709,8 @@ export function extractHostBindings( const expression = decorator.args[1]; const resolvedArgs = evaluator.evaluate(decorator.args[1]); if (!isStringArrayOrDie(resolvedArgs, '@HostListener.args', expression)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, decorator.args[1], + throw createValueHasWrongTypeError( + decorator.args[1], resolvedArgs, `@HostListener's second argument must be a string array`); } args = resolvedArgs; diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/factory.ts b/packages/compiler-cli/src/ngtsc/annotations/src/factory.ts index e7a3308e99..40368957ff 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/factory.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts b/packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts index 6578c7aebf..49cf0e97a0 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/metadata.ts b/packages/compiler-cli/src/ngtsc/annotations/src/metadata.ts index bca360ad5e..56676ac84d 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/metadata.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts b/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts index ad66da3d1b..950ae78b98 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,18 +9,18 @@ import {compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, Expression, ExternalExpr, InvokeFunctionExpr, LiteralArrayExpr, LiteralExpr, NO_ERRORS_SCHEMA, R3Identifiers, R3InjectorMetadata, R3NgModuleMetadata, R3Reference, SchemaMetadata, Statement, STRING_TYPE, WrappedNodeExpr} from '@angular/compiler'; import * as ts from 'typescript'; -import {ErrorCode, FatalDiagnosticError, makeDiagnostic} from '../../diagnostics'; +import {ErrorCode, FatalDiagnosticError, makeDiagnostic, makeRelatedInformation} from '../../diagnostics'; import {DefaultImportRecorder, Reference, ReferenceEmitter} from '../../imports'; import {InjectableClassRegistry, MetadataReader, MetadataRegistry} from '../../metadata'; import {PartialEvaluator, ResolvedValue, ResolvedValueArray} from '../../partial_evaluator'; import {ClassDeclaration, Decorator, ReflectionHost, reflectObjectLiteral, typeNodeToValueExpr} from '../../reflection'; import {NgModuleRouteAnalyzer} from '../../routing'; import {LocalModuleScopeRegistry, ScopeData} from '../../scope'; -import {FactoryTracker} from '../../shims'; +import {FactoryTracker} from '../../shims/api'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, ResolveResult} from '../../transform'; import {getSourceFile} from '../../util/src/typescript'; -import {getProviderDiagnostics} from './diagnostics'; +import {createValueHasWrongTypeError, getProviderDiagnostics} from './diagnostics'; import {generateSetClassMetadataCall} from './metadata'; import {ReferencesRegistry} from './references_registry'; import {combineResolvers, findAngularDecorator, forwardRefResolver, getValidConstructorDependencies, isExpressionForwardReference, resolveProvidersRequiringFactory, toR3Reference, unwrapExpression, wrapFunctionExpressionsInParens, wrapTypeReference} from './util'; @@ -133,10 +133,8 @@ export class NgModuleDecoratorHandler implements `Cannot declare '${ ref.node.name .text}' in an NgModule as it's not a part of the current compilation.`, - [{ - node: ref.node.name, - messageText: `'${ref.node.name.text}' is declared here.`, - }])); + [makeRelatedInformation( + ref.node.name, `'${ref.node.name.text}' is declared here.`)])); } } } @@ -172,21 +170,18 @@ export class NgModuleDecoratorHandler implements const rawExpr = ngModule.get('schemas')!; const result = this.evaluator.evaluate(rawExpr); if (!Array.isArray(result)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, rawExpr, `NgModule.schemas must be an array`); + throw createValueHasWrongTypeError(rawExpr, result, `NgModule.schemas must be an array`); } for (const schemaRef of result) { if (!(schemaRef instanceof Reference)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, rawExpr, - 'NgModule.schemas must be an array of schemas'); + throw createValueHasWrongTypeError( + rawExpr, result, 'NgModule.schemas must be an array of schemas'); } const id = schemaRef.getIdentityIn(schemaRef.node.getSourceFile()); if (id === null || schemaRef.ownedByModuleGuess !== '@angular/core') { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, rawExpr, - 'NgModule.schemas must be an array of schemas'); + throw createValueHasWrongTypeError( + rawExpr, result, 'NgModule.schemas must be an array of schemas'); } // Since `id` is the `ts.Identifer` within the schema ref's declaration file, it's safe to // use `id.text` here to figure out which schema is in use. Even if the actual reference was @@ -199,9 +194,8 @@ export class NgModuleDecoratorHandler implements schemas.push(NO_ERRORS_SCHEMA); break; default: - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, rawExpr, - `'${schemaRef.debugName}' is not a valid NgModule schema`); + throw createValueHasWrongTypeError( + rawExpr, schemaRef, `'${schemaRef.debugName}' is not a valid NgModule schema`); } } } @@ -556,8 +550,8 @@ export class NgModuleDecoratorHandler implements arrayName: string): Reference[] { const refList: Reference[] = []; if (!Array.isArray(resolvedList)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, + throw createValueHasWrongTypeError( + expr, resolvedList, `Expected array when reading the NgModule.${arrayName} of ${className}`); } @@ -573,18 +567,18 @@ export class NgModuleDecoratorHandler implements refList.push(...this.resolveTypeList(expr, entry, className, arrayName)); } else if (isDeclarationReference(entry)) { if (!this.isClassDeclarationReference(entry)) { - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, entry.node, + throw createValueHasWrongTypeError( + entry.node, entry, `Value at position ${idx} in the NgModule.${arrayName} of ${ className} is not a class`); } refList.push(entry); } else { // TODO(alxhub): Produce a better diagnostic here - the array index may be an inner array. - throw new FatalDiagnosticError( - ErrorCode.VALUE_HAS_WRONG_TYPE, expr, + throw createValueHasWrongTypeError( + expr, entry, `Value at position ${idx} in the NgModule.${arrayName} of ${ - className} is not a reference: ${entry}`); + className} is not a reference`); } }); diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/pipe.ts b/packages/compiler-cli/src/ngtsc/annotations/src/pipe.ts index 60b0a058d6..f79d9ad070 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/pipe.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,6 +16,7 @@ import {PartialEvaluator} from '../../partial_evaluator'; import {ClassDeclaration, Decorator, ReflectionHost, reflectObjectLiteral} from '../../reflection'; import {LocalModuleScopeRegistry} from '../../scope'; import {AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, ResolveResult} from '../../transform'; +import {createValueHasWrongTypeError} from './diagnostics'; import {compileNgFactoryDefField} from './factory'; import {generateSetClassMetadataCall} from './metadata'; @@ -82,8 +83,7 @@ export class PipeDecoratorHandler implements DecoratorHandler[]): void {} -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/util.ts b/packages/compiler-cli/src/ngtsc/annotations/src/util.ts index d160bdf2b5..53c93fc868 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {Expression, ExternalExpr, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, R3DependencyMetadata, R3Reference, R3ResolvedDependencyType, ReadPropExpr, WrappedNodeExpr} from '@angular/compiler'; import * as ts from 'typescript'; -import {ErrorCode, FatalDiagnosticError, makeDiagnostic} from '../../diagnostics'; +import {ErrorCode, FatalDiagnosticError, makeDiagnostic, makeRelatedInformation} from '../../diagnostics'; import {DefaultImportRecorder, ImportFlags, Reference, ReferenceEmitter} from '../../imports'; import {ForeignFunctionResolver, PartialEvaluator} from '../../partial_evaluator'; import {ClassDeclaration, CtorParameter, Decorator, Import, isNamedClassDeclaration, ReflectionHost, TypeValueReference} from '../../reflection'; @@ -408,7 +408,7 @@ export function wrapFunctionExpressionsInParens(expression: ts.Expression): ts.E */ export function makeDuplicateDeclarationError( node: ClassDeclaration, data: DeclarationData[], kind: string): ts.Diagnostic { - const context: {node: ts.Node; messageText: string;}[] = []; + const context: ts.DiagnosticRelatedInformation[] = []; for (const decl of data) { if (decl.rawDeclarations === null) { continue; @@ -416,11 +416,10 @@ export function makeDuplicateDeclarationError( // Try to find the reference to the declaration within the declarations array, to hang the // error there. If it can't be found, fall back on using the NgModule's name. const contextNode = decl.ref.getOriginForDiagnostics(decl.rawDeclarations, decl.ngModule.name); - context.push({ - node: contextNode, - messageText: `'${node.name.text}' is listed in the declarations of the NgModule '${ - decl.ngModule.name.text}'.`, - }); + context.push(makeRelatedInformation( + contextNode, + `'${node.name.text}' is listed in the declarations of the NgModule '${ + decl.ngModule.name.text}'.`)); } // Finally, produce the diagnostic. diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/component_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/component_spec.ts index b2df657739..5fc7139e28 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/component_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/component_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/diagnostics_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/diagnostics_spec.ts new file mode 100644 index 0000000000..86e77709e9 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/annotations/test/diagnostics_spec.ts @@ -0,0 +1,125 @@ +/** + * @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 {platform} from 'os'; +import * as ts from 'typescript'; + +import {FatalDiagnosticError} from '../../diagnostics'; +import {absoluteFrom as _} from '../../file_system'; +import {runInEachFileSystem, TestFile} from '../../file_system/testing'; +import {PartialEvaluator} from '../../partial_evaluator'; +import {TypeScriptReflectionHost} from '../../reflection'; +import {getDeclaration, makeProgram} from '../../testing'; +import {createValueHasWrongTypeError} from '../src/diagnostics'; + +runInEachFileSystem(os => { + describe('ngtsc annotation diagnostics', () => { + // These tests are currently disabled when running in Windows mode as the assertions involving + // the filename attached to the diagnostic are suffering from a case-sensitivity issue. + // + // TODO(JoostK): re-enable on Windows once the case issue has been solved. + if (os !== 'Windows' && platform() !== 'win32') { + describe('createValueError()', () => { + it('should include a trace for dynamic values', () => { + const error = createError('', 'nonexistent', 'Error message'); + + if (typeof error.message === 'string') { + return fail('Created error must have a message chain'); + } + expect(error.message.messageText).toBe('Error message'); + expect(error.message.next!.length).toBe(1); + expect(error.message.next![0].messageText) + .toBe(`Value could not be determined statically.`); + + expect(error.relatedInformation).toBeDefined(); + expect(error.relatedInformation!.length).toBe(1); + + expect(error.relatedInformation![0].messageText).toBe('Unknown reference.'); + expect(error.relatedInformation![0].file!.fileName).toBe(_('/entry.ts')); + expect(getSourceCode(error.relatedInformation![0])).toBe('nonexistent'); + }); + + it('should include a pointer for a reference to a named declaration', () => { + const error = createError( + `import {Foo} from './foo';`, 'Foo', 'Error message', + [{name: _('/foo.ts'), contents: 'export class Foo {}'}]); + + if (typeof error.message === 'string') { + return fail('Created error must have a message chain'); + } + expect(error.message.messageText).toBe('Error message'); + expect(error.message.next!.length).toBe(1); + expect(error.message.next![0].messageText).toBe(`Value is a reference to 'Foo'.`); + + expect(error.relatedInformation).toBeDefined(); + expect(error.relatedInformation!.length).toBe(1); + expect(error.relatedInformation![0].messageText).toBe('Reference is declared here.'); + expect(error.relatedInformation![0].file!.fileName).toBe(_('/foo.ts')); + expect(getSourceCode(error.relatedInformation![0])).toBe('Foo'); + }); + + it('should include a pointer for a reference to an anonymous declaration', () => { + const error = createError( + `import Foo from './foo';`, 'Foo', 'Error message', + [{name: _('/foo.ts'), contents: 'export default class {}'}]); + + if (typeof error.message === 'string') { + return fail('Created error must have a message chain'); + } + expect(error.message.messageText).toBe('Error message'); + expect(error.message.next!.length).toBe(1); + expect(error.message.next![0].messageText) + .toBe(`Value is a reference to an anonymous declaration.`); + + expect(error.relatedInformation).toBeDefined(); + expect(error.relatedInformation!.length).toBe(1); + expect(error.relatedInformation![0].messageText).toBe('Reference is declared here.'); + expect(error.relatedInformation![0].file!.fileName).toBe(_('/foo.ts')); + expect(getSourceCode(error.relatedInformation![0])).toBe('export default class {}'); + }); + + it('should include a representation of the value\'s type', () => { + const error = createError('', '{a: 2}', 'Error message'); + + if (typeof error.message === 'string') { + return fail('Created error must have a message chain'); + } + expect(error.message.messageText).toBe('Error message'); + expect(error.message.next!.length).toBe(1); + expect(error.message.next![0].messageText).toBe(`Value is of type '{ a: number }'.`); + + expect(error.relatedInformation).not.toBeDefined(); + }); + }); + } + + it('should not be empty', () => {}); + }); +}); + +function getSourceCode(diag: ts.DiagnosticRelatedInformation): string { + const text = diag.file!.text; + return text.substr(diag.start!, diag.length!); +} + +function createError( + code: string, expr: string, messageText: string, + supportingFiles: TestFile[] = []): FatalDiagnosticError { + const {program} = makeProgram( + [{name: _('/entry.ts'), contents: `${code}; const target$ = ${expr}`}, ...supportingFiles], + /* options */ undefined, /* host */ undefined, /* checkForErrors */ false); + const checker = program.getTypeChecker(); + const decl = getDeclaration(program, _('/entry.ts'), 'target$', ts.isVariableDeclaration); + const valueExpr = decl.initializer!; + + const reflectionHost = new TypeScriptReflectionHost(checker); + const evaluator = new PartialEvaluator(reflectionHost, checker, /* dependencyTracker */ null); + + const value = evaluator.evaluate(valueExpr); + return createValueHasWrongTypeError(valueExpr, value, messageText); +} diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/directive_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/directive_spec.ts index d8e350ffd5..bfdee6b4b1 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/directive_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/directive_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/injectable_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/injectable_spec.ts index 104f9d48a0..ce10c0bee6 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/injectable_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/injectable_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/metadata_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/metadata_spec.ts index 5bf1fc82f9..b830a43326 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/metadata_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/metadata_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/ng_module_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/ng_module_spec.ts index 0495a5c03f..ff621536bb 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/ng_module_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/ng_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/annotations/test/util_spec.ts b/packages/compiler-cli/src/ngtsc/annotations/test/util_spec.ts index 6318ea4fc8..4f9ac98bb3 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/test/util_spec.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/test/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/core/BUILD.bazel b/packages/compiler-cli/src/ngtsc/core/BUILD.bazel index 6cb55f9bc7..f0c86d51f9 100644 --- a/packages/compiler-cli/src/ngtsc/core/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/core/BUILD.bazel @@ -43,6 +43,7 @@ ts_library( srcs = glob(["api/**/*.ts"]), deps = [ "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/shims:api", "@npm//typescript", ], ) diff --git a/packages/compiler-cli/src/ngtsc/core/api/index.ts b/packages/compiler-cli/src/ngtsc/core/api/index.ts index eaea2bf855..ede883bf2e 100644 --- a/packages/compiler-cli/src/ngtsc/core/api/index.ts +++ b/packages/compiler-cli/src/ngtsc/core/api/index.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * from './src/adapter'; export * from './src/interfaces'; export * from './src/options'; export * from './src/public_options'; diff --git a/packages/compiler-cli/src/ngtsc/core/api/src/adapter.ts b/packages/compiler-cli/src/ngtsc/core/api/src/adapter.ts new file mode 100644 index 0000000000..ee93112ee9 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/core/api/src/adapter.ts @@ -0,0 +1,99 @@ +/** + * @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 * as ts from 'typescript'; + +import {AbsoluteFsPath} from '../../../file_system'; +import {FactoryTracker} from '../../../shims/api'; + +import {ExtendedTsCompilerHost, UnifiedModulesHost} from './interfaces'; + +/** + * Names of methods from `ExtendedTsCompilerHost` that need to be provided by the + * `NgCompilerAdapter`. + */ +export type ExtendedCompilerHostMethods = + // Used to normalize filenames for the host system. Important for proper case-sensitive file + // handling. + 'getCanonicalFileName'| + // An optional method of `ts.CompilerHost` where an implementer can override module resolution. + 'resolveModuleNames'| + // Retrieve the current working directory. Unlike in `ts.ModuleResolutionHost`, this is a + // required method. + 'getCurrentDirectory'| + // Additional methods of `ExtendedTsCompilerHost` related to resource files (e.g. HTML + // templates). These are optional. + 'getModifiedResourceFiles'|'readResource'|'resourceNameToFileName'; + +/** + * Adapter for `NgCompiler` that allows it to be used in various circumstances, such as + * command-line `ngc`, as a plugin to `ts_library` in Bazel, or from the Language Service. + * + * `NgCompilerAdapter` is a subset of the `NgCompilerHost` implementation of `ts.CompilerHost` + * which is relied upon by `NgCompiler`. A consumer of `NgCompiler` can therefore use the + * `NgCompilerHost` or implement `NgCompilerAdapter` itself. + */ +export interface NgCompilerAdapter extends + // getCurrentDirectory is removed from `ts.ModuleResolutionHost` because it's optional, and + // incompatible with the `ts.CompilerHost` version which isn't. The combination of these two + // still satisfies `ts.ModuleResolutionHost`. + Omit, + Pick { + /** + * A path to a single file which represents the entrypoint of an Angular Package Format library, + * if the current program is one. + * + * This is used to emit a flat module index if requested, and can be left `null` if that is not + * required. + */ + readonly entryPoint: AbsoluteFsPath|null; + + /** + * An array of `ts.Diagnostic`s that occurred during construction of the `ts.Program`. + */ + readonly constructionDiagnostics: ts.Diagnostic[]; + + /** + * A `Set` of `ts.SourceFile`s which are internal to the program and should not be emitted as JS + * files. + * + * Often these are shim files such as `ngtypecheck` shims used for template type-checking in + * command-line ngc. + */ + readonly ignoreForEmit: Set; + + /** + * A tracker for usage of symbols in `.ngfactory` shims. + * + * This can be left `null` if such shims are not a part of the `ts.Program`. + */ + readonly factoryTracker: FactoryTracker|null; + + /** + * A specialized interface provided in some environments (such as Bazel) which overrides how + * import specifiers are generated. + * + * If not required, this can be `null`. + */ + readonly unifiedModulesHost: UnifiedModulesHost|null; + + /** + * Resolved list of root directories explicitly set in, or inferred from, the tsconfig. + */ + readonly rootDirs: ReadonlyArray; + + /** + * Distinguishes between shim files added by Angular to the compilation process (both those + * intended for output, like ngfactory files, as well as internal shims like ngtypecheck files) + * and original files in the user's program. + * + * This is mostly used to limit type-checking operations to only user files. It should return + * `true` if a file was written by the user, and `false` if a file was added by the compiler. + */ + isShim(sf: ts.SourceFile): boolean; +} diff --git a/packages/compiler-cli/src/ngtsc/core/api/src/interfaces.ts b/packages/compiler-cli/src/ngtsc/core/api/src/interfaces.ts index fa84da22a0..36184d8a81 100644 --- a/packages/compiler-cli/src/ngtsc/core/api/src/interfaces.ts +++ b/packages/compiler-cli/src/ngtsc/core/api/src/interfaces.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/core/api/src/options.ts b/packages/compiler-cli/src/ngtsc/core/api/src/options.ts index a27ceb3b04..b6b2f678d9 100644 --- a/packages/compiler-cli/src/ngtsc/core/api/src/options.ts +++ b/packages/compiler-cli/src/ngtsc/core/api/src/options.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -56,4 +56,4 @@ export interface TestOnlyOptions { */ export interface NgCompilerOptions extends ts.CompilerOptions, LegacyNgcOptions, BazelAndG3Options, NgcCompatibilityOptions, StrictTemplateOptions, - TestOnlyOptions, I18nOptions, MiscOptions {} \ No newline at end of file + TestOnlyOptions, I18nOptions, MiscOptions {} diff --git a/packages/compiler-cli/src/ngtsc/core/api/src/public_options.ts b/packages/compiler-cli/src/ngtsc/core/api/src/public_options.ts index e946298883..bb682ce21f 100644 --- a/packages/compiler-cli/src/ngtsc/core/api/src/public_options.ts +++ b/packages/compiler-cli/src/ngtsc/core/api/src/public_options.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -344,4 +344,4 @@ export interface MiscOptions { * Disable TypeScript Version Check. */ disableTypeScriptVersionCheck?: boolean; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/core/index.ts b/packages/compiler-cli/src/ngtsc/core/index.ts index 7951f82bfb..475e18145a 100644 --- a/packages/compiler-cli/src/ngtsc/core/index.ts +++ b/packages/compiler-cli/src/ngtsc/core/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/core/src/compiler.ts b/packages/compiler-cli/src/ngtsc/core/src/compiler.ts index dbb5d8607a..bcb9b6a470 100644 --- a/packages/compiler-cli/src/ngtsc/core/src/compiler.ts +++ b/packages/compiler-cli/src/ngtsc/core/src/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,14 +15,14 @@ import {ErrorCode, ngErrorCode} from '../../diagnostics'; import {checkForPrivateExports, ReferenceGraph} from '../../entry_point'; import {getSourceFileOrError, LogicalFileSystem} from '../../file_system'; import {AbsoluteModuleStrategy, AliasingHost, AliasStrategy, DefaultImportTracker, ImportRewriter, LocalIdentifierStrategy, LogicalProjectStrategy, ModuleResolver, NoopImportRewriter, PrivateExportAliasingHost, R3SymbolsImportRewriter, Reference, ReferenceEmitStrategy, ReferenceEmitter, RelativePathStrategy, UnifiedModulesAliasingHost, UnifiedModulesStrategy} from '../../imports'; -import {IncrementalDriver} from '../../incremental'; +import {IncrementalBuildStrategy, IncrementalDriver} from '../../incremental'; import {generateAnalysis, IndexedComponent, IndexingContext} from '../../indexer'; import {CompoundMetadataReader, CompoundMetadataRegistry, DtsMetadataReader, InjectableClassRegistry, LocalMetadataRegistry, MetadataReader} from '../../metadata'; import {ModuleWithProvidersScanner} from '../../modulewithproviders'; import {PartialEvaluator} from '../../partial_evaluator'; import {NOOP_PERF_RECORDER, PerfRecorder} from '../../perf'; import {TypeScriptReflectionHost} from '../../reflection'; -import {HostResourceLoader} from '../../resource'; +import {AdapterResourceLoader} from '../../resource'; import {entryPointKeyFor, NgModuleRouteAnalyzer} from '../../routing'; import {ComponentScopeReader, LocalModuleScopeRegistry, MetadataDtsModuleScopeResolver} from '../../scope'; import {generatedFactoryTransform} from '../../shims'; @@ -30,11 +30,7 @@ import {ivySwitchTransform} from '../../switch'; import {aliasTransformFactory, declarationTransformFactory, DecoratorHandler, DtsTransformRegistry, ivyTransformFactory, TraitCompiler} from '../../transform'; import {isTemplateDiagnostic, TemplateTypeChecker, TypeCheckContext, TypeCheckingConfig, TypeCheckingProgramStrategy} from '../../typecheck'; import {getSourceFileOrNull, isDtsPath, resolveModuleName} from '../../util/src/typescript'; -import {LazyRoute, NgCompilerOptions} from '../api'; - -import {NgCompilerHost} from './host'; - - +import {LazyRoute, NgCompilerAdapter, NgCompilerOptions} from '../api'; /** * State information about a compilation which is only generated once some data is requested from @@ -94,18 +90,19 @@ export class NgCompiler { private nextProgram: ts.Program; private entryPoint: ts.SourceFile|null; private moduleResolver: ModuleResolver; - private resourceManager: HostResourceLoader; + private resourceManager: AdapterResourceLoader; private cycleAnalyzer: CycleAnalyzer; readonly incrementalDriver: IncrementalDriver; readonly ignoreForDiagnostics: Set; readonly ignoreForEmit: Set; constructor( - private host: NgCompilerHost, private options: NgCompilerOptions, + private adapter: NgCompilerAdapter, private options: NgCompilerOptions, private tsProgram: ts.Program, private typeCheckingProgramStrategy: TypeCheckingProgramStrategy, - oldProgram: ts.Program|null = null, private perfRecorder: PerfRecorder = NOOP_PERF_RECORDER) { - this.constructionDiagnostics.push(...this.host.diagnostics); + private incrementalStrategy: IncrementalBuildStrategy, oldProgram: ts.Program|null = null, + private perfRecorder: PerfRecorder = NOOP_PERF_RECORDER) { + this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics); const incompatibleTypeCheckOptionsDiagnostic = verifyCompatibleTypeCheckOptions(this.options); if (incompatibleTypeCheckOptionsDiagnostic !== null) { this.constructionDiagnostics.push(incompatibleTypeCheckOptionsDiagnostic); @@ -115,24 +112,25 @@ export class NgCompiler { this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler; this.entryPoint = - host.entryPoint !== null ? getSourceFileOrNull(tsProgram, host.entryPoint) : null; + adapter.entryPoint !== null ? getSourceFileOrNull(tsProgram, adapter.entryPoint) : null; const moduleResolutionCache = ts.createModuleResolutionCache( - this.host.getCurrentDirectory(), fileName => this.host.getCanonicalFileName(fileName)); + this.adapter.getCurrentDirectory(), + fileName => this.adapter.getCanonicalFileName(fileName)); this.moduleResolver = - new ModuleResolver(tsProgram, this.options, this.host, moduleResolutionCache); - this.resourceManager = new HostResourceLoader(host, this.options); + new ModuleResolver(tsProgram, this.options, this.adapter, moduleResolutionCache); + this.resourceManager = new AdapterResourceLoader(adapter, this.options); this.cycleAnalyzer = new CycleAnalyzer(new ImportGraph(this.moduleResolver)); let modifiedResourceFiles: Set|null = null; - if (this.host.getModifiedResourceFiles !== undefined) { - modifiedResourceFiles = this.host.getModifiedResourceFiles() || null; + if (this.adapter.getModifiedResourceFiles !== undefined) { + modifiedResourceFiles = this.adapter.getModifiedResourceFiles() || null; } if (oldProgram === null) { this.incrementalDriver = IncrementalDriver.fresh(tsProgram); } else { - const oldDriver = getIncrementalDriver(oldProgram); + const oldDriver = this.incrementalStrategy.getIncrementalDriver(oldProgram); if (oldDriver !== null) { this.incrementalDriver = IncrementalDriver.reconcile(oldProgram, oldDriver, tsProgram, modifiedResourceFiles); @@ -143,12 +141,12 @@ export class NgCompiler { this.incrementalDriver = IncrementalDriver.fresh(tsProgram); } } - setIncrementalDriver(tsProgram, this.incrementalDriver); + this.incrementalStrategy.setIncrementalDriver(this.incrementalDriver, tsProgram); this.ignoreForDiagnostics = - new Set(tsProgram.getSourceFiles().filter(sf => this.host.isShim(sf))); + new Set(tsProgram.getSourceFiles().filter(sf => this.adapter.isShim(sf))); - this.ignoreForEmit = this.host.ignoreForEmit; + this.ignoreForEmit = this.adapter.ignoreForEmit; } /** @@ -279,7 +277,7 @@ export class NgCompiler { const containingFile = this.tsProgram.getRootFileNames()[0]; const [entryPath, moduleName] = entryRoute.split('#'); const resolvedModule = - resolveModuleName(entryPath, containingFile, this.options, this.host, null); + resolveModuleName(entryPath, containingFile, this.options, this.adapter, null); if (resolvedModule) { entryRoute = entryPointKeyFor(resolvedModule.resolvedFileName, moduleName); @@ -326,8 +324,9 @@ export class NgCompiler { afterDeclarations.push(aliasTransformFactory(compilation.traitCompiler.exportStatements)); } - if (this.host.factoryTracker !== null) { - before.push(generatedFactoryTransform(this.host.factoryTracker.sourceInfo, importRewriter)); + if (this.adapter.factoryTracker !== null) { + before.push( + generatedFactoryTransform(this.adapter.factoryTracker.sourceInfo, importRewriter)); } before.push(ivySwitchTransform); @@ -499,7 +498,7 @@ export class NgCompiler { const typeCheckSpan = this.perfRecorder.start('typeCheckDiagnostics'); const diagnostics: ts.Diagnostic[] = []; for (const sf of this.tsProgram.getSourceFiles()) { - if (sf.isDeclarationFile || this.host.isShim(sf)) { + if (sf.isDeclarationFile || this.adapter.isShim(sf)) { continue; } @@ -508,7 +507,7 @@ export class NgCompiler { const program = this.typeCheckingProgramStrategy.getProgram(); this.perfRecorder.stop(typeCheckSpan); - setIncrementalDriver(program, this.incrementalDriver); + this.incrementalStrategy.setIncrementalDriver(this.incrementalDriver, program); this.nextProgram = program; return diagnostics; @@ -600,7 +599,7 @@ export class NgCompiler { // Construct the ReferenceEmitter. let refEmitter: ReferenceEmitter; let aliasingHost: AliasingHost|null = null; - if (this.host.unifiedModulesHost === null || !this.options._useHostForImportGeneration) { + if (this.adapter.unifiedModulesHost === null || !this.options._useHostForImportGeneration) { let localImportStrategy: ReferenceEmitStrategy; // The strategy used for local, in-project imports depends on whether TS has been configured @@ -613,7 +612,7 @@ export class NgCompiler { // rootDirs logic is in effect - use the `LogicalProjectStrategy` for in-project relative // imports. localImportStrategy = new LogicalProjectStrategy( - reflector, new LogicalFileSystem([...this.host.rootDirs], this.host)); + reflector, new LogicalFileSystem([...this.adapter.rootDirs], this.adapter)); } else { // Plain relative imports are all that's needed. localImportStrategy = new RelativePathStrategy(reflector); @@ -648,9 +647,9 @@ export class NgCompiler { // Then use aliased references (this is a workaround to StrictDeps checks). new AliasStrategy(), // Then use fileNameToModuleName to emit imports. - new UnifiedModulesStrategy(reflector, this.host.unifiedModulesHost), + new UnifiedModulesStrategy(reflector, this.adapter.unifiedModulesHost), ]); - aliasingHost = new UnifiedModulesAliasingHost(this.host.unifiedModulesHost); + aliasingHost = new UnifiedModulesAliasingHost(this.adapter.unifiedModulesHost); } const evaluator = new PartialEvaluator(reflector, checker, this.incrementalDriver.depGraph); @@ -693,7 +692,7 @@ export class NgCompiler { const handlers: DecoratorHandler[] = [ new ComponentDecoratorHandler( reflector, evaluator, metaRegistry, metaReader, scopeReader, scopeRegistry, isCore, - this.resourceManager, this.host.rootDirs, this.options.preserveWhitespaces || false, + this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.options.i18nNormalizeLineEndingsInICUs, this.moduleResolver, this.cycleAnalyzer, @@ -721,7 +720,7 @@ export class NgCompiler { injectableRegistry), new NgModuleDecoratorHandler( reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, - routeAnalyzer, refEmitter, this.host.factoryTracker, defaultImportTracker, + routeAnalyzer, refEmitter, this.adapter.factoryTracker, defaultImportTracker, this.closureCompilerEnabled, injectableRegistry, this.options.i18nInLocale), ]; @@ -731,7 +730,7 @@ export class NgCompiler { const templateTypeChecker = new TemplateTypeChecker( this.tsProgram, this.typeCheckingProgramStrategy, traitCompiler, - this.getTypeCheckingConfig(), refEmitter, reflector, this.host, this.incrementalDriver); + this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalDriver); return { isCore, @@ -754,7 +753,7 @@ export class NgCompiler { /** * Determine if the given `Program` is @angular/core. */ -function isAngularCorePackage(program: ts.Program): boolean { +export function isAngularCorePackage(program: ts.Program): boolean { // Look for its_just_angular.ts somewhere in the program. const r3Symbols = getR3SymbolsFile(program); if (r3Symbols === null) { @@ -795,44 +794,6 @@ function getR3SymbolsFile(program: ts.Program): ts.SourceFile|null { return program.getSourceFiles().find(file => file.fileName.indexOf('r3_symbols.ts') >= 0) || null; } -/** - * Symbol under which the `IncrementalDriver` is stored on a `ts.Program`. - * - * The TS model of incremental compilation is based around reuse of a previous `ts.Program` in the - * construction of a new one. The `NgCompiler` follows this abstraction - passing in a previous - * `ts.Program` is sufficient to trigger incremental compilation. This previous `ts.Program` need - * not be from an Angular compilation (that is, it need not have been created from `NgCompiler`). - * - * If it is, though, Angular can benefit from reusing previous analysis work. This reuse is managed - * by the `IncrementalDriver`, which is inherited from the old program to the new program. To - * support this behind the API of passing an old `ts.Program`, the `IncrementalDriver` is stored on - * the `ts.Program` under this symbol. - */ -const SYM_INCREMENTAL_DRIVER = Symbol('NgIncrementalDriver'); - -/** - * Get an `IncrementalDriver` from the given `ts.Program` if one is present. - * - * See `SYM_INCREMENTAL_DRIVER` for more details. - */ -function getIncrementalDriver(program: ts.Program): IncrementalDriver|null { - const driver = (program as any)[SYM_INCREMENTAL_DRIVER]; - if (driver === undefined || !(driver instanceof IncrementalDriver)) { - return null; - } - return driver; -} - -/** - * Save the given `IncrementalDriver` onto the given `ts.Program`, for retrieval in a subsequent - * incremental compilation. - * - * See `SYM_INCREMENTAL_DRIVER` for more details. - */ -function setIncrementalDriver(program: ts.Program, driver: IncrementalDriver): void { - (program as any)[SYM_INCREMENTAL_DRIVER] = driver; -} - /** * Since "strictTemplates" is a true superset of type checking capabilities compared to * "strictTemplateTypeCheck", it is required that the latter is not explicitly disabled if the diff --git a/packages/compiler-cli/src/ngtsc/core/src/host.ts b/packages/compiler-cli/src/ngtsc/core/src/host.ts index da726b9a75..b7f49060e6 100644 --- a/packages/compiler-cli/src/ngtsc/core/src/host.ts +++ b/packages/compiler-cli/src/ngtsc/core/src/host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,12 +11,12 @@ import * as ts from 'typescript'; import {ErrorCode, ngErrorCode} from '../../diagnostics'; import {findFlatIndexEntryPoint, FlatIndexGenerator} from '../../entry_point'; import {AbsoluteFsPath, resolve} from '../../file_system'; -import {FactoryGenerator, FactoryTracker, isShim, ShimAdapter, ShimReferenceTagger, SummaryGenerator} from '../../shims'; -import {PerFileShimGenerator, TopLevelShimGenerator} from '../../shims/api'; +import {FactoryGenerator, isShim, ShimAdapter, ShimReferenceTagger, SummaryGenerator} from '../../shims'; +import {FactoryTracker, PerFileShimGenerator, TopLevelShimGenerator} from '../../shims/api'; import {TypeCheckShimGenerator} from '../../typecheck'; import {normalizeSeparators} from '../../util/src/path'; import {getRootDirs, isDtsPath, isNonDeclarationTsPath} from '../../util/src/typescript'; -import {ExtendedTsCompilerHost, NgCompilerOptions, UnifiedModulesHost} from '../api'; +import {ExtendedTsCompilerHost, NgCompilerAdapter, NgCompilerOptions, UnifiedModulesHost} from '../api'; // A persistent source of bugs in CompilerHost delegation has been the addition by TS of new, // optional methods on ts.CompilerHost. Since these methods are optional, it's not a type error that @@ -89,10 +89,10 @@ export class DelegatingCompilerHost implements * `ExtendedTsCompilerHost` methods whenever present. */ export class NgCompilerHost extends DelegatingCompilerHost implements - RequiredCompilerHostDelegations, ExtendedTsCompilerHost { + RequiredCompilerHostDelegations, ExtendedTsCompilerHost, NgCompilerAdapter { readonly factoryTracker: FactoryTracker|null = null; readonly entryPoint: AbsoluteFsPath|null = null; - readonly diagnostics: ts.Diagnostic[]; + readonly constructionDiagnostics: ts.Diagnostic[]; readonly inputFiles: ReadonlyArray; readonly rootDirs: ReadonlyArray; @@ -107,7 +107,7 @@ export class NgCompilerHost extends DelegatingCompilerHost implements this.factoryTracker = factoryTracker; this.entryPoint = entryPoint; - this.diagnostics = diagnostics; + this.constructionDiagnostics = diagnostics; this.inputFiles = [...inputFiles, ...shimAdapter.extraInputFiles]; this.rootDirs = rootDirs; } diff --git a/packages/compiler-cli/src/ngtsc/core/test/BUILD.bazel b/packages/compiler-cli/src/ngtsc/core/test/BUILD.bazel index aeb41e51d0..ec34344c91 100644 --- a/packages/compiler-cli/src/ngtsc/core/test/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/core/test/BUILD.bazel @@ -14,6 +14,7 @@ ts_library( "//packages/compiler-cli/src/ngtsc/core:api", "//packages/compiler-cli/src/ngtsc/file_system", "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/src/ngtsc/incremental", "//packages/compiler-cli/src/ngtsc/typecheck", "@npm//typescript", ], diff --git a/packages/compiler-cli/src/ngtsc/core/test/compiler_test.ts b/packages/compiler-cli/src/ngtsc/core/test/compiler_test.ts index a6b255bfba..cd2234e4fa 100644 --- a/packages/compiler-cli/src/ngtsc/core/test/compiler_test.ts +++ b/packages/compiler-cli/src/ngtsc/core/test/compiler_test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import * as ts from 'typescript'; import {absoluteFrom as _, FileSystem, getFileSystem, getSourceFileOrError, NgtscCompilerHost, setFileSystem} from '../../file_system'; import {runInEachFileSystem} from '../../file_system/testing'; +import {NoopIncrementalBuildStrategy} from '../../incremental'; import {ReusedProgramStrategy} from '../../typecheck/src/augmented_program'; import {NgCompilerOptions} from '../api'; import {NgCompiler} from '../src/compiler'; @@ -47,7 +48,8 @@ runInEachFileSystem(() => { const host = NgCompilerHost.wrap(baseHost, [COMPONENT], options, /* oldProgram */ null); const program = ts.createProgram({host, options, rootNames: host.inputFiles}); const compiler = new NgCompiler( - host, options, program, new ReusedProgramStrategy(program, host, options, [])); + host, options, program, new ReusedProgramStrategy(program, host, options, []), + new NoopIncrementalBuildStrategy()); const diags = compiler.getDiagnostics(getSourceFileOrError(program, COMPONENT)); expect(diags.length).toBe(1); diff --git a/packages/compiler-cli/src/ngtsc/core/test/host_spec.ts b/packages/compiler-cli/src/ngtsc/core/test/host_spec.ts index d304e781e7..7c402bb205 100644 --- a/packages/compiler-cli/src/ngtsc/core/test/host_spec.ts +++ b/packages/compiler-cli/src/ngtsc/core/test/host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/index.ts b/packages/compiler-cli/src/ngtsc/cycles/index.ts index 273598bee5..ec2670b62f 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/index.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.ts b/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.ts index 5d87b47c08..7bcd1b4457 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/src/imports.ts b/packages/compiler-cli/src/ngtsc/cycles/src/imports.ts index c14642c1f8..988f0da81d 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/src/imports.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/src/imports.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/test/analyzer_spec.ts b/packages/compiler-cli/src/ngtsc/cycles/test/analyzer_spec.ts index b6e9d1df08..f800020cb1 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/test/analyzer_spec.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/test/analyzer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/test/imports_spec.ts b/packages/compiler-cli/src/ngtsc/cycles/test/imports_spec.ts index 7b3e7b5ef7..b834fa70fc 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/test/imports_spec.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/test/imports_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/cycles/test/util.ts b/packages/compiler-cli/src/ngtsc/cycles/test/util.ts index 8aa3d135bf..f46ee75e11 100644 --- a/packages/compiler-cli/src/ngtsc/cycles/test/util.ts +++ b/packages/compiler-cli/src/ngtsc/cycles/test/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/diagnostics/index.ts b/packages/compiler-cli/src/ngtsc/diagnostics/index.ts index 660c12a1d0..991719e867 100644 --- a/packages/compiler-cli/src/ngtsc/diagnostics/index.ts +++ b/packages/compiler-cli/src/ngtsc/diagnostics/index.ts @@ -1,11 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {FatalDiagnosticError, isFatalDiagnosticError, makeDiagnostic} from './src/error'; +export {FatalDiagnosticError, isFatalDiagnosticError, makeDiagnostic, makeRelatedInformation} from './src/error'; export {ErrorCode, ngErrorCode} from './src/error_code'; export {replaceTsWithNgInErrors} from './src/util'; diff --git a/packages/compiler-cli/src/ngtsc/diagnostics/src/error.ts b/packages/compiler-cli/src/ngtsc/diagnostics/src/error.ts index 54b03dd5d9..0822840a9a 100644 --- a/packages/compiler-cli/src/ngtsc/diagnostics/src/error.ts +++ b/packages/compiler-cli/src/ngtsc/diagnostics/src/error.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,10 +8,13 @@ import * as ts from 'typescript'; -import {ErrorCode} from './error_code'; +import {ErrorCode, ngErrorCode} from './error_code'; export class FatalDiagnosticError { - constructor(readonly code: ErrorCode, readonly node: ts.Node, readonly message: string) {} + constructor( + readonly code: ErrorCode, readonly node: ts.Node, + readonly message: string|ts.DiagnosticMessageChain, + readonly relatedInformation?: ts.DiagnosticRelatedInformation[]) {} /** * @internal @@ -19,37 +22,36 @@ export class FatalDiagnosticError { _isFatalDiagnosticError = true; toDiagnostic(): ts.DiagnosticWithLocation { - return makeDiagnostic(this.code, this.node, this.message); + return makeDiagnostic(this.code, this.node, this.message, this.relatedInformation); } } -export function makeDiagnostic(code: ErrorCode, node: ts.Node, messageText: string, relatedInfo?: { - node: ts.Node, - messageText: string, -}[]): ts.DiagnosticWithLocation { +export function makeDiagnostic( + code: ErrorCode, node: ts.Node, messageText: string|ts.DiagnosticMessageChain, + relatedInformation?: ts.DiagnosticRelatedInformation[]): ts.DiagnosticWithLocation { node = ts.getOriginalNode(node); - const diag: ts.DiagnosticWithLocation = { + return { category: ts.DiagnosticCategory.Error, - code: Number('-99' + code.valueOf()), + code: ngErrorCode(code), file: ts.getOriginalNode(node).getSourceFile(), start: node.getStart(undefined, false), length: node.getWidth(), messageText, + relatedInformation, + }; +} + +export function makeRelatedInformation( + node: ts.Node, messageText: string): ts.DiagnosticRelatedInformation { + node = ts.getOriginalNode(node); + return { + category: ts.DiagnosticCategory.Message, + code: 0, + file: node.getSourceFile(), + start: node.getStart(), + length: node.getWidth(), + messageText, }; - if (relatedInfo !== undefined) { - diag.relatedInformation = relatedInfo.map(info => { - const infoNode = ts.getOriginalNode(info.node); - return { - category: ts.DiagnosticCategory.Message, - code: 0, - file: infoNode.getSourceFile(), - start: infoNode.getStart(), - length: infoNode.getWidth(), - messageText: info.messageText, - }; - }); - } - return diag; } export function isFatalDiagnosticError(err: any): err is FatalDiagnosticError { diff --git a/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.ts b/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.ts index 0ee2a9c900..a67f5a8e3a 100644 --- a/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.ts +++ b/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/diagnostics/src/util.ts b/packages/compiler-cli/src/ngtsc/diagnostics/src/util.ts index 443ffb7362..7655d3c90d 100644 --- a/packages/compiler-cli/src/ngtsc/diagnostics/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/diagnostics/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/BUILD.bazel b/packages/compiler-cli/src/ngtsc/entry_point/BUILD.bazel index 1ac6df5c26..0bc6323756 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/entry_point/BUILD.bazel @@ -11,7 +11,7 @@ ts_library( deps = [ "//packages/compiler-cli/src/ngtsc/diagnostics", "//packages/compiler-cli/src/ngtsc/file_system", - "//packages/compiler-cli/src/ngtsc/shims", + "//packages/compiler-cli/src/ngtsc/shims:api", "//packages/compiler-cli/src/ngtsc/util", "@npm//@types/node", "@npm//typescript", diff --git a/packages/compiler-cli/src/ngtsc/entry_point/index.ts b/packages/compiler-cli/src/ngtsc/entry_point/index.ts index fa4acebeac..5bf40af8c3 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/index.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/src/generator.ts b/packages/compiler-cli/src/ngtsc/entry_point/src/generator.ts index 83da1bb5e6..5713dc1055 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/src/generator.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/src/generator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,7 +11,7 @@ import * as ts from 'typescript'; import {AbsoluteFsPath, dirname, join} from '../../file_system'; -import {TopLevelShimGenerator} from '../../shims'; +import {TopLevelShimGenerator} from '../../shims/api'; import {relativePathBetween} from '../../util/src/path'; export class FlatIndexGenerator implements TopLevelShimGenerator { diff --git a/packages/compiler-cli/src/ngtsc/entry_point/src/logic.ts b/packages/compiler-cli/src/ngtsc/entry_point/src/logic.ts index a639f5bf09..f929b80bfb 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/src/logic.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/src/logic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.ts b/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.ts index 57ea95bcec..307e454303 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.ts b/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.ts index 7691df63c3..4063c437b5 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/test/entry_point_spec.ts b/packages/compiler-cli/src/ngtsc/entry_point/test/entry_point_spec.ts index ed77965149..6c9a61fd2a 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/test/entry_point_spec.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/test/entry_point_spec.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/entry_point/test/reference_graph_spec.ts b/packages/compiler-cli/src/ngtsc/entry_point/test/reference_graph_spec.ts index 6ed312b942..2870658138 100644 --- a/packages/compiler-cli/src/ngtsc/entry_point/test/reference_graph_spec.ts +++ b/packages/compiler-cli/src/ngtsc/entry_point/test/reference_graph_spec.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/BUILD.bazel b/packages/compiler-cli/src/ngtsc/file_system/BUILD.bazel index 00aad64ac8..b40ffa15fb 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/file_system/BUILD.bazel @@ -1,14 +1,13 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "ts_library") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "file_system", srcs = ["index.ts"] + glob([ - "src/*.ts", + "src/**/*.ts", ]), deps = [ - "//packages:types", "@npm//@types/fs-extra", "@npm//@types/node", "@npm//fs-extra", diff --git a/packages/compiler-cli/src/ngtsc/file_system/index.ts b/packages/compiler-cli/src/ngtsc/file_system/index.ts index f706e913ae..7adae11b53 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/index.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.ts b/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.ts index 98ef5a70ff..6e5d0f0fe4 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts b/packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts index 61d676e058..b7324cb61c 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.ts b/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.ts index b9a9c4af21..314923e5fd 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,7 +22,10 @@ export class InvalidFileSystem implements FileSystem { readFile(path: AbsoluteFsPath): string { throw makeError(); } - writeFile(path: AbsoluteFsPath, data: string, exclusive?: boolean): void { + readFileBuffer(path: AbsoluteFsPath): Buffer { + throw makeError(); + } + writeFile(path: AbsoluteFsPath, data: string|Buffer, exclusive?: boolean): void { throw makeError(); } removeFile(path: AbsoluteFsPath): void { diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/logical.ts b/packages/compiler-cli/src/ngtsc/file_system/src/logical.ts index 2c1be6ba8b..875828c21c 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/logical.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/logical.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -47,19 +47,26 @@ export class LogicalFileSystem { */ private rootDirs: AbsoluteFsPath[]; + /** + * The same root directories as `rootDirs` but with each one converted to its + * canonical form for matching in case-insensitive file-systems. + */ + private canonicalRootDirs: AbsoluteFsPath[]; + /** * A cache of file paths to project paths, because computation of these paths is slightly * expensive. */ private cache: Map = new Map(); - constructor(rootDirs: AbsoluteFsPath[], private compilerHost: ts.CompilerHost) { + constructor( + rootDirs: AbsoluteFsPath[], + private compilerHost: Pick) { // Make a copy and sort it by length in reverse order (longest first). This speeds up lookups, // since there's no need to keep going through the array once a match is found. - this.rootDirs = - rootDirs.map(dir => this.compilerHost.getCanonicalFileName(dir) as AbsoluteFsPath) - .concat([]) - .sort((a, b) => b.length - a.length); + this.rootDirs = rootDirs.concat([]).sort((a, b) => b.length - a.length); + this.canonicalRootDirs = + this.rootDirs.map(dir => this.compilerHost.getCanonicalFileName(dir) as AbsoluteFsPath); } /** @@ -83,9 +90,13 @@ export class LogicalFileSystem { this.compilerHost.getCanonicalFileName(physicalFile) as AbsoluteFsPath; if (!this.cache.has(canonicalFilePath)) { let logicalFile: LogicalProjectPath|null = null; - for (const rootDir of this.rootDirs) { - if (isWithinBasePath(rootDir, canonicalFilePath)) { - logicalFile = this.createLogicalProjectPath(canonicalFilePath, rootDir); + for (let i = 0; i < this.rootDirs.length; i++) { + const rootDir = this.rootDirs[i]; + const canonicalRootDir = this.canonicalRootDirs[i]; + if (isWithinBasePath(canonicalRootDir, canonicalFilePath)) { + // Note that we match against canonical paths but then create the logical path from + // original paths. + logicalFile = this.createLogicalProjectPath(physicalFile, rootDir); // The logical project does not include any special "node_modules" nested directories. if (logicalFile.indexOf('/node_modules/') !== -1) { logicalFile = null; diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.ts b/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.ts index 9e50a8e494..11ec62e01a 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,7 +23,10 @@ export class NodeJSFileSystem implements FileSystem { readFile(path: AbsoluteFsPath): string { return fs.readFileSync(path, 'utf8'); } - writeFile(path: AbsoluteFsPath, data: string, exclusive: boolean = false): void { + readFileBuffer(path: AbsoluteFsPath): Buffer { + return fs.readFileSync(path); + } + writeFile(path: AbsoluteFsPath, data: string|Buffer, exclusive: boolean = false): void { fs.writeFileSync(path, data, exclusive ? {flag: 'wx'} : undefined); } removeFile(path: AbsoluteFsPath): void { diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/types.ts b/packages/compiler-cli/src/ngtsc/file_system/src/types.ts index 365de3b851..63a96a706c 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/types.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -37,7 +37,8 @@ export type PathSegment = BrandedPath<'PathSegment'>; export interface FileSystem { exists(path: AbsoluteFsPath): boolean; readFile(path: AbsoluteFsPath): string; - writeFile(path: AbsoluteFsPath, data: string, exclusive?: boolean): void; + readFileBuffer(path: AbsoluteFsPath): Buffer; + writeFile(path: AbsoluteFsPath, data: string|Buffer, exclusive?: boolean): void; removeFile(path: AbsoluteFsPath): void; symlink(target: AbsoluteFsPath, path: AbsoluteFsPath): void; readdir(path: AbsoluteFsPath): PathSegment[]; diff --git a/packages/compiler-cli/src/ngtsc/file_system/src/util.ts b/packages/compiler-cli/src/ngtsc/file_system/src/util.ts index 41f6c2b391..3520a166d9 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/test/BUILD.bazel b/packages/compiler-cli/src/ngtsc/file_system/test/BUILD.bazel index 36575562ed..ed75bf3eda 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/test/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/file_system/test/BUILD.bazel @@ -1,7 +1,7 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "test_lib", testonly = True, @@ -9,7 +9,6 @@ ts_library( "**/*.ts", ]), deps = [ - "//packages:types", "//packages/compiler-cli/src/ngtsc/file_system", "//packages/compiler-cli/src/ngtsc/file_system/testing", "@npm//@types/fs-extra", diff --git a/packages/compiler-cli/src/ngtsc/file_system/test/compiler_host_spec.ts b/packages/compiler-cli/src/ngtsc/file_system/test/compiler_host_spec.ts index 8973ac7247..c05f2a7e33 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/test/compiler_host_spec.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/test/compiler_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/test/helpers_spec.ts b/packages/compiler-cli/src/ngtsc/file_system/test/helpers_spec.ts index 6cc36eee82..278dfcb5c0 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/test/helpers_spec.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/test/helpers_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/test/logical_spec.ts b/packages/compiler-cli/src/ngtsc/file_system/test/logical_spec.ts index 1bf4fc26b2..44b6163378 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/test/logical_spec.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/test/logical_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -52,6 +52,24 @@ runInEachFileSystem(() => { expect(nonRootFs.logicalPathOfFile(_('/test/foo/foo.ts'))) .toEqual('/foo/foo' as LogicalProjectPath); }); + + it('should maintain casing of logical paths', () => { + const fs = new LogicalFileSystem([_('/Test')], host); + expect(fs.logicalPathOfFile(_('/Test/foo/Foo.ts'))) + .toEqual('/foo/Foo' as LogicalProjectPath); + expect(fs.logicalPathOfFile(_('/Test/bar/bAR.ts'))) + .toEqual('/bar/bAR' as LogicalProjectPath); + }); + + it('should use case-sensitivity when matching rootDirs', () => { + const fs = new LogicalFileSystem([_('/Test')], host); + if (host.useCaseSensitiveFileNames()) { + expect(fs.logicalPathOfFile(_('/test/car/CAR.ts'))).toBe(null); + } else { + expect(fs.logicalPathOfFile(_('/test/car/CAR.ts'))) + .toEqual('/car/CAR' as LogicalProjectPath); + } + }); }); describe('utilities', () => { @@ -66,6 +84,12 @@ runInEachFileSystem(() => { '/foo/index' as LogicalProjectPath, '/bar/index' as LogicalProjectPath); expect(res).toEqual('../bar/index'); }); + + it('should maintain casing in relative path between logical files', () => { + const res = LogicalProjectPath.relativePathBetween( + '/fOO' as LogicalProjectPath, '/bAR' as LogicalProjectPath); + expect(res).toEqual('./bAR'); + }); }); }); }); diff --git a/packages/compiler-cli/src/ngtsc/file_system/test/node_js_file_system_spec.ts b/packages/compiler-cli/src/ngtsc/file_system/test/node_js_file_system_spec.ts index 2e15f6b646..af2602ea59 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/test/node_js_file_system_spec.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/test/node_js_file_system_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -44,6 +44,16 @@ describe('NodeJSFileSystem', () => { }); }); + describe('readFileBuffer()', () => { + it('should delegate to fs.readFileSync()', () => { + const buffer = new Buffer('Some contents'); + const spy = spyOn(realFs, 'readFileSync').and.returnValue(buffer); + const result = fs.readFileBuffer(abcPath); + expect(result).toBe(buffer); + expect(spy).toHaveBeenCalledWith(abcPath); + }); + }); + describe('writeFile()', () => { it('should delegate to fs.writeFileSync()', () => { const spy = spyOn(realFs, 'writeFileSync'); diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/index.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/index.ts index b5fb9f1084..0a4572615a 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/index.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.ts index 8382d456f5..922f3bb81d 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -32,13 +32,22 @@ export abstract class MockFileSystem implements FileSystem { readFile(path: AbsoluteFsPath): string { const {entity} = this.findFromPath(path); if (isFile(entity)) { - return entity; + return entity.toString(); } else { throw new MockFileSystemError('ENOENT', path, `File "${path}" does not exist.`); } } - writeFile(path: AbsoluteFsPath, data: string, exclusive: boolean = false): void { + readFileBuffer(path: AbsoluteFsPath): Buffer { + const {entity} = this.findFromPath(path); + if (isFile(entity)) { + return Buffer.isBuffer(entity) ? entity : new Buffer(entity); + } else { + throw new MockFileSystemError('ENOENT', path, `File "${path}" does not exist.`); + } + } + + writeFile(path: AbsoluteFsPath, data: string|Buffer, exclusive: boolean = false): void { const [folderPath, basename] = this.splitIntoFolderAndFile(path); const {entity} = this.findFromPath(folderPath); if (entity === null || !isFolder(entity)) { @@ -286,7 +295,7 @@ export type Entity = Folder|File|SymLink; export interface Folder { [pathSegments: string]: Entity; } -export type File = string; +export type File = string|Buffer; export class SymLink { constructor(public path: AbsoluteFsPath) {} } @@ -311,7 +320,7 @@ class MockFileSystemError extends Error { } export function isFile(item: Entity|null): item is File { - return typeof item === 'string'; + return Buffer.isBuffer(item) || typeof item === 'string'; } export function isSymLink(item: Entity|null): item is SymLink { diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_native.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_native.ts index da97516e24..ce8b28fd15 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_native.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_native.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_posix.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_posix.ts index 74c528cad2..d01558a2d9 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_posix.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_posix.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_windows.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_windows.ts index e733197d3b..1102166075 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_windows.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_windows.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/file_system/testing/src/test_helper.ts b/packages/compiler-cli/src/ngtsc/file_system/testing/src/test_helper.ts index 2272d55b3b..d90af9c89f 100644 --- a/packages/compiler-cli/src/ngtsc/file_system/testing/src/test_helper.ts +++ b/packages/compiler-cli/src/ngtsc/file_system/testing/src/test_helper.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/index.ts b/packages/compiler-cli/src/ngtsc/imports/index.ts index 858f77c7e3..6ee65f03af 100644 --- a/packages/compiler-cli/src/ngtsc/imports/index.ts +++ b/packages/compiler-cli/src/ngtsc/imports/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/alias.ts b/packages/compiler-cli/src/ngtsc/imports/src/alias.ts index 94b4a11444..1eec3c2a84 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/alias.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/alias.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/core.ts b/packages/compiler-cli/src/ngtsc/imports/src/core.ts index 027f814978..122b399829 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/core.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/core.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/default.ts b/packages/compiler-cli/src/ngtsc/imports/src/default.ts index ae92d05eb6..ca6bf80125 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/default.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/default.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts b/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts index 23206dcc26..7bf63a214c 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/find_export.ts b/packages/compiler-cli/src/ngtsc/imports/src/find_export.ts index 699369b479..e514ae7a9d 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/find_export.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/find_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/reexport.ts b/packages/compiler-cli/src/ngtsc/imports/src/reexport.ts index cd850ab73e..8af98e447b 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/reexport.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/reexport.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/references.ts b/packages/compiler-cli/src/ngtsc/imports/src/references.ts index f6150394b3..ba7e1063ac 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/references.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/references.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/src/resolver.ts b/packages/compiler-cli/src/ngtsc/imports/src/resolver.ts index 61d713337a..59f27df0ac 100644 --- a/packages/compiler-cli/src/ngtsc/imports/src/resolver.ts +++ b/packages/compiler-cli/src/ngtsc/imports/src/resolver.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as ts from 'typescript'; + import {absoluteFrom} from '../../file_system'; import {getSourceFileOrNull, resolveModuleName} from '../../util/src/typescript'; @@ -18,8 +19,8 @@ import {getSourceFileOrNull, resolveModuleName} from '../../util/src/typescript' export class ModuleResolver { constructor( private program: ts.Program, private compilerOptions: ts.CompilerOptions, - private host: ts.CompilerHost, private moduleResolutionCache: ts.ModuleResolutionCache|null) { - } + private host: ts.ModuleResolutionHost&Pick, + private moduleResolutionCache: ts.ModuleResolutionCache|null) {} resolveModule(moduleName: string, containingFile: string): ts.SourceFile|null { const resolved = resolveModuleName( diff --git a/packages/compiler-cli/src/ngtsc/imports/test/default_spec.ts b/packages/compiler-cli/src/ngtsc/imports/test/default_spec.ts index 8cfc4bd1c7..0171459232 100644 --- a/packages/compiler-cli/src/ngtsc/imports/test/default_spec.ts +++ b/packages/compiler-cli/src/ngtsc/imports/test/default_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/imports/test/emitter_spec.ts b/packages/compiler-cli/src/ngtsc/imports/test/emitter_spec.ts index 9305e0c2b8..79fbf5c986 100644 --- a/packages/compiler-cli/src/ngtsc/imports/test/emitter_spec.ts +++ b/packages/compiler-cli/src/ngtsc/imports/test/emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/incremental/api.ts b/packages/compiler-cli/src/ngtsc/incremental/api.ts index 7292f6d816..d1e41acddb 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/api.ts +++ b/packages/compiler-cli/src/ngtsc/incremental/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/incremental/index.ts b/packages/compiler-cli/src/ngtsc/incremental/index.ts index 506dd2bbfe..887ea6ede7 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/index.ts +++ b/packages/compiler-cli/src/ngtsc/incremental/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,3 +8,4 @@ export {NOOP_INCREMENTAL_BUILD} from './src/noop'; export {IncrementalDriver} from './src/state'; +export * from './src/strategy'; diff --git a/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.ts b/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.ts index 0c42a13824..e884aefbaa 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.ts +++ b/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/incremental/src/noop.ts b/packages/compiler-cli/src/ngtsc/incremental/src/noop.ts index cdb3d06a48..b0869309b9 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/src/noop.ts +++ b/packages/compiler-cli/src/ngtsc/incremental/src/noop.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/incremental/src/state.ts b/packages/compiler-cli/src/ngtsc/incremental/src/state.ts index 1cb0745b05..9bf237d791 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/src/state.ts +++ b/packages/compiler-cli/src/ngtsc/incremental/src/state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/incremental/src/strategy.ts b/packages/compiler-cli/src/ngtsc/incremental/src/strategy.ts new file mode 100644 index 0000000000..8e8b3379f6 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/incremental/src/strategy.ts @@ -0,0 +1,95 @@ +/** + * @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 * as ts from 'typescript'; +import {IncrementalDriver} from './state'; + +/** + * Strategy used to manage the association between a `ts.Program` and the `IncrementalDriver` which + * represents the reusable Angular part of its compilation. + */ +export interface IncrementalBuildStrategy { + /** + * Determine the Angular `IncrementalDriver` for the given `ts.Program`, if one is available. + */ + getIncrementalDriver(program: ts.Program): IncrementalDriver|null; + + /** + * Associate the given `IncrementalDriver` with the given `ts.Program` and make it available to + * future compilations. + */ + setIncrementalDriver(driver: IncrementalDriver, program: ts.Program): void; +} + +/** + * A noop implementation of `IncrementalBuildStrategy` which neither returns nor tracks any + * incremental data. + */ +export class NoopIncrementalBuildStrategy implements IncrementalBuildStrategy { + getIncrementalDriver(): null { + return null; + } + + setIncrementalDriver(): void {} +} + +/** + * Tracks an `IncrementalDriver` within the strategy itself. + */ +export class TrackedIncrementalBuildStrategy implements IncrementalBuildStrategy { + private previous: IncrementalDriver|null = null; + private next: IncrementalDriver|null = null; + + getIncrementalDriver(): IncrementalDriver|null { + return this.next !== null ? this.next : this.previous; + } + + setIncrementalDriver(driver: IncrementalDriver): void { + this.next = driver; + } + + toNextBuildStrategy(): TrackedIncrementalBuildStrategy { + const strategy = new TrackedIncrementalBuildStrategy(); + strategy.previous = this.next; + return strategy; + } +} + +/** + * Manages the `IncrementalDriver` associated with a `ts.Program` by monkey-patching it onto the + * program under `SYM_INCREMENTAL_DRIVER`. + */ +export class PatchedProgramIncrementalBuildStrategy implements IncrementalBuildStrategy { + getIncrementalDriver(program: ts.Program): IncrementalDriver|null { + const driver = (program as any)[SYM_INCREMENTAL_DRIVER]; + if (driver === undefined || !(driver instanceof IncrementalDriver)) { + return null; + } + return driver; + } + + setIncrementalDriver(driver: IncrementalDriver, program: ts.Program): void { + (program as any)[SYM_INCREMENTAL_DRIVER] = driver; + } +} + + +/** + * Symbol under which the `IncrementalDriver` is stored on a `ts.Program`. + * + * The TS model of incremental compilation is based around reuse of a previous `ts.Program` in the + * construction of a new one. The `NgCompiler` follows this abstraction - passing in a previous + * `ts.Program` is sufficient to trigger incremental compilation. This previous `ts.Program` need + * not be from an Angular compilation (that is, it need not have been created from `NgCompiler`). + * + * If it is, though, Angular can benefit from reusing previous analysis work. This reuse is managed + * by the `IncrementalDriver`, which is inherited from the old program to the new program. To + * support this behind the API of passing an old `ts.Program`, the `IncrementalDriver` is stored on + * the `ts.Program` under this symbol. + */ +const SYM_INCREMENTAL_DRIVER = Symbol('NgIncrementalDriver'); diff --git a/packages/compiler-cli/src/ngtsc/indexer/index.ts b/packages/compiler-cli/src/ngtsc/indexer/index.ts index 12028775bd..100a2fa132 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/index.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/src/api.ts b/packages/compiler-cli/src/ngtsc/indexer/src/api.ts index 0227717709..9948c69211 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/src/context.ts b/packages/compiler-cli/src/ngtsc/indexer/src/context.ts index c4c5801c65..5a854027cc 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/src/context.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/src/context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/src/template.ts b/packages/compiler-cli/src/ngtsc/indexer/src/template.ts index f0b2eacf18..b6b08c29d4 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/src/template.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/src/template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/src/transform.ts b/packages/compiler-cli/src/ngtsc/indexer/src/transform.ts index 04e640461c..e5d3f7774b 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/src/transform.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/src/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/test/context_spec.ts b/packages/compiler-cli/src/ngtsc/indexer/test/context_spec.ts index 8ce7582a4e..28822193a1 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/test/context_spec.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/test/context_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/test/template_spec.ts b/packages/compiler-cli/src/ngtsc/indexer/test/template_spec.ts index 0f7b7e7aeb..f013d6204e 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/test/template_spec.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/test/template_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/test/transform_spec.ts b/packages/compiler-cli/src/ngtsc/indexer/test/transform_spec.ts index c788ed8eb7..ef32a19c33 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/test/transform_spec.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/test/transform_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/indexer/test/util.ts b/packages/compiler-cli/src/ngtsc/indexer/test/util.ts index e6298e7843..4e16da6e11 100644 --- a/packages/compiler-cli/src/ngtsc/indexer/test/util.ts +++ b/packages/compiler-cli/src/ngtsc/indexer/test/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/logging/BUILD.bazel b/packages/compiler-cli/src/ngtsc/logging/BUILD.bazel new file mode 100644 index 0000000000..b8929013b1 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/BUILD.bazel @@ -0,0 +1,13 @@ +load("//tools:defaults.bzl", "ts_library") + +package(default_visibility = ["//visibility:public"]) + +ts_library( + name = "logging", + srcs = ["index.ts"] + glob([ + "src/**/*.ts", + ]), + deps = [ + "@npm//@types/node", + ], +) diff --git a/packages/compiler-cli/src/ngtsc/logging/README.md b/packages/compiler-cli/src/ngtsc/logging/README.md new file mode 100644 index 0000000000..9e7867674c --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/README.md @@ -0,0 +1,4 @@ +# Logging + +Here you can find a simple abstraction over the console logging that allows +filtered logs by level. \ No newline at end of file diff --git a/packages/compiler-cli/src/ngtsc/logging/index.ts b/packages/compiler-cli/src/ngtsc/logging/index.ts new file mode 100644 index 0000000000..9f303400f0 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/index.ts @@ -0,0 +1,9 @@ +/** + * @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 {ConsoleLogger} from './src/console_logger'; +export {Logger, LogLevel} from './src/logger'; diff --git a/packages/compiler-cli/ngcc/src/logging/console_logger.ts b/packages/compiler-cli/src/ngtsc/logging/src/console_logger.ts similarity index 95% rename from packages/compiler-cli/ngcc/src/logging/console_logger.ts rename to packages/compiler-cli/src/ngtsc/logging/src/console_logger.ts index 66acf79b8a..be23bcdb47 100644 --- a/packages/compiler-cli/ngcc/src/logging/console_logger.ts +++ b/packages/compiler-cli/src/ngtsc/logging/src/console_logger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/logging/logger.ts b/packages/compiler-cli/src/ngtsc/logging/src/logger.ts similarity index 91% rename from packages/compiler-cli/ngcc/src/logging/logger.ts rename to packages/compiler-cli/src/ngtsc/logging/src/logger.ts index cf50fff76a..b211aec4ae 100644 --- a/packages/compiler-cli/ngcc/src/logging/logger.ts +++ b/packages/compiler-cli/src/ngtsc/logging/src/logger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/logging/test/BUILD.bazel b/packages/compiler-cli/src/ngtsc/logging/test/BUILD.bazel new file mode 100644 index 0000000000..ef486835c2 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/test/BUILD.bazel @@ -0,0 +1,22 @@ +load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") + +package(default_visibility = ["//visibility:public"]) + +ts_library( + name = "test_lib", + testonly = True, + srcs = glob([ + "**/*.ts", + ]), + deps = [ + "//packages/compiler-cli/src/ngtsc/logging", + ], +) + +jasmine_node_test( + name = "test", + bootstrap = ["//tools/testing:node_no_angular_es5"], + deps = [ + ":test_lib", + ], +) diff --git a/packages/compiler-cli/ngcc/test/logging/console_logger_spec.ts b/packages/compiler-cli/src/ngtsc/logging/test/console_logger_spec.ts similarity index 90% rename from packages/compiler-cli/ngcc/test/logging/console_logger_spec.ts rename to packages/compiler-cli/src/ngtsc/logging/test/console_logger_spec.ts index 68125ebe7f..2a044cb1ff 100644 --- a/packages/compiler-cli/ngcc/test/logging/console_logger_spec.ts +++ b/packages/compiler-cli/src/ngtsc/logging/test/console_logger_spec.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {ConsoleLogger, DEBUG, ERROR, WARN} from '../../src/logging/console_logger'; -import {LogLevel} from '../../src/logging/logger'; +import {ConsoleLogger, DEBUG, ERROR, WARN} from '../src/console_logger'; +import {LogLevel} from '../src/logger'; describe('ConsoleLogger', () => { it('should pass through calls to Console', () => { diff --git a/packages/compiler-cli/src/ngtsc/logging/testing/BUILD.bazel b/packages/compiler-cli/src/ngtsc/logging/testing/BUILD.bazel new file mode 100644 index 0000000000..cb58355631 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/testing/BUILD.bazel @@ -0,0 +1,14 @@ +load("//tools:defaults.bzl", "ts_library") + +package(default_visibility = ["//visibility:public"]) + +ts_library( + name = "testing", + testonly = True, + srcs = glob([ + "**/*.ts", + ]), + deps = [ + "//packages/compiler-cli/src/ngtsc/logging", + ], +) diff --git a/packages/compiler-cli/src/ngtsc/logging/testing/index.ts b/packages/compiler-cli/src/ngtsc/logging/testing/index.ts new file mode 100644 index 0000000000..a738612e0c --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/logging/testing/index.ts @@ -0,0 +1,8 @@ +/** + * @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 {MockLogger} from './src/mock_logger'; diff --git a/packages/compiler-cli/ngcc/test/helpers/mock_logger.ts b/packages/compiler-cli/src/ngtsc/logging/testing/src/mock_logger.ts similarity index 85% rename from packages/compiler-cli/ngcc/test/helpers/mock_logger.ts rename to packages/compiler-cli/src/ngtsc/logging/testing/src/mock_logger.ts index 83e5afe09d..9ce2bb26f5 100644 --- a/packages/compiler-cli/ngcc/test/helpers/mock_logger.ts +++ b/packages/compiler-cli/src/ngtsc/logging/testing/src/mock_logger.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Logger, LogLevel} from '../../src/logging/logger'; +import {Logger, LogLevel} from '../..'; export class MockLogger implements Logger { constructor(public level = LogLevel.info) {} @@ -29,4 +29,4 @@ export class MockLogger implements Logger { error(...args: string[]) { this.logs.error.push(args); } -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/metadata/index.ts b/packages/compiler-cli/src/ngtsc/metadata/index.ts index 0e585c8731..9061d03146 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/index.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/api.ts b/packages/compiler-cli/src/ngtsc/metadata/src/api.ts index 302456a2bf..45fac785ac 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/dts.ts b/packages/compiler-cli/src/ngtsc/metadata/src/dts.ts index 1f72300077..c8f2c8b2b1 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/dts.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/dts.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.ts b/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.ts index 86d5f9588b..119a7a0e39 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/registry.ts b/packages/compiler-cli/src/ngtsc/metadata/src/registry.ts index 585af36c7b..c36efbfbb6 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/registry.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/registry.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/util.ts b/packages/compiler-cli/src/ngtsc/metadata/src/util.ts index c3fc520dd2..457c8cab2c 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/modulewithproviders/index.ts b/packages/compiler-cli/src/ngtsc/modulewithproviders/index.ts index d5fe5d16d4..135e00c3b9 100644 --- a/packages/compiler-cli/src/ngtsc/modulewithproviders/index.ts +++ b/packages/compiler-cli/src/ngtsc/modulewithproviders/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/modulewithproviders/src/scanner.ts b/packages/compiler-cli/src/ngtsc/modulewithproviders/src/scanner.ts index 52320a8793..0ccb7eba16 100644 --- a/packages/compiler-cli/src/ngtsc/modulewithproviders/src/scanner.ts +++ b/packages/compiler-cli/src/ngtsc/modulewithproviders/src/scanner.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/BUILD.bazel b/packages/compiler-cli/src/ngtsc/partial_evaluator/BUILD.bazel index 0c1476f4af..48e6b1e71f 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/BUILD.bazel @@ -11,6 +11,7 @@ ts_library( deps = [ "//packages:types", "//packages/compiler", + "//packages/compiler-cli/src/ngtsc/diagnostics", "//packages/compiler-cli/src/ngtsc/imports", "//packages/compiler-cli/src/ngtsc/incremental:api", "//packages/compiler-cli/src/ngtsc/reflection", diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/index.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/index.ts index 39d157226e..7c3c566524 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/index.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/index.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {describeResolvedType, traceDynamicValue} from './src/diagnostics'; export {DynamicValue} from './src/dynamic'; export {ForeignFunctionResolver, PartialEvaluator} from './src/interface'; export {EnumValue, KnownFn, ResolvedValue, ResolvedValueArray, ResolvedValueMap} from './src/result'; diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.ts index c04aad5b50..8f28792609 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.ts new file mode 100644 index 0000000000..e270cb213c --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.ts @@ -0,0 +1,187 @@ +/** + * @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 * as ts from 'typescript'; + +import {makeRelatedInformation} from '../../diagnostics'; +import {Reference} from '../../imports'; +import {FunctionDefinition} from '../../reflection'; +import {DynamicValue, DynamicValueVisitor} from './dynamic'; +import {EnumValue, KnownFn, ResolvedModule, ResolvedValue} from './result'; + +/** + * Derives a type representation from a resolved value to be reported in a diagnostic. + * + * @param value The resolved value for which a type representation should be derived. + * @param maxDepth The maximum nesting depth of objects and arrays, defaults to 1 level. + */ +export function describeResolvedType(value: ResolvedValue, maxDepth: number = 1): string { + if (value === null) { + return 'null'; + } else if (value === undefined) { + return 'undefined'; + } else if (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'string') { + return typeof value; + } else if (value instanceof Map) { + if (maxDepth === 0) { + return 'object'; + } + const entries = Array.from(value.entries()).map(([key, v]) => { + return `${quoteKey(key)}: ${describeResolvedType(v, maxDepth - 1)}`; + }); + return entries.length > 0 ? `{ ${entries.join('; ')} }` : '{}'; + } else if (value instanceof ResolvedModule) { + return '(module)'; + } else if (value instanceof EnumValue) { + return value.enumRef.debugName ?? '(anonymous)'; + } else if (value instanceof Reference) { + return value.debugName ?? '(anonymous)'; + } else if (Array.isArray(value)) { + if (maxDepth === 0) { + return 'Array'; + } + return `[${value.map(v => describeResolvedType(v, maxDepth - 1)).join(', ')}]`; + } else if (value instanceof DynamicValue) { + return '(not statically analyzable)'; + } else if (value instanceof KnownFn) { + return 'Function'; + } else { + return 'unknown'; + } +} + +function quoteKey(key: string): string { + if (/^[a-z0-9_]+$/i.test(key)) { + return key; + } else { + return `'${key.replace(/'/g, '\\\'')}'`; + } +} + +/** + * Creates an array of related information diagnostics for a `DynamicValue` that describe the trace + * of why an expression was evaluated as dynamic. + * + * @param node The node for which a `ts.Diagnostic` is to be created with the trace. + * @param value The dynamic value for which a trace should be created. + */ +export function traceDynamicValue( + node: ts.Node, value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return value.accept(new TraceDynamicValueVisitor(node)); +} + +class TraceDynamicValueVisitor implements DynamicValueVisitor { + private currentContainerNode: ts.Node|null = null; + + constructor(private node: ts.Node) {} + + visitDynamicInput(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + const trace = value.reason.accept(this); + if (this.shouldTrace(value.node)) { + const info = + makeRelatedInformation(value.node, 'Unable to evaluate this expression statically.'); + trace.unshift(info); + } + return trace; + } + + visitDynamicString(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return [makeRelatedInformation( + value.node, 'A string value could not be determined statically.')]; + } + + visitExternalReference(value: DynamicValue>): + ts.DiagnosticRelatedInformation[] { + const name = value.reason.debugName; + const description = name !== null ? `'${name}'` : 'an anonymous declaration'; + return [makeRelatedInformation( + value.node, + `A value for ${ + description} cannot be determined statically, as it is an external declaration.`)]; + } + + visitComplexFunctionCall(value: DynamicValue): + ts.DiagnosticRelatedInformation[] { + return [ + makeRelatedInformation( + value.node, + 'Unable to evaluate function call of complex function. A function must have exactly one return statement.'), + makeRelatedInformation(value.reason.node, 'Function is declared here.') + ]; + } + + visitInvalidExpressionType(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return [makeRelatedInformation(value.node, 'Unable to evaluate an invalid expression.')]; + } + + visitUnknown(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return [makeRelatedInformation(value.node, 'Unable to evaluate statically.')]; + } + + visitUnknownIdentifier(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return [makeRelatedInformation(value.node, 'Unknown reference.')]; + } + + visitUnsupportedSyntax(value: DynamicValue): ts.DiagnosticRelatedInformation[] { + return [makeRelatedInformation(value.node, 'This syntax is not supported.')]; + } + + /** + * Determines whether the dynamic value reported for the node should be traced, i.e. if it is not + * part of the container for which the most recent trace was created. + */ + private shouldTrace(node: ts.Node): boolean { + if (node === this.node) { + // Do not include a dynamic value for the origin node, as the main diagnostic is already + // reported on that node. + return false; + } + + const container = getContainerNode(node); + if (container === this.currentContainerNode) { + // The node is part of the same container as the previous trace entry, so this dynamic value + // should not become part of the trace. + return false; + } + + this.currentContainerNode = container; + return true; + } +} + +/** + * Determines the closest parent node that is to be considered as container, which is used to reduce + * the granularity of tracing the dynamic values to a single entry per container. Currently, full + * statements and destructuring patterns are considered as container. + */ +function getContainerNode(node: ts.Node): ts.Node { + let currentNode: ts.Node|undefined = node; + while (currentNode !== undefined) { + switch (currentNode.kind) { + case ts.SyntaxKind.ExpressionStatement: + case ts.SyntaxKind.VariableStatement: + case ts.SyntaxKind.ReturnStatement: + case ts.SyntaxKind.IfStatement: + case ts.SyntaxKind.SwitchStatement: + case ts.SyntaxKind.DoStatement: + case ts.SyntaxKind.WhileStatement: + case ts.SyntaxKind.ForStatement: + case ts.SyntaxKind.ForInStatement: + case ts.SyntaxKind.ForOfStatement: + case ts.SyntaxKind.ContinueStatement: + case ts.SyntaxKind.BreakStatement: + case ts.SyntaxKind.ThrowStatement: + case ts.SyntaxKind.ObjectBindingPattern: + case ts.SyntaxKind.ArrayBindingPattern: + return currentNode; + } + + currentNode = currentNode.parent; + } + return node.getSourceFile(); +} diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.ts index 5c7a04a2ca..c19bfa3e3d 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import * as ts from 'typescript'; import {Reference} from '../../imports'; +import {FunctionDefinition} from '../../reflection'; /** * The reason why a value cannot be determined statically. @@ -55,6 +56,11 @@ export const enum DynamicValueReason { */ INVALID_EXPRESSION_TYPE, + /** + * A function call could not be evaluated as the function's body is not a single return statement. + */ + COMPLEX_FUNCTION_CALL, + /** * A value could not be determined statically for any reason other the above. */ @@ -93,6 +99,11 @@ export class DynamicValue { return new DynamicValue(node, value, DynamicValueReason.INVALID_EXPRESSION_TYPE); } + static fromComplexFunctionCall(node: ts.Node, fn: FunctionDefinition): + DynamicValue { + return new DynamicValue(node, fn, DynamicValueReason.COMPLEX_FUNCTION_CALL); + } + static fromUnknown(node: ts.Node): DynamicValue { return new DynamicValue(node, undefined, DynamicValueReason.UNKNOWN); } @@ -121,7 +132,45 @@ export class DynamicValue { return this.code === DynamicValueReason.INVALID_EXPRESSION_TYPE; } + isFromComplexFunctionCall(this: DynamicValue): this is DynamicValue { + return this.code === DynamicValueReason.COMPLEX_FUNCTION_CALL; + } + isFromUnknown(this: DynamicValue): this is DynamicValue { return this.code === DynamicValueReason.UNKNOWN; } + + accept(visitor: DynamicValueVisitor): R { + switch (this.code) { + case DynamicValueReason.DYNAMIC_INPUT: + return visitor.visitDynamicInput(this as unknown as DynamicValue); + case DynamicValueReason.DYNAMIC_STRING: + return visitor.visitDynamicString(this); + case DynamicValueReason.EXTERNAL_REFERENCE: + return visitor.visitExternalReference( + this as unknown as DynamicValue>); + case DynamicValueReason.UNSUPPORTED_SYNTAX: + return visitor.visitUnsupportedSyntax(this); + case DynamicValueReason.UNKNOWN_IDENTIFIER: + return visitor.visitUnknownIdentifier(this); + case DynamicValueReason.INVALID_EXPRESSION_TYPE: + return visitor.visitInvalidExpressionType(this); + case DynamicValueReason.COMPLEX_FUNCTION_CALL: + return visitor.visitComplexFunctionCall( + this as unknown as DynamicValue); + case DynamicValueReason.UNKNOWN: + return visitor.visitUnknown(this); + } + } +} + +export interface DynamicValueVisitor { + visitDynamicInput(value: DynamicValue): R; + visitDynamicString(value: DynamicValue): R; + visitExternalReference(value: DynamicValue>): R; + visitUnsupportedSyntax(value: DynamicValue): R; + visitUnknownIdentifier(value: DynamicValue): R; + visitInvalidExpressionType(value: DynamicValue): R; + visitComplexFunctionCall(value: DynamicValue): R; + visitUnknown(value: DynamicValue): R; } diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts index f9a380a66c..ede3815308 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts index 83d067dc72..af20342297 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,7 +11,7 @@ import * as ts from 'typescript'; import {Reference} from '../../imports'; import {OwningModule} from '../../imports/src/references'; import {DependencyTracker} from '../../incremental/api'; -import {ConcreteDeclaration, Declaration, EnumMember, InlineDeclaration, ReflectionHost, SpecialDeclarationKind} from '../../reflection'; +import {ConcreteDeclaration, Declaration, EnumMember, FunctionDefinition, InlineDeclaration, ReflectionHost, SpecialDeclarationKind} from '../../reflection'; import {isDeclaration} from '../../util/src/typescript'; import {ArrayConcatBuiltinFn, ArraySliceBuiltinFn} from './builtin'; @@ -266,6 +266,8 @@ export class StaticInterpreter { return this.visitEnumDeclaration(node, context); } else if (ts.isSourceFile(node)) { return this.visitSourceFile(node, context); + } else if (ts.isBindingElement(node)) { + return this.visitBindingElement(node, context); } else { return this.getReference(node, context); } @@ -347,9 +349,8 @@ export class StaticInterpreter { }); } - private accessHelper( - node: ts.Expression, lhs: ResolvedValue, rhs: string|number, - context: Context): ResolvedValue { + private accessHelper(node: ts.Node, lhs: ResolvedValue, rhs: string|number, context: Context): + ResolvedValue { const strIndex = `${rhs}`; if (lhs instanceof Map) { if (lhs.has(strIndex)) { @@ -445,21 +446,56 @@ export class StaticInterpreter { }; } - const res = this.visitExpression(expr, context); - if (res instanceof Reference) { - // This Reference was created synthetically, via a foreign function resolver. The real - // runtime value of the function expression may be different than the foreign function - // resolved value, so mark the Reference as synthetic to avoid it being misinterpreted. - res.synthetic = true; - } - return res; + return this.visitFfrExpression(expr, context); } - const body = fn.body; - if (body.length !== 1 || !ts.isReturnStatement(body[0])) { - return DynamicValue.fromUnknown(node); + let res: ResolvedValue = this.visitFunctionBody(node, fn, context); + + // If the result of attempting to resolve the function body was a DynamicValue, attempt to use + // the foreignFunctionResolver if one is present. This could still potentially yield a usable + // value. + if (res instanceof DynamicValue && context.foreignFunctionResolver !== undefined) { + const ffrExpr = context.foreignFunctionResolver(lhs, node.arguments); + if (ffrExpr !== null) { + // The foreign function resolver was able to extract an expression from this function. See + // if that expression leads to a non-dynamic result. + const ffrRes = this.visitFfrExpression(ffrExpr, context); + if (!(ffrRes instanceof DynamicValue)) { + // FFR yielded an actual result that's not dynamic, so use that instead of the original + // resolution. + res = ffrRes; + } + } } - const ret = body[0] as ts.ReturnStatement; + + return res; + } + + /** + * Visit an expression which was extracted from a foreign-function resolver. + * + * This will process the result and ensure it's correct for FFR-resolved values, including marking + * `Reference`s as synthetic. + */ + private visitFfrExpression(expr: ts.Expression, context: Context): ResolvedValue { + const res = this.visitExpression(expr, context); + if (res instanceof Reference) { + // This Reference was created synthetically, via a foreign function resolver. The real + // runtime value of the function expression may be different than the foreign function + // resolved value, so mark the Reference as synthetic to avoid it being misinterpreted. + res.synthetic = true; + } + return res; + } + + private visitFunctionBody(node: ts.CallExpression, fn: FunctionDefinition, context: Context): + ResolvedValue { + if (fn.body === null) { + return DynamicValue.fromUnknown(node); + } else if (fn.body.length !== 1 || !ts.isReturnStatement(fn.body[0])) { + return DynamicValue.fromComplexFunctionCall(node, fn); + } + const ret = fn.body[0] as ts.ReturnStatement; const args = this.evaluateFunctionArguments(node, context); const newScope: Scope = new Map(); @@ -565,6 +601,47 @@ export class StaticInterpreter { } } + private visitBindingElement(node: ts.BindingElement, context: Context): ResolvedValue { + const path: ts.BindingElement[] = []; + let closestDeclaration: ts.Node = node; + + while (ts.isBindingElement(closestDeclaration) || + ts.isArrayBindingPattern(closestDeclaration) || + ts.isObjectBindingPattern(closestDeclaration)) { + if (ts.isBindingElement(closestDeclaration)) { + path.unshift(closestDeclaration); + } + + closestDeclaration = closestDeclaration.parent; + } + + if (!ts.isVariableDeclaration(closestDeclaration) || + closestDeclaration.initializer === undefined) { + return DynamicValue.fromUnknown(node); + } + + let value = this.visit(closestDeclaration.initializer, context); + for (const element of path) { + let key: number|string; + if (ts.isArrayBindingPattern(element.parent)) { + key = element.parent.elements.indexOf(element); + } else { + const name = element.propertyName || element.name; + if (ts.isIdentifier(name)) { + key = name.text; + } else { + return DynamicValue.fromUnknown(element); + } + } + value = this.accessHelper(element, value, key, context); + if (value instanceof DynamicValue) { + return value; + } + } + + return value; + } + private stringNameFromPropertyName(node: ts.PropertyName, context: Context): string|undefined { if (ts.isIdentifier(node) || ts.isStringLiteral(node) || ts.isNumericLiteral(node)) { return node.text; diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.ts index 2456e672b2..afc2e4d62b 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.ts index 7d6405d96e..edbc5718e6 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.ts index 469755db04..2466eee6d2 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/test/diagnostics_spec.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/diagnostics_spec.ts new file mode 100644 index 0000000000..a2600eb721 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/diagnostics_spec.ts @@ -0,0 +1,294 @@ +/** + * @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 {platform} from 'os'; +import * as ts from 'typescript'; + +import {absoluteFrom as _, absoluteFromSourceFile} from '../../file_system'; +import {runInEachFileSystem} from '../../file_system/testing'; +import {Reference} from '../../imports'; +import {TypeScriptReflectionHost} from '../../reflection'; +import {getDeclaration, makeProgram} from '../../testing'; +import {ObjectAssignBuiltinFn} from '../src/builtin'; +import {describeResolvedType, traceDynamicValue} from '../src/diagnostics'; +import {DynamicValue} from '../src/dynamic'; +import {PartialEvaluator} from '../src/interface'; +import {EnumValue, ResolvedModule} from '../src/result'; + +runInEachFileSystem(os => { + describe('partial evaluator', () => { + describe('describeResolvedType()', () => { + it('should describe primitives', () => { + expect(describeResolvedType(0)).toBe('number'); + expect(describeResolvedType(true)).toBe('boolean'); + expect(describeResolvedType(false)).toBe('boolean'); + expect(describeResolvedType(null)).toBe('null'); + expect(describeResolvedType(undefined)).toBe('undefined'); + expect(describeResolvedType('text')).toBe('string'); + }); + + it('should describe objects limited to a single level', () => { + expect(describeResolvedType(new Map())).toBe('{}'); + expect(describeResolvedType(new Map([['a', 0], ['b', true]]))) + .toBe('{ a: number; b: boolean }'); + expect(describeResolvedType(new Map([['a', new Map()]]))).toBe('{ a: object }'); + expect(describeResolvedType(new Map([['a', [1, 2, 3]]]))).toBe('{ a: Array }'); + }); + + it('should describe arrays limited to a single level', () => { + expect(describeResolvedType([])).toBe('[]'); + expect(describeResolvedType([1, 2, 3])).toBe('[number, number, number]'); + expect(describeResolvedType([[1, 2], [3, 4]])).toBe('[Array, Array]'); + expect(describeResolvedType([new Map([['a', 0]])])).toBe('[object]'); + }); + + it('should describe references', () => { + const namedFn = ts.createFunctionDeclaration( + /* decorators */ undefined, + /* modifiers */ undefined, + /* asteriskToken */ undefined, + /* name */ 'test', + /* typeParameters */ undefined, + /* parameters */[], + /* type */ undefined, + /* body */ undefined, + ); + expect(describeResolvedType(new Reference(namedFn))).toBe('test'); + + const anonymousFn = ts.createFunctionDeclaration( + /* decorators */ undefined, + /* modifiers */ undefined, + /* asteriskToken */ undefined, + /* name */ undefined, + /* typeParameters */ undefined, + /* parameters */[], + /* type */ undefined, + /* body */ undefined, + ); + expect(describeResolvedType(new Reference(anonymousFn))).toBe('(anonymous)'); + }); + + it('should describe enum values', () => { + const decl = ts.createEnumDeclaration( + /* decorators */ undefined, + /* modifiers */ undefined, + /* name */ 'MyEnum', + /* members */[ts.createEnumMember('member', ts.createNumericLiteral('1'))], + ); + const ref = new Reference(decl); + expect(describeResolvedType(new EnumValue(ref, 'member', 1))).toBe('MyEnum'); + }); + + it('should describe dynamic values', () => { + const node = ts.createObjectLiteral(); + expect(describeResolvedType(DynamicValue.fromUnsupportedSyntax(node))) + .toBe('(not statically analyzable)'); + }); + + it('should describe known functions', () => { + expect(describeResolvedType(new ObjectAssignBuiltinFn())).toBe('Function'); + }); + + it('should describe external modules', () => { + expect(describeResolvedType(new ResolvedModule(new Map(), () => undefined))) + .toBe('(module)'); + }); + }); + + if (os !== 'Windows' && platform() !== 'win32') { + describe('traceDynamicValue()', () => { + it('should not include the origin node if points to a different dynamic node.', () => { + // In the below expression, the read of "value" is evaluated to be dynamic, but it's also + // the exact node for which the diagnostic is produced. Therefore, this node is not part + // of the trace. + const trace = traceExpression('const value = nonexistent;', 'value'); + + expect(trace.length).toBe(1); + expect(trace[0].messageText).toBe(`Unknown reference.`); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('nonexistent'); + }); + + it('should include the origin node if it is dynamic by itself', () => { + const trace = traceExpression('', 'nonexistent;'); + + expect(trace.length).toBe(1); + expect(trace[0].messageText).toBe(`Unknown reference.`); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('nonexistent'); + }); + + it('should include a trace for a dynamic subexpression in the origin expression', () => { + const trace = traceExpression('const value = nonexistent;', 'value.property'); + + expect(trace.length).toBe(2); + expect(trace[0].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('value'); + + expect(trace[1].messageText).toBe('Unknown reference.'); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[1])).toBe('nonexistent'); + }); + + it('should reduce the granularity to a single entry per statement', () => { + // Dynamic values exist for each node that has been visited, but only the initial dynamic + // value within a statement is included in the trace. + const trace = traceExpression( + `const firstChild = document.body.childNodes[0]; + const child = firstChild.firstChild;`, + 'child !== undefined'); + + expect(trace.length).toBe(4); + expect(trace[0].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('child'); + + expect(trace[1].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[1])).toBe('firstChild'); + + expect(trace[2].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[2].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[2])).toBe('document.body'); + + expect(trace[3].messageText) + .toBe( + `A value for 'document' cannot be determined statically, as it is an external declaration.`); + expect(absoluteFromSourceFile(trace[3].file!)).toBe(_('/lib.d.ts')); + expect(getSourceCode(trace[3])).toBe('document: any'); + }); + + it('should trace dynamic strings', () => { + const trace = traceExpression('', '`${document}`'); + + expect(trace.length).toBe(1); + expect(trace[0].messageText).toBe('A string value could not be determined statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('document'); + }); + + it('should trace invalid expression types', () => { + const trace = traceExpression('', 'true()'); + + expect(trace.length).toBe(1); + expect(trace[0].messageText).toBe('Unable to evaluate an invalid expression.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('true'); + }); + + it('should trace unknown syntax', () => { + const trace = traceExpression('', `new String('test')`); + + expect(trace.length).toBe(1); + expect(trace[0].messageText).toBe('This syntax is not supported.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('new String(\'test\')'); + }); + + it('should trace complex function invocations', () => { + const trace = traceExpression( + ` + function complex() { + console.log('test'); + return true; + }`, + 'complex()'); + + expect(trace.length).toBe(2); + expect(trace[0].messageText) + .toBe( + 'Unable to evaluate function call of complex function. A function must have exactly one return statement.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('complex()'); + + expect(trace[1].messageText).toBe('Function is declared here.'); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[1])).toContain(`console.log('test');`); + }); + + it('should trace object destructuring of external reference', () => { + const trace = traceExpression('const {body: {firstChild}} = document;', 'firstChild'); + + expect(trace.length).toBe(2); + expect(trace[0].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('body: {firstChild}'); + + expect(trace[1].messageText) + .toBe( + `A value for 'document' cannot be determined statically, as it is an external declaration.`); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/lib.d.ts')); + expect(getSourceCode(trace[1])).toBe('document: any'); + }); + + it('should trace deep object destructuring of external reference', () => { + const trace = + traceExpression('const {doc: {body: {firstChild}}} = {doc: document};', 'firstChild'); + + expect(trace.length).toBe(2); + expect(trace[0].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('body: {firstChild}'); + + expect(trace[1].messageText) + .toBe( + `A value for 'document' cannot be determined statically, as it is an external declaration.`); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/lib.d.ts')); + expect(getSourceCode(trace[1])).toBe('document: any'); + }); + + it('should trace array destructuring of dynamic value', () => { + const trace = + traceExpression('const [firstChild] = document.body.childNodes;', 'firstChild'); + + expect(trace.length).toBe(3); + expect(trace[0].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[0].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[0])).toBe('firstChild'); + + expect(trace[1].messageText).toBe('Unable to evaluate this expression statically.'); + expect(absoluteFromSourceFile(trace[1].file!)).toBe(_('/entry.ts')); + expect(getSourceCode(trace[1])).toBe('document.body'); + + expect(trace[2].messageText) + .toBe( + `A value for 'document' cannot be determined statically, as it is an external declaration.`); + expect(absoluteFromSourceFile(trace[2].file!)).toBe(_('/lib.d.ts')); + expect(getSourceCode(trace[2])).toBe('document: any'); + }); + }); + } + }); +}); + +function getSourceCode(diag: ts.DiagnosticRelatedInformation): string { + const text = diag.file!.text; + return text.substr(diag.start!, diag.length!); +} + +function traceExpression(code: string, expr: string): ts.DiagnosticRelatedInformation[] { + const {program} = makeProgram( + [ + {name: _('/entry.ts'), contents: `${code}; const target$ = ${expr};`}, + {name: _('/lib.d.ts'), contents: `declare const document: any;`}, + ], + /* options */ undefined, /* host */ undefined, /* checkForErrors */ false); + const checker = program.getTypeChecker(); + const decl = getDeclaration(program, _('/entry.ts'), 'target$', ts.isVariableDeclaration); + const valueExpr = decl.initializer!; + + const reflectionHost = new TypeScriptReflectionHost(checker); + const evaluator = new PartialEvaluator(reflectionHost, checker, /* dependencyTracker */ null); + + const value = evaluator.evaluate(valueExpr); + if (!(value instanceof DynamicValue)) { + throw new Error('Expected DynamicValue'); + } + return traceDynamicValue(valueExpr, value); +} diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/test/evaluator_spec.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/evaluator_spec.ts index bf62189794..7c8d53e925 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/test/evaluator_spec.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/evaluator_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -200,6 +200,58 @@ runInEachFileSystem(() => { expect(evaluate('const a = null;', 'a')).toEqual(null); }); + it('supports destructuring array variable declarations', () => { + const code = ` + const [a, b, c, d] = [0, 1, 2, 3]; + const e = c; + `; + + expect(evaluate(code, 'a')).toBe(0); + expect(evaluate(code, 'b')).toBe(1); + expect(evaluate(code, 'c')).toBe(2); + expect(evaluate(code, 'd')).toBe(3); + expect(evaluate(code, 'e')).toBe(2); + }); + + it('supports destructuring object variable declaration', () => { + const code = ` + const {a, b, c, d} = {a: 0, b: 1, c: 2, d: 3}; + const e = c; + `; + + expect(evaluate(code, 'a')).toBe(0); + expect(evaluate(code, 'b')).toBe(1); + expect(evaluate(code, 'c')).toBe(2); + expect(evaluate(code, 'd')).toBe(3); + expect(evaluate(code, 'e')).toBe(2); + }); + + it('supports destructuring object variable declaration with an alias', () => { + expect(evaluate(`const {a: value} = {a: 5}; const e = value;`, 'e')).toBe(5); + }); + + it('supports nested destructuring object variable declarations', () => { + expect(evaluate(`const {a: {b: {c}}} = {a: {b: {c: 0}}};`, 'c')).toBe(0); + }); + + it('supports nested destructuring array variable declarations', () => { + expect(evaluate(`const [[[a]]] = [[[1]]];`, 'a')).toBe(1); + }); + + it('supports nested destructuring variable declarations mixing arrays and objects', () => { + expect(evaluate(`const {a: {b: [[c]]}} = {a: {b: [[1337]]}};`, 'c')).toBe(1337); + }); + + it('resolves unknown values in a destructured variable declaration as dynamic values', () => { + const value = evaluate( + `const {a: {body}} = {a: window};`, 'body', + [{name: _('/window.ts'), contents: `declare const window: any;`}]); + if (!(value instanceof DynamicValue)) { + return fail(`Should have resolved to a DynamicValue`); + } + expect(value.node.getText()).toBe('body'); + }); + it('resolves unknown binary operators as dynamic value', () => { const value = evaluate('declare const window: any;', '"location" in window'); if (!(value instanceof DynamicValue)) { @@ -570,15 +622,18 @@ runInEachFileSystem(() => { expect(id.text).toEqual('Target'); }); - it('should resolve functions with more than one statement to an unknown value', () => { + it('should resolve functions with more than one statement to a complex function call', () => { const value = evaluate(`function foo(bar) { const b = bar; return b; }`, 'foo("test")'); if (!(value instanceof DynamicValue)) { return fail(`Should have resolved to a DynamicValue`); } - - expect(value.isFromUnknown()).toBe(true); + if (!value.isFromComplexFunctionCall()) { + return fail('Expected DynamicValue to be from complex function call'); + } expect((value.node as ts.CallExpression).expression.getText()).toBe('foo'); + expect((value.reason.node as ts.FunctionDeclaration).getText()) + .toContain('const b = bar; return b;'); }); describe('(with imported TypeScript helpers)', () => { diff --git a/packages/compiler-cli/src/ngtsc/partial_evaluator/test/utils.ts b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/utils.ts index 83578c36f0..38daf368e1 100644 --- a/packages/compiler-cli/src/ngtsc/partial_evaluator/test/utils.ts +++ b/packages/compiler-cli/src/ngtsc/partial_evaluator/test/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/perf/index.ts b/packages/compiler-cli/src/ngtsc/perf/index.ts index 93a74db5b6..9f5b7ce343 100644 --- a/packages/compiler-cli/src/ngtsc/perf/index.ts +++ b/packages/compiler-cli/src/ngtsc/perf/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/perf/src/api.ts b/packages/compiler-cli/src/ngtsc/perf/src/api.ts index c41b842523..73875e88cb 100644 --- a/packages/compiler-cli/src/ngtsc/perf/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/perf/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/perf/src/clock.ts b/packages/compiler-cli/src/ngtsc/perf/src/clock.ts index b5fa2fab74..5f5e23f1c7 100644 --- a/packages/compiler-cli/src/ngtsc/perf/src/clock.ts +++ b/packages/compiler-cli/src/ngtsc/perf/src/clock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/perf/src/noop.ts b/packages/compiler-cli/src/ngtsc/perf/src/noop.ts index 8cd7c799c5..151a1af7ee 100644 --- a/packages/compiler-cli/src/ngtsc/perf/src/noop.ts +++ b/packages/compiler-cli/src/ngtsc/perf/src/noop.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/perf/src/tracking.ts b/packages/compiler-cli/src/ngtsc/perf/src/tracking.ts index 80c4a8d32d..e1d8a4a6f3 100644 --- a/packages/compiler-cli/src/ngtsc/perf/src/tracking.ts +++ b/packages/compiler-cli/src/ngtsc/perf/src/tracking.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/program.ts b/packages/compiler-cli/src/ngtsc/program.ts index 6153e6854f..bf81c77638 100644 --- a/packages/compiler-cli/src/ngtsc/program.ts +++ b/packages/compiler-cli/src/ngtsc/program.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,8 +14,10 @@ import {verifySupportedTypeScriptVersion} from '../typescript_support'; import {NgCompiler, NgCompilerHost} from './core'; import {NgCompilerOptions} from './core/api'; +import {TrackedIncrementalBuildStrategy} from './incremental'; import {IndexedComponent} from './indexer'; import {NOOP_PERF_RECORDER, PerfRecorder, PerfTracker} from './perf'; +import {retagAllTsFiles, untagAllTsFiles} from './shims'; import {ReusedProgramStrategy} from './typecheck'; @@ -51,6 +53,7 @@ export class NgtscProgram implements api.Program { private host: NgCompilerHost; private perfRecorder: PerfRecorder = NOOP_PERF_RECORDER; private perfTracker: PerfTracker|null = null; + private incrementalStrategy: TrackedIncrementalBuildStrategy; constructor( rootNames: ReadonlyArray, private options: NgCompilerOptions, @@ -66,26 +69,47 @@ export class NgtscProgram implements api.Program { } this.closureCompilerEnabled = !!options.annotateForClosureCompiler; - const reuseProgram = oldProgram && oldProgram.reuseTsProgram; + const reuseProgram = oldProgram?.reuseTsProgram; this.host = NgCompilerHost.wrap(delegateHost, rootNames, options, reuseProgram ?? null); + if (reuseProgram !== undefined) { + // Prior to reusing the old program, restore shim tagging for all its `ts.SourceFile`s. + // TypeScript checks the `referencedFiles` of `ts.SourceFile`s for changes when evaluating + // incremental reuse of data from the old program, so it's important that these match in order + // to get the most benefit out of reuse. + retagAllTsFiles(reuseProgram); + } + this.tsProgram = ts.createProgram(this.host.inputFiles, options, this.host, reuseProgram); this.reuseTsProgram = this.tsProgram; this.host.postProgramCreationCleanup(); + // Shim tagging has served its purpose, and tags can now be removed from all `ts.SourceFile`s in + // the program. + untagAllTsFiles(this.tsProgram); + const reusedProgramStrategy = new ReusedProgramStrategy( this.tsProgram, this.host, this.options, this.host.shimExtensionPrefixes); + this.incrementalStrategy = oldProgram !== undefined ? + oldProgram.incrementalStrategy.toNextBuildStrategy() : + new TrackedIncrementalBuildStrategy(); + // Create the NgCompiler which will drive the rest of the compilation. this.compiler = new NgCompiler( - this.host, options, this.tsProgram, reusedProgramStrategy, reuseProgram, this.perfRecorder); + this.host, options, this.tsProgram, reusedProgramStrategy, this.incrementalStrategy, + reuseProgram, this.perfRecorder); } getTsProgram(): ts.Program { return this.tsProgram; } + getReuseTsProgram(): ts.Program { + return this.reuseTsProgram; + } + getTsOptionDiagnostics(cancellationToken?: ts.CancellationToken| undefined): readonly ts.Diagnostic[] { return this.tsProgram.getOptionsDiagnostics(cancellationToken); @@ -241,6 +265,7 @@ export class NgtscProgram implements api.Program { })); this.perfRecorder.stop(fileEmitSpan); } + this.perfRecorder.stop(emitSpan); if (this.perfTracker !== null && this.options.tracePerformance !== undefined) { diff --git a/packages/compiler-cli/src/ngtsc/reflection/index.ts b/packages/compiler-cli/src/ngtsc/reflection/index.ts index 12de1d3320..0cd1eae59d 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/index.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/reflection/src/host.ts b/packages/compiler-cli/src/ngtsc/reflection/src/host.ts index e07d6eade8..b9174520b6 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/src/host.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/src/host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.ts b/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.ts index 4b1ecb5f68..8b71bb3f49 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/reflection/src/typescript.ts b/packages/compiler-cli/src/ngtsc/reflection/src/typescript.ts index 07bf421ef7..2bdcb11404 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/src/typescript.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/src/typescript.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import * as ts from 'typescript'; import {ClassDeclaration, ClassMember, ClassMemberKind, CtorParameter, Declaration, Decorator, FunctionDefinition, Import, isDecoratorIdentifier, ReflectionHost} from './host'; import {typeToValue} from './type_to_value'; +import {isNamedClassDeclaration} from './util'; /** * reflector.ts implements static reflection of declarations using the TypeScript `ts.TypeChecker`. @@ -121,15 +122,13 @@ export class TypeScriptReflectionHost implements ReflectionHost { } isClass(node: ts.Node): node is ClassDeclaration { - // In TypeScript code, classes are ts.ClassDeclarations. - // (`name` can be undefined in unnamed default exports: `default export class { ... }`) - return ts.isClassDeclaration(node) && (node.name !== undefined) && ts.isIdentifier(node.name); + // For our purposes, classes are "named" ts.ClassDeclarations; + // (`node.name` can be undefined in unnamed default exports: `default export class { ... }`). + return isNamedClassDeclaration(node); } hasBaseClass(clazz: ClassDeclaration): boolean { - return (ts.isClassDeclaration(clazz) || ts.isClassExpression(clazz)) && - clazz.heritageClauses !== undefined && - clazz.heritageClauses.some(clause => clause.token === ts.SyntaxKind.ExtendsKeyword); + return this.getBaseClassExpression(clazz) !== null; } getBaseClassExpression(clazz: ClassDeclaration): ts.Expression|null { diff --git a/packages/compiler-cli/src/ngtsc/reflection/src/util.ts b/packages/compiler-cli/src/ngtsc/reflection/src/util.ts index b75fee2632..f49d0b531e 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/reflection/test/ts_host_spec.ts b/packages/compiler-cli/src/ngtsc/reflection/test/ts_host_spec.ts index e9830f2160..1093fe257d 100644 --- a/packages/compiler-cli/src/ngtsc/reflection/test/ts_host_spec.ts +++ b/packages/compiler-cli/src/ngtsc/reflection/test/ts_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/resource/index.ts b/packages/compiler-cli/src/ngtsc/resource/index.ts index 8a2e80db12..249715f182 100644 --- a/packages/compiler-cli/src/ngtsc/resource/index.ts +++ b/packages/compiler-cli/src/ngtsc/resource/index.ts @@ -1,9 +1,9 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {HostResourceLoader} from './src/loader'; +export {AdapterResourceLoader} from './src/loader'; diff --git a/packages/compiler-cli/src/ngtsc/resource/src/loader.ts b/packages/compiler-cli/src/ngtsc/resource/src/loader.ts index 67a698b534..8b94187c9d 100644 --- a/packages/compiler-cli/src/ngtsc/resource/src/loader.ts +++ b/packages/compiler-cli/src/ngtsc/resource/src/loader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,26 +9,21 @@ import * as ts from 'typescript'; import {ResourceLoader} from '../../annotations'; -import {ExtendedTsCompilerHost} from '../../core/api'; +import {NgCompilerAdapter} from '../../core/api'; import {AbsoluteFsPath, join, PathSegment} from '../../file_system'; -import {getRootDirs} from '../../util/src/typescript'; const CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/; /** - * `ResourceLoader` which delegates to a `CompilerHost` resource loading method. + * `ResourceLoader` which delegates to an `NgCompilerAdapter`'s resource loading methods. */ -export class HostResourceLoader implements ResourceLoader { +export class AdapterResourceLoader implements ResourceLoader { private cache = new Map(); private fetching = new Map>(); - private rootDirs: AbsoluteFsPath[]; + canPreload = !!this.adapter.readResource; - canPreload = !!this.host.readResource; - - constructor(private host: ExtendedTsCompilerHost, private options: ts.CompilerOptions) { - this.rootDirs = getRootDirs(host, options); - } + constructor(private adapter: NgCompilerAdapter, private options: ts.CompilerOptions) {} /** * Resolve the url of a resource relative to the file that contains the reference to it. @@ -44,8 +39,8 @@ export class HostResourceLoader implements ResourceLoader { */ resolve(url: string, fromFile: string): string { let resolvedUrl: string|null = null; - if (this.host.resourceNameToFileName) { - resolvedUrl = this.host.resourceNameToFileName(url, fromFile); + if (this.adapter.resourceNameToFileName) { + resolvedUrl = this.adapter.resourceNameToFileName(url, fromFile); } else { resolvedUrl = this.fallbackResolve(url, fromFile); } @@ -67,7 +62,7 @@ export class HostResourceLoader implements ResourceLoader { * @throws An Error if pre-loading is not available. */ preload(resolvedUrl: string): Promise|undefined { - if (!this.host.readResource) { + if (!this.adapter.readResource) { throw new Error( 'HostResourceLoader: the CompilerHost provided does not support pre-loading resources.'); } @@ -77,7 +72,7 @@ export class HostResourceLoader implements ResourceLoader { return this.fetching.get(resolvedUrl); } - const result = this.host.readResource(resolvedUrl); + const result = this.adapter.readResource(resolvedUrl); if (typeof result === 'string') { this.cache.set(resolvedUrl, result); return undefined; @@ -104,8 +99,8 @@ export class HostResourceLoader implements ResourceLoader { return this.cache.get(resolvedUrl)!; } - const result = this.host.readResource ? this.host.readResource(resolvedUrl) : - this.host.readFile(resolvedUrl); + const result = this.adapter.readResource ? this.adapter.readResource(resolvedUrl) : + this.adapter.readFile(resolvedUrl); if (typeof result !== 'string') { throw new Error(`HostResourceLoader: loader(${resolvedUrl}) returned a Promise`); } @@ -134,7 +129,7 @@ export class HostResourceLoader implements ResourceLoader { } for (const candidate of candidateLocations) { - if (this.host.fileExists(candidate)) { + if (this.adapter.fileExists(candidate)) { return candidate; } else if (CSS_PREPROCESSOR_EXT.test(candidate)) { /** @@ -143,7 +138,7 @@ export class HostResourceLoader implements ResourceLoader { * again. */ const cssFallbackUrl = candidate.replace(CSS_PREPROCESSOR_EXT, '.css'); - if (this.host.fileExists(cssFallbackUrl)) { + if (this.adapter.fileExists(cssFallbackUrl)) { return cssFallbackUrl; } } @@ -154,7 +149,7 @@ export class HostResourceLoader implements ResourceLoader { private getRootedCandidateLocations(url: string): AbsoluteFsPath[] { // The path already starts with '/', so add a '.' to make it relative. const segment: PathSegment = ('.' + url) as PathSegment; - return this.rootDirs.map(rootDir => join(rootDir, segment)); + return this.adapter.rootDirs.map(rootDir => join(rootDir, segment)); } /** @@ -172,7 +167,7 @@ export class HostResourceLoader implements ResourceLoader { ts.ResolvedModuleWithFailedLookupLocations&{failedLookupLocations: ReadonlyArray}; // clang-format off - const failedLookup = ts.resolveModuleName(url + '.$ngresource$', fromFile, this.options, this.host) as ResolvedModuleWithFailedLookupLocations; + const failedLookup = ts.resolveModuleName(url + '.$ngresource$', fromFile, this.options, this.adapter) as ResolvedModuleWithFailedLookupLocations; // clang-format on if (failedLookup.failedLookupLocations === undefined) { throw new Error( diff --git a/packages/compiler-cli/src/ngtsc/routing/index.ts b/packages/compiler-cli/src/ngtsc/routing/index.ts index fbab4f94c7..7f0fc5ae0a 100644 --- a/packages/compiler-cli/src/ngtsc/routing/index.ts +++ b/packages/compiler-cli/src/ngtsc/routing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/routing/src/analyzer.ts b/packages/compiler-cli/src/ngtsc/routing/src/analyzer.ts index f51ffb6d0d..a148c39652 100644 --- a/packages/compiler-cli/src/ngtsc/routing/src/analyzer.ts +++ b/packages/compiler-cli/src/ngtsc/routing/src/analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/routing/src/lazy.ts b/packages/compiler-cli/src/ngtsc/routing/src/lazy.ts index 39b4ba334c..a8cd76d88a 100644 --- a/packages/compiler-cli/src/ngtsc/routing/src/lazy.ts +++ b/packages/compiler-cli/src/ngtsc/routing/src/lazy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/routing/src/route.ts b/packages/compiler-cli/src/ngtsc/routing/src/route.ts index d6f11b9a6e..3f35338ed3 100644 --- a/packages/compiler-cli/src/ngtsc/routing/src/route.ts +++ b/packages/compiler-cli/src/ngtsc/routing/src/route.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/index.ts b/packages/compiler-cli/src/ngtsc/scope/index.ts index 3d433fba0d..814ae3a8f0 100644 --- a/packages/compiler-cli/src/ngtsc/scope/index.ts +++ b/packages/compiler-cli/src/ngtsc/scope/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/src/api.ts b/packages/compiler-cli/src/ngtsc/scope/src/api.ts index 64fd1fb5e9..73c59fd9a1 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/src/component_scope.ts b/packages/compiler-cli/src/ngtsc/scope/src/component_scope.ts index 77a28aa499..7daef581f8 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/component_scope.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/component_scope.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/src/dependency.ts b/packages/compiler-cli/src/ngtsc/scope/src/dependency.ts index afe0354d77..d6c073dc05 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/dependency.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/dependency.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/src/local.ts b/packages/compiler-cli/src/ngtsc/scope/src/local.ts index e4427c7e50..985058a157 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/local.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/local.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,7 +9,7 @@ import {ExternalExpr, SchemaMetadata} from '@angular/compiler'; import * as ts from 'typescript'; -import {ErrorCode, makeDiagnostic} from '../../diagnostics'; +import {ErrorCode, makeDiagnostic, makeRelatedInformation} from '../../diagnostics'; import {AliasingHost, Reexport, Reference, ReferenceEmitter} from '../../imports'; import {DirectiveMeta, MetadataReader, MetadataRegistry, NgModuleMeta, PipeMeta} from '../../metadata'; import {ClassDeclaration} from '../../reflection'; @@ -358,7 +358,8 @@ export class LocalModuleScopeRegistry implements MetadataRegistry, ComponentScop ngModule.ref.node.name .text}', but is not a directive, a component, or a pipe. ` + `Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.`, - [{node: decl.node.name, messageText: `'${decl.node.name.text}' is declared here.`}])); + [makeRelatedInformation( + decl.node.name, `'${decl.node.name.text}' is declared here.`)])); continue; } @@ -643,8 +644,8 @@ function reexportCollision( To fix this problem please re-export one or both classes directly from this file. `.trim(), [ - {node: refA.node.name, messageText: childMessageText}, - {node: refB.node.name, messageText: childMessageText}, + makeRelatedInformation(refA.node.name, childMessageText), + makeRelatedInformation(refB.node.name, childMessageText), ]); } diff --git a/packages/compiler-cli/src/ngtsc/scope/test/dependency_spec.ts b/packages/compiler-cli/src/ngtsc/scope/test/dependency_spec.ts index 512d5bb966..861348c039 100644 --- a/packages/compiler-cli/src/ngtsc/scope/test/dependency_spec.ts +++ b/packages/compiler-cli/src/ngtsc/scope/test/dependency_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/scope/test/local_spec.ts b/packages/compiler-cli/src/ngtsc/scope/test/local_spec.ts index a496754060..7e98f45aa9 100644 --- a/packages/compiler-cli/src/ngtsc/scope/test/local_spec.ts +++ b/packages/compiler-cli/src/ngtsc/scope/test/local_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/shims/api.ts b/packages/compiler-cli/src/ngtsc/shims/api.ts index 3409185ab6..68cfbdb017 100644 --- a/packages/compiler-cli/src/ngtsc/shims/api.ts +++ b/packages/compiler-cli/src/ngtsc/shims/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -49,3 +49,22 @@ export interface PerFileShimGenerator { sf: ts.SourceFile, genFilePath: AbsoluteFsPath, priorShimSf: ts.SourceFile|null): ts.SourceFile; } + +/** + * Maintains a mapping of which symbols in a .ngfactory file have been used. + * + * .ngfactory files are generated with one symbol per defined class in the source file, regardless + * of whether the classes in the source files are NgModules (because that isn't known at the time + * the factory files are generated). A `FactoryTracker` supports removing factory symbols which + * didn't end up being NgModules, by tracking the ones which are. + */ +export interface FactoryTracker { + readonly sourceInfo: Map; + + track(sf: ts.SourceFile, factorySymbolName: string): void; +} + +export interface FactoryInfo { + sourceFilePath: string; + moduleSymbolNames: Set; +} \ No newline at end of file diff --git a/packages/compiler-cli/src/ngtsc/shims/index.ts b/packages/compiler-cli/src/ngtsc/shims/index.ts index 0090e22736..9cc388f5b7 100644 --- a/packages/compiler-cli/src/ngtsc/shims/index.ts +++ b/packages/compiler-cli/src/ngtsc/shims/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,9 +8,8 @@ /// -export {PerFileShimGenerator, TopLevelShimGenerator} from './api'; export {ShimAdapter} from './src/adapter'; -export {copyFileShimData, isShim} from './src/expando'; -export {FactoryGenerator, FactoryInfo, FactoryTracker, generatedFactoryTransform} from './src/factory_generator'; +export {copyFileShimData, isShim, retagAllTsFiles, retagTsFile, sfExtensionData, untagAllTsFiles, untagTsFile} from './src/expando'; +export {FactoryGenerator, generatedFactoryTransform} from './src/factory_generator'; export {ShimReferenceTagger} from './src/reference_tagger'; export {SummaryGenerator} from './src/summary_generator'; diff --git a/packages/compiler-cli/src/ngtsc/shims/src/adapter.ts b/packages/compiler-cli/src/ngtsc/shims/src/adapter.ts index 2e5d54bb43..ab4494568d 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/adapter.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,7 +12,7 @@ import {absoluteFrom, absoluteFromSourceFile, AbsoluteFsPath} from '../../file_s import {isDtsPath} from '../../util/src/typescript'; import {PerFileShimGenerator, TopLevelShimGenerator} from '../api'; -import {isFileShimSourceFile, isShim, NgExtension, sfExtensionData} from './expando'; +import {isFileShimSourceFile, isShim, sfExtensionData} from './expando'; import {makeShimFileName} from './util'; interface ShimGeneratorData { diff --git a/packages/compiler-cli/src/ngtsc/shims/src/expando.ts b/packages/compiler-cli/src/ngtsc/shims/src/expando.ts index 1f5565d95a..3d03ce42ba 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/expando.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/expando.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,7 +21,16 @@ export const NgExtension = Symbol('NgExtension'); export interface NgExtensionData { isTopLevelShim: boolean; fileShim: NgFileShimData|null; + + /** + * The contents of the `referencedFiles` array, before modification by a `ShimReferenceTagger`. + */ originalReferencedFiles: ReadonlyArray|null; + + /** + * The contents of the `referencedFiles` array, after modification by a `ShimReferenceTagger`. + */ + taggedReferenceFiles: ReadonlyArray|null; } /** @@ -65,6 +74,7 @@ export function sfExtensionData(sf: ts.SourceFile): NgExtensionData { isTopLevelShim: false, fileShim: null, originalReferencedFiles: null, + taggedReferenceFiles: null, }; extSf[NgExtension] = extension; return extension; @@ -110,3 +120,53 @@ export function copyFileShimData(from: ts.SourceFile, to: ts.SourceFile): void { } sfExtensionData(to).fileShim = sfExtensionData(from).fileShim; } + +/** + * For those `ts.SourceFile`s in the `program` which have previously been tagged by a + * `ShimReferenceTagger`, restore the original `referencedFiles` array that does not have shim tags. + */ +export function untagAllTsFiles(program: ts.Program): void { + for (const sf of program.getSourceFiles()) { + untagTsFile(sf); + } +} + +/** + * For those `ts.SourceFile`s in the `program` which have previously been tagged by a + * `ShimReferenceTagger`, re-apply the effects of tagging by updating the `referencedFiles` array to + * the tagged version produced previously. + */ +export function retagAllTsFiles(program: ts.Program): void { + for (const sf of program.getSourceFiles()) { + retagTsFile(sf); + } +} + +/** + * Restore the original `referencedFiles` for the given `ts.SourceFile`. + */ +export function untagTsFile(sf: ts.SourceFile): void { + if (sf.isDeclarationFile || !isExtended(sf)) { + return; + } + + const ext = sfExtensionData(sf); + if (ext.originalReferencedFiles !== null) { + sf.referencedFiles = ext.originalReferencedFiles as Array; + } +} + +/** + * Apply the previously tagged `referencedFiles` to the given `ts.SourceFile`, if it was previously + * tagged. + */ +export function retagTsFile(sf: ts.SourceFile): void { + if (sf.isDeclarationFile || !isExtended(sf)) { + return; + } + + const ext = sfExtensionData(sf); + if (ext.taggedReferenceFiles !== null) { + sf.referencedFiles = ext.taggedReferenceFiles as Array; + } +} diff --git a/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.ts b/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.ts index f3977947f8..8e54e282a5 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,27 +9,13 @@ import * as ts from 'typescript'; import {absoluteFromSourceFile, AbsoluteFsPath, basename} from '../../file_system'; import {ImportRewriter} from '../../imports'; -import {PerFileShimGenerator} from '../api'; +import {FactoryInfo, FactoryTracker, PerFileShimGenerator} from '../api'; import {generatedModuleName} from './util'; const TS_DTS_SUFFIX = /(\.d)?\.ts$/; const STRIP_NG_FACTORY = /(.*)NgFactory$/; -/** - * Maintains a mapping of which symbols in a .ngfactory file have been used. - * - * .ngfactory files are generated with one symbol per defined class in the source file, regardless - * of whether the classes in the source files are NgModules (because that isn't known at the time - * the factory files are generated). A `FactoryTracker` supports removing factory symbols which - * didn't end up being NgModules, by tracking the ones which are. - */ -export interface FactoryTracker { - readonly sourceInfo: Map; - - track(sf: ts.SourceFile, factorySymbolName: string): void; -} - /** * Generates ts.SourceFiles which contain variable declarations for NgFactories for every exported * class of an input ts.SourceFile. @@ -118,11 +104,6 @@ function isExported(decl: ts.Declaration): boolean { decl.modifiers.some(mod => mod.kind == ts.SyntaxKind.ExportKeyword); } -export interface FactoryInfo { - sourceFilePath: string; - moduleSymbolNames: Set; -} - export function generatedFactoryTransform( factoryMap: Map, importRewriter: ImportRewriter): ts.TransformerFactory { diff --git a/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.ts b/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.ts index ceecb0c514..3e0a3fe428 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,10 +8,10 @@ import * as ts from 'typescript'; -import {absoluteFrom, absoluteFromSourceFile} from '../../file_system'; +import {absoluteFromSourceFile} from '../../file_system'; import {isNonDeclarationTsPath} from '../../util/src/typescript'; -import {isExtended as isExtendedSf, isShim, NgExtension, sfExtensionData} from './expando'; +import {isShim, sfExtensionData} from './expando'; import {makeShimFileName} from './util'; /** @@ -48,8 +48,16 @@ export class ShimReferenceTagger { return; } - sfExtensionData(sf).originalReferencedFiles = sf.referencedFiles; - const referencedFiles = [...sf.referencedFiles]; + const ext = sfExtensionData(sf); + + // If this file has never been tagged before, capture its `referencedFiles` in the extension + // data. + if (ext.originalReferencedFiles === null) { + ext.originalReferencedFiles = sf.referencedFiles; + } + + const referencedFiles = [...ext.originalReferencedFiles]; + const sfPath = absoluteFromSourceFile(sf); for (const suffix of this.suffixes) { @@ -60,26 +68,16 @@ export class ShimReferenceTagger { }); } + ext.taggedReferenceFiles = referencedFiles; sf.referencedFiles = referencedFiles; this.tagged.add(sf); } /** - * Restore the original `referencedFiles` values of all tagged `ts.SourceFile`s and disable the - * `ShimReferenceTagger`. + * Disable the `ShimReferenceTagger` and free memory associated with tracking tagged files. */ finalize(): void { this.enabled = false; - for (const sf of this.tagged) { - if (!isExtendedSf(sf)) { - continue; - } - - const extensionData = sfExtensionData(sf); - if (extensionData.originalReferencedFiles !== null) { - sf.referencedFiles = extensionData.originalReferencedFiles! as ts.FileReference[]; - } - } this.tagged.clear(); } } diff --git a/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.ts b/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.ts index caaa5f4ebc..1b2634d398 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/shims/src/util.ts b/packages/compiler-cli/src/ngtsc/shims/src/util.ts index a3f423f1c5..77407e54a1 100644 --- a/packages/compiler-cli/src/ngtsc/shims/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/shims/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/shims/test/adapter_spec.ts b/packages/compiler-cli/src/ngtsc/shims/test/adapter_spec.ts index 394c5567bd..39c491d6e2 100644 --- a/packages/compiler-cli/src/ngtsc/shims/test/adapter_spec.ts +++ b/packages/compiler-cli/src/ngtsc/shims/test/adapter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/shims/test/reference_tagger_spec.ts b/packages/compiler-cli/src/ngtsc/shims/test/reference_tagger_spec.ts index 72b96cf84a..807d0996f9 100644 --- a/packages/compiler-cli/src/ngtsc/shims/test/reference_tagger_spec.ts +++ b/packages/compiler-cli/src/ngtsc/shims/test/reference_tagger_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,6 +12,7 @@ import {absoluteFrom as _, AbsoluteFsPath, getSourceFileOrError} from '../../fil import {runInEachFileSystem} from '../../file_system/testing'; import {makeProgram} from '../../testing'; import {ShimAdapter} from '../src/adapter'; +import {retagTsFile, untagTsFile} from '../src/expando'; import {ShimReferenceTagger} from '../src/reference_tagger'; import {TestShimGenerator} from './util'; @@ -67,40 +68,6 @@ runInEachFileSystem(() => { expect(shimSf.referencedFiles).toEqual([]); }); - it('should remove tags during finalization', () => { - const tagger = new ShimReferenceTagger(['test1', 'test2']); - - const fileName = _('/file.ts'); - const sf = makeArbitrarySf(fileName); - - expectReferencedFiles(sf, []); - - tagger.tag(sf); - expectReferencedFiles(sf, ['/file.test1.ts', '/file.test2.ts']); - - tagger.finalize(); - expectReferencedFiles(sf, []); - }); - - it('should not remove references it did not add during finalization', () => { - const tagger = new ShimReferenceTagger(['test1', 'test2']); - const fileName = _('/file.ts'); - const libFileName = _('/lib.d.ts'); - - const sf = makeSf(fileName, ` - /// - export const UNIMPORTANT = true; - `); - - expectReferencedFiles(sf, [libFileName]); - - tagger.tag(sf); - expectReferencedFiles(sf, ['/file.test1.ts', '/file.test2.ts', libFileName]); - - tagger.finalize(); - expectReferencedFiles(sf, [libFileName]); - }); - it('should not tag shims after finalization', () => { const tagger = new ShimReferenceTagger(['test1', 'test2']); tagger.finalize(); @@ -111,6 +78,56 @@ runInEachFileSystem(() => { tagger.tag(sf); expectReferencedFiles(sf, []); }); + + it('should not overwrite original referencedFiles', () => { + const tagger = new ShimReferenceTagger(['test']); + + const fileName = _('/file.ts'); + const sf = makeArbitrarySf(fileName); + sf.referencedFiles = [{ + fileName: _('/other.ts'), + pos: 0, + end: 0, + }]; + + tagger.tag(sf); + expectReferencedFiles(sf, ['/other.ts', '/file.test.ts']); + }); + + it('should always tag against the original referencedFiles', () => { + const tagger1 = new ShimReferenceTagger(['test1']); + const tagger2 = new ShimReferenceTagger(['test2']); + + const fileName = _('/file.ts'); + const sf = makeArbitrarySf(fileName); + + tagger1.tag(sf); + tagger2.tag(sf); + expectReferencedFiles(sf, ['/file.test2.ts']); + }); + + describe('tagging and untagging', () => { + it('should be able to untag references and retag them later', () => { + const tagger = new ShimReferenceTagger(['test']); + + const fileName = _('/file.ts'); + const sf = makeArbitrarySf(fileName); + sf.referencedFiles = [{ + fileName: _('/other.ts'), + pos: 0, + end: 0, + }]; + + tagger.tag(sf); + expectReferencedFiles(sf, ['/other.ts', '/file.test.ts']); + + untagTsFile(sf); + expectReferencedFiles(sf, ['/other.ts']); + + retagTsFile(sf); + expectReferencedFiles(sf, ['/other.ts', '/file.test.ts']); + }); + }); }); }); diff --git a/packages/compiler-cli/src/ngtsc/shims/test/util.ts b/packages/compiler-cli/src/ngtsc/shims/test/util.ts index 88211f09f4..ad23563982 100644 --- a/packages/compiler-cli/src/ngtsc/shims/test/util.ts +++ b/packages/compiler-cli/src/ngtsc/shims/test/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/shims/test/util_spec.ts b/packages/compiler-cli/src/ngtsc/shims/test/util_spec.ts index 568204abfa..d19d50480a 100644 --- a/packages/compiler-cli/src/ngtsc/shims/test/util_spec.ts +++ b/packages/compiler-cli/src/ngtsc/shims/test/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/sourcemaps/BUILD.bazel b/packages/compiler-cli/src/ngtsc/sourcemaps/BUILD.bazel new file mode 100644 index 0000000000..f4d1adee28 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/BUILD.bazel @@ -0,0 +1,18 @@ +load("//tools:defaults.bzl", "ts_library") + +package(default_visibility = ["//visibility:public"]) + +ts_library( + name = "sourcemaps", + srcs = ["index.ts"] + glob([ + "src/**/*.ts", + ]), + deps = [ + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/logging", + "@npm//@types/convert-source-map", + "@npm//@types/node", + "@npm//source-map", + "@npm//sourcemap-codec", + ], +) diff --git a/packages/compiler-cli/src/ngtsc/sourcemaps/README.md b/packages/compiler-cli/src/ngtsc/sourcemaps/README.md new file mode 100644 index 0000000000..22ec327b30 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/README.md @@ -0,0 +1,3 @@ +# Source-map handling + +Here there are classes for loading and merging source-maps. \ No newline at end of file diff --git a/packages/compiler-cli/src/ngtsc/sourcemaps/index.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/index.ts new file mode 100644 index 0000000000..583e3b1a0c --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/index.ts @@ -0,0 +1,10 @@ +/** + * @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 {RawSourceMap} from './src/raw_source_map'; +export {Mapping, SourceFile} from './src/source_file'; +export {SourceFileLoader} from './src/source_file_loader'; diff --git a/packages/compiler-cli/ngcc/src/sourcemaps/raw_source_map.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/src/raw_source_map.ts similarity index 91% rename from packages/compiler-cli/ngcc/src/sourcemaps/raw_source_map.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/src/raw_source_map.ts index 4079d920ee..1a5e86369b 100644 --- a/packages/compiler-cli/ngcc/src/sourcemaps/raw_source_map.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/src/raw_source_map.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/sourcemaps/segment_marker.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.ts similarity index 97% rename from packages/compiler-cli/ngcc/src/sourcemaps/segment_marker.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.ts index 2fa738ace3..82865869c6 100644 --- a/packages/compiler-cli/ngcc/src/sourcemaps/segment_marker.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/ngcc/src/sourcemaps/source_file.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts similarity index 89% rename from packages/compiler-cli/ngcc/src/sourcemaps/source_file.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts index f860d162fc..02589d6470 100644 --- a/packages/compiler-cli/ngcc/src/sourcemaps/source_file.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {removeComments, removeMapFileComments} from 'convert-source-map'; import {decode, encode, SourceMapMappings, SourceMapSegment} from 'sourcemap-codec'; -import {AbsoluteFsPath, dirname, relative} from '../../../src/ngtsc/file_system'; +import {AbsoluteFsPath, dirname, relative} from '../../file_system'; import {RawSourceMap} from './raw_source_map'; import {compareSegments, offsetSegment, SegmentMarker} from './segment_marker'; @@ -87,6 +87,48 @@ export class SourceFile { return sourceMap; } + /** + * Find the original mapped location for the given `line` and `column` in the generated file. + * + * First we search for a mapping whose generated segment is at or directly before the given + * location. Then we compute the offset between the given location and the matching generated + * segment. Finally we apply this offset to the original source segment to get the desired + * original location. + */ + getOriginalLocation(line: number, column: number): + {file: AbsoluteFsPath, line: number, column: number}|null { + if (this.flattenedMappings.length === 0) { + return null; + } + + let position: number; + if (line < this.startOfLinePositions.length) { + position = this.startOfLinePositions[line] + column; + } else { + // The line is off the end of the file, so just assume we are at the end of the file. + position = this.contents.length; + } + + const locationSegment: SegmentMarker = {line, column, position, next: undefined}; + + let mappingIndex = + findLastMappingIndexBefore(this.flattenedMappings, locationSegment, false, 0); + if (mappingIndex < 0) { + mappingIndex = 0; + } + const {originalSegment, originalSource, generatedSegment} = + this.flattenedMappings[mappingIndex]; + const offset = locationSegment.position - generatedSegment.position; + const offsetOriginalSegment = + offsetSegment(originalSource.startOfLinePositions, originalSegment, offset); + + return { + file: originalSource.sourcePath, + line: offsetOriginalSegment.line, + column: offsetOriginalSegment.column, + }; + } + /** * Flatten the parsed mappings for this source file, so that all the mappings are to pure original * source files with no transitive source maps. diff --git a/packages/compiler-cli/ngcc/src/sourcemaps/source_file_loader.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.ts similarity index 73% rename from packages/compiler-cli/ngcc/src/sourcemaps/source_file_loader.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.ts index 52a581c8bf..395a1ad62e 100644 --- a/packages/compiler-cli/ngcc/src/sourcemaps/source_file_loader.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.ts @@ -1,18 +1,20 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {commentRegex, fromComment, mapFileCommentRegex} from 'convert-source-map'; -import {absoluteFrom, AbsoluteFsPath, FileSystem} from '../../../src/ngtsc/file_system'; -import {Logger} from '../logging/logger'; +import {absoluteFrom, AbsoluteFsPath, FileSystem} from '../../file_system'; +import {Logger} from '../../logging'; import {RawSourceMap} from './raw_source_map'; import {SourceFile} from './source_file'; +const SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i; + /** * This class can be used to load a source file, its associated source map and any upstream sources. * @@ -25,7 +27,10 @@ import {SourceFile} from './source_file'; export class SourceFileLoader { private currentPaths: AbsoluteFsPath[] = []; - constructor(private fs: FileSystem, private logger: Logger) {} + constructor( + private fs: FileSystem, private logger: Logger, + /** A map of URL schemes to base paths. The scheme name should be lowercase. */ + private schemeMap: Record) {} /** * Load a source file, compute its source map, and recursively load any referenced source files. @@ -97,12 +102,16 @@ export class SourceFileLoader { * whose path is indicated in a comment or implied from the name of the source file itself. */ private loadSourceMap(sourcePath: AbsoluteFsPath, contents: string): MapAndPath|null { - const inline = commentRegex.exec(contents); + // Only consider a source-map comment from the last non-empty line of the file, in case there + // are embedded source-map comments elsewhere in the file (as can be the case with bundlers like + // webpack). + const lastLine = this.getLastNonEmptyLine(contents); + const inline = commentRegex.exec(lastLine); if (inline !== null) { return {map: fromComment(inline.pop()!).sourcemap, mapPath: null}; } - const external = mapFileCommentRegex.exec(contents); + const external = mapFileCommentRegex.exec(lastLine); if (external) { try { const fileName = external[1] || external[2]; @@ -128,9 +137,10 @@ export class SourceFileLoader { * source file and its associated source map. */ private processSources(basePath: AbsoluteFsPath, map: RawSourceMap): (SourceFile|null)[] { - const sourceRoot = this.fs.resolve(this.fs.dirname(basePath), map.sourceRoot || ''); + const sourceRoot = this.fs.resolve( + this.fs.dirname(basePath), this.replaceSchemeWithPath(map.sourceRoot || '')); return map.sources.map((source, index) => { - const path = this.fs.resolve(sourceRoot, source); + const path = this.fs.resolve(sourceRoot, this.replaceSchemeWithPath(source)); const content = map.sourcesContent && map.sourcesContent[index] || null; return this.loadSourceFile(path, content, null); }); @@ -168,6 +178,33 @@ export class SourceFileLoader { } this.currentPaths.push(path); } + + private getLastNonEmptyLine(contents: string): string { + let trailingWhitespaceIndex = contents.length - 1; + while (trailingWhitespaceIndex > 0 && + (contents[trailingWhitespaceIndex] === '\n' || + contents[trailingWhitespaceIndex] === '\r')) { + trailingWhitespaceIndex--; + } + let lastRealLineIndex = contents.lastIndexOf('\n', trailingWhitespaceIndex - 1); + if (lastRealLineIndex === -1) { + lastRealLineIndex = 0; + } + return contents.substr(lastRealLineIndex + 1); + } + + /** + * Replace any matched URL schemes with their corresponding path held in the schemeMap. + * + * Some build tools replace real file paths with scheme prefixed paths - e.g. `webpack://`. + * We use the `schemeMap` passed to this class to convert such paths to "real" file paths. + * In some cases, this is not possible, since the file was actually synthesized by the build tool. + * But the end result is better than prefixing the sourceRoot in front of the scheme. + */ + private replaceSchemeWithPath(path: string): string { + return path.replace( + SCHEME_MATCHER, (_: string, scheme: string) => this.schemeMap[scheme.toLowerCase()] || ''); + } } /** A small helper structure that is returned from `loadSourceMap()`. */ diff --git a/packages/compiler-cli/src/ngtsc/sourcemaps/test/BUILD.bazel b/packages/compiler-cli/src/ngtsc/sourcemaps/test/BUILD.bazel new file mode 100644 index 0000000000..d678c8a3cf --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/test/BUILD.bazel @@ -0,0 +1,28 @@ +load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") + +package(default_visibility = ["//visibility:public"]) + +ts_library( + name = "test_lib", + testonly = True, + srcs = glob([ + "**/*.ts", + ]), + deps = [ + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/src/ngtsc/logging/testing", + "//packages/compiler-cli/src/ngtsc/sourcemaps", + "@npm//@types/convert-source-map", + "@npm//convert-source-map", + "@npm//sourcemap-codec", + ], +) + +jasmine_node_test( + name = "test", + bootstrap = ["//tools/testing:node_no_angular_es5"], + deps = [ + ":test_lib", + ], +) diff --git a/packages/compiler-cli/ngcc/test/sourcemaps/segment_marker_spec.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/test/segment_marker_spec.ts similarity index 96% rename from packages/compiler-cli/ngcc/test/sourcemaps/segment_marker_spec.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/test/segment_marker_spec.ts index 8632643c28..d3fedc69b5 100644 --- a/packages/compiler-cli/ngcc/test/sourcemaps/segment_marker_spec.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/test/segment_marker_spec.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {compareSegments, offsetSegment} from '../../src/sourcemaps/segment_marker'; -import {computeStartOfLinePositions} from '../../src/sourcemaps/source_file'; +import {compareSegments, offsetSegment} from '../src/segment_marker'; +import {computeStartOfLinePositions} from '../src/source_file'; describe('SegmentMarker utils', () => { describe('compareSegments()', () => { @@ -106,4 +106,4 @@ describe('SegmentMarker utils', () => { .toEqual({line: 0, column: 5, position: 5, next: undefined}); }); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/ngcc/test/sourcemaps/source_file_loader_spec.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_loader_spec.ts similarity index 72% rename from packages/compiler-cli/ngcc/test/sourcemaps/source_file_loader_spec.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_loader_spec.ts index 47caddf9fa..9686355a5e 100644 --- a/packages/compiler-cli/ngcc/test/sourcemaps/source_file_loader_spec.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_loader_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, FileSystem, getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; import {fromObject} from 'convert-source-map'; -import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; -import {RawSourceMap} from '../../src/sourcemaps/raw_source_map'; -import {SourceFileLoader as SourceFileLoader} from '../../src/sourcemaps/source_file_loader'; -import {MockLogger} from '../helpers/mock_logger'; +import {absoluteFrom, FileSystem, getFileSystem} from '../../file_system'; +import {runInEachFileSystem} from '../../file_system/testing'; +import {MockLogger} from '../../logging/testing'; +import {RawSourceMap} from '../src/raw_source_map'; +import {SourceFileLoader as SourceFileLoader} from '../src/source_file_loader'; runInEachFileSystem(() => { describe('SourceFileLoader', () => { @@ -23,7 +23,7 @@ runInEachFileSystem(() => { fs = getFileSystem(); logger = new MockLogger(); _ = absoluteFrom; - registry = new SourceFileLoader(fs, logger); + registry = new SourceFileLoader(fs, logger, {webpack: _('/foo')}); }); describe('loadSourceFile', () => { @@ -63,6 +63,44 @@ runInEachFileSystem(() => { expect(sourceFile.rawMap).toEqual(sourceMap); }); + it('should only read source-map comments from the last line of a file', () => { + fs.ensureDir(_('/foo/src')); + const sourceMap = createRawSourceMap({file: 'index.js'}); + fs.writeFile(_('/foo/src/external.js.map'), JSON.stringify(sourceMap)); + const sourceFile = registry.loadSourceFile(_('/foo/src/index.js'), [ + 'some content', + '//# sourceMappingURL=bad.js.map', + 'some more content', + '//# sourceMappingURL=external.js.map', + ].join('\n')); + if (sourceFile === null) { + return fail('Expected source file to be defined'); + } + expect(sourceFile.rawMap).toEqual(sourceMap); + }); + + for (const eolMarker of ['\n', '\r\n']) { + it(`should only read source-map comments from the last non-blank line of a file [EOL marker: ${ + eolMarker === '\n' ? '\\n' : '\\r\\n'}]`, + () => { + fs.ensureDir(_('/foo/src')); + const sourceMap = createRawSourceMap({file: 'index.js'}); + fs.writeFile(_('/foo/src/external.js.map'), JSON.stringify(sourceMap)); + const sourceFile = registry.loadSourceFile(_('/foo/src/index.js'), [ + 'some content', + '//# sourceMappingURL=bad.js.map', + 'some more content', + '//# sourceMappingURL=external.js.map', + '', + '', + ].join(eolMarker)); + if (sourceFile === null) { + return fail('Expected source file to be defined'); + } + expect(sourceFile.rawMap).toEqual(sourceMap); + }); + } + it('should handle a missing external source map', () => { fs.ensureDir(_('/foo/src')); const sourceFile = registry.loadSourceFile( @@ -279,6 +317,59 @@ runInEachFileSystem(() => { expect(() => registry.loadSourceFile(aPath)).not.toThrow(); }); + + for (const {scheme, mappedPath} of + [{scheme: 'WEBPACK://', mappedPath: '/foo/src/index.ts'}, + {scheme: 'webpack://', mappedPath: '/foo/src/index.ts'}, + {scheme: 'missing://', mappedPath: '/src/index.ts'}, + ]) { + it(`should handle source paths that are protocol mapped [scheme:"${scheme}"]`, () => { + fs.ensureDir(_('/foo/src')); + + const indexSourceMap = createRawSourceMap({ + file: 'index.js', + sources: [`${scheme}/src/index.ts`], + 'sourcesContent': ['original content'] + }); + fs.writeFile(_('/foo/src/index.js.map'), JSON.stringify(indexSourceMap)); + const sourceFile = registry.loadSourceFile(_('/foo/src/index.js'), 'generated content'); + if (sourceFile === null) { + return fail('Expected source file to be defined'); + } + const originalSource = sourceFile.sources[0]; + if (originalSource === null) { + return fail('Expected source file to be defined'); + } + expect(originalSource.contents).toEqual('original content'); + expect(originalSource.sourcePath).toEqual(_(mappedPath)); + expect(originalSource.rawMap).toEqual(null); + expect(originalSource.sources).toEqual([]); + }); + + it(`should handle source roots that are protocol mapped [scheme:"${scheme}"]`, () => { + fs.ensureDir(_('/foo/src')); + + const indexSourceMap = createRawSourceMap({ + file: 'index.js', + sources: ['index.ts'], + 'sourcesContent': ['original content'], + sourceRoot: `${scheme}/src`, + }); + fs.writeFile(_('/foo/src/index.js.map'), JSON.stringify(indexSourceMap)); + const sourceFile = registry.loadSourceFile(_('/foo/src/index.js'), 'generated content'); + if (sourceFile === null) { + return fail('Expected source file to be defined'); + } + const originalSource = sourceFile.sources[0]; + if (originalSource === null) { + return fail('Expected source file to be defined'); + } + expect(originalSource.contents).toEqual('original content'); + expect(originalSource.sourcePath).toEqual(_(mappedPath)); + expect(originalSource.rawMap).toEqual(null); + expect(originalSource.sources).toEqual([]); + }); + } }); }); @@ -293,4 +384,4 @@ function createRawSourceMap(custom: Partial): RawSourceMap { 'mappings': '', ...custom }; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/ngcc/test/sourcemaps/source_file_spec.ts b/packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_spec.ts similarity index 78% rename from packages/compiler-cli/ngcc/test/sourcemaps/source_file_spec.ts rename to packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_spec.ts index 7b7f44c529..e11fd82488 100644 --- a/packages/compiler-cli/ngcc/test/sourcemaps/source_file_spec.ts +++ b/packages/compiler-cli/src/ngtsc/sourcemaps/test/source_file_spec.ts @@ -1,17 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {encode} from 'sourcemap-codec'; -import {absoluteFrom} from '../../../src/ngtsc/file_system'; -import {runInEachFileSystem} from '../../../src/ngtsc/file_system/testing'; -import {RawSourceMap} from '../../src/sourcemaps/raw_source_map'; -import {SegmentMarker} from '../../src/sourcemaps/segment_marker'; -import {computeStartOfLinePositions, ensureOriginalSegmentLinks, extractOriginalSegments, findLastMappingIndexBefore, Mapping, parseMappings, SourceFile} from '../../src/sourcemaps/source_file'; +import {absoluteFrom} from '../../file_system'; +import {runInEachFileSystem} from '../../file_system/testing'; +import {RawSourceMap} from '../src/raw_source_map'; +import {SegmentMarker} from '../src/segment_marker'; +import {computeStartOfLinePositions, ensureOriginalSegmentLinks, extractOriginalSegments, findLastMappingIndexBefore, Mapping, parseMappings, SourceFile} from '../src/source_file'; runInEachFileSystem(() => { describe('SourceFile and utilities', () => { @@ -518,6 +518,149 @@ runInEachFileSystem(() => { expect(aTocSourceMap.mappings).toEqual(aToBSourceMap.mappings); }); }); + + describe('getOriginalLocation()', () => { + it('should return null for source files with no flattened mappings', () => { + const sourceFile = + new SourceFile(_('/foo/src/index.js'), 'index contents', null, false, []); + expect(sourceFile.getOriginalLocation(1, 1)).toEqual(null); + }); + + it('should return offset locations in multiple flattened original source files', () => { + const cSource = new SourceFile(_('/foo/src/c.js'), 'bcd123', null, false, []); + const dSource = new SourceFile(_('/foo/src/d.js'), 'aef', null, false, []); + + const bSourceMap: RawSourceMap = { + mappings: encode([ + [ + [0, 1, 0, 0], // "a" is in d.js [source 1] + [1, 0, 0, 0], // "bcd" are in c.js [source 0] + [4, 1, 0, 1], // "ef" are in d.js [source 1] + ], + ]), + names: [], + sources: ['c.js', 'd.js'], + version: 3 + }; + const bSource = + new SourceFile(_('/foo/src/b.js'), 'abcdef', bSourceMap, false, [cSource, dSource]); + + const aSourceMap: RawSourceMap = { + mappings: encode([ + [ + [0, 0, 0, 0], [2, 0, 0, 3], // "c" is missing from first line + ], + [ + [4, 0, 0, 2], // second line has new indentation, and starts with "c" + [5, 0, 0, 5], // "f" is here + ], + ]), + names: [], + sources: ['b.js'], + version: 3 + }; + const aSource = + new SourceFile(_('/foo/src/a.js'), 'abde\n cf', aSourceMap, false, [bSource]); + + // Line 0 + expect(aSource.getOriginalLocation(0, 0)) // a + .toEqual({file: dSource.sourcePath, line: 0, column: 0}); + expect(aSource.getOriginalLocation(0, 1)) // b + .toEqual({file: cSource.sourcePath, line: 0, column: 0}); + expect(aSource.getOriginalLocation(0, 2)) // d + .toEqual({file: cSource.sourcePath, line: 0, column: 2}); + expect(aSource.getOriginalLocation(0, 3)) // e + .toEqual({file: dSource.sourcePath, line: 0, column: 1}); + expect(aSource.getOriginalLocation(0, 4)) // off the end of the line + .toEqual({file: dSource.sourcePath, line: 0, column: 2}); + + // Line 1 + expect(aSource.getOriginalLocation(1, 0)) // indent + .toEqual({file: dSource.sourcePath, line: 0, column: 3}); + expect(aSource.getOriginalLocation(1, 1)) // indent + .toEqual({file: dSource.sourcePath, line: 0, column: 4}); + expect(aSource.getOriginalLocation(1, 2)) // indent + .toEqual({file: dSource.sourcePath, line: 0, column: 5}); + expect(aSource.getOriginalLocation(1, 3)) // indent + .toEqual({file: dSource.sourcePath, line: 0, column: 6}); + expect(aSource.getOriginalLocation(1, 4)) // c + .toEqual({file: cSource.sourcePath, line: 0, column: 1}); + expect(aSource.getOriginalLocation(1, 5)) // f + .toEqual({file: dSource.sourcePath, line: 0, column: 2}); + expect(aSource.getOriginalLocation(1, 6)) // off the end of the line + .toEqual({file: dSource.sourcePath, line: 0, column: 3}); + }); + + it('should return offset locations across multiple lines', () => { + const originalSource = + new SourceFile(_('/foo/src/original.js'), 'abcdef\nghijk\nlmnop', null, false, []); + const generatedSourceMap: RawSourceMap = { + mappings: encode([ + [ + [0, 0, 0, 0], // "ABC" [0,0] => [0,0] + ], + [ + [0, 0, 1, 0], // "GHIJ" [1, 0] => [1,0] + [4, 0, 0, 3], // "DEF" [1, 4] => [0,3] + [7, 0, 1, 4], // "K" [1, 7] => [1,4] + ], + [ + [0, 0, 2, 0], // "LMNOP" [2,0] => [2,0] + ], + ]), + names: [], + sources: ['original.js'], + version: 3 + }; + const generatedSource = new SourceFile( + _('/foo/src/generated.js'), 'ABC\nGHIJDEFK\nLMNOP', generatedSourceMap, false, + [originalSource]); + + // Line 0 + expect(generatedSource.getOriginalLocation(0, 0)) // A + .toEqual({file: originalSource.sourcePath, line: 0, column: 0}); + expect(generatedSource.getOriginalLocation(0, 1)) // B + .toEqual({file: originalSource.sourcePath, line: 0, column: 1}); + expect(generatedSource.getOriginalLocation(0, 2)) // C + .toEqual({file: originalSource.sourcePath, line: 0, column: 2}); + expect(generatedSource.getOriginalLocation(0, 3)) // off the end of line 0 + .toEqual({file: originalSource.sourcePath, line: 0, column: 3}); + + // Line 1 + expect(generatedSource.getOriginalLocation(1, 0)) // G + .toEqual({file: originalSource.sourcePath, line: 1, column: 0}); + expect(generatedSource.getOriginalLocation(1, 1)) // H + .toEqual({file: originalSource.sourcePath, line: 1, column: 1}); + expect(generatedSource.getOriginalLocation(1, 2)) // I + .toEqual({file: originalSource.sourcePath, line: 1, column: 2}); + expect(generatedSource.getOriginalLocation(1, 3)) // J + .toEqual({file: originalSource.sourcePath, line: 1, column: 3}); + expect(generatedSource.getOriginalLocation(1, 4)) // D + .toEqual({file: originalSource.sourcePath, line: 0, column: 3}); + expect(generatedSource.getOriginalLocation(1, 5)) // E + .toEqual({file: originalSource.sourcePath, line: 0, column: 4}); + expect(generatedSource.getOriginalLocation(1, 6)) // F + .toEqual({file: originalSource.sourcePath, line: 0, column: 5}); + expect(generatedSource.getOriginalLocation(1, 7)) // K + .toEqual({file: originalSource.sourcePath, line: 1, column: 4}); + expect(generatedSource.getOriginalLocation(1, 8)) // off the end of line 1 + .toEqual({file: originalSource.sourcePath, line: 1, column: 5}); + + // Line 2 + expect(generatedSource.getOriginalLocation(2, 0)) // L + .toEqual({file: originalSource.sourcePath, line: 2, column: 0}); + expect(generatedSource.getOriginalLocation(2, 1)) // M + .toEqual({file: originalSource.sourcePath, line: 2, column: 1}); + expect(generatedSource.getOriginalLocation(2, 2)) // N + .toEqual({file: originalSource.sourcePath, line: 2, column: 2}); + expect(generatedSource.getOriginalLocation(2, 3)) // O + .toEqual({file: originalSource.sourcePath, line: 2, column: 3}); + expect(generatedSource.getOriginalLocation(2, 4)) // P + .toEqual({file: originalSource.sourcePath, line: 2, column: 4}); + expect(generatedSource.getOriginalLocation(2, 5)) // off the end of line 2 + .toEqual({file: originalSource.sourcePath, line: 2, column: 5}); + }); + }); }); describe('computeStartOfLinePositions()', () => { diff --git a/packages/compiler-cli/src/ngtsc/switch/index.ts b/packages/compiler-cli/src/ngtsc/switch/index.ts index 894652f7b7..1733176e35 100644 --- a/packages/compiler-cli/src/ngtsc/switch/index.ts +++ b/packages/compiler-cli/src/ngtsc/switch/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/switch/src/switch.ts b/packages/compiler-cli/src/ngtsc/switch/src/switch.ts index ea1619c9e3..9697b6a53e 100644 --- a/packages/compiler-cli/src/ngtsc/switch/src/switch.ts +++ b/packages/compiler-cli/src/ngtsc/switch/src/switch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/testing/index.ts b/packages/compiler-cli/src/ngtsc/testing/index.ts index 757e750cd7..354d8a3876 100644 --- a/packages/compiler-cli/src/ngtsc/testing/index.ts +++ b/packages/compiler-cli/src/ngtsc/testing/index.ts @@ -1,8 +1,8 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {getDeclaration, makeProgram} from './src/utils'; +export {expectCompleteReuse, getDeclaration, makeProgram} from './src/utils'; diff --git a/packages/compiler-cli/src/ngtsc/testing/src/utils.ts b/packages/compiler-cli/src/ngtsc/testing/src/utils.ts index b50751f088..f2c84d263d 100644 --- a/packages/compiler-cli/src/ngtsc/testing/src/utils.ts +++ b/packages/compiler-cli/src/ngtsc/testing/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -54,7 +54,7 @@ export function getDeclaration( program: ts.Program, fileName: AbsoluteFsPath, name: string, assert: (value: any) => value is T): T { const sf = getSourceFileOrError(program, fileName); - const chosenDecl = walkForDeclaration(sf); + const chosenDecl = walkForDeclaration(name, sf); if (chosenDecl === null) { throw new Error(`No such symbol: ${name} in ${fileName}`); @@ -63,36 +63,56 @@ export function getDeclaration( throw new Error(`Symbol ${name} from ${fileName} is a ${ts.SyntaxKind[chosenDecl.kind]}`); } return chosenDecl; +} - // We walk the AST tree looking for a declaration that matches - function walkForDeclaration(rootNode: ts.Node): ts.Declaration|null { - let chosenDecl: ts.Declaration|null = null; - rootNode.forEachChild(node => { - if (chosenDecl !== null) { - return; - } - if (ts.isVariableStatement(node)) { - node.declarationList.declarations.forEach(decl => { - if (bindingNameEquals(decl.name, name)) { - chosenDecl = decl; - } - }); - } else if ( - ts.isClassDeclaration(node) || ts.isFunctionDeclaration(node) || - ts.isInterfaceDeclaration(node)) { - if (node.name !== undefined && node.name.text === name) { - chosenDecl = node; +// We walk the AST tree looking for a declaration that matches +export function walkForDeclaration(name: string, rootNode: ts.Node): ts.Declaration|null { + let chosenDecl: ts.Declaration|null = null; + rootNode.forEachChild(node => { + if (chosenDecl !== null) { + return; + } + if (ts.isVariableStatement(node)) { + node.declarationList.declarations.forEach(decl => { + if (bindingNameEquals(decl.name, name)) { + chosenDecl = decl; + } else { + chosenDecl = walkForDeclaration(name, node); } - } else if ( - ts.isImportDeclaration(node) && node.importClause !== undefined && - node.importClause.name !== undefined && node.importClause.name.text === name) { - chosenDecl = node.importClause; - } else { - chosenDecl = walkForDeclaration(node); + }); + } else if ( + ts.isClassDeclaration(node) || ts.isFunctionDeclaration(node) || + ts.isInterfaceDeclaration(node) || ts.isClassExpression(node)) { + if (node.name !== undefined && node.name.text === name) { + chosenDecl = node; } - }); - return chosenDecl; - } + } else if ( + ts.isImportDeclaration(node) && node.importClause !== undefined && + node.importClause.name !== undefined && node.importClause.name.text === name) { + chosenDecl = node.importClause; + } else { + chosenDecl = walkForDeclaration(name, node); + } + }); + return chosenDecl; +} + +const COMPLETE_REUSE_FAILURE_MESSAGE = + 'The original program was not reused completely, even though no changes should have been made to its structure'; + +/** + * Extracted from TypeScript's internal enum `StructureIsReused`. + */ +enum TsStructureIsReused { + Not = 0, + SafeModules = 1, + Completely = 2, +} + +export function expectCompleteReuse(oldProgram: ts.Program): void { + // Assert complete reuse using TypeScript's private API. + expect((oldProgram as any).structureIsReused) + .toBe(TsStructureIsReused.Completely, COMPLETE_REUSE_FAILURE_MESSAGE); } function bindingNameEquals(node: ts.BindingName, name: string): boolean { diff --git a/packages/compiler-cli/src/ngtsc/transform/index.ts b/packages/compiler-cli/src/ngtsc/transform/index.ts index bc98e8bb76..6d9d3a61a0 100644 --- a/packages/compiler-cli/src/ngtsc/transform/index.ts +++ b/packages/compiler-cli/src/ngtsc/transform/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/alias.ts b/packages/compiler-cli/src/ngtsc/transform/src/alias.ts index 5cba3e6d50..ea21926e68 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/alias.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/alias.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/api.ts b/packages/compiler-cli/src/ngtsc/transform/src/api.ts index 59ba1df358..8f54bf9eb3 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts b/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts index f50b4b6af5..0d57a1e622 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts b/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts index 36cee9b39a..8dded958ce 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/trait.ts b/packages/compiler-cli/src/ngtsc/transform/src/trait.ts index e6b5fb83d3..2d60ffc370 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/trait.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/trait.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/src/transform.ts b/packages/compiler-cli/src/ngtsc/transform/src/transform.ts index 58704a1369..53ad1e0378 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/transform.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -233,8 +233,8 @@ function transformIvySourceFile( // Generate the constant statements first, as they may involve adding additional imports // to the ImportManager. const constants = constantPool.statements.map( - stmt => - translateStatement(stmt, importManager, defaultImportRecorder, ts.ScriptTarget.ES2015)); + stmt => translateStatement( + stmt, importManager, defaultImportRecorder, getLocalizeCompileTarget(context))); // Preserve @fileoverview comments required by Closure, since the location might change as a // result of adding extra imports and constant pool statements. @@ -250,6 +250,22 @@ function transformIvySourceFile( return sf; } +/** + * Compute the correct target output for `$localize` messages generated by Angular + * + * In some versions of TypeScript, the transformation of synthetic `$localize` tagged template + * literals is broken. See https://github.com/microsoft/TypeScript/issues/38485 + * + * Here we compute what the expected final output target of the compilation will + * be so that we can generate ES5 compliant `$localize` calls instead of relying upon TS to do the + * downleveling for us. + */ +function getLocalizeCompileTarget(context: ts.TransformationContext): + Exclude { + const target = context.getCompilerOptions().target || ts.ScriptTarget.ES2015; + return target !== ts.ScriptTarget.JSON ? target : ts.ScriptTarget.ES2015; +} + function getFileOverviewComment(statements: ts.NodeArray): FileOverviewMeta|null { if (statements.length > 0) { const host = statements[0]; diff --git a/packages/compiler-cli/src/ngtsc/transform/src/utils.ts b/packages/compiler-cli/src/ngtsc/transform/src/utils.ts index a113506905..e8f8814bce 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/utils.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/transform/test/compilation_spec.ts b/packages/compiler-cli/src/ngtsc/transform/test/compilation_spec.ts index e90f61659d..baa7ddcd22 100644 --- a/packages/compiler-cli/src/ngtsc/transform/test/compilation_spec.ts +++ b/packages/compiler-cli/src/ngtsc/transform/test/compilation_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/translator/index.ts b/packages/compiler-cli/src/ngtsc/translator/index.ts index 44120dae41..0e2dab70c5 100644 --- a/packages/compiler-cli/src/ngtsc/translator/index.ts +++ b/packages/compiler-cli/src/ngtsc/translator/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/translator/src/translator.ts b/packages/compiler-cli/src/ngtsc/translator/src/translator.ts index aed4303eea..c91a6bdf59 100644 --- a/packages/compiler-cli/src/ngtsc/translator/src/translator.ts +++ b/packages/compiler-cli/src/ngtsc/translator/src/translator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -187,8 +187,14 @@ class ExpressionTranslatorVisitor implements ExpressionVisitor, StatementVisitor return ts.createThrow(stmt.error.visitExpression(this, context.withExpressionMode)); } - visitCommentStmt(stmt: CommentStmt, context: Context): never { - throw new Error('Method not implemented.'); + visitCommentStmt(stmt: CommentStmt, context: Context): ts.NotEmittedStatement { + const commentStmt = ts.createNotEmittedStatement(ts.createLiteral('')); + ts.addSyntheticLeadingComment( + commentStmt, + stmt.multiline ? ts.SyntaxKind.MultiLineCommentTrivia : + ts.SyntaxKind.SingleLineCommentTrivia, + stmt.comment, /** hasTrailingNewLine */ false); + return commentStmt; } visitJSDocCommentStmt(stmt: JSDocCommentStmt, context: Context): ts.NotEmittedStatement { @@ -268,9 +274,11 @@ class ExpressionTranslatorVisitor implements ExpressionVisitor, StatementVisitor } visitLocalizedString(ast: LocalizedString, context: Context): ts.Expression { - return this.scriptTarget >= ts.ScriptTarget.ES2015 ? + const localizedString = this.scriptTarget >= ts.ScriptTarget.ES2015 ? createLocalizedStringTaggedTemplate(ast, context, this) : createLocalizedStringFunctionCall(ast, context, this, this.imports); + this.setSourceMapRange(localizedString, ast); + return localizedString; } visitExternalExpr(ast: ExternalExpr, context: Context): ts.PropertyAccessExpression diff --git a/packages/compiler-cli/src/ngtsc/tsc_plugin.ts b/packages/compiler-cli/src/ngtsc/tsc_plugin.ts index da02adf425..7c87be7f22 100644 --- a/packages/compiler-cli/src/ngtsc/tsc_plugin.ts +++ b/packages/compiler-cli/src/ngtsc/tsc_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,7 +11,9 @@ import * as ts from 'typescript'; import {NgCompiler, NgCompilerHost} from './core'; import {NgCompilerOptions, UnifiedModulesHost} from './core/api'; import {NodeJSFileSystem, setFileSystem} from './file_system'; +import {PatchedProgramIncrementalBuildStrategy} from './incremental'; import {NOOP_PERF_RECORDER} from './perf'; +import {untagAllTsFiles} from './shims'; import {ReusedProgramStrategy} from './typecheck/src/augmented_program'; // The following is needed to fix a the chicken-and-egg issue where the sync (into g3) script will @@ -79,6 +81,9 @@ export class NgTscPlugin implements TscPlugin { wrapHost( host: ts.CompilerHost&UnifiedModulesHost, inputFiles: readonly string[], options: ts.CompilerOptions): PluginCompilerHost { + // TODO(alxhub): Eventually the `wrapHost()` API will accept the old `ts.Program` (if one is + // available). When it does, its `ts.SourceFile`s need to be re-tagged to enable proper + // incremental compilation. this.options = {...this.ngOptions, ...options} as NgCompilerOptions; this.host = NgCompilerHost.wrap(host, inputFiles, this.options, /* oldProgram */ null); return this.host; @@ -91,10 +96,13 @@ export class NgTscPlugin implements TscPlugin { if (this.host === null || this.options === null) { throw new Error('Lifecycle error: setupCompilation() before wrapHost().'); } + this.host.postProgramCreationCleanup(); + untagAllTsFiles(program); const typeCheckStrategy = new ReusedProgramStrategy( program, this.host, this.options, this.host.shimExtensionPrefixes); this._compiler = new NgCompiler( - this.host, this.options, program, typeCheckStrategy, oldProgram, NOOP_PERF_RECORDER); + this.host, this.options, program, typeCheckStrategy, + new PatchedProgramIncrementalBuildStrategy(), oldProgram, NOOP_PERF_RECORDER); return { ignoreForDiagnostics: this._compiler.ignoreForDiagnostics, ignoreForEmit: this._compiler.ignoreForEmit, diff --git a/packages/compiler-cli/src/ngtsc/typecheck/index.ts b/packages/compiler-cli/src/ngtsc/typecheck/index.ts index bf6648bfad..9727f3a2cc 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/index.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/api.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/api.ts index 0a6acf8efa..a20130e818 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/augmented_program.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/augmented_program.ts index 28359a6836..c3c1f73987 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/augmented_program.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/augmented_program.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ import * as ts from 'typescript'; import {AbsoluteFsPath} from '../../file_system'; +import {retagAllTsFiles, untagAllTsFiles} from '../../shims'; import {TypeCheckingProgramStrategy, UpdateMode} from './api'; import {TypeCheckProgramHost} from './host'; @@ -26,8 +27,10 @@ export class ReusedProgramStrategy implements TypeCheckingProgramStrategy { */ private sfMap = new Map(); + private program: ts.Program = this.originalProgram; + constructor( - private program: ts.Program, private originalHost: ts.CompilerHost, + private originalProgram: ts.Program, private originalHost: ts.CompilerHost, private options: ts.CompilerOptions, private shimExtensionPrefixes: string[]) {} getProgram(): ts.Program { @@ -35,6 +38,17 @@ export class ReusedProgramStrategy implements TypeCheckingProgramStrategy { } updateFiles(contents: Map, updateMode: UpdateMode): void { + if (contents.size === 0) { + // No changes have been requested. Is it safe to skip updating entirely? + // If UpdateMode is Incremental, then yes. If UpdateMode is Complete, then it's safe to skip + // only if there are no active changes already (that would be cleared by the update). + + if (updateMode !== UpdateMode.Complete || this.sfMap.size === 0) { + // No changes would be made to the `ts.Program` anyway, so it's safe to do nothing here. + return; + } + } + if (updateMode === UpdateMode.Complete) { this.sfMap.clear(); } @@ -43,14 +57,25 @@ export class ReusedProgramStrategy implements TypeCheckingProgramStrategy { this.sfMap.set(filePath, ts.createSourceFile(filePath, text, ts.ScriptTarget.Latest, true)); } - const host = - new TypeCheckProgramHost(this.sfMap, this.originalHost, this.shimExtensionPrefixes); + const host = new TypeCheckProgramHost( + this.sfMap, this.originalProgram, this.originalHost, this.shimExtensionPrefixes); + const oldProgram = this.program; + + // Retag the old program's `ts.SourceFile`s with shim tags, to allow TypeScript to reuse the + // most data. + retagAllTsFiles(oldProgram); + this.program = ts.createProgram({ host, rootNames: this.program.getRootFileNames(), options: this.options, - oldProgram: this.program, + oldProgram, }); host.postProgramCreationCleanup(); + + // And untag them afterwards. We explicitly untag both programs here, because the oldProgram + // may still be used for emit and needs to not contain tags. + untagAllTsFiles(this.program); + untagAllTsFiles(oldProgram); } } diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/checker.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/checker.ts index af33def912..0e7e4e4a57 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/checker.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/checker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -39,7 +39,7 @@ export class TemplateTypeChecker { private typeCheckingStrategy: TypeCheckingProgramStrategy, private typeCheckAdapter: ProgramTypeCheckAdapter, private config: TypeCheckingConfig, private refEmitter: ReferenceEmitter, private reflector: ReflectionHost, - private compilerHost: ts.CompilerHost, + private compilerHost: Pick, private priorBuild: IncrementalBuild) {} /** diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/context.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/context.ts index d71e339742..412ab61ded 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/context.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -113,7 +113,8 @@ export class TypeCheckContext { private fileMap = new Map(); constructor( - private config: TypeCheckingConfig, private compilerHost: ts.CompilerHost, + private config: TypeCheckingConfig, + private compilerHost: Pick, private refEmitter: ReferenceEmitter, private reflector: ReflectionHost) {} /** diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.ts index f5d847938e..c2b7c2b250 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/dom.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/dom.ts index 2e2bfe8631..74686303d1 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/dom.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/dom.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/environment.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/environment.ts index 300616c47f..597492f37c 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/environment.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/environment.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/expression.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/expression.ts index 3d201c8f73..2a1486c470 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/expression.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/expression.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/host.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/host.ts index 71f83064c9..57a74db930 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/host.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,8 +35,8 @@ export class TypeCheckProgramHost implements ts.CompilerHost { readonly resolveModuleNames?: ts.CompilerHost['resolveModuleNames']; constructor( - sfMap: Map, private delegate: ts.CompilerHost, - private shimExtensionPrefixes: string[]) { + sfMap: Map, private originalProgram: ts.Program, + private delegate: ts.CompilerHost, private shimExtensionPrefixes: string[]) { this.sfMap = sfMap; if (delegate.getDirectories !== undefined) { @@ -52,8 +52,15 @@ export class TypeCheckProgramHost implements ts.CompilerHost { fileName: string, languageVersion: ts.ScriptTarget, onError?: ((message: string) => void)|undefined, shouldCreateNewSourceFile?: boolean|undefined): ts.SourceFile|undefined { - const delegateSf = - this.delegate.getSourceFile(fileName, languageVersion, onError, shouldCreateNewSourceFile)!; + // Try to use the same `ts.SourceFile` as the original program, if possible. This guarantees + // that program reuse will be as efficient as possible. + let delegateSf: ts.SourceFile|undefined = this.originalProgram.getSourceFile(fileName); + if (delegateSf === undefined) { + // Something went wrong and a source file is being requested that's not in the original + // program. Just in case, try to retrieve it from the delegate. + delegateSf = this.delegate.getSourceFile( + fileName, languageVersion, onError, shouldCreateNewSourceFile)!; + } if (delegateSf === undefined) { return undefined; } @@ -119,4 +126,4 @@ export class TypeCheckProgramHost implements ts.CompilerHost { readFile(fileName: string): string|undefined { return this.delegate.readFile(fileName); } -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.ts index 8ff8f10cec..56301b7c4c 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts index 18ee794e6d..ff18c14153 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/shim.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/shim.ts index 99e570df82..8f2c35090a 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/shim.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/shim.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/source.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/source.ts index 9f37c36c19..d2c80c73b2 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/source.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/source.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.ts index 5cdfd53518..fd61794803 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.ts index 6b4ad275f6..7c58444851 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts index cc58543a50..172ab518a5 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.ts index e88a560465..af0eaab646 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,7 +34,7 @@ export class TypeCheckFile extends Environment { constructor( readonly fileName: AbsoluteFsPath, config: TypeCheckingConfig, refEmitter: ReferenceEmitter, - reflector: ReflectionHost, compilerHost: ts.CompilerHost) { + reflector: ReflectionHost, compilerHost: Pick) { super( config, new ImportManager(new NoopImportRewriter(), 'i'), refEmitter, reflector, ts.createSourceFile( diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.ts index de5621bd2b..e4c79fb3e7 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.ts index a1befba593..d9f725b1d8 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.ts index bf57f72803..968043b89b 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/BUILD.bazel b/packages/compiler-cli/src/ngtsc/typecheck/test/BUILD.bazel index b9974dee6d..ce34bc6aa5 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/BUILD.bazel +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/BUILD.bazel @@ -16,6 +16,7 @@ ts_library( "//packages/compiler-cli/src/ngtsc/imports", "//packages/compiler-cli/src/ngtsc/incremental", "//packages/compiler-cli/src/ngtsc/reflection", + "//packages/compiler-cli/src/ngtsc/shims", "//packages/compiler-cli/src/ngtsc/testing", "//packages/compiler-cli/src/ngtsc/typecheck", "//packages/compiler-cli/src/ngtsc/util", diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts index 66554b5277..156c2c8f4f 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/program_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/program_spec.ts new file mode 100644 index 0000000000..1d14e84ea6 --- /dev/null +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/program_spec.ts @@ -0,0 +1,98 @@ +/** + * @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 * as ts from 'typescript'; + +import {absoluteFrom, AbsoluteFsPath, getSourceFileOrError} from '../../file_system'; +import {runInEachFileSystem} from '../../file_system/testing'; +import {sfExtensionData, ShimReferenceTagger} from '../../shims'; +import {expectCompleteReuse, makeProgram} from '../../testing'; +import {UpdateMode} from '../src/api'; +import {ReusedProgramStrategy} from '../src/augmented_program'; + +import {createProgramWithNoTemplates} from './test_utils'; + +runInEachFileSystem(() => { + describe('template type-checking program', () => { + it('should not be created if no components need to be checked', () => { + const {program, templateTypeChecker, programStrategy} = createProgramWithNoTemplates(); + templateTypeChecker.refresh(); + // expect() here would create a really long error message, so this is checked manually. + if (programStrategy.getProgram() !== program) { + fail('Template type-checking created a new ts.Program even though it had no changes.'); + } + }); + + it('should have complete reuse if no structural changes are made to shims', () => { + const {program, host, options, typecheckPath} = makeSingleFileProgramWithTypecheckShim(); + const programStrategy = new ReusedProgramStrategy(program, host, options, ['ngtypecheck']); + + // Update /main.ngtypecheck.ts without changing its shape. Verify that the old program was + // reused completely. + programStrategy.updateFiles( + new Map([[typecheckPath, 'export const VERSION = 2;']]), UpdateMode.Complete); + + expectCompleteReuse(program); + }); + + it('should have complete reuse if no structural changes are made to input files', () => { + const {program, host, options, mainPath} = makeSingleFileProgramWithTypecheckShim(); + const programStrategy = new ReusedProgramStrategy(program, host, options, ['ngtypecheck']); + + // Update /main.ts without changing its shape. Verify that the old program was reused + // completely. + programStrategy.updateFiles( + new Map([[mainPath, 'export const STILL_NOT_A_COMPONENT = true;']]), UpdateMode.Complete); + + expectCompleteReuse(program); + }); + }); +}); + +function makeSingleFileProgramWithTypecheckShim(): { + program: ts.Program, + host: ts.CompilerHost, + options: ts.CompilerOptions, + mainPath: AbsoluteFsPath, + typecheckPath: AbsoluteFsPath, +} { + const mainPath = absoluteFrom('/main.ts'); + const typecheckPath = absoluteFrom('/main.ngtypecheck.ts'); + const {program, host, options} = makeProgram([ + { + name: mainPath, + contents: 'export const NOT_A_COMPONENT = true;', + }, + { + name: typecheckPath, + contents: 'export const VERSION = 1;', + } + ]); + + const sf = getSourceFileOrError(program, mainPath); + const typecheckSf = getSourceFileOrError(program, typecheckPath); + + // To ensure this test is validating the correct behavior, the initial conditions of the + // input program must be such that: + // + // 1) /main.ts was previously tagged with a reference to its ngtypecheck shim. + // 2) /main.ngtypecheck.ts is marked as a shim itself. + + // Condition 1: + const tagger = new ShimReferenceTagger(['ngtypecheck']); + tagger.tag(sf); + tagger.finalize(); + + // Condition 2: + sfExtensionData(typecheckSf).fileShim = { + extension: 'ngtypecheck', + generatedFrom: mainPath, + }; + + return {program, host, options, mainPath, typecheckPath}; +} diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/span_comments_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/span_comments_spec.ts index 0bc32c44da..b6c5322fbf 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/span_comments_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/span_comments_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/test_utils.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/test_utils.ts index 145e4194c2..cdc76566f0 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/test_utils.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/test_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -235,10 +235,18 @@ export function tcb( return res.replace(/\s+/g, ' '); } -export function typecheck( - template: string, source: string, declarations: TestDeclaration[] = [], - additionalSources: {name: AbsoluteFsPath; contents: string}[] = [], - config: Partial = {}, opts: ts.CompilerOptions = {}): ts.Diagnostic[] { +export interface TemplateTestEnvironment { + sf: ts.SourceFile; + program: ts.Program; + templateTypeChecker: TemplateTypeChecker; + programStrategy: ReusedProgramStrategy; +} + +function setupTemplateTypeChecking( + source: string, additionalSources: {name: AbsoluteFsPath; contents: string}[], + config: Partial, opts: ts.CompilerOptions, + makeTypeCheckAdapterFn: (program: ts.Program, sf: ts.SourceFile) => + ProgramTypeCheckAdapter): TemplateTestEnvironment { const typeCheckFilePath = absoluteFrom('/main.ngtypecheck.ts'); const files = [ typescriptLibDts(), @@ -266,48 +274,65 @@ export function typecheck( ]); const fullConfig = {...ALL_ENABLED_CONFIG, ...config}; - const templateUrl = 'synthetic.html'; - const templateFile = new ParseSourceFile(template, templateUrl); - const {nodes, errors} = parseTemplate(template, templateUrl); - if (errors !== undefined) { - throw new Error('Template parse errors: \n' + errors.join('\n')); - } - - const {matcher, pipes} = prepareDeclarations(declarations, decl => { - let declFile = sf; - if (decl.file !== undefined) { - declFile = program.getSourceFile(decl.file)!; - if (declFile === undefined) { - throw new Error(`Unable to locate ${decl.file} for ${decl.type} ${decl.name}`); - } - } - return getClass(declFile, decl.name); - }); - const binder = new R3TargetBinder(matcher); - const boundTarget = binder.bind({template: nodes}); - const clazz = new Reference(getClass(sf, 'TestComponent')); - - const sourceMapping: TemplateSourceMapping = { - type: 'external', - template, - templateUrl, - componentClass: clazz.node, - // Use the class's name for error mappings. - node: clazz.node.name, - }; - - const checkAdapter = createTypeCheckAdapter((ctx: TypeCheckContext) => { - ctx.addTemplate(clazz, boundTarget, pipes, [], sourceMapping, templateFile); - }); - + const checkAdapter = makeTypeCheckAdapterFn(program, sf); const programStrategy = new ReusedProgramStrategy(program, host, options, []); const templateTypeChecker = new TemplateTypeChecker( program, programStrategy, checkAdapter, fullConfig, emitter, reflectionHost, host, NOOP_INCREMENTAL_BUILD); + + return {program, sf, templateTypeChecker, programStrategy}; +} + +export function typecheck( + template: string, source: string, declarations: TestDeclaration[] = [], + additionalSources: {name: AbsoluteFsPath; contents: string}[] = [], + config: Partial = {}, opts: ts.CompilerOptions = {}): ts.Diagnostic[] { + const {sf, templateTypeChecker} = + setupTemplateTypeChecking(source, additionalSources, config, opts, (program, sf) => { + const templateUrl = 'synthetic.html'; + const templateFile = new ParseSourceFile(template, templateUrl); + const {nodes, errors} = parseTemplate(template, templateUrl); + if (errors !== undefined) { + throw new Error('Template parse errors: \n' + errors.join('\n')); + } + + const {matcher, pipes} = prepareDeclarations(declarations, decl => { + let declFile = sf; + if (decl.file !== undefined) { + declFile = program.getSourceFile(decl.file)!; + if (declFile === undefined) { + throw new Error(`Unable to locate ${decl.file} for ${decl.type} ${decl.name}`); + } + } + return getClass(declFile, decl.name); + }); + const binder = new R3TargetBinder(matcher); + const boundTarget = binder.bind({template: nodes}); + const clazz = new Reference(getClass(sf, 'TestComponent')); + + const sourceMapping: TemplateSourceMapping = { + type: 'external', + template, + templateUrl, + componentClass: clazz.node, + // Use the class's name for error mappings. + node: clazz.node.name, + }; + + return createTypeCheckAdapter((ctx: TypeCheckContext) => { + ctx.addTemplate(clazz, boundTarget, pipes, [], sourceMapping, templateFile); + }); + }); + templateTypeChecker.refresh(); return templateTypeChecker.getDiagnosticsForFile(sf); } +export function createProgramWithNoTemplates(): TemplateTestEnvironment { + return setupTemplateTypeChecking( + 'export const NOT_A_COMPONENT = true;', [], {}, {}, () => createTypeCheckAdapter(() => {})); +} + function createTypeCheckAdapter(fn: (ctx: TypeCheckContext) => void): ProgramTypeCheckAdapter { let called = false; return { diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/type_check_block_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/type_check_block_spec.ts index 6c239c14e1..6861df242c 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/type_check_block_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/type_check_block_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/type_constructor_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/type_constructor_spec.ts index 4bbe9af427..dcfa9e5904 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/type_constructor_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/type_constructor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -196,4 +196,4 @@ function makePendingFile( absoluteFrom('/typecheck.ts'), ALL_ENABLED_CONFIG, new ReferenceEmitter([]), reflector, compilerHost) }; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/type_parameter_emitter_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/type_parameter_emitter_spec.ts index 5d80d09a01..9098e8e9d8 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/type_parameter_emitter_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/type_parameter_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/util/src/path.ts b/packages/compiler-cli/src/ngtsc/util/src/path.ts index d42b4e1415..37f90e6662 100644 --- a/packages/compiler-cli/src/ngtsc/util/src/path.ts +++ b/packages/compiler-cli/src/ngtsc/util/src/path.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/util/src/ts_source_map_bug_29300.ts b/packages/compiler-cli/src/ngtsc/util/src/ts_source_map_bug_29300.ts index 83148904e7..64c3a8417c 100644 --- a/packages/compiler-cli/src/ngtsc/util/src/ts_source_map_bug_29300.ts +++ b/packages/compiler-cli/src/ngtsc/util/src/ts_source_map_bug_29300.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -87,4 +87,4 @@ export function tsSourceMapBug29300Fixed() { _tsSourceMapBug29300Fixed = /ACIA,CAAA/.test(writtenFiles['test.js.map']); } return _tsSourceMapBug29300Fixed; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/ngtsc/util/src/typescript.ts b/packages/compiler-cli/src/ngtsc/util/src/typescript.ts index c4632994b9..ee64a577ec 100644 --- a/packages/compiler-cli/src/ngtsc/util/src/typescript.ts +++ b/packages/compiler-cli/src/ngtsc/util/src/typescript.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -122,7 +122,7 @@ export function nodeDebugInfo(node: ts.Node): string { */ export function resolveModuleName( moduleName: string, containingFile: string, compilerOptions: ts.CompilerOptions, - compilerHost: ts.CompilerHost, + compilerHost: ts.ModuleResolutionHost&Pick, moduleResolutionCache: ts.ModuleResolutionCache|null): ts.ResolvedModule|undefined { if (compilerHost.resolveModuleNames) { // FIXME: Additional parameters are required in TS3.6, but ignored in 3.5. diff --git a/packages/compiler-cli/src/ngtsc/util/src/visitor.ts b/packages/compiler-cli/src/ngtsc/util/src/visitor.ts index fe2ac3377c..9ce64e6ec9 100644 --- a/packages/compiler-cli/src/ngtsc/util/src/visitor.ts +++ b/packages/compiler-cli/src/ngtsc/util/src/visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/ngtsc/util/test/visitor_spec.ts b/packages/compiler-cli/src/ngtsc/util/test/visitor_spec.ts index c875cc8ddb..b26e93e77d 100644 --- a/packages/compiler-cli/src/ngtsc/util/test/visitor_spec.ts +++ b/packages/compiler-cli/src/ngtsc/util/test/visitor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/perform_compile.ts b/packages/compiler-cli/src/perform_compile.ts index 5456d2f0e4..754ca7f2e3 100644 --- a/packages/compiler-cli/src/perform_compile.ts +++ b/packages/compiler-cli/src/perform_compile.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/perform_watch.ts b/packages/compiler-cli/src/perform_watch.ts index 36aa3e6a66..245d82eb91 100644 --- a/packages/compiler-cli/src/perform_watch.ts +++ b/packages/compiler-cli/src/perform_watch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/tooling.ts b/packages/compiler-cli/src/tooling.ts index 6fa11270a6..01bfed3b80 100644 --- a/packages/compiler-cli/src/tooling.ts +++ b/packages/compiler-cli/src/tooling.ts @@ -1,17 +1,23 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ /** - * @module - * @description - * Tooling support helpers. + * @fileoverview + * This file is used as a private API channel to shared Angular FW APIs with @angular/cli. + * + * Any changes to this file should be discussed with the Angular CLI team. */ +import * as ts from 'typescript'; + +import {TypeScriptReflectionHost} from './ngtsc/reflection'; +import {getDownlevelDecoratorsTransform} from './transformers/downlevel_decorators_transform'; + /** * Known values for global variables in `@angular/core` that Terser should set using * https://github.com/terser-js/terser#conditional-compilation @@ -25,3 +31,19 @@ export const GLOBAL_DEFS_FOR_TERSER_WITH_AOT = { ...GLOBAL_DEFS_FOR_TERSER, ngJitMode: false, }; + +/** + * Transform for downleveling Angular decorators and Angular-decorated class constructor + * parameters for dependency injection. This transform can be used by the CLI for JIT-mode + * compilation where constructor parameters and associated Angular decorators should be + * downleveled so that apps are not exposed to the ES2015 temporal dead zone limitation + * in TypeScript. See https://github.com/angular/angular-cli/pull/14473 for more details. + */ +export function constructorParametersDownlevelTransform(program: ts.Program): + ts.TransformerFactory { + const typeChecker = program.getTypeChecker(); + const reflectionHost = new TypeScriptReflectionHost(typeChecker); + return getDownlevelDecoratorsTransform( + typeChecker, reflectionHost, [], /* isCore */ false, + /* enableClosureCompiler */ false, /* skipClassDecorators */ true); +} diff --git a/packages/compiler-cli/src/transformers/api.ts b/packages/compiler-cli/src/transformers/api.ts index bde02a1a28..63341f46b8 100644 --- a/packages/compiler-cli/src/transformers/api.ts +++ b/packages/compiler-cli/src/transformers/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/compiler_host.ts b/packages/compiler-cli/src/transformers/compiler_host.ts index 5efb487d2d..945aeb07b5 100644 --- a/packages/compiler-cli/src/transformers/compiler_host.ts +++ b/packages/compiler-cli/src/transformers/compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/downlevel_decorators_transform.ts b/packages/compiler-cli/src/transformers/downlevel_decorators_transform.ts new file mode 100644 index 0000000000..aa30ce4da1 --- /dev/null +++ b/packages/compiler-cli/src/transformers/downlevel_decorators_transform.ts @@ -0,0 +1,598 @@ +/** + * @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 * as ts from 'typescript'; +import {Decorator, ReflectionHost} from '../ngtsc/reflection'; +import {isAliasImportDeclaration, patchAliasReferenceResolutionOrDie} from './patch_alias_reference_resolution'; + +/** + * Whether a given decorator should be treated as an Angular decorator. + * Either it's used in @angular/core, or it's imported from there. + */ +function isAngularDecorator(decorator: Decorator, isCore: boolean): boolean { + return isCore || (decorator.import !== null && decorator.import.from === '@angular/core'); +} + +/* + ##################################################################### + Code below has been extracted from the tsickle decorator downlevel transformer + and a few local modifications have been applied: + + 1. Tsickle by default processed all decorators that had the `@Annotation` JSDoc. + We modified the transform to only be concerned with known Angular decorators. + 2. Tsickle by default added `@nocollapse` to all generated `ctorParameters` properties. + We only do this when `annotateForClosureCompiler` is enabled. + 3. Tsickle does not handle union types for dependency injection. i.e. if a injected type + is denoted with `@Optional`, the actual type could be set to `T | null`. + See: https://github.com/angular/angular-cli/commit/826803d0736b807867caff9f8903e508970ad5e4. + 4. Tsickle relied on `emitDecoratorMetadata` to be set to `true`. This is due to a limitation + in TypeScript transformers that never has been fixed. We were able to work around this + limitation so that `emitDecoratorMetadata` doesn't need to be specified. + See: `patchAliasReferenceResolution` for more details. + + Here is a link to the tsickle revision on which this transformer is based: + https://github.com/angular/tsickle/blob/fae06becb1570f491806060d83f29f2d50c43cdd/src/decorator_downlevel_transformer.ts + ##################################################################### +*/ + +/** + * Creates the AST for the decorator field type annotation, which has the form + * { type: Function, args?: any[] }[] + */ +function createDecoratorInvocationType(): ts.TypeNode { + const typeElements: ts.TypeElement[] = []; + typeElements.push(ts.createPropertySignature( + undefined, 'type', undefined, + ts.createTypeReferenceNode(ts.createIdentifier('Function'), undefined), undefined)); + typeElements.push(ts.createPropertySignature( + undefined, 'args', ts.createToken(ts.SyntaxKind.QuestionToken), + ts.createArrayTypeNode(ts.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)), undefined)); + return ts.createArrayTypeNode(ts.createTypeLiteralNode(typeElements)); +} + +/** + * Extracts the type of the decorator (the function or expression invoked), as well as all the + * arguments passed to the decorator. Returns an AST with the form: + * + * // For @decorator(arg1, arg2) + * { type: decorator, args: [arg1, arg2] } + */ +function extractMetadataFromSingleDecorator( + decorator: ts.Decorator, diagnostics: ts.Diagnostic[]): ts.ObjectLiteralExpression { + const metadataProperties: ts.ObjectLiteralElementLike[] = []; + const expr = decorator.expression; + switch (expr.kind) { + case ts.SyntaxKind.Identifier: + // The decorator was a plain @Foo. + metadataProperties.push(ts.createPropertyAssignment('type', expr)); + break; + case ts.SyntaxKind.CallExpression: + // The decorator was a call, like @Foo(bar). + const call = expr as ts.CallExpression; + metadataProperties.push(ts.createPropertyAssignment('type', call.expression)); + if (call.arguments.length) { + const args: ts.Expression[] = []; + for (const arg of call.arguments) { + args.push(arg); + } + const argsArrayLiteral = ts.createArrayLiteral(args); + argsArrayLiteral.elements.hasTrailingComma = true; + metadataProperties.push(ts.createPropertyAssignment('args', argsArrayLiteral)); + } + break; + default: + diagnostics.push({ + file: decorator.getSourceFile(), + start: decorator.getStart(), + length: decorator.getEnd() - decorator.getStart(), + messageText: + `${ts.SyntaxKind[decorator.kind]} not implemented in gathering decorator metadata.`, + category: ts.DiagnosticCategory.Error, + code: 0, + }); + break; + } + return ts.createObjectLiteral(metadataProperties); +} + +/** + * Takes a list of decorator metadata object ASTs and produces an AST for a + * static class property of an array of those metadata objects. + */ +function createDecoratorClassProperty(decoratorList: ts.ObjectLiteralExpression[]) { + const modifier = ts.createToken(ts.SyntaxKind.StaticKeyword); + const type = createDecoratorInvocationType(); + const initializer = ts.createArrayLiteral(decoratorList, true); + // NB: the .decorators property does not get a @nocollapse property. There is + // no good reason why - it means .decorators is not runtime accessible if you + // compile with collapse properties, whereas propDecorators is, which doesn't + // follow any stringent logic. However this has been the case previously, and + // adding it back in leads to substantial code size increases as Closure fails + // to tree shake these props without @nocollapse. + return ts.createProperty(undefined, [modifier], 'decorators', undefined, type, initializer); +} + +/** + * Creates the AST for the 'ctorParameters' field type annotation: + * () => ({ type: any, decorators?: {type: Function, args?: any[]}[] }|null)[] + */ +function createCtorParametersClassPropertyType(): ts.TypeNode { + // Sorry about this. Try reading just the string literals below. + const typeElements: ts.TypeElement[] = []; + typeElements.push(ts.createPropertySignature( + undefined, 'type', undefined, + ts.createTypeReferenceNode(ts.createIdentifier('any'), undefined), undefined)); + typeElements.push(ts.createPropertySignature( + undefined, 'decorators', ts.createToken(ts.SyntaxKind.QuestionToken), + ts.createArrayTypeNode(ts.createTypeLiteralNode([ + ts.createPropertySignature( + undefined, 'type', undefined, + ts.createTypeReferenceNode(ts.createIdentifier('Function'), undefined), undefined), + ts.createPropertySignature( + undefined, 'args', ts.createToken(ts.SyntaxKind.QuestionToken), + ts.createArrayTypeNode( + ts.createTypeReferenceNode(ts.createIdentifier('any'), undefined)), + undefined), + ])), + undefined)); + return ts.createFunctionTypeNode( + undefined, [], + ts.createArrayTypeNode( + ts.createUnionTypeNode([ts.createTypeLiteralNode(typeElements), ts.createNull()]))); +} + +/** + * Sets a Closure \@nocollapse synthetic comment on the given node. This prevents Closure Compiler + * from collapsing the apparently static property, which would make it impossible to find for code + * trying to detect it at runtime. + */ +function addNoCollapseComment(n: ts.Node) { + ts.setSyntheticLeadingComments(n, [{ + kind: ts.SyntaxKind.MultiLineCommentTrivia, + text: '* @nocollapse ', + pos: -1, + end: -1, + hasTrailingNewLine: true + }]); +} + +/** + * createCtorParametersClassProperty creates a static 'ctorParameters' property containing + * downleveled decorator information. + * + * The property contains an arrow function that returns an array of object literals of the shape: + * static ctorParameters = () => [{ + * type: SomeClass|undefined, // the type of the param that's decorated, if it's a value. + * decorators: [{ + * type: DecoratorFn, // the type of the decorator that's invoked. + * args: [ARGS], // the arguments passed to the decorator. + * }] + * }]; + */ +function createCtorParametersClassProperty( + diagnostics: ts.Diagnostic[], + entityNameToExpression: (n: ts.EntityName) => ts.Expression | undefined, + ctorParameters: ParameterDecorationInfo[], + isClosureCompilerEnabled: boolean): ts.PropertyDeclaration { + const params: ts.Expression[] = []; + + for (const ctorParam of ctorParameters) { + if (!ctorParam.type && ctorParam.decorators.length === 0) { + params.push(ts.createNull()); + continue; + } + + const paramType = ctorParam.type ? + typeReferenceToExpression(entityNameToExpression, ctorParam.type) : + undefined; + const members = + [ts.createPropertyAssignment('type', paramType || ts.createIdentifier('undefined'))]; + + const decorators: ts.ObjectLiteralExpression[] = []; + for (const deco of ctorParam.decorators) { + decorators.push(extractMetadataFromSingleDecorator(deco, diagnostics)); + } + if (decorators.length) { + members.push(ts.createPropertyAssignment('decorators', ts.createArrayLiteral(decorators))); + } + params.push(ts.createObjectLiteral(members)); + } + + const initializer = ts.createArrowFunction( + undefined, undefined, [], undefined, ts.createToken(ts.SyntaxKind.EqualsGreaterThanToken), + ts.createArrayLiteral(params, true)); + const type = createCtorParametersClassPropertyType(); + const ctorProp = ts.createProperty( + undefined, [ts.createToken(ts.SyntaxKind.StaticKeyword)], 'ctorParameters', undefined, type, + initializer); + if (isClosureCompilerEnabled) { + addNoCollapseComment(ctorProp); + } + return ctorProp; +} + +/** + * createPropDecoratorsClassProperty creates a static 'propDecorators' property containing type + * information for every property that has a decorator applied. + * + * static propDecorators: {[key: string]: {type: Function, args?: any[]}[]} = { + * propA: [{type: MyDecorator, args: [1, 2]}, ...], + * ... + * }; + */ +function createPropDecoratorsClassProperty( + diagnostics: ts.Diagnostic[], properties: Map): ts.PropertyDeclaration { + // `static propDecorators: {[key: string]: ` + {type: Function, args?: any[]}[] + `} = {\n`); + const entries: ts.ObjectLiteralElementLike[] = []; + for (const [name, decorators] of properties.entries()) { + entries.push(ts.createPropertyAssignment( + name, + ts.createArrayLiteral( + decorators.map(deco => extractMetadataFromSingleDecorator(deco, diagnostics))))); + } + const initializer = ts.createObjectLiteral(entries, true); + const type = ts.createTypeLiteralNode([ts.createIndexSignature( + undefined, undefined, [ts.createParameter( + undefined, undefined, undefined, 'key', undefined, + ts.createTypeReferenceNode('string', undefined), undefined)], + createDecoratorInvocationType())]); + return ts.createProperty( + undefined, [ts.createToken(ts.SyntaxKind.StaticKeyword)], 'propDecorators', undefined, type, + initializer); +} + +/** + * Returns an expression representing the (potentially) value part for the given node. + * + * This is a partial re-implementation of TypeScript's serializeTypeReferenceNode. This is a + * workaround for https://github.com/Microsoft/TypeScript/issues/17516 (serializeTypeReferenceNode + * not being exposed). In practice this implementation is sufficient for Angular's use of type + * metadata. + */ +function typeReferenceToExpression( + entityNameToExpression: (n: ts.EntityName) => ts.Expression | undefined, + node: ts.TypeNode): ts.Expression|undefined { + let kind = node.kind; + if (ts.isLiteralTypeNode(node)) { + // Treat literal types like their base type (boolean, string, number). + kind = node.literal.kind; + } + switch (kind) { + case ts.SyntaxKind.FunctionType: + case ts.SyntaxKind.ConstructorType: + return ts.createIdentifier('Function'); + case ts.SyntaxKind.ArrayType: + case ts.SyntaxKind.TupleType: + return ts.createIdentifier('Array'); + case ts.SyntaxKind.TypePredicate: + case ts.SyntaxKind.TrueKeyword: + case ts.SyntaxKind.FalseKeyword: + case ts.SyntaxKind.BooleanKeyword: + return ts.createIdentifier('Boolean'); + case ts.SyntaxKind.StringLiteral: + case ts.SyntaxKind.StringKeyword: + return ts.createIdentifier('String'); + case ts.SyntaxKind.ObjectKeyword: + return ts.createIdentifier('Object'); + case ts.SyntaxKind.NumberKeyword: + case ts.SyntaxKind.NumericLiteral: + return ts.createIdentifier('Number'); + case ts.SyntaxKind.TypeReference: + const typeRef = node as ts.TypeReferenceNode; + // Ignore any generic types, just return the base type. + return entityNameToExpression(typeRef.typeName); + case ts.SyntaxKind.UnionType: + const childTypeNodes = + (node as ts.UnionTypeNode).types.filter(t => t.kind !== ts.SyntaxKind.NullKeyword); + return childTypeNodes.length === 1 ? + typeReferenceToExpression(entityNameToExpression, childTypeNodes[0]) : + undefined; + default: + return undefined; + } +} + +/** + * Returns true if the given symbol refers to a value (as distinct from a type). + * + * Expands aliases, which is important for the case where + * import * as x from 'some-module'; + * and x is now a value (the module object). + */ +function symbolIsValue(tc: ts.TypeChecker, sym: ts.Symbol): boolean { + if (sym.flags & ts.SymbolFlags.Alias) sym = tc.getAliasedSymbol(sym); + return (sym.flags & ts.SymbolFlags.Value) !== 0; +} + +/** ParameterDecorationInfo describes the information for a single constructor parameter. */ +interface ParameterDecorationInfo { + /** + * The type declaration for the parameter. Only set if the type is a value (e.g. a class, not an + * interface). + */ + type: ts.TypeNode|null; + /** The list of decorators found on the parameter, null if none. */ + decorators: ts.Decorator[]; +} + +/** + * Gets a transformer for downleveling Angular decorators. + * @param typeChecker Reference to the program's type checker. + * @param host Reflection host that is used for determining decorators. + * @param diagnostics List which will be populated with diagnostics if any. + * @param isCore Whether the current TypeScript program is for the `@angular/core` package. + * @param isClosureCompilerEnabled Whether closure annotations need to be added where needed. + * @param skipClassDecorators Whether class decorators should be skipped from downleveling. + * This is useful for JIT mode where class decorators should be preserved as they could rely + * on immediate execution. e.g. downleveling `@Injectable` means that the injectable factory + * is not created, and injecting the token will not work. If this decorator would not be + * downleveled, the `Injectable` decorator will execute immediately on file load, and + * Angular will generate the corresponding injectable factory. + */ +export function getDownlevelDecoratorsTransform( + typeChecker: ts.TypeChecker, host: ReflectionHost, diagnostics: ts.Diagnostic[], + isCore: boolean, isClosureCompilerEnabled: boolean, + skipClassDecorators: boolean): ts.TransformerFactory { + return (context: ts.TransformationContext) => { + let referencedParameterTypes = new Set(); + + /** + * Converts an EntityName (from a type annotation) to an expression (accessing a value). + * + * For a given qualified name, this walks depth first to find the leftmost identifier, + * and then converts the path into a property access that can be used as expression. + */ + function entityNameToExpression(name: ts.EntityName): ts.Expression|undefined { + const symbol = typeChecker.getSymbolAtLocation(name); + // Check if the entity name references a symbol that is an actual value. If it is not, it + // cannot be referenced by an expression, so return undefined. + if (!symbol || !symbolIsValue(typeChecker, symbol) || !symbol.declarations || + symbol.declarations.length === 0) { + return undefined; + } + // If we deal with a qualified name, build up a property access expression + // that could be used in the JavaScript output. + if (ts.isQualifiedName(name)) { + const containerExpr = entityNameToExpression(name.left); + if (containerExpr === undefined) { + return undefined; + } + return ts.createPropertyAccess(containerExpr, name.right); + } + const decl = symbol.declarations[0]; + // If the given entity name has been resolved to an alias import declaration, + // ensure that the alias declaration is not elided by TypeScript, and use its + // name identifier to reference it at runtime. + if (isAliasImportDeclaration(decl)) { + referencedParameterTypes.add(decl); + // If the entity name resolves to an alias import declaration, we reference the + // entity based on the alias import name. This ensures that TypeScript properly + // resolves the link to the import. Cloning the original entity name identifier + // could lead to an incorrect resolution at local scope. e.g. Consider the following + // snippet: `constructor(Dep: Dep) {}`. In such a case, the local `Dep` identifier + // would resolve to the actual parameter name, and not to the desired import. + // This happens because the entity name identifier symbol is internally considered + // as type-only and therefore TypeScript tries to resolve it as value manually. + // We can help TypeScript and avoid this non-reliable resolution by using an identifier + // that is not type-only and is directly linked to the import alias declaration. + if (decl.name !== undefined) { + return ts.getMutableClone(decl.name); + } + } + // Clone the original entity name identifier so that it can be used to reference + // its value at runtime. This is used when the identifier is resolving to a file + // local declaration (otherwise it would resolve to an alias import declaration). + return ts.getMutableClone(name); + } + + /** + * Transforms a class element. Returns a three tuple of name, transformed element, and + * decorators found. Returns an undefined name if there are no decorators to lower on the + * element, or the element has an exotic name. + */ + function transformClassElement(element: ts.ClassElement): + [string|undefined, ts.ClassElement, ts.Decorator[]] { + element = ts.visitEachChild(element, decoratorDownlevelVisitor, context); + const decoratorsToKeep: ts.Decorator[] = []; + const toLower: ts.Decorator[] = []; + const decorators = host.getDecoratorsOfDeclaration(element) || []; + for (const decorator of decorators) { + // We only deal with concrete nodes in TypeScript sources, so we don't + // need to handle synthetically created decorators. + const decoratorNode = decorator.node! as ts.Decorator; + if (!isAngularDecorator(decorator, isCore)) { + decoratorsToKeep.push(decoratorNode); + continue; + } + toLower.push(decoratorNode); + } + if (!toLower.length) return [undefined, element, []]; + + if (!element.name || !ts.isIdentifier(element.name)) { + // Method has a weird name, e.g. + // [Symbol.foo]() {...} + diagnostics.push({ + file: element.getSourceFile(), + start: element.getStart(), + length: element.getEnd() - element.getStart(), + messageText: `Cannot process decorators for class element with non-analyzable name.`, + category: ts.DiagnosticCategory.Error, + code: 0, + }); + return [undefined, element, []]; + } + + const name = (element.name as ts.Identifier).text; + const mutable = ts.getMutableClone(element); + mutable.decorators = decoratorsToKeep.length ? + ts.setTextRange(ts.createNodeArray(decoratorsToKeep), mutable.decorators) : + undefined; + return [name, mutable, toLower]; + } + + /** + * Transforms a constructor. Returns the transformed constructor and the list of parameter + * information collected, consisting of decorators and optional type. + */ + function transformConstructor(ctor: ts.ConstructorDeclaration): + [ts.ConstructorDeclaration, ParameterDecorationInfo[]] { + ctor = ts.visitEachChild(ctor, decoratorDownlevelVisitor, context); + + const newParameters: ts.ParameterDeclaration[] = []; + const oldParameters = + ts.visitParameterList(ctor.parameters, decoratorDownlevelVisitor, context); + const parametersInfo: ParameterDecorationInfo[] = []; + for (const param of oldParameters) { + const decoratorsToKeep: ts.Decorator[] = []; + const paramInfo: ParameterDecorationInfo = {decorators: [], type: null}; + const decorators = host.getDecoratorsOfDeclaration(param) || []; + + for (const decorator of decorators) { + // We only deal with concrete nodes in TypeScript sources, so we don't + // need to handle synthetically created decorators. + const decoratorNode = decorator.node! as ts.Decorator; + if (!isAngularDecorator(decorator, isCore)) { + decoratorsToKeep.push(decoratorNode); + continue; + } + paramInfo!.decorators.push(decoratorNode); + } + if (param.type) { + // param has a type provided, e.g. "foo: Bar". + // The type will be emitted as a value expression in entityNameToExpression, which takes + // care not to emit anything for types that cannot be expressed as a value (e.g. + // interfaces). + paramInfo!.type = param.type; + } + parametersInfo.push(paramInfo); + const newParam = ts.updateParameter( + param, + // Must pass 'undefined' to avoid emitting decorator metadata. + decoratorsToKeep.length ? decoratorsToKeep : undefined, param.modifiers, + param.dotDotDotToken, param.name, param.questionToken, param.type, param.initializer); + newParameters.push(newParam); + } + const updated = ts.updateConstructor( + ctor, ctor.decorators, ctor.modifiers, newParameters, + ts.visitFunctionBody(ctor.body, decoratorDownlevelVisitor, context)); + return [updated, parametersInfo]; + } + + /** + * Transforms a single class declaration: + * - dispatches to strip decorators on members + * - converts decorators on the class to annotations + * - creates a ctorParameters property + * - creates a propDecorators property + */ + function transformClassDeclaration(classDecl: ts.ClassDeclaration): ts.ClassDeclaration { + classDecl = ts.getMutableClone(classDecl); + + const newMembers: ts.ClassElement[] = []; + const decoratedProperties = new Map(); + let classParameters: ParameterDecorationInfo[]|null = null; + + for (const member of classDecl.members) { + switch (member.kind) { + case ts.SyntaxKind.PropertyDeclaration: + case ts.SyntaxKind.GetAccessor: + case ts.SyntaxKind.SetAccessor: + case ts.SyntaxKind.MethodDeclaration: { + const [name, newMember, decorators] = transformClassElement(member); + newMembers.push(newMember); + if (name) decoratedProperties.set(name, decorators); + continue; + } + case ts.SyntaxKind.Constructor: { + const ctor = member as ts.ConstructorDeclaration; + if (!ctor.body) break; + const [newMember, parametersInfo] = + transformConstructor(member as ts.ConstructorDeclaration); + classParameters = parametersInfo; + newMembers.push(newMember); + continue; + } + default: + break; + } + newMembers.push(ts.visitEachChild(member, decoratorDownlevelVisitor, context)); + } + const decorators = host.getDecoratorsOfDeclaration(classDecl) || []; + + let hasAngularDecorator = false; + const decoratorsToLower = []; + const decoratorsToKeep: ts.Decorator[] = []; + for (const decorator of decorators) { + // We only deal with concrete nodes in TypeScript sources, so we don't + // need to handle synthetically created decorators. + const decoratorNode = decorator.node! as ts.Decorator; + const isNgDecorator = isAngularDecorator(decorator, isCore); + + // Keep track if we come across an Angular class decorator. This is used + // for to determine whether constructor parameters should be captured or not. + if (isNgDecorator) { + hasAngularDecorator = true; + } + + if (isNgDecorator && !skipClassDecorators) { + decoratorsToLower.push(extractMetadataFromSingleDecorator(decoratorNode, diagnostics)); + } else { + decoratorsToKeep.push(decoratorNode); + } + } + + const newClassDeclaration = ts.getMutableClone(classDecl); + + if (decoratorsToLower.length) { + newMembers.push(createDecoratorClassProperty(decoratorsToLower)); + } + if (classParameters) { + if (hasAngularDecorator || classParameters.some(p => !!p.decorators.length)) { + // Capture constructor parameters if the class has Angular decorator applied, + // or if any of the parameters has decorators applied directly. + newMembers.push(createCtorParametersClassProperty( + diagnostics, entityNameToExpression, classParameters, isClosureCompilerEnabled)); + } + } + if (decoratedProperties.size) { + newMembers.push(createPropDecoratorsClassProperty(diagnostics, decoratedProperties)); + } + newClassDeclaration.members = ts.setTextRange( + ts.createNodeArray(newMembers, newClassDeclaration.members.hasTrailingComma), + classDecl.members); + newClassDeclaration.decorators = + decoratorsToKeep.length ? ts.createNodeArray(decoratorsToKeep) : undefined; + return newClassDeclaration; + } + + /** + * Transformer visitor that looks for Angular decorators and replaces them with + * downleveled static properties. Also collects constructor type metadata for + * class declaration that are decorated with an Angular decorator. + */ + function decoratorDownlevelVisitor(node: ts.Node): ts.Node { + if (ts.isClassDeclaration(node)) { + return transformClassDeclaration(node); + } + return ts.visitEachChild(node, decoratorDownlevelVisitor, context); + } + + return (sf: ts.SourceFile) => { + // Ensure that referenced type symbols are not elided by TypeScript. Imports for + // such parameter type symbols previously could be type-only, but now might be also + // used in the `ctorParameters` static property as a value. We want to make sure + // that TypeScript does not elide imports for such type references. Read more + // about this in the description for `patchAliasReferenceResolution`. + patchAliasReferenceResolutionOrDie(context, referencedParameterTypes); + // Downlevel decorators and constructor parameter types. We will keep track of all + // referenced constructor parameter types so that we can instruct TypeScript to + // not elide their imports if they previously were only type-only. + return ts.visitEachChild(sf, decoratorDownlevelVisitor, context); + }; + }; +} diff --git a/packages/compiler-cli/src/transformers/entry_points.ts b/packages/compiler-cli/src/transformers/entry_points.ts index 9a574fa586..6c2da9b161 100644 --- a/packages/compiler-cli/src/transformers/entry_points.ts +++ b/packages/compiler-cli/src/transformers/entry_points.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/inline_resources.ts b/packages/compiler-cli/src/transformers/inline_resources.ts index 015fad0353..4b927f6b8b 100644 --- a/packages/compiler-cli/src/transformers/inline_resources.ts +++ b/packages/compiler-cli/src/transformers/inline_resources.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/lower_expressions.ts b/packages/compiler-cli/src/transformers/lower_expressions.ts index 7ded3d5198..15b24c3469 100644 --- a/packages/compiler-cli/src/transformers/lower_expressions.ts +++ b/packages/compiler-cli/src/transformers/lower_expressions.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/metadata_cache.ts b/packages/compiler-cli/src/transformers/metadata_cache.ts index c8846c39bd..fc564292cd 100644 --- a/packages/compiler-cli/src/transformers/metadata_cache.ts +++ b/packages/compiler-cli/src/transformers/metadata_cache.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -65,4 +65,4 @@ export class MetadataCache implements MetadataProvider { this.metadataCache.set(sourceFile.fileName, result); return result; } -} \ No newline at end of file +} diff --git a/packages/compiler-cli/src/transformers/metadata_reader.ts b/packages/compiler-cli/src/transformers/metadata_reader.ts index c7badeb962..422bc2ed4e 100644 --- a/packages/compiler-cli/src/transformers/metadata_reader.ts +++ b/packages/compiler-cli/src/transformers/metadata_reader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/node_emitter.ts b/packages/compiler-cli/src/transformers/node_emitter.ts index a557669d45..4a791b27bd 100644 --- a/packages/compiler-cli/src/transformers/node_emitter.ts +++ b/packages/compiler-cli/src/transformers/node_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/node_emitter_transform.ts b/packages/compiler-cli/src/transformers/node_emitter_transform.ts index bd72bd06e2..0e3a499746 100644 --- a/packages/compiler-cli/src/transformers/node_emitter_transform.ts +++ b/packages/compiler-cli/src/transformers/node_emitter_transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/patch_alias_reference_resolution.ts b/packages/compiler-cli/src/transformers/patch_alias_reference_resolution.ts new file mode 100644 index 0000000000..f1ccea42d8 --- /dev/null +++ b/packages/compiler-cli/src/transformers/patch_alias_reference_resolution.ts @@ -0,0 +1,120 @@ +/** + * @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 * as ts from 'typescript'; + +/** + * Describes a TypeScript transformation context with the internal emit + * resolver exposed. There are requests upstream in TypeScript to expose + * that as public API: https://github.com/microsoft/TypeScript/issues/17516.. + */ +interface TransformationContextWithResolver extends ts.TransformationContext { + getEmitResolver: () => EmitResolver; +} + +/** Describes a subset of the TypeScript internal emit resolver. */ +interface EmitResolver { + isReferencedAliasDeclaration?(node: ts.Node, checkChildren?: boolean): void; +} + +/** + * Patches the alias declaration reference resolution for a given transformation context + * so that TypeScript knows about the specified alias declarations being referenced. + * + * This exists because TypeScript performs analysis of import usage before transformers + * run and doesn't refresh its state after transformations. This means that imports + * for symbols used as constructor types are elided due to their original type-only usage. + * + * In reality though, since we downlevel decorators and constructor parameters, we want + * these symbols to be retained in the JavaScript output as they will be used as values + * at runtime. We can instruct TypeScript to preserve imports for such identifiers by + * creating a mutable clone of a given import specifier/clause or namespace, but that + * has the downside of preserving the full import in the JS output. See: + * https://github.com/microsoft/TypeScript/blob/3eaa7c65f6f076a08a5f7f1946fd0df7c7430259/src/compiler/transformers/ts.ts#L242-L250. + * + * This is a trick the CLI used in the past for constructor parameter downleveling in JIT: + * https://github.com/angular/angular-cli/blob/b3f84cc5184337666ce61c07b7b9df418030106f/packages/ngtools/webpack/src/transformers/ctor-parameters.ts#L323-L325 + * The trick is not ideal though as it preserves the full import (as outlined before), and it + * results in a slow-down due to the type checker being involved multiple times. The CLI + * worked around this import preserving issue by having another complex post-process step that + * detects and elides unused imports. Note that these unused imports could cause unused chunks + * being generated by Webpack if the application or library is not marked as side-effect free. + * + * This is not ideal though, as we basically re-implement the complex import usage resolution + * from TypeScript. We can do better by letting TypeScript do the import eliding, but providing + * information about the alias declarations (e.g. import specifiers) that should not be elided + * because they are actually referenced (as they will now appear in static properties). + * + * More information about these limitations with transformers can be found in: + * 1. https://github.com/Microsoft/TypeScript/issues/17552. + * 2. https://github.com/microsoft/TypeScript/issues/17516. + * 3. https://github.com/angular/tsickle/issues/635. + * + * The patch we apply to tell TypeScript about actual referenced aliases (i.e. imported symbols), + * matches conceptually with the logic that runs internally in TypeScript when the + * `emitDecoratorMetadata` flag is enabled. TypeScript basically surfaces the same problem and + * solves it conceptually the same way, but obviously doesn't need to access an `@internal` API. + * + * See below. Note that this uses sourcegraph as the TypeScript checker file doesn't display on + * Github. + * https://sourcegraph.com/github.com/microsoft/TypeScript@3eaa7c65f6f076a08a5f7f1946fd0df7c7430259/-/blob/src/compiler/checker.ts#L31219-31257 + */ +export function patchAliasReferenceResolutionOrDie( + context: ts.TransformationContext, referencedAliases: Set): void { + // If the `getEmitResolver` method is not available, TS most likely changed the + // internal structure of the transformation context. We will abort gracefully. + if (!isTransformationContextWithEmitResolver(context)) { + throwIncompatibleTransformationContextError(); + return; + } + const emitResolver = context.getEmitResolver(); + const originalReferenceResolution = emitResolver.isReferencedAliasDeclaration; + // If the emit resolver does not have a function called `isReferencedAliasDeclaration`, then + // we abort gracefully as most likely TS changed the internal structure of the emit resolver. + if (originalReferenceResolution === undefined) { + throwIncompatibleTransformationContextError(); + return; + } + emitResolver.isReferencedAliasDeclaration = function(node, ...args) { + if (isAliasImportDeclaration(node) && referencedAliases.has(node)) { + return true; + } + return originalReferenceResolution.call(emitResolver, node, ...args); + }; +} + +/** + * Gets whether a given node corresponds to an import alias declaration. Alias + * declarations can be import specifiers, namespace imports or import clauses + * as these do not declare an actual symbol but just point to a target declaration. + */ +export function isAliasImportDeclaration(node: ts.Node): node is ts.ImportSpecifier| + ts.NamespaceImport|ts.ImportClause { + return ts.isImportSpecifier(node) || ts.isNamespaceImport(node) || ts.isImportClause(node); +} + +/** Whether the transformation context exposes its emit resolver. */ +function isTransformationContextWithEmitResolver(context: ts.TransformationContext): + context is TransformationContextWithResolver { + return (context as Partial).getEmitResolver !== undefined; +} + + +/** + * Throws an error about an incompatible TypeScript version for which the alias + * declaration reference resolution could not be monkey-patched. The error will + * also propose potential solutions that can be applied by developers. + */ +function throwIncompatibleTransformationContextError() { + throw Error( + 'Unable to downlevel Angular decorators due to an incompatible TypeScript ' + + 'version.\nIf you recently updated TypeScript and this issue surfaces now, consider ' + + 'downgrading.\n\n' + + 'Please report an issue on the Angular repositories when this issue ' + + 'surfaces and you are using a supposedly compatible TypeScript version.'); +} diff --git a/packages/compiler-cli/src/transformers/program.ts b/packages/compiler-cli/src/transformers/program.ts index 89d483b6ff..d8af2c9f62 100644 --- a/packages/compiler-cli/src/transformers/program.ts +++ b/packages/compiler-cli/src/transformers/program.ts @@ -1,32 +1,34 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AotCompiler, AotCompilerHost, AotCompilerOptions, core, createAotCompiler, EmitterVisitorContext, FormattedMessageChain, GeneratedFile, getParseErrors, isFormattedError, isSyntaxError, MessageBundle, NgAnalyzedFile, NgAnalyzedFileWithInjectables, NgAnalyzedModules, ParseSourceSpan, PartialModule, Position, Serializer, StaticSymbol, TypeScriptEmitter, Xliff, Xliff2, Xmb} from '@angular/compiler'; +import {AotCompiler, AotCompilerOptions, core, createAotCompiler, FormattedMessageChain, GeneratedFile, getParseErrors, isFormattedError, isSyntaxError, MessageBundle, NgAnalyzedFileWithInjectables, NgAnalyzedModules, ParseSourceSpan, PartialModule, Serializer, Xliff, Xliff2, Xmb} from '@angular/compiler'; import * as fs from 'fs'; import * as path from 'path'; import * as ts from 'typescript'; -import {translateDiagnostics, TypeCheckHost} from '../diagnostics/translate_diagnostics'; -import {createBundleIndexHost, MetadataCollector, ModuleMetadata} from '../metadata'; +import {translateDiagnostics} from '../diagnostics/translate_diagnostics'; +import {createBundleIndexHost, MetadataCollector} from '../metadata'; +import {isAngularCorePackage} from '../ngtsc/core/src/compiler'; import {NgtscProgram} from '../ngtsc/program'; +import {TypeScriptReflectionHost} from '../ngtsc/reflection'; import {verifySupportedTypeScriptVersion} from '../typescript_support'; -import {CompilerHost, CompilerOptions, CustomTransformers, DEFAULT_ERROR_CODE, Diagnostic, DiagnosticMessageChain, EmitFlags, LazyRoute, LibrarySummary, Program, SOURCE, TsEmitArguments, TsEmitCallback, TsMergeEmitResultsCallback} from './api'; +import {CompilerHost, CompilerOptions, CustomTransformers, DEFAULT_ERROR_CODE, Diagnostic, DiagnosticMessageChain, EmitFlags, LazyRoute, LibrarySummary, Program, SOURCE, TsEmitCallback, TsMergeEmitResultsCallback} from './api'; import {CodeGenerator, getOriginalReferences, TsCompilerAotCompilerTypeCheckHostAdapter} from './compiler_host'; +import {getDownlevelDecoratorsTransform} from './downlevel_decorators_transform'; import {getInlineResourcesTransformFactory, InlineResourcesMetadataTransformer} from './inline_resources'; import {getExpressionLoweringTransformFactory, LowerMetadataTransform} from './lower_expressions'; import {MetadataCache, MetadataTransformer} from './metadata_cache'; import {getAngularEmitterTransformFactory} from './node_emitter_transform'; import {PartialModuleMetadataTransformer} from './r3_metadata_transform'; -import {getDecoratorStripTransformerFactory, StripDecoratorsMetadataTransformer} from './r3_strip_decorators'; import {getAngularClassTransformerFactory} from './r3_transform'; -import {createMessageDiagnostic, DTS, GENERATED_FILES, isInRootDir, ngToTsDiagnostic, StructureIsReused, TS, tsStructureIsReused, userError} from './util'; +import {createMessageDiagnostic, DTS, GENERATED_FILES, isInRootDir, ngToTsDiagnostic, StructureIsReused, TS, tsStructureIsReused} from './util'; /** @@ -46,14 +48,6 @@ const LOWER_FIELDS = ['useValue', 'useFactory', 'data', 'id', 'loadChildren']; */ const R3_LOWER_FIELDS = [...LOWER_FIELDS, 'providers', 'imports', 'exports']; -const R3_REIFIED_DECORATORS = [ - 'Component', - 'Directive', - 'Injectable', - 'NgModule', - 'Pipe', -]; - const emptyModules: NgAnalyzedModules = { ngModules: [], ngModuleByPipeOrDirective: new Map(), @@ -99,8 +93,7 @@ class AngularCompilerProgram implements Program { private _structuralDiagnostics: Diagnostic[]|undefined; private _programWithStubs: ts.Program|undefined; private _optionsDiagnostics: Diagnostic[] = []; - // TODO(issue/24571): remove '!'. - private _reifiedDecorators!: Set; + private _transformTsDiagnostics: ts.Diagnostic[] = []; constructor( rootNames: ReadonlyArray, private options: CompilerOptions, @@ -263,72 +256,6 @@ class AngularCompilerProgram implements Program { return this._emitRender2(parameters); } - private _emitRender3({ - emitFlags = EmitFlags.Default, - cancellationToken, - customTransformers, - emitCallback = defaultEmitCallback, - mergeEmitResultsCallback = mergeEmitResults, - }: { - emitFlags?: EmitFlags, - cancellationToken?: ts.CancellationToken, - customTransformers?: CustomTransformers, - emitCallback?: TsEmitCallback, - mergeEmitResultsCallback?: TsMergeEmitResultsCallback, - } = {}): ts.EmitResult { - const emitStart = Date.now(); - if ((emitFlags & (EmitFlags.JS | EmitFlags.DTS | EmitFlags.Metadata | EmitFlags.Codegen)) === - 0) { - return {emitSkipped: true, diagnostics: [], emittedFiles: []}; - } - - // analyzedModules and analyzedInjectables are created together. If one exists, so does the - // other. - const modules = - this.compiler.emitAllPartialModules(this.analyzedModules, this._analyzedInjectables!); - - const writeTsFile: ts.WriteFileCallback = - (outFileName, outData, writeByteOrderMark, onError?, sourceFiles?) => { - this.writeFile(outFileName, outData, writeByteOrderMark, onError, undefined, sourceFiles); - }; - - const emitOnlyDtsFiles = (emitFlags & (EmitFlags.DTS | EmitFlags.JS)) == EmitFlags.DTS; - - const tsCustomTransformers = this.calculateTransforms( - /* genFiles */ undefined, /* partialModules */ modules, - /* stripDecorators */ this.reifiedDecorators, customTransformers); - - - // Restore the original references before we emit so TypeScript doesn't emit - // a reference to the .d.ts file. - const augmentedReferences = new Map>(); - for (const sourceFile of this.tsProgram.getSourceFiles()) { - const originalReferences = getOriginalReferences(sourceFile); - if (originalReferences) { - augmentedReferences.set(sourceFile, sourceFile.referencedFiles); - sourceFile.referencedFiles = originalReferences; - } - } - - try { - return emitCallback({ - program: this.tsProgram, - host: this.host, - options: this.options, - writeFile: writeTsFile, - emitOnlyDtsFiles, - customTransformers: tsCustomTransformers - }); - } finally { - // Restore the references back to the augmented value to ensure that the - // checks that TypeScript makes for project structure reuse will succeed. - for (const [sourceFile, references] of Array.from(augmentedReferences)) { - // TODO(chuckj): Remove any cast after updating build to 2.6 - (sourceFile as any).referencedFiles = references; - } - } - } - private _emitRender2({ emitFlags = EmitFlags.Default, cancellationToken, @@ -367,6 +294,7 @@ class AngularCompilerProgram implements Program { const genFileByFileName = new Map(); genFiles.forEach(genFile => genFileByFileName.set(genFile.genFileUrl, genFile)); this.emittedLibrarySummaries = []; + this._transformTsDiagnostics = []; const emittedSourceFiles = [] as ts.SourceFile[]; const writeTsFile: ts.WriteFileCallback = (outFileName, outData, writeByteOrderMark, onError?, sourceFiles?) => { @@ -389,8 +317,8 @@ class AngularCompilerProgram implements Program { const modules = this._analyzedInjectables && this.compiler.emitAllPartialModules2(this._analyzedInjectables); - const tsCustomTransformers = this.calculateTransforms( - genFileByFileName, modules, /* stripDecorators */ undefined, customTransformers); + const tsCustomTransformers = + this.calculateTransforms(genFileByFileName, modules, customTransformers); const emitOnlyDtsFiles = (emitFlags & (EmitFlags.DTS | EmitFlags.JS)) == EmitFlags.DTS; // Restore the original references before we emit so TypeScript doesn't emit // a reference to the .d.ts file. @@ -548,22 +476,23 @@ class AngularCompilerProgram implements Program { return this._tsProgram!; } - private get reifiedDecorators(): Set { - if (!this._reifiedDecorators) { - const reflector = this.compiler.reflector; - this._reifiedDecorators = new Set( - R3_REIFIED_DECORATORS.map(name => reflector.findDeclaration('@angular/core', name))); + /** Whether the program is compiling the Angular core package. */ + private get isCompilingAngularCore(): boolean { + if (this._isCompilingAngularCore !== null) { + return this._isCompilingAngularCore; } - return this._reifiedDecorators; + return this._isCompilingAngularCore = isAngularCorePackage(this.tsProgram); } + private _isCompilingAngularCore: boolean|null = null; private calculateTransforms( genFiles: Map|undefined, partialModules: PartialModule[]|undefined, - stripDecorators: Set|undefined, customTransformers?: CustomTransformers): ts.CustomTransformers { const beforeTs: Array> = []; const metadataTransforms: MetadataTransformer[] = []; const flatModuleMetadataTransforms: MetadataTransformer[] = []; + const annotateForClosureCompiler = this.options.annotateForClosureCompiler || false; + if (this.options.enableResourceInlining) { beforeTs.push(getInlineResourcesTransformFactory(this.tsProgram, this.hostAdapter)); const transformer = new InlineResourcesMetadataTransformer(this.hostAdapter); @@ -576,7 +505,6 @@ class AngularCompilerProgram implements Program { getExpressionLoweringTransformFactory(this.loweringMetadataTransform, this.tsProgram)); metadataTransforms.push(this.loweringMetadataTransform); } - const annotateForClosureCompiler = this.options.annotateForClosureCompiler || false; if (genFiles) { beforeTs.push(getAngularEmitterTransformFactory( genFiles, this.getTsProgram(), annotateForClosureCompiler)); @@ -591,18 +519,26 @@ class AngularCompilerProgram implements Program { flatModuleMetadataTransforms.push(transformer); } - if (stripDecorators) { - beforeTs.push(getDecoratorStripTransformerFactory( - stripDecorators, this.compiler.reflector, this.getTsProgram().getTypeChecker())); - const transformer = - new StripDecoratorsMetadataTransformer(stripDecorators, this.compiler.reflector); - metadataTransforms.push(transformer); - flatModuleMetadataTransforms.push(transformer); - } - if (customTransformers && customTransformers.beforeTs) { beforeTs.push(...customTransformers.beforeTs); } + + // If decorators should be converted to static fields (enabled by default), we set up + // the decorator downlevel transform. Note that we set it up as last transform as that + // allows custom transformers to strip Angular decorators without having to deal with + // identifying static properties. e.g. it's more difficult handling `<..>.decorators` + // or `<..>.ctorParameters` compared to the `ts.Decorator` AST nodes. + if (this.options.annotationsAs !== 'decorators') { + const typeChecker = this.getTsProgram().getTypeChecker(); + const reflectionHost = new TypeScriptReflectionHost(typeChecker); + // Similarly to how we handled tsickle decorator downleveling in the past, we just + // ignore diagnostics that have been collected by the transformer. These are + // non-significant failures that shouldn't prevent apps from compiling. + beforeTs.push(getDownlevelDecoratorsTransform( + typeChecker, reflectionHost, [], this.isCompilingAngularCore, annotateForClosureCompiler, + /* skipClassDecorators */ false)); + } + if (metadataTransforms.length > 0) { this.metadataCache = this.createMetadataCache(metadataTransforms); } diff --git a/packages/compiler-cli/src/transformers/r3_metadata_transform.ts b/packages/compiler-cli/src/transformers/r3_metadata_transform.ts index d0aefbf553..f305b9bf68 100644 --- a/packages/compiler-cli/src/transformers/r3_metadata_transform.ts +++ b/packages/compiler-cli/src/transformers/r3_metadata_transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/r3_strip_decorators.ts b/packages/compiler-cli/src/transformers/r3_strip_decorators.ts deleted file mode 100644 index 1d2bba7cdb..0000000000 --- a/packages/compiler-cli/src/transformers/r3_strip_decorators.ts +++ /dev/null @@ -1,167 +0,0 @@ -/** - * @license - * Copyright Google Inc. 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 {StaticReflector, StaticSymbol} from '@angular/compiler'; -import * as ts from 'typescript'; - -import {isClassMetadata, isMetadataImportedSymbolReferenceExpression, isMetadataSymbolicCallExpression, MetadataValue} from '../metadata'; - -import {MetadataTransformer, ValueTransform} from './metadata_cache'; - -export type Transformer = (sourceFile: ts.SourceFile) => ts.SourceFile; -export type TransformerFactory = (context: ts.TransformationContext) => Transformer; - -export function getDecoratorStripTransformerFactory( - coreDecorators: Set, reflector: StaticReflector, - checker: ts.TypeChecker): TransformerFactory { - return function(context: ts.TransformationContext) { - return function(sourceFile: ts.SourceFile): ts.SourceFile { - const stripDecoratorsFromClassDeclaration = - (node: ts.ClassDeclaration): ts.ClassDeclaration => { - if (node.decorators === undefined) { - return node; - } - const decorators = node.decorators.filter(decorator => { - const callExpr = decorator.expression; - if (ts.isCallExpression(callExpr)) { - const id = callExpr.expression; - if (ts.isIdentifier(id)) { - const symbol = resolveToStaticSymbol(id, sourceFile.fileName, reflector, checker); - return symbol && coreDecorators.has(symbol); - } - } - return true; - }); - if (decorators.length !== node.decorators.length) { - return ts.updateClassDeclaration( - node, - decorators, - node.modifiers, - node.name, - node.typeParameters, - node.heritageClauses || [], - node.members, - ); - } - return node; - }; - - const stripDecoratorPropertyAssignment = (node: ts.ClassDeclaration): ts.ClassDeclaration => { - return ts.visitEachChild(node, member => { - if (!ts.isPropertyDeclaration(member) || !isDecoratorAssignment(member) || - !member.initializer || !ts.isArrayLiteralExpression(member.initializer)) { - return member; - } - - const newInitializer = ts.visitEachChild(member.initializer, decorator => { - if (!ts.isObjectLiteralExpression(decorator)) { - return decorator; - } - const type = lookupProperty(decorator, 'type'); - if (!type || !ts.isIdentifier(type)) { - return decorator; - } - const symbol = resolveToStaticSymbol(type, sourceFile.fileName, reflector, checker); - if (!symbol || !coreDecorators.has(symbol)) { - return decorator; - } - return undefined; - }, context); - - if (newInitializer === member.initializer) { - return member; - } else if (newInitializer.elements.length === 0) { - return undefined; - } else { - return ts.updateProperty( - member, member.decorators, member.modifiers, member.name, member.questionToken, - member.type, newInitializer); - } - }, context); - }; - - return ts.visitEachChild(sourceFile, stmt => { - if (ts.isClassDeclaration(stmt)) { - let decl = stmt; - if (stmt.decorators) { - decl = stripDecoratorsFromClassDeclaration(stmt); - } - return stripDecoratorPropertyAssignment(decl); - } - return stmt; - }, context); - }; - }; -} - -function isDecoratorAssignment(member: ts.ClassElement): boolean { - if (!ts.isPropertyDeclaration(member)) { - return false; - } - if (!member.modifiers || - !member.modifiers.some(mod => mod.kind === ts.SyntaxKind.StaticKeyword)) { - return false; - } - if (!ts.isIdentifier(member.name) || member.name.text !== 'decorators') { - return false; - } - if (!member.initializer || !ts.isArrayLiteralExpression(member.initializer)) { - return false; - } - return true; -} - -function lookupProperty(expr: ts.ObjectLiteralExpression, prop: string): ts.Expression|undefined { - const decl = expr.properties.find( - elem => !!elem.name && ts.isIdentifier(elem.name) && elem.name.text === prop); - if (decl === undefined || !ts.isPropertyAssignment(decl)) { - return undefined; - } - return decl.initializer; -} - -function resolveToStaticSymbol( - id: ts.Identifier, containingFile: string, reflector: StaticReflector, - checker: ts.TypeChecker): StaticSymbol|null { - const res = checker.getSymbolAtLocation(id); - if (!res || !res.declarations || res.declarations.length === 0) { - return null; - } - const decl = res.declarations[0]; - if (!ts.isImportSpecifier(decl)) { - return null; - } - const moduleSpecifier = decl.parent!.parent!.parent!.moduleSpecifier; - if (!ts.isStringLiteral(moduleSpecifier)) { - return null; - } - return reflector.tryFindDeclaration(moduleSpecifier.text, id.text, containingFile); -} - -export class StripDecoratorsMetadataTransformer implements MetadataTransformer { - constructor(private coreDecorators: Set, private reflector: StaticReflector) {} - - start(sourceFile: ts.SourceFile): ValueTransform|undefined { - return (value: MetadataValue, node: ts.Node): MetadataValue => { - if (isClassMetadata(value) && ts.isClassDeclaration(node) && value.decorators) { - value.decorators = value.decorators.filter(d => { - if (isMetadataSymbolicCallExpression(d) && - isMetadataImportedSymbolReferenceExpression(d.expression)) { - const declaration = this.reflector.tryFindDeclaration( - d.expression.module, d.expression.name, sourceFile.fileName); - if (declaration && this.coreDecorators.has(declaration)) { - return false; - } - } - return true; - }); - } - return value; - }; - } -} diff --git a/packages/compiler-cli/src/transformers/r3_transform.ts b/packages/compiler-cli/src/transformers/r3_transform.ts index cf61b8ad2f..cdd40e7c14 100644 --- a/packages/compiler-cli/src/transformers/r3_transform.ts +++ b/packages/compiler-cli/src/transformers/r3_transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/transformers/util.ts b/packages/compiler-cli/src/transformers/util.ts index 9df0d76365..6b139cb7b7 100644 --- a/packages/compiler-cli/src/transformers/util.ts +++ b/packages/compiler-cli/src/transformers/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/src/typescript_support.ts b/packages/compiler-cli/src/typescript_support.ts index 4d78794efd..3adef9b986 100644 --- a/packages/compiler-cli/src/typescript_support.ts +++ b/packages/compiler-cli/src/typescript_support.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,14 +12,14 @@ import {compareVersions} from './diagnostics/typescript_version'; * Minimum supported TypeScript version * ∀ supported typescript version v, v >= MIN_TS_VERSION */ -const MIN_TS_VERSION = '3.8.3'; +const MIN_TS_VERSION = '3.9.2'; /** * Supremum of supported TypeScript versions * ∀ supported typescript version v, v < MAX_TS_VERSION * MAX_TS_VERSION is not considered as a supported TypeScript version */ -const MAX_TS_VERSION = '3.9.0'; +const MAX_TS_VERSION = '4.0.0'; /** * The currently used version of TypeScript, which can be adjusted for testing purposes using diff --git a/packages/compiler-cli/src/version.ts b/packages/compiler-cli/src/version.ts index 0ebdb959fc..de85698e6b 100644 --- a/packages/compiler-cli/src/version.ts +++ b/packages/compiler-cli/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/mock_compile.ts b/packages/compiler-cli/test/compliance/mock_compile.ts index bae4cc8632..2f4185c8bd 100644 --- a/packages/compiler-cli/test/compliance/mock_compile.ts +++ b/packages/compiler-cli/test/compliance/mock_compile.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/mock_compiler_spec.ts b/packages/compiler-cli/test/compliance/mock_compiler_spec.ts index fe6166022c..ba8cf564b5 100644 --- a/packages/compiler-cli/test/compliance/mock_compiler_spec.ts +++ b/packages/compiler-cli/test/compliance/mock_compiler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_compiler_compliance_spec.ts b/packages/compiler-cli/test/compliance/r3_compiler_compliance_spec.ts index e3fbbdc6af..3020efab87 100644 --- a/packages/compiler-cli/test/compliance/r3_compiler_compliance_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_compiler_compliance_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts index 1a962dc5ee..bbd5801c9a 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_di_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_di_spec.ts index 91f70e9d03..b2d95142b8 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_di_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_di_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_directives_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_directives_spec.ts index b71ff345c9..01b73050f2 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_directives_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_directives_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_i18n_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_i18n_spec.ts index cfb73846a3..05dad886e2 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_i18n_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_i18n_spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AttributeMarker} from '@angular/compiler/src/core'; import {setup} from '@angular/compiler/test/aot/test_util'; +import * as ts from 'typescript'; import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '../../../compiler/src/compiler'; import {decimalDigest} from '../../../compiler/src/i18n/digest'; @@ -3761,6 +3761,23 @@ $` + String.raw`{$I18N_4$}:ICU:\`; })); }); + describe('es5 support', () => { + it('should generate ES5 compliant localized messages if the target is ES5', () => { + const input = ` +
    Content A
    + `; + + const output = String.raw` + var $I18N_0$; + … + $I18N_0$ = $localize(…__makeTemplateObject([":meaning:A|descA@@idA:Content A"], [":meaning\\:A|descA@@idA:Content A"])…); + `; + + verify( + input, output, {skipIdBasedCheck: true, compilerOptions: {target: ts.ScriptTarget.ES5}}); + }); + }); + describe('errors', () => { const verifyNestedSectionsError = (errorThrown: any, expectedErrorText: string) => { expect(errorThrown.ngParseErrors.length).toBe(1); @@ -3815,4 +3832,102 @@ $` + String.raw`{$I18N_4$}:ICU:\`; } }); }); + + describe('namespaces', () => { + it('should handle namespaces inside i18n blocks', () => { + const input = ` + + + + Count: 5 + + + + `; + + const output = String.raw` + var $I18N_0$; + if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) { + const $MSG_EXTERNAL_7128002169381370313$$APP_SPEC_TS_1$ = goog.getMsg("{$startTagXhtmlDiv} Count: {$startTagXhtmlSpan}5{$closeTagXhtmlSpan}{$closeTagXhtmlDiv}", { + "startTagXhtmlDiv": "\uFFFD#3\uFFFD", + "startTagXhtmlSpan": "\uFFFD#4\uFFFD", + "closeTagXhtmlSpan": "\uFFFD/#4\uFFFD", + "closeTagXhtmlDiv": "\uFFFD/#3\uFFFD" + }); + $I18N_0$ = $MSG_EXTERNAL_7128002169381370313$$APP_SPEC_TS_1$; + } + else { + $I18N_0$ = $localize \`$` + + String.raw`{"\uFFFD#3\uFFFD"}:START_TAG__XHTML_DIV: Count: $` + + String.raw`{"\uFFFD#4\uFFFD"}:START_TAG__XHTML_SPAN:5$` + + String.raw`{"\uFFFD/#4\uFFFD"}:CLOSE_TAG__XHTML_SPAN:$` + + String.raw`{"\uFFFD/#3\uFFFD"}:CLOSE_TAG__XHTML_DIV:\`; + } + … + function MyComponent_Template(rf, ctx) { + if (rf & 1) { + $r3$.ɵɵnamespaceSVG(); + $r3$.ɵɵelementStart(0, "svg", 0); + $r3$.ɵɵelementStart(1, "foreignObject"); + $r3$.ɵɵi18nStart(2, $I18N_0$); + $r3$.ɵɵnamespaceHTML(); + $r3$.ɵɵelementStart(3, "div", 1); + $r3$.ɵɵelement(4, "span"); + $r3$.ɵɵelementEnd(); + $r3$.ɵɵi18nEnd(); + $r3$.ɵɵelementEnd(); + $r3$.ɵɵelementEnd(); + } + } + `; + + verify(input, output); + }); + + it('should handle namespaces on i18n block containers', () => { + const input = ` + + + + Count: 5 + + + + `; + + const output = String.raw` + var $I18N_0$; + if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) { + const $MSG_EXTERNAL_7428861019045796010$$APP_SPEC_TS_1$ = goog.getMsg(" Count: {$startTagXhtmlSpan}5{$closeTagXhtmlSpan}", { + "startTagXhtmlSpan": "\uFFFD#4\uFFFD", + "closeTagXhtmlSpan": "\uFFFD/#4\uFFFD" + }); + $I18N_0$ = $MSG_EXTERNAL_7428861019045796010$$APP_SPEC_TS_1$; + } + else { + $I18N_0$ = $localize \` Count: $` + + String.raw`{"\uFFFD#4\uFFFD"}:START_TAG__XHTML_SPAN:5$` + + String.raw`{"\uFFFD/#4\uFFFD"}:CLOSE_TAG__XHTML_SPAN:\`; + } + … + function MyComponent_Template(rf, ctx) { + if (rf & 1) { + $r3$.ɵɵnamespaceSVG(); + $r3$.ɵɵelementStart(0, "svg", 0); + $r3$.ɵɵelementStart(1, "foreignObject"); + $r3$.ɵɵnamespaceHTML(); + $r3$.ɵɵelementStart(2, "div", 1); + $r3$.ɵɵi18nStart(3, $I18N_0$); + $r3$.ɵɵelement(4, "span"); + $r3$.ɵɵi18nEnd(); + $r3$.ɵɵelementEnd(); + $r3$.ɵɵelementEnd(); + $r3$.ɵɵelementEnd(); + } + } + `; + + verify(input, output, {verbose: true}); + }); + }); }); diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_input_outputs_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_input_outputs_spec.ts index 5d435b8d66..9d012cc70f 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_input_outputs_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_input_outputs_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_listener_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_listener_spec.ts index b43dcafd45..01d8d7880b 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_listener_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_listener_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_providers_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_providers_spec.ts index 76cade7a88..bae67d1ad1 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_providers_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_providers_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -142,21 +142,21 @@ describe('compiler compliance: providers', () => { const result = compile(files, angularFiles); expectEmit( result.source, ` - export class MyComponent { - } - MyComponent.ɵfac = function MyComponent_Factory(t) { return new (t || MyComponent)(); }; - MyComponent.ɵcmp = i0.ɵɵdefineComponent({ - type: MyComponent, - selectors: [["my-component"]], - decls: 1, - vars: 0, - template: function MyComponent_Template(rf, ctx) { - if (rf & 1) { - i0.ɵɵelement(0, "div"); + export class MyComponent { } - }, - encapsulation: 2 - });`, + MyComponent.ɵfac = function MyComponent_Factory(t) { return new (t || MyComponent)(); }; + MyComponent.ɵcmp = i0.ɵɵdefineComponent({ + type: MyComponent, + selectors: [["my-component"]], + decls: 1, + vars: 0, + template: function MyComponent_Template(rf, ctx) { + if (rf & 1) { + i0.ɵɵelement(0, "div"); + } + }, + encapsulation: 2 + });`, 'Incorrect features'); }); }); diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_spec.ts index 68cc862a12..b2e19b02b4 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_styling_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_styling_spec.ts index 685b1ef69c..0ae6c64669 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_styling_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_styling_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -555,7 +555,7 @@ describe('compiler compliance: styling', () => { $r3$.ɵɵelement(0, "div"); } if (rf & 2) { - $r3$.ɵɵstyleProp("background-image", ctx.myImage, $r3$.ɵɵdefaultStyleSanitizer); + $r3$.ɵɵstyleProp("background-image", ctx.myImage); } }, encapsulation: 2 @@ -1151,15 +1151,15 @@ describe('compiler compliance: styling', () => { app: { 'spec.ts': ` import {Component, NgModule, HostBinding} from '@angular/core'; - + @Component({ selector: 'my-component', template: \`
    -
    -
    -
    -
    +
    +
    +
    +
    @@ -1178,7 +1178,7 @@ describe('compiler compliance: styling', () => { p8 = 100; p9 = 100; } - + @NgModule({declarations: [MyComponent]}) export class MyModule {} ` @@ -1221,7 +1221,7 @@ describe('compiler compliance: styling', () => { app: { 'spec.ts': ` import {Component, NgModule, HostBinding} from '@angular/core'; - + @Component({ selector: 'my-component', template: \` @@ -1248,7 +1248,7 @@ describe('compiler compliance: styling', () => { p8 = 100; p9 = 100; } - + @NgModule({declarations: [MyComponent]}) export class MyModule {} ` @@ -1554,8 +1554,8 @@ describe('compiler compliance: styling', () => { const template = ` … if (rf & 2) { - $r3$.ɵɵstylePropInterpolate1("background", "url(", ctx.myUrl1, ")", $r3$.ɵɵdefaultStyleSanitizer); - $r3$.ɵɵstylePropInterpolate2("border-image", "url(", ctx.myUrl2, ") ", ctx.myRepeat, " auto", $r3$.ɵɵdefaultStyleSanitizer); + $r3$.ɵɵstylePropInterpolate1("background", "url(", ctx.myUrl1, ")"); + $r3$.ɵɵstylePropInterpolate2("border-image", "url(", ctx.myUrl2, ") ", ctx.myRepeat, " auto"); $r3$.ɵɵstylePropInterpolate3("box-shadow", "", ctx.myBoxX, " ", ctx.myBoxY, " ", ctx.myBoxWidth, " black"); } … @@ -2036,110 +2036,6 @@ describe('compiler compliance: styling', () => { }); describe('new styling refactor', () => { - it('should generate a `styleSanitizer` instruction when one or more sanitizable style properties are statically detected', - () => { - const files = { - app: { - 'spec.ts': ` - import {Component, NgModule} from '@angular/core'; - - @Component({ - selector: 'my-app', - template: \` -
    - \` - }) - export class MyAppComp { - bgExp = ''; - } - ` - } - }; - - const template = ` - template: function MyAppComp_Template(rf, ctx) { - … - if (rf & 2) { - $r3$.ɵɵstyleProp("background-image", ctx.bgExp, $r3$.ɵɵdefaultStyleSanitizer); - } - … - } - `; - - const result = compile(files, angularFiles); - expectEmit(result.source, template, 'Incorrect template'); - }); - - it('should generate a `styleSanitizer` instruction when a `styleMap` instruction is used', - () => { - const files = { - app: { - 'spec.ts': ` - import {Component, NgModule} from '@angular/core'; - - @Component({ - selector: 'my-app', - template: \` -
    - \` - }) - export class MyAppComp { - mapExp = {}; - } - ` - } - }; - - const template = ` - template: function MyAppComp_Template(rf, ctx) { - … - if (rf & 2) { - $r3$.ɵɵstyleMap(ctx.mapExp); - } - … - } - `; - - const result = compile(files, angularFiles); - expectEmit(result.source, template, 'Incorrect template'); - }); - - it('shouldn\'t generate a `styleSanitizer` instruction when class-based instructions are used', - () => { - const files = { - app: { - 'spec.ts': ` - import {Component, NgModule} from '@angular/core'; - - @Component({ - selector: 'my-app', - template: \` -
    - \` - }) - export class MyAppComp { - mapExp = {}; - nameExp = true; - } - ` - } - }; - - const template = ` - template: function MyAppComp_Template(rf, ctx) { - … - if (rf & 2) { - $r3$.ɵɵclassMap(ctx.mapExp); - $r3$.ɵɵclassProp("name", ctx.nameExp); - } - … - } - `; - - const result = compile(files, angularFiles); - expectEmit(result.source, template, 'Incorrect template'); - }); - it('should generate the correct amount of host bindings when styling is present', () => { const files = { app: { diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_template_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_template_spec.ts index 4b10387526..7e1895794a 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_template_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_template_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/diagnostics/check_types_spec.ts b/packages/compiler-cli/test/diagnostics/check_types_spec.ts index d2155d93d0..68d3f28114 100644 --- a/packages/compiler-cli/test/diagnostics/check_types_spec.ts +++ b/packages/compiler-cli/test/diagnostics/check_types_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/diagnostics/typescript_version_spec.ts b/packages/compiler-cli/test/diagnostics/typescript_version_spec.ts index 3e817cced5..ea804a2311 100644 --- a/packages/compiler-cli/test/diagnostics/typescript_version_spec.ts +++ b/packages/compiler-cli/test/diagnostics/typescript_version_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/extract_i18n_spec.ts b/packages/compiler-cli/test/extract_i18n_spec.ts index 39569ac554..e06f4f8108 100644 --- a/packages/compiler-cli/test/extract_i18n_spec.ts +++ b/packages/compiler-cli/test/extract_i18n_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/helpers/BUILD.bazel b/packages/compiler-cli/test/helpers/BUILD.bazel index 30e7d3cdf5..480e618f04 100644 --- a/packages/compiler-cli/test/helpers/BUILD.bazel +++ b/packages/compiler-cli/test/helpers/BUILD.bazel @@ -8,6 +8,7 @@ ts_library( srcs = glob([ "**/*.ts", ]), + module_name = "@angular/compiler-cli/test/helpers", deps = [ "//packages:types", "//packages/compiler-cli/src/ngtsc/file_system", diff --git a/packages/compiler-cli/test/helpers/index.ts b/packages/compiler-cli/test/helpers/index.ts index e67cce5f79..2c8ece941d 100644 --- a/packages/compiler-cli/test/helpers/index.ts +++ b/packages/compiler-cli/test/helpers/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/helpers/src/mock_file_loading.ts b/packages/compiler-cli/test/helpers/src/mock_file_loading.ts index baf20e7ed4..e5e8cb79b9 100644 --- a/packages/compiler-cli/test/helpers/src/mock_file_loading.ts +++ b/packages/compiler-cli/test/helpers/src/mock_file_loading.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -37,7 +37,7 @@ export function loadStandardTestFiles( loadFakeCore(tmpFs, basePath); } else { getAngularPackagesFromRunfiles().forEach(({name, pkgPath}) => { - loadTestDirectory(tmpFs, pkgPath, tmpFs.resolve('/node_modules/@angular', name)); + loadTestDirectory(tmpFs, pkgPath, tmpFs.resolve(basePath, 'node_modules/@angular', name)); }); } @@ -66,7 +66,8 @@ export function loadFakeCore(fs: FileSystem, basePath: string = '/') { * @param directoryPath the path to the directory we want to load. * @param mockPath the path within the mock file-system where the directory is to be loaded. */ -function loadTestDirectory(fs: FileSystem, directoryPath: string, mockPath: AbsoluteFsPath): void { +export function loadTestDirectory( + fs: FileSystem, directoryPath: string, mockPath: AbsoluteFsPath): void { readdirSync(directoryPath).forEach(item => { const srcPath = resolve(directoryPath, item); const targetPath = fs.resolve(mockPath, item); diff --git a/packages/compiler-cli/test/helpers/src/runfile_helpers.ts b/packages/compiler-cli/test/helpers/src/runfile_helpers.ts index 72ad3c9d7b..3fe31c15b5 100644 --- a/packages/compiler-cli/test/helpers/src/runfile_helpers.ts +++ b/packages/compiler-cli/test/helpers/src/runfile_helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/metadata/bundler_spec.ts b/packages/compiler-cli/test/metadata/bundler_spec.ts index 7f8d297a1d..1391485bc7 100644 --- a/packages/compiler-cli/test/metadata/bundler_spec.ts +++ b/packages/compiler-cli/test/metadata/bundler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -226,9 +226,9 @@ describe('metadata bundler', () => { 'deep': { 'index.ts': ` import {sharedFn} from '../shared'; - + export class MyClass { - static ɵprov = sharedFn(); + static ɵprov = sharedFn(); } `, } diff --git a/packages/compiler-cli/test/metadata/collector_spec.ts b/packages/compiler-cli/test/metadata/collector_spec.ts index 5b591e0bea..71543fbd47 100644 --- a/packages/compiler-cli/test/metadata/collector_spec.ts +++ b/packages/compiler-cli/test/metadata/collector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/metadata/evaluator_spec.ts b/packages/compiler-cli/test/metadata/evaluator_spec.ts index 405ff74189..e14ab9765c 100644 --- a/packages/compiler-cli/test/metadata/evaluator_spec.ts +++ b/packages/compiler-cli/test/metadata/evaluator_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/metadata/index_writer_spec.ts b/packages/compiler-cli/test/metadata/index_writer_spec.ts index ee0678d6ac..1349269397 100644 --- a/packages/compiler-cli/test/metadata/index_writer_spec.ts +++ b/packages/compiler-cli/test/metadata/index_writer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,4 +22,4 @@ describe('index_writer', () => { expect(result).toContain(`export {PrivateOne as ɵa} from './src/one';`); expect(result).toContain(`export {PrivateTwo as ɵb} from './src/two/index';`); }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/test/metadata/symbols_spec.ts b/packages/compiler-cli/test/metadata/symbols_spec.ts index 37c5a693fd..4e1f9ba37a 100644 --- a/packages/compiler-cli/test/metadata/symbols_spec.ts +++ b/packages/compiler-cli/test/metadata/symbols_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/metadata/typescript.mocks.ts b/packages/compiler-cli/test/metadata/typescript.mocks.ts index 71d214406d..7b9e1e1434 100644 --- a/packages/compiler-cli/test/metadata/typescript.mocks.ts +++ b/packages/compiler-cli/test/metadata/typescript.mocks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/mocks.ts b/packages/compiler-cli/test/mocks.ts index 7d8d083d3e..449be39dec 100644 --- a/packages/compiler-cli/test/mocks.ts +++ b/packages/compiler-cli/test/mocks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngc_spec.ts b/packages/compiler-cli/test/ngc_spec.ts index d2c783ad6c..b310c5adf7 100644 --- a/packages/compiler-cli/test/ngc_spec.ts +++ b/packages/compiler-cli/test/ngc_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,7 @@ import * as fs from 'fs'; import * as path from 'path'; import * as ts from 'typescript'; -import {main, readCommandLineAndConfiguration, watchMode} from '../src/main'; +import {main, mainDiagnosticsForTest, readCommandLineAndConfiguration, watchMode} from '../src/main'; import {setup, stripAnsi} from './test_support'; describe('ngc transformer command-line', () => { @@ -97,6 +97,103 @@ describe('ngc transformer command-line', () => { expect(exitCode).toBe(1); }); + describe('decorator metadata', () => { + it('should add metadata as decorators if "annotationsAs" is set to "decorators"', () => { + writeConfig(`{ + "extends": "./tsconfig-base.json", + "compilerOptions": { + "emitDecoratorMetadata": true + }, + "angularCompilerOptions": { + "annotationsAs": "decorators" + }, + "files": ["mymodule.ts"] + }`); + write('aclass.ts', `export class AClass {}`); + write('mymodule.ts', ` + import {NgModule} from '@angular/core'; + import {AClass} from './aclass'; + + @NgModule({declarations: []}) + export class MyModule { + constructor(importedClass: AClass) {} + } + `); + + const exitCode = main(['-p', basePath], errorSpy); + expect(exitCode).toEqual(0); + + const mymodulejs = path.resolve(outDir, 'mymodule.js'); + const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); + expect(mymoduleSource).toContain('MyModule = __decorate(['); + expect(mymoduleSource).toContain(`import { AClass } from './aclass';`); + expect(mymoduleSource).toContain(`__metadata("design:paramtypes", [AClass])`); + expect(mymoduleSource).not.toContain('MyModule.ctorParameters'); + expect(mymoduleSource).not.toContain('MyModule.decorators'); + }); + + it('should add metadata for Angular-decorated classes as static fields', () => { + writeConfig(`{ + "extends": "./tsconfig-base.json", + "files": ["mymodule.ts"] + }`); + write('aclass.ts', `export class AClass {}`); + write('mymodule.ts', ` + import {NgModule} from '@angular/core'; + import {AClass} from './aclass'; + + @NgModule({declarations: []}) + export class MyModule { + constructor(importedClass: AClass) {} + } + `); + + const exitCode = main(['-p', basePath], errorSpy); + expect(exitCode).toEqual(0); + + const mymodulejs = path.resolve(outDir, 'mymodule.js'); + const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); + expect(mymoduleSource).not.toContain('__decorate'); + expect(mymoduleSource).toContain('args: [{ declarations: [] },] }'); + expect(mymoduleSource).not.toContain(`__metadata`); + expect(mymoduleSource).toContain(`import { AClass } from './aclass';`); + expect(mymoduleSource).toContain(`{ type: AClass }`); + }); + + it('should not downlevel decorators for classes with custom decorators', () => { + writeConfig(`{ + "extends": "./tsconfig-base.json", + "files": ["mymodule.ts"] + }`); + write('aclass.ts', `export class AClass {}`); + write('decorator.ts', ` + export function CustomDecorator(metadata: any) { + return (...args: any[]) => {} + } + `); + write('mymodule.ts', ` + import {AClass} from './aclass'; + import {CustomDecorator} from './decorator'; + + @CustomDecorator({declarations: []}) + export class MyModule { + constructor(importedClass: AClass) {} + } + `); + + const exitCode = main(['-p', basePath], errorSpy); + expect(exitCode).toEqual(0); + + const mymodulejs = path.resolve(outDir, 'mymodule.js'); + const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); + expect(mymoduleSource).toContain('__decorate'); + expect(mymoduleSource).toContain('({ declarations: [] })'); + expect(mymoduleSource).not.toContain('AClass'); + expect(mymoduleSource).not.toContain('.ctorParameters ='); + expect(mymoduleSource).not.toContain('.decorators = '); + }); + }); + describe('errors', () => { beforeEach(() => { errorSpy.and.stub(); @@ -135,7 +232,7 @@ describe('ngc transformer command-line', () => { const exitCode = main(['-p', basePath], errorSpy); const errorText = stripAnsi(errorSpy.calls.mostRecent().args[0]); expect(errorText).toContain( - `test.ts:1:23 - error TS2307: Cannot find module './not-exist-deps'.` + + `test.ts:1:23 - error TS2307: Cannot find module './not-exist-deps' or its corresponding type declarations.` + '\n'); expect(exitCode).toEqual(1); }); @@ -557,8 +654,6 @@ describe('ngc transformer command-line', () => { const mymodulejs = path.resolve(outDir, 'mymodule.js'); const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); expect(mymoduleSource).not.toContain('@fileoverview added by tsickle'); - expect(mymoduleSource).toContain('MyComp = __decorate'); - expect(mymoduleSource).not.toContain('MyComp.decorators = ['); }); it('should add closure annotations', () => { @@ -570,10 +665,14 @@ describe('ngc transformer command-line', () => { "files": ["mymodule.ts"] }`); write('mymodule.ts', ` - import {NgModule, Component} from '@angular/core'; + import {NgModule, Component, Injectable} from '@angular/core'; + + @Injectable() + export class InjectedClass {} @Component({template: ''}) export class MyComp { + constructor(injected: InjectedClass) {} fn(p: any) {} } @@ -588,74 +687,7 @@ describe('ngc transformer command-line', () => { const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); expect(mymoduleSource).toContain('@fileoverview added by tsickle'); expect(mymoduleSource).toContain('@param {?} p'); - }); - - it('should add metadata as decorators', () => { - writeConfig(`{ - "extends": "./tsconfig-base.json", - "compilerOptions": { - "emitDecoratorMetadata": true - }, - "angularCompilerOptions": { - "annotationsAs": "decorators" - }, - "files": ["mymodule.ts"] - }`); - write('aclass.ts', `export class AClass {}`); - write('mymodule.ts', ` - import {NgModule} from '@angular/core'; - import {AClass} from './aclass'; - - @NgModule({declarations: []}) - export class MyModule { - constructor(importedClass: AClass) {} - } - `); - - const exitCode = main(['-p', basePath], errorSpy); - expect(exitCode).toEqual(0); - - const mymodulejs = path.resolve(outDir, 'mymodule.js'); - const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); - expect(mymoduleSource).toContain('MyModule = __decorate(['); - expect(mymoduleSource).toContain(`import { AClass } from './aclass';`); - expect(mymoduleSource).toContain(`__metadata("design:paramtypes", [AClass])`); - }); - - it('should add metadata as static fields', () => { - // Note: Don't specify emitDecoratorMetadata here on purpose, - // as regression test for https://github.com/angular/angular/issues/19916. - writeConfig(`{ - "extends": "./tsconfig-base.json", - "compilerOptions": { - "emitDecoratorMetadata": false - }, - "angularCompilerOptions": { - "annotationsAs": "static fields" - }, - "files": ["mymodule.ts"] - }`); - write('aclass.ts', `export class AClass {}`); - write('mymodule.ts', ` - import {NgModule} from '@angular/core'; - import {AClass} from './aclass'; - - @NgModule({declarations: []}) - export class MyModule { - constructor(importedClass: AClass) {} - } - `); - - const exitCode = main(['-p', basePath], errorSpy); - expect(exitCode).toEqual(0); - - const mymodulejs = path.resolve(outDir, 'mymodule.js'); - const mymoduleSource = fs.readFileSync(mymodulejs, 'utf8'); - expect(mymoduleSource).not.toContain('__decorate'); - expect(mymoduleSource).toContain('args: [{ declarations: [] },] }'); - expect(mymoduleSource).not.toContain(`__metadata`); - expect(mymoduleSource).toContain(`import { AClass } from './aclass';`); - expect(mymoduleSource).toContain(`{ type: AClass }`); + expect(mymoduleSource).toMatch(/\/\*\* @nocollapse \*\/\s+MyComp\.ctorParameters = /); }); }); diff --git a/packages/compiler-cli/test/ngtsc/BUILD.bazel b/packages/compiler-cli/test/ngtsc/BUILD.bazel index 62467c93d9..96e2a67c9e 100644 --- a/packages/compiler-cli/test/ngtsc/BUILD.bazel +++ b/packages/compiler-cli/test/ngtsc/BUILD.bazel @@ -12,6 +12,7 @@ ts_library( "//packages/compiler-cli/src/ngtsc/file_system/testing", "//packages/compiler-cli/src/ngtsc/indexer", "//packages/compiler-cli/src/ngtsc/routing", + "//packages/compiler-cli/src/ngtsc/testing", "//packages/compiler-cli/src/ngtsc/util", "//packages/compiler-cli/test:test_utils", "//packages/compiler-cli/test/helpers", diff --git a/packages/compiler-cli/test/ngtsc/component_indexing_spec.ts b/packages/compiler-cli/test/ngtsc/component_indexing_spec.ts index a1f9e9a989..192de7f0a3 100644 --- a/packages/compiler-cli/test/ngtsc/component_indexing_spec.ts +++ b/packages/compiler-cli/test/ngtsc/component_indexing_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/env.ts b/packages/compiler-cli/test/ngtsc/env.ts index 8161a701e9..281ec58a88 100644 --- a/packages/compiler-cli/test/ngtsc/env.ts +++ b/packages/compiler-cli/test/ngtsc/env.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -128,6 +128,13 @@ export class NgtscTestEnvironment { return this.oldProgram.getTsProgram(); } + getReuseTsProgram(): ts.Program { + if (this.oldProgram === null) { + throw new Error('No ts.Program has been created yet.'); + } + return (this.oldProgram as NgtscProgram).getReuseTsProgram(); + } + /** * Older versions of the CLI do not provide the `CompilerHost.getModifiedResourceFiles()` method. * This results in the `changedResources` set being `null`. diff --git a/packages/compiler-cli/test/ngtsc/fake_core/index.ts b/packages/compiler-cli/test/ngtsc/fake_core/index.ts index b1c7451d13..7aad1050cf 100644 --- a/packages/compiler-cli/test/ngtsc/fake_core/index.ts +++ b/packages/compiler-cli/test/ngtsc/fake_core/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/incremental_error_spec.ts b/packages/compiler-cli/test/ngtsc/incremental_error_spec.ts index c850b74c7f..19464b1c41 100644 --- a/packages/compiler-cli/test/ngtsc/incremental_error_spec.ts +++ b/packages/compiler-cli/test/ngtsc/incremental_error_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -118,7 +118,7 @@ runInEachFileSystem(() => { env.write('cmp.ts', ` import {Component} from '@angular/core'; - + @Component({selector: 'test-cmp', template: '...'}) export class TestCmp {} `); @@ -144,7 +144,7 @@ runInEachFileSystem(() => { env.write('cmp.ts', ` import {Component} from '@angular/core'; import {SELECTOR} from './selector'; - + @Component({selector: SELECTOR, template: '...'}) export class TestCmp {} `); @@ -165,7 +165,7 @@ runInEachFileSystem(() => { env.write('cmp.ts', ` import {Component} from '@angular/core'; - + @Component({selector: 'test-cmp', template: '...'}) export class TestCmp {} `); @@ -410,7 +410,7 @@ runInEachFileSystem(() => { // Update ACmp to have a different selector, isn't matched in BCmp's template. env.write('a.ts', ` import {Component} from '@angular/core'; - + @Component({selector: 'not-a-cmp', template: '...'}) export class ACmp {} `); diff --git a/packages/compiler-cli/test/ngtsc/incremental_spec.ts b/packages/compiler-cli/test/ngtsc/incremental_spec.ts index 94dc9e59f7..ee637eecd7 100644 --- a/packages/compiler-cli/test/ngtsc/incremental_spec.ts +++ b/packages/compiler-cli/test/ngtsc/incremental_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -171,13 +171,13 @@ runInEachFileSystem(() => { env.write('component1.ts', ` import {Component} from '@angular/core'; import {SELECTOR} from './dep'; - + @Component({selector: SELECTOR, template: 'cmp'}) export class Cmp1 {} `); env.write('component2.ts', ` import {Component} from '@angular/core'; - + @Component({selector: 'cmp2', template: 'cmp2'}) export class Cmp2 {} `); @@ -186,13 +186,13 @@ runInEachFileSystem(() => { `); env.write('directive.ts', ` import {Directive} from '@angular/core'; - + @Directive({selector: 'dir'}) export class Dir {} `); env.write('pipe.ts', ` import {Pipe} from '@angular/core'; - + @Pipe({name: 'myPipe'}) export class MyPipe {} `); @@ -202,7 +202,7 @@ runInEachFileSystem(() => { import {Cmp2} from './component2'; import {Dir} from './directive'; import {MyPipe} from './pipe'; - + @NgModule({declarations: [Cmp1, Cmp2, Dir, MyPipe]}) export class Mod {} `); @@ -527,7 +527,7 @@ runInEachFileSystem(() => { env.write('component.ts', ` import {Component} from '@angular/core'; import {SomeType} from './iface'; - + @Component({ selector: 'test-cmp', template: '{{ doSomething(value.field) }}', @@ -564,7 +564,7 @@ runInEachFileSystem(() => { // test verifies that incremental template type-checking. env.write('cmp.ts', ` import {Component} from '@angular/core'; - + @Component({ selector: 'test-cmp', template: '
    ', @@ -575,7 +575,7 @@ runInEachFileSystem(() => { import {NgModule} from '@angular/core'; import {Cmp} from './cmp'; import {ModuleB} from './module-b'; - + @NgModule({ declarations: [Cmp], imports: [ModuleB], @@ -587,7 +587,7 @@ runInEachFileSystem(() => { env.write('module-b.ts', ` import {NgModule} from '@angular/core'; import {Dir} from './dir'; - + @NgModule({ declarations: [Dir], }) @@ -595,7 +595,7 @@ runInEachFileSystem(() => { `); env.write('dir.ts', ` import {Directive, Input} from '@angular/core'; - + @Directive({selector: '[dir]'}) export class Dir { @Input() someInput!: any; @@ -617,7 +617,7 @@ runInEachFileSystem(() => { env.write('module-b.ts', ` import {NgModule} from '@angular/core'; import {Dir} from './dir'; - + @NgModule({ declarations: [Dir], exports: [Dir], @@ -640,7 +640,7 @@ runInEachFileSystem(() => { // checking de-optimization). env.write('cmp.ts', ` import {Component} from '@angular/core'; - + @Component({ selector: 'test-cmp', template: '{{test}}', @@ -662,7 +662,7 @@ runInEachFileSystem(() => { // Now, correct the error by adding the 'test' property to the component. env.write('cmp.ts', ` import {Component} from '@angular/core'; - + @Component({ selector: 'test-cmp', template: '{{test}}', diff --git a/packages/compiler-cli/test/ngtsc/modulewithproviders_spec.ts b/packages/compiler-cli/test/ngtsc/modulewithproviders_spec.ts index 59663f0f5a..7a4117058b 100644 --- a/packages/compiler-cli/test/ngtsc/modulewithproviders_spec.ts +++ b/packages/compiler-cli/test/ngtsc/modulewithproviders_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/monorepo_spec.ts b/packages/compiler-cli/test/ngtsc/monorepo_spec.ts index cf2a89596f..f5f83552d9 100644 --- a/packages/compiler-cli/test/ngtsc/monorepo_spec.ts +++ b/packages/compiler-cli/test/ngtsc/monorepo_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts index 3aaed9fe49..7e1ae0cde2 100644 --- a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts +++ b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -391,11 +391,11 @@ runInEachFileSystem(os => { }); /** - * The following set of tests verify that after Tsickle run we do not have cases which - * trigger automatic semicolon insertion, which breaks the code. In order to avoid the - * problem, we wrap all function expressions in certain fields ("providers" and - * "viewProviders") in parentheses. More info on Tsickle processing related to this case can - * be found here: + * The following set of tests verify that after Tsickle run we do not have cases + * which trigger automatic semicolon insertion, which breaks the code. In order + * to avoid the problem, we wrap all function expressions in certain fields + * ("providers" and "viewProviders") in parentheses. More info on Tsickle + * processing related to this case can be found here: * https://github.com/angular/tsickle/blob/d7974262571c8a17d684e5ba07680e1b1993afdd/src/jsdoc_transformer.ts#L1021 */ describe('wrap functions in certain fields in parentheses', () => { @@ -422,8 +422,9 @@ runInEachFileSystem(os => { `; const verifyOutput = (jsContents: string) => { - // verify that there is no pattern that triggers automatic semicolon insertion - // by checking that there are no return statements not wrapped in parentheses + // verify that there is no pattern that triggers automatic semicolon + // insertion by checking that there are no return statements not wrapped in + // parentheses expect(trim(jsContents)).not.toContain(trim(` return /** * @return {?} @@ -1119,7 +1120,7 @@ runInEachFileSystem(os => { .toContain( 'i0.ɵɵdefineInjector({ factory: function TestModule_Factory(t) ' + '{ return new (t || TestModule)(); }, imports: [[OtherModule, RouterModule.forRoot()],' + - '\n OtherModule,\n RouterModule] });'); + ' OtherModule, RouterModule] });'); }); it('should compile NgModules with services without errors', () => { @@ -1621,7 +1622,8 @@ runInEachFileSystem(os => { expect(errors.length).toBe(1); const {code, messageText} = errors[0]; expect(code).toBe(ngErrorCode(errorCode)); - expect(trim(messageText as string)).toContain(errorMessage); + const text = ts.flattenDiagnosticMessageText(messageText, '\n'); + expect(trim(text)).toContain(errorMessage); } it('should throw if invalid arguments are provided in @NgModule', () => { @@ -2018,7 +2020,8 @@ runInEachFileSystem(os => { expect(dtsContents).toContain('PipeDefWithMeta { }); describe('unwrapping ModuleWithProviders functions', () => { + it('should use a local ModuleWithProviders-annotated return type if a function is not statically analyzable', + () => { + env.write(`module.ts`, ` + import {NgModule, ModuleWithProviders} from '@angular/core'; + + export function notStaticallyAnalyzable(): ModuleWithProviders { + console.log('this interferes with static analysis'); + return { + ngModule: SomeModule, + providers: [], + }; + } + + @NgModule() + export class SomeModule {} + `); + + env.write('test.ts', ` + import {NgModule} from '@angular/core'; + import {notStaticallyAnalyzable} from './module'; + + @NgModule({ + imports: [notStaticallyAnalyzable()] + }) + export class TestModule {} + `); + + env.driveMain(); + + const jsContents = env.getContents('test.js'); + expect(jsContents).toContain('imports: [notStaticallyAnalyzable()]'); + + const dtsContents = env.getContents('test.d.ts'); + expect(dtsContents).toContain(`import * as i1 from "./module";`); + expect(dtsContents) + .toContain( + 'i0.ɵɵNgModuleDefWithMeta'); + }); + it('should extract the generic type and include it in the module\'s declaration', () => { env.write(`test.ts`, ` import {NgModule} from '@angular/core'; @@ -2845,8 +2887,9 @@ runInEachFileSystem(os => { expect(jsContents).toMatch(contentQueryRegExp('\\w+', true, 'TemplateRef')); // match `i0.ɵɵviewQuery(_c2, true)` - // Note that while ViewQuery doesn't necessarily make sense on a directive, because it doesn't - // have a view, we still need to handle it because a component could extend the directive. + // Note that while ViewQuery doesn't necessarily make sense on a directive, + // because it doesn't have a view, we still need to handle it because a component + // could extend the directive. expect(jsContents).toMatch(viewQueryRegExp('\\w+', true)); }); @@ -2889,8 +2932,8 @@ runInEachFileSystem(os => { template: '
    ', }) class FooCmp { - @ViewChild(TOKEN as any) viewChild: any; - @ContentChild(TOKEN as any) contentChild: any; + @ViewChild(TOKEN) viewChild: any; + @ContentChild(TOKEN) contentChild: any; } `); @@ -3317,7 +3360,8 @@ runInEachFileSystem(os => { class FooCmp {}`); env.driveMain(); const jsContents = env.getContents('test.js'); - // Note that the colon would only be there if there is an id attached to the string. + // Note that the colon would only be there if there is an id attached to the + // string. expect(jsContents).not.toContain(':Some text'); }); @@ -3385,8 +3429,11 @@ runInEachFileSystem(os => { class CompA {} `); const errors = env.driveDiagnostics(); - expect(errors[0].messageText) + expect(errors.length).toBe(1); + const messageText = ts.flattenDiagnosticMessageText(errors[0].messageText, '\n'); + expect(messageText) .toContain('encapsulation must be a member of ViewEncapsulation enum from @angular/core'); + expect(messageText).toContain('Value is of type \'string\'.'); }); it('should handle `changeDetection` field', () => { @@ -3416,9 +3463,12 @@ runInEachFileSystem(os => { class CompA {} `); const errors = env.driveDiagnostics(); - expect(errors[0].messageText) + expect(errors.length).toBe(1); + const messageText = ts.flattenDiagnosticMessageText(errors[0].messageText, '\n'); + expect(messageText) .toContain( 'changeDetection must be a member of ChangeDetectionStrategy enum from @angular/core'); + expect(messageText).toContain('Value is of type \'string\'.'); }); it('should ignore empty bindings', () => { @@ -3679,7 +3729,7 @@ runInEachFileSystem(os => { env.write('test.ts', `/** I am a top-level comment. */ import {NgModule} from '@angular/core'; - + @NgModule({}) export class TestModule {} `); @@ -4437,10 +4487,11 @@ runInEachFileSystem(os => { }); it('should compile programs with typeRoots', () => { - // Write out a custom tsconfig.json that includes 'typeRoots' and 'files'. 'files' is - // necessary because otherwise TS picks up the testTypeRoot/test/index.d.ts file into the - // program automatically. Shims are also turned on because the shim ts.CompilerHost wrapper - // can break typeRoot functionality (which this test is meant to detect). + // Write out a custom tsconfig.json that includes 'typeRoots' and 'files'. 'files' + // is necessary because otherwise TS picks up the testTypeRoot/test/index.d.ts + // file into the program automatically. Shims are also turned on because the shim + // ts.CompilerHost wrapper can break typeRoot functionality (which this test is + // meant to detect). env.write('tsconfig.json', `{ "extends": "./tsconfig-base.json", "angularCompilerOptions": { @@ -4613,8 +4664,9 @@ runInEachFileSystem(os => { }); }); - // Run checks that are present in preanalysis phase in both sync and async mode, to make sure - // the error messages are consistently thrown from `analyzeSync` and `analyzeAsync` functions. + // Run checks that are present in preanalysis phase in both sync and async mode, to + // make sure the error messages are consistently thrown from `analyzeSync` and + // `analyzeAsync` functions. ['sync', 'async'].forEach(mode => { describe(`preanalysis phase checks [${mode}]`, () => { let driveDiagnostics: () => Promise>; @@ -4655,7 +4707,10 @@ runInEachFileSystem(os => { `); const diags = await driveDiagnostics(); - expect(diags[0].messageText).toBe('styleUrls must be an array of strings'); + expect(diags.length).toBe(1); + const messageText = ts.flattenDiagnosticMessageText(diags[0].messageText, '\n'); + expect(messageText).toContain('styleUrls must be an array of strings'); + expect(messageText).toContain('Value is of type \'string\'.'); expect(diags[0].file!.fileName).toBe(absoluteFrom('/test.ts')); }); }); @@ -5278,7 +5333,7 @@ runInEachFileSystem(os => { }); env.write(`test.ts`, ` import {Component} from '@angular/core'; - + @Component({ template: '
    ', }) @@ -6172,8 +6227,8 @@ export const Foo = Foo__PRE_R3__; } `); - // The application imports BetaModule from beta, gaining visibility of ExternalDir from - // alpha. + // The application imports BetaModule from beta, gaining visibility of + // ExternalDir from alpha. env.write('test.ts', ` import {Component, NgModule} from '@angular/core'; import {BetaModule} from './beta'; diff --git a/packages/compiler-cli/test/ngtsc/scope_spec.ts b/packages/compiler-cli/test/ngtsc/scope_spec.ts index 904bedd75f..69a8b88947 100644 --- a/packages/compiler-cli/test/ngtsc/scope_spec.ts +++ b/packages/compiler-cli/test/ngtsc/scope_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -205,8 +205,10 @@ runInEachFileSystem(() => { `); const [error] = env.driveDiagnostics(); expect(error).not.toBeUndefined(); - expect(error.messageText).toContain('IsAModule'); - expect(error.messageText).toContain('NgModule.imports'); + const messageText = ts.flattenDiagnosticMessageText(error.messageText, '\n'); + expect(messageText) + .toContain('Value at position 0 in the NgModule.imports of IsAModule is not a class'); + expect(messageText).toContain('Value is a reference to \'NotAClass\'.'); expect(error.code).toEqual(ngErrorCode(ErrorCode.VALUE_HAS_WRONG_TYPE)); expect(diagnosticToNode(error, ts.isIdentifier).text).toEqual('NotAClass'); }); diff --git a/packages/compiler-cli/test/ngtsc/sourcemap_utils.ts b/packages/compiler-cli/test/ngtsc/sourcemap_utils.ts index dff529f602..fe6f0e1e68 100644 --- a/packages/compiler-cli/test/ngtsc/sourcemap_utils.ts +++ b/packages/compiler-cli/test/ngtsc/sourcemap_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/template_mapping_spec.ts b/packages/compiler-cli/test/ngtsc/template_mapping_spec.ts index aed02b33a4..c6865f8efa 100644 --- a/packages/compiler-cli/test/ngtsc/template_mapping_spec.ts +++ b/packages/compiler-cli/test/ngtsc/template_mapping_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/ngtsc/template_typecheck_spec.ts b/packages/compiler-cli/test/ngtsc/template_typecheck_spec.ts index e7bdb4effc..6d084e5baa 100644 --- a/packages/compiler-cli/test/ngtsc/template_typecheck_spec.ts +++ b/packages/compiler-cli/test/ngtsc/template_typecheck_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,8 +9,9 @@ import * as ts from 'typescript'; import {ErrorCode, ngErrorCode} from '../../src/ngtsc/diagnostics'; -import {absoluteFrom as _, getFileSystem} from '../../src/ngtsc/file_system'; +import {absoluteFrom as _, getFileSystem, getSourceFileOrError} from '../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../src/ngtsc/file_system/testing'; +import {expectCompleteReuse} from '../../src/ngtsc/testing'; import {loadStandardTestFiles} from '../helpers/src/mock_file_loading'; import {NgtscTestEnvironment} from './env'; @@ -1862,18 +1863,26 @@ export declare class AnimationEvent { expect(env.driveDiagnostics()).toEqual([]); }); - it('should not leave references to shims after execution', () => { - // This test verifies that proper cleanup is performed for the technique being used to - // include shim files in the ts.Program, and that none are left in the referencedFiles of - // any ts.SourceFile after compilation. + it('should not leave referencedFiles in a tagged state', () => { env.enableMultipleCompilations(); env.driveMain(); - for (const sf of env.getTsProgram().getSourceFiles()) { - for (const ref of sf.referencedFiles) { - expect(ref.fileName).not.toContain('.ngtypecheck.ts'); - } - } + const sf = getSourceFileOrError(env.getTsProgram(), _('/test.ts')); + expect(sf.referencedFiles.map(ref => ref.fileName)).toEqual([]); + }); + + it('should allow for complete program reuse during incremental compilations', () => { + env.enableMultipleCompilations(); + + env.write('other.ts', `export const VERSION = 1;`); + + env.driveMain(); + const firstProgram = env.getReuseTsProgram(); + + env.write('other.ts', `export const VERSION = 2;`); + env.driveMain(); + + expectCompleteReuse(firstProgram); }); }); }); diff --git a/packages/compiler-cli/test/perform_compile_spec.ts b/packages/compiler-cli/test/perform_compile_spec.ts index d3e2517216..9c6238e689 100644 --- a/packages/compiler-cli/test/perform_compile_spec.ts +++ b/packages/compiler-cli/test/perform_compile_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/perform_watch_spec.ts b/packages/compiler-cli/test/perform_watch_spec.ts index 6cc620ca77..1747d88788 100644 --- a/packages/compiler-cli/test/perform_watch_spec.ts +++ b/packages/compiler-cli/test/perform_watch_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/test_support.ts b/packages/compiler-cli/test/test_support.ts index 5d337d4def..110ef37e6d 100644 --- a/packages/compiler-cli/test/test_support.ts +++ b/packages/compiler-cli/test/test_support.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/transformers/BUILD.bazel b/packages/compiler-cli/test/transformers/BUILD.bazel index dd82f46edc..60965e95b4 100644 --- a/packages/compiler-cli/test/transformers/BUILD.bazel +++ b/packages/compiler-cli/test/transformers/BUILD.bazel @@ -8,6 +8,7 @@ ts_library( "//packages:types", "//packages/compiler", "//packages/compiler-cli", + "//packages/compiler-cli/src/ngtsc/reflection", "//packages/compiler-cli/test:test_utils", "//packages/compiler/test:test_utils", "//packages/core", diff --git a/packages/compiler-cli/test/transformers/compiler_host_spec.ts b/packages/compiler-cli/test/transformers/compiler_host_spec.ts index 123306c2ca..9780240f0b 100644 --- a/packages/compiler-cli/test/transformers/compiler_host_spec.ts +++ b/packages/compiler-cli/test/transformers/compiler_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/transformers/downlevel_decorators_transform_spec.ts b/packages/compiler-cli/test/transformers/downlevel_decorators_transform_spec.ts new file mode 100644 index 0000000000..d1200b92a0 --- /dev/null +++ b/packages/compiler-cli/test/transformers/downlevel_decorators_transform_spec.ts @@ -0,0 +1,717 @@ +/** + * @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 * as ts from 'typescript'; + +import {TypeScriptReflectionHost} from '../../src/ngtsc/reflection'; +import {getDownlevelDecoratorsTransform} from '../../src/transformers/downlevel_decorators_transform'; +import {MockAotContext, MockCompilerHost} from '../mocks'; + +const TEST_FILE_INPUT = '/test.ts'; +const TEST_FILE_OUTPUT = `/test.js`; +const TEST_FILE_DTS_OUTPUT = `/test.d.ts`; + +describe('downlevel decorator transform', () => { + let host: MockCompilerHost; + let context: MockAotContext; + let diagnostics: ts.Diagnostic[]; + let isClosureEnabled: boolean; + let skipClassDecorators: boolean; + + beforeEach(() => { + diagnostics = []; + context = new MockAotContext('/', { + 'dom_globals.d.ts': ` + declare class HTMLElement {}; + declare class Document {}; + ` + }); + host = new MockCompilerHost(context); + isClosureEnabled = false; + skipClassDecorators = false; + }); + + function transform( + contents: string, compilerOptions: ts.CompilerOptions = {}, + preTransformers: ts.TransformerFactory[] = []) { + context.writeFile(TEST_FILE_INPUT, contents); + const program = ts.createProgram( + [TEST_FILE_INPUT, '/dom_globals.d.ts'], { + module: ts.ModuleKind.CommonJS, + importHelpers: true, + lib: ['dom', 'es2015'], + target: ts.ScriptTarget.ES2017, + declaration: true, + experimentalDecorators: true, + emitDecoratorMetadata: false, + ...compilerOptions + }, + host); + const testFile = program.getSourceFile(TEST_FILE_INPUT); + const typeChecker = program.getTypeChecker(); + const reflectionHost = new TypeScriptReflectionHost(typeChecker); + const transformers: ts.CustomTransformers = { + before: [ + ...preTransformers, + getDownlevelDecoratorsTransform( + program.getTypeChecker(), reflectionHost, diagnostics, + /* isCore */ false, isClosureEnabled, skipClassDecorators) + ] + }; + let output: string|null = null; + let dtsOutput: string|null = null; + const emitResult = program.emit( + testFile, ((fileName, outputText) => { + if (fileName === TEST_FILE_OUTPUT) { + output = outputText; + } else if (fileName === TEST_FILE_DTS_OUTPUT) { + dtsOutput = outputText; + } + }), + undefined, undefined, transformers); + diagnostics.push(...emitResult.diagnostics); + expect(output).not.toBeNull(); + return { + output: omitLeadingWhitespace(output!), + dtsOutput: dtsOutput ? omitLeadingWhitespace(dtsOutput) : null + }; + } + + it('should downlevel decorators for @Injectable decorated class', () => { + const {output} = transform(` + import {Injectable} from '@angular/core'; + + export class ClassInject {}; + + @Injectable() + export class MyService { + constructor(v: ClassInject) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyService.decorators = [ + { type: core_1.Injectable } + ]; + MyService.ctorParameters = () => [ + { type: ClassInject } + ];`); + expect(output).not.toContain('tslib'); + }); + + it('should downlevel decorators for @Directive decorated class', () => { + const {output} = transform(` + import {Directive} from '@angular/core'; + + export class ClassInject {}; + + @Directive() + export class MyDir { + constructor(v: ClassInject) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: ClassInject } + ];`); + expect(output).not.toContain('tslib'); + }); + + it('should downlevel decorators for @Component decorated class', () => { + const {output} = transform(` + import {Component} from '@angular/core'; + + export class ClassInject {}; + + @Component({template: 'hello'}) + export class MyComp { + constructor(v: ClassInject) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyComp.decorators = [ + { type: core_1.Component, args: [{ template: 'hello' },] } + ]; + MyComp.ctorParameters = () => [ + { type: ClassInject } + ];`); + expect(output).not.toContain('tslib'); + }); + + it('should downlevel decorators for @Pipe decorated class', () => { + const {output} = transform(` + import {Pipe} from '@angular/core'; + + export class ClassInject {}; + + @Pipe({selector: 'hello'}) + export class MyPipe { + constructor(v: ClassInject) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyPipe.decorators = [ + { type: core_1.Pipe, args: [{ selector: 'hello' },] } + ]; + MyPipe.ctorParameters = () => [ + { type: ClassInject } + ];`); + expect(output).not.toContain('tslib'); + }); + + it('should not downlevel non-Angular class decorators', () => { + const {output} = transform(` + @SomeUnknownDecorator() + export class MyClass {} + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyClass = tslib_1.__decorate([ + SomeUnknownDecorator() + ], MyClass); + `); + expect(output).not.toContain('MyClass.decorators'); + }); + + it('should downlevel Angular-decorated class member', () => { + const {output} = transform(` + import {Input} from '@angular/core'; + + export class MyDir { + @Input() disabled: boolean = false; + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.propDecorators = { + disabled: [{ type: core_1.Input }] + }; + `); + expect(output).not.toContain('tslib'); + }); + + it('should not downlevel class member with unknown decorator', () => { + const {output} = transform(` + export class MyDir { + @SomeDecorator() disabled: boolean = false; + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + tslib_1.__decorate([ + SomeDecorator() + ], MyDir.prototype, "disabled", void 0); + `); + expect(output).not.toContain('MyClass.propDecorators'); + }); + + // Angular is not concerned with type information for decorated class members. Instead, + // the type is omitted. This also helps with server side rendering as DOM globals which + // are used as types, do not load at runtime. https://github.com/angular/angular/issues/30586. + it('should downlevel Angular-decorated class member but not preserve type', () => { + context.writeFile('/other-file.ts', `export class MyOtherClass {}`); + const {output} = transform(` + import {Input} from '@angular/core'; + import {MyOtherClass} from './other-file'; + + export class MyDir { + @Input() trigger: HTMLElement; + @Input() fromOtherFile: MyOtherClass; + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.propDecorators = { + trigger: [{ type: core_1.Input }], + fromOtherFile: [{ type: core_1.Input }] + }; + `); + expect(output).not.toContain('HTMLElement'); + expect(output).not.toContain('MyOtherClass'); + }); + + it('should capture constructor type metadata with `emitDecoratorMetadata` enabled', () => { + context.writeFile('/other-file.ts', `export class MyOtherClass {}`); + const {output} = transform( + ` + import {Directive} from '@angular/core'; + import {MyOtherClass} from './other-file'; + + @Directive() + export class MyDir { + constructor(other: MyOtherClass) {} + } + `, + {emitDecoratorMetadata: true}); + + expect(diagnostics.length).toBe(0); + expect(output).toContain('const other_file_1 = require("./other-file");'); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: other_file_1.MyOtherClass } + ]; + `); + }); + + it('should capture constructor type metadata with `emitDecoratorMetadata` disabled', () => { + context.writeFile('/other-file.ts', `export class MyOtherClass {}`); + const {output, dtsOutput} = transform( + ` + import {Directive} from '@angular/core'; + import {MyOtherClass} from './other-file'; + + @Directive() + export class MyDir { + constructor(other: MyOtherClass) {} + } + `, + {emitDecoratorMetadata: false}); + + expect(diagnostics.length).toBe(0); + expect(output).toContain('const other_file_1 = require("./other-file");'); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: other_file_1.MyOtherClass } + ]; + `); + expect(dtsOutput).toContain('import'); + }); + + it('should properly serialize constructor parameter with external qualified name type', () => { + context.writeFile('/other-file.ts', `export class MyOtherClass {}`); + const {output} = transform(` + import {Directive} from '@angular/core'; + import * as externalFile from './other-file'; + + @Directive() + export class MyDir { + constructor(other: externalFile.MyOtherClass) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain('const externalFile = require("./other-file");'); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: externalFile.MyOtherClass } + ]; + `); + }); + + it('should properly serialize constructor parameter with local qualified name type', () => { + const {output} = transform(` + import {Directive} from '@angular/core'; + + namespace other { + export class OtherClass {} + }; + + @Directive() + export class MyDir { + constructor(other: other.OtherClass) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain('var other;'); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: other.OtherClass } + ]; + `); + }); + + it('should properly downlevel constructor parameter decorators', () => { + const {output} = transform(` + import {Inject, Directive, DOCUMENT} from '@angular/core'; + + @Directive() + export class MyDir { + constructor(@Inject(DOCUMENT) document: Document) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: Document, decorators: [{ type: core_1.Inject, args: [core_1.DOCUMENT,] }] } + ]; + `); + }); + + it('should properly downlevel constructor parameters with union type', () => { + const {output} = transform(` + import {Optional, Directive, NgZone} from '@angular/core'; + + @Directive() + export class MyDir { + constructor(@Optional() ngZone: NgZone|null) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: core_1.NgZone, decorators: [{ type: core_1.Optional }] } + ]; + `); + }); + + it('should add @nocollapse if closure compiler is enabled', () => { + isClosureEnabled = true; + const {output} = transform(` + import {Directive} from '@angular/core'; + + export class ClassInject {}; + + @Directive() + export class MyDir { + constructor(v: ClassInject) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + /** @nocollapse */ + MyDir.ctorParameters = () => [ + { type: ClassInject } + ]; + `); + expect(output).not.toContain('tslib'); + }); + + it('should not retain unused type imports due to decorator downleveling with ' + + '`emitDecoratorMetadata` enabled.', + () => { + context.writeFile('/external.ts', ` + export class ErrorHandler {} + export class ClassInject {} + `); + const {output} = transform( + ` + import {Directive} from '@angular/core'; + import {ErrorHandler, ClassInject} from './external'; + + @Directive() + export class MyDir { + private _errorHandler: ErrorHandler; + constructor(v: ClassInject) {} + } + `, + {module: ts.ModuleKind.ES2015, emitDecoratorMetadata: true}); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('tslib'); + expect(output).not.toContain('ErrorHandler'); + }); + + it('should not retain unused type imports due to decorator downleveling with ' + + '`emitDecoratorMetadata` disabled', + () => { + context.writeFile('/external.ts', ` + export class ErrorHandler {} + export class ClassInject {} + `); + const {output} = transform( + ` + import {Directive} from '@angular/core'; + import {ErrorHandler, ClassInject} from './external'; + + @Directive() + export class MyDir { + private _errorHandler: ErrorHandler; + constructor(v: ClassInject) {} + } + `, + {module: ts.ModuleKind.ES2015, emitDecoratorMetadata: false}); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('tslib'); + expect(output).not.toContain('ErrorHandler'); + }); + + it('should not generate invalid reference due to conflicting parameter name', () => { + context.writeFile('/external.ts', ` + export class Dep { + greet() {} + } + `); + const {output} = transform( + ` + import {Directive} from '@angular/core'; + import {Dep} from './external'; + + @Directive() + export class MyDir { + constructor(Dep: Dep) { + Dep.greet(); + } + } + `, + {emitDecoratorMetadata: false}); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('tslib'); + expect(output).toContain(`external_1 = require("./external");`); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: external_1.Dep } + ]; + `); + }); + + it('should be able to serialize circular constructor parameter type', () => { + const {output} = transform(` + import {Directive, Optional, Inject, SkipSelf} from '@angular/core'; + + @Directive() + export class MyDir { + constructor(@Optional() @SkipSelf() @Inject(MyDir) parentDir: MyDir|null) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: MyDir, decorators: [{ type: core_1.Optional }, { type: core_1.SkipSelf }, { type: core_1.Inject, args: [MyDir,] }] } + ]; + `); + }); + + it('should create diagnostic if property name is non-serializable', () => { + transform(` + import {Directive, ViewChild, TemplateRef} from '@angular/core'; + + @Directive() + export class MyDir { + @ViewChild(TemplateRef) ['some' + 'name']: TemplateRef|undefined; + } + `); + + expect(diagnostics.length).toBe(1); + expect(diagnostics[0].messageText as string) + .toBe(`Cannot process decorators for class element with non-analyzable name.`); + }); + + it('should not capture constructor parameter types when not resolving to a value', () => { + context.writeFile('/external.ts', ` + export interface IState {} + export type IOverlay = {hello: true}&IState; + export default interface { + hello: false; + } + `); + const {output} = transform(` + import {Directive, Inject} from '@angular/core'; + import * as angular from './external'; + import {IOverlay} from './external'; + import TypeFromDefaultImport from './external'; + + @Directive() + export class MyDir { + constructor(@Inject('$state') param: angular.IState, + @Inject('$overlay') other: IOverlay, + @Inject('$default') default: TypeFromDefaultImport) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('external'); + expect(output).toContain(dedent` + MyDir.decorators = [ + { type: core_1.Directive } + ]; + MyDir.ctorParameters = () => [ + { type: undefined, decorators: [{ type: core_1.Inject, args: ['$state',] }] }, + { type: undefined, decorators: [{ type: core_1.Inject, args: ['$overlay',] }] }, + { type: undefined, decorators: [{ type: core_1.Inject, args: ['$default',] }] } + ]; + `); + }); + + it('should allow preceding custom transformers to strip decorators', () => { + const stripAllDecoratorsTransform: ts.TransformerFactory = context => { + return (sourceFile: ts.SourceFile) => { + const visitNode = (node: ts.Node): ts.Node => { + if (ts.isClassDeclaration(node) || ts.isClassElement(node)) { + const cloned = ts.getMutableClone(node); + cloned.decorators = undefined; + return cloned; + } + return ts.visitEachChild(node, visitNode, context); + }; + return visitNode(sourceFile) as ts.SourceFile; + }; + }; + + const {output} = transform( + ` + import {Directive} from '@angular/core'; + + export class MyInjectedClass {} + + @Directive() + export class MyDir { + constructor(someToken: MyInjectedClass) {} + } + `, + {}, [stripAllDecoratorsTransform]); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('MyDir.decorators'); + expect(output).not.toContain('MyDir.ctorParameters'); + expect(output).not.toContain('tslib'); + }); + + describe('class decorators skipped', () => { + beforeEach(() => skipClassDecorators = true); + + it('should not downlevel Angular class decorators', () => { + const {output} = transform(` + import {Injectable} from '@angular/core'; + + @Injectable() + export class MyService {} + `); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('MyService.decorators'); + expect(output).toContain(dedent` + MyService = tslib_1.__decorate([ + core_1.Injectable() + ], MyService); + `); + }); + + it('should downlevel constructor parameters', () => { + const {output} = transform(` + import {Injectable} from '@angular/core'; + + @Injectable() + export class InjectClass {} + + @Injectable() + export class MyService { + constructor(dep: InjectClass) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('MyService.decorators'); + expect(output).toContain('MyService.ctorParameters'); + expect(output).toContain(dedent` + MyService.ctorParameters = () => [ + { type: InjectClass } + ]; + MyService = tslib_1.__decorate([ + core_1.Injectable() + ], MyService); + `); + }); + + it('should downlevel constructor parameter decorators', () => { + const {output} = transform(` + import {Injectable, Inject} from '@angular/core'; + + @Injectable() + export class InjectClass {} + + @Injectable() + export class MyService { + constructor(@Inject('test') dep: InjectClass) {} + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('MyService.decorators'); + expect(output).toContain('MyService.ctorParameters'); + expect(output).toContain(dedent` + MyService.ctorParameters = () => [ + { type: InjectClass, decorators: [{ type: core_1.Inject, args: ['test',] }] } + ]; + MyService = tslib_1.__decorate([ + core_1.Injectable() + ], MyService); + `); + }); + + it('should downlevel class member Angular decorators', () => { + const {output} = transform(` + import {Injectable, Input} from '@angular/core'; + + export class MyService { + @Input() disabled: boolean; + } + `); + + expect(diagnostics.length).toBe(0); + expect(output).not.toContain('tslib'); + expect(output).toContain(dedent` + MyService.propDecorators = { + disabled: [{ type: core_1.Input }] + }; + `); + }); + }); +}); + +/** Template string function that can be used to dedent a given string literal. */ +export function dedent(strings: TemplateStringsArray, ...values: any[]) { + let joinedString = ''; + for (let i = 0; i < values.length; i++) { + joinedString += `${strings[i]}${values[i]}`; + } + joinedString += strings[strings.length - 1]; + return omitLeadingWhitespace(joinedString); +} + +/** Omits the leading whitespace for each line of the given text. */ +function omitLeadingWhitespace(text: string): string { + return text.replace(/^\s+/gm, ''); +} diff --git a/packages/compiler-cli/test/transformers/inline_resources_spec.ts b/packages/compiler-cli/test/transformers/inline_resources_spec.ts index 3dbe49afea..53d43bc87c 100644 --- a/packages/compiler-cli/test/transformers/inline_resources_spec.ts +++ b/packages/compiler-cli/test/transformers/inline_resources_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/transformers/lower_expressions_spec.ts b/packages/compiler-cli/test/transformers/lower_expressions_spec.ts index 99b7e45725..c6ae036c08 100644 --- a/packages/compiler-cli/test/transformers/lower_expressions_spec.ts +++ b/packages/compiler-cli/test/transformers/lower_expressions_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -259,4 +259,4 @@ function collect(annotatedSource: string) { requests: transformer.getRequests(sourceFile), annotations }; -} \ No newline at end of file +} diff --git a/packages/compiler-cli/test/transformers/metadata_reader_spec.ts b/packages/compiler-cli/test/transformers/metadata_reader_spec.ts index 13437c54ec..cc3694de40 100644 --- a/packages/compiler-cli/test/transformers/metadata_reader_spec.ts +++ b/packages/compiler-cli/test/transformers/metadata_reader_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/transformers/node_emitter_spec.ts b/packages/compiler-cli/test/transformers/node_emitter_spec.ts index 0b53d4b380..35638fb4f0 100644 --- a/packages/compiler-cli/test/transformers/node_emitter_spec.ts +++ b/packages/compiler-cli/test/transformers/node_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,7 +17,6 @@ const sourceMap = require('source-map'); const someGenFilePath = '/somePackage/someGenFile'; const someGenFileName = someGenFilePath + '.ts'; -const someSourceFilePath = '/somePackage/someSourceFile'; const anotherModuleUrl = '/somePackage/someOtherPath'; const sameModuleIdentifier = new o.ExternalReference(null, 'someLocalId', null); @@ -45,7 +44,7 @@ describe('TypeScriptNodeEmitter', () => { [someGenFileName], {module: ts.ModuleKind.CommonJS, target: ts.ScriptTarget.ES2017}, host); const moduleSourceFile = program.getSourceFile(someGenFileName); const transformers: ts.CustomTransformers = { - before: [context => { + before: [() => { return sourceFile => { const [newSourceFile] = emitter.updateSourceFile(sourceFile, stmts, preamble); return newSourceFile; @@ -53,12 +52,11 @@ describe('TypeScriptNodeEmitter', () => { }] }; let result: string = ''; - const emitResult = program.emit( - moduleSourceFile, (fileName, data, writeByteOrderMark, onError, sourceFiles) => { - if (fileName.startsWith(someGenFilePath)) { - result = data; - } - }, undefined, undefined, transformers); + program.emit(moduleSourceFile, (fileName, data) => { + if (fileName.startsWith(someGenFilePath)) { + result = data; + } + }, undefined, undefined, transformers); return normalizeResult(result, format); } @@ -92,24 +90,42 @@ describe('TypeScriptNodeEmitter', () => { }); it('should create a reexport', () => { - expect(emitStmt(someVar.set(o.importExpr(externalModuleIdentifier)) - .toDeclStmt(null, [o.StmtModifier.Exported]))) - .toEqual( - `var someOtherPath_1 = require("/somePackage/someOtherPath"); exports.someVar = someOtherPath_1.someExternalId;`); + const result = emitStmt(someVar.set(o.importExpr(externalModuleIdentifier)).toDeclStmt(null, [ + o.StmtModifier.Exported + ])); + expect(result).toContain(`var someOtherPath_1 = require("/somePackage/someOtherPath");`); + if (!result.includes('exports.someVar = someOtherPath_1.someExternalId;') && + // In TS 3.9 re-exports of namespaced imports are defined as getters + !result.includes( + 'Object.defineProperty(exports, "someVar", { enumerable: true, get: function () { return someOtherPath_1.someExternalId; } });')) { + fail( + 'Expected `someVar` to be exported directly or via a `definedProperty` call. Instead got:\n' + + result); + } }); it('should create multiple reexports from the same file', () => { const someVar2 = o.variable('someVar2'); const externalModuleIdentifier2 = new o.ExternalReference(anotherModuleUrl, 'someExternalId2', null); - expect(emitStmt([ + const result = emitStmt([ someVar.set(o.importExpr(externalModuleIdentifier)) .toDeclStmt(null, [o.StmtModifier.Exported]), someVar2.set(o.importExpr(externalModuleIdentifier2)) .toDeclStmt(null, [o.StmtModifier.Exported]) - ])) - .toEqual( - `var someOtherPath_1 = require("/somePackage/someOtherPath"); exports.someVar = someOtherPath_1.someExternalId; exports.someVar2 = someOtherPath_1.someExternalId2;`); + ]); + expect(result).toContain(`var someOtherPath_1 = require("/somePackage/someOtherPath");`); + if (!result.includes( + 'exports.someVar = someOtherPath_1.someExternalId;' + + 'exports.someVar2 = someOtherPath_1.someExternalId2;') && + // In TS 3.9 re-exports of namespaced imports are defined as getters + !result.includes( + 'Object.defineProperty(exports, "someVar", { enumerable: true, get: function () { return someOtherPath_1.someExternalId; } }); ' + + 'Object.defineProperty(exports, "someVar2", { enumerable: true, get: function () { return someOtherPath_1.someExternalId2; } })')) { + fail( + 'Expected `someVar` and `someVar2` to be exported directly or via a `definedProperty` call. Instead got:\n' + + result); + } }); }); @@ -576,6 +592,10 @@ function normalizeResult(result: string, format: Format): string { .replace('exports.__esModule = true;', ' ') .replace('Object.defineProperty(exports, "__esModule", { value: true });', ' '); + // Remove hoisted initial export assignments. These were added in TS 3.9: + // https://github.com/Microsoft/TypeScript/commit/c6c2c4c8d5aa0947de16f484b8c16fb0eab1c48f + res = res.replace(/^exports\.\S+ = void 0;$/gm, ''); + // Remove new lines // Squish adjacent spaces if (format === Format.Flat) { diff --git a/packages/compiler-cli/test/transformers/program_spec.ts b/packages/compiler-cli/test/transformers/program_spec.ts index 8f3dc5ccdd..a4186583b1 100644 --- a/packages/compiler-cli/test/transformers/program_spec.ts +++ b/packages/compiler-cli/test/transformers/program_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/transformers/r3_metadata_transform_spec.ts b/packages/compiler-cli/test/transformers/r3_metadata_transform_spec.ts index 7ab230c0e6..20220d3ec8 100644 --- a/packages/compiler-cli/test/transformers/r3_metadata_transform_spec.ts +++ b/packages/compiler-cli/test/transformers/r3_metadata_transform_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -54,4 +54,4 @@ describe('r3_transform_spec', () => { } } }); -}); \ No newline at end of file +}); diff --git a/packages/compiler-cli/test/transformers/r3_transform_spec.ts b/packages/compiler-cli/test/transformers/r3_transform_spec.ts index adf93e26b6..911fcdcccd 100644 --- a/packages/compiler-cli/test/transformers/r3_transform_spec.ts +++ b/packages/compiler-cli/test/transformers/r3_transform_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler-cli/test/typescript_support_spec.ts b/packages/compiler-cli/test/typescript_support_spec.ts index 0995ac5238..72f52ab581 100644 --- a/packages/compiler-cli/test/typescript_support_spec.ts +++ b/packages/compiler-cli/test/typescript_support_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/compiler.ts b/packages/compiler/compiler.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/compiler/compiler.ts +++ b/packages/compiler/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/index.ts b/packages/compiler/index.ts index da6c41adee..e4acb3b657 100644 --- a/packages/compiler/index.ts +++ b/packages/compiler/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/package.json b/packages/compiler/package.json index a68958fba8..b12dee8beb 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -4,8 +4,8 @@ "description": "Angular - the compiler library", "author": "angular", "license": "MIT", - "peerDependencies": { - "tslib": "^1.10.0" + "dependencies": { + "tslib": "^2.0.0" }, "repository": { "type": "git", diff --git a/packages/compiler/public_api.ts b/packages/compiler/public_api.ts index 13abd58d26..d5d954a6a4 100644 --- a/packages/compiler/public_api.ts +++ b/packages/compiler/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/compiler.ts b/packages/compiler/src/aot/compiler.ts index 24ea205e9e..1a123791e1 100644 --- a/packages/compiler/src/aot/compiler.ts +++ b/packages/compiler/src/aot/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/compiler_factory.ts b/packages/compiler/src/aot/compiler_factory.ts index e6cdaeaad9..eeccffff68 100644 --- a/packages/compiler/src/aot/compiler_factory.ts +++ b/packages/compiler/src/aot/compiler_factory.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CompilerConfig} from '../config'; -import {MissingTranslationStrategy, ViewEncapsulation} from '../core'; +import {ViewEncapsulation} from '../core'; import {DirectiveNormalizer} from '../directive_normalizer'; import {DirectiveResolver} from '../directive_resolver'; import {Lexer} from '../expression_parser/lexer'; @@ -32,7 +32,7 @@ import {AotCompiler} from './compiler'; import {AotCompilerHost} from './compiler_host'; import {AotCompilerOptions} from './compiler_options'; import {StaticReflector} from './static_reflector'; -import {StaticSymbol, StaticSymbolCache} from './static_symbol'; +import {StaticSymbolCache} from './static_symbol'; import {StaticSymbolResolver} from './static_symbol_resolver'; import {AotSummaryResolver} from './summary_resolver'; diff --git a/packages/compiler/src/aot/compiler_host.ts b/packages/compiler/src/aot/compiler_host.ts index 9cf72642e9..82c4bb6e65 100644 --- a/packages/compiler/src/aot/compiler_host.ts +++ b/packages/compiler/src/aot/compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/compiler_options.ts b/packages/compiler/src/aot/compiler_options.ts index 02058cff73..72bcf63966 100644 --- a/packages/compiler/src/aot/compiler_options.ts +++ b/packages/compiler/src/aot/compiler_options.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/formatted_error.ts b/packages/compiler/src/aot/formatted_error.ts index 2f47a6c98c..7a26975c5b 100644 --- a/packages/compiler/src/aot/formatted_error.ts +++ b/packages/compiler/src/aot/formatted_error.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/generated_file.ts b/packages/compiler/src/aot/generated_file.ts index ff1fa07cc2..2a69a65ef3 100644 --- a/packages/compiler/src/aot/generated_file.ts +++ b/packages/compiler/src/aot/generated_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/lazy_routes.ts b/packages/compiler/src/aot/lazy_routes.ts index 9351518315..4dba3b4ba9 100644 --- a/packages/compiler/src/aot/lazy_routes.ts +++ b/packages/compiler/src/aot/lazy_routes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,9 +8,7 @@ import {CompileNgModuleMetadata, tokenReference} from '../compile_metadata'; import {Route} from '../core'; -import {CompileMetadataResolver} from '../metadata_resolver'; -import {AotCompilerHost} from './compiler_host'; import {StaticReflector} from './static_reflector'; import {StaticSymbol} from './static_symbol'; diff --git a/packages/compiler/src/aot/partial_module.ts b/packages/compiler/src/aot/partial_module.ts index 7e205bfdf6..105af12e2a 100644 --- a/packages/compiler/src/aot/partial_module.ts +++ b/packages/compiler/src/aot/partial_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/static_reflector.ts b/packages/compiler/src/aot/static_reflector.ts index c3d4d54597..c60b6dbe24 100644 --- a/packages/compiler/src/aot/static_reflector.ts +++ b/packages/compiler/src/aot/static_reflector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/static_symbol.ts b/packages/compiler/src/aot/static_symbol.ts index aaec3f0f2d..8444b03a35 100644 --- a/packages/compiler/src/aot/static_symbol.ts +++ b/packages/compiler/src/aot/static_symbol.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -40,4 +40,4 @@ export class StaticSymbolCache { } return result; } -} \ No newline at end of file +} diff --git a/packages/compiler/src/aot/static_symbol_resolver.ts b/packages/compiler/src/aot/static_symbol_resolver.ts index de5db1f246..9b06465c2c 100644 --- a/packages/compiler/src/aot/static_symbol_resolver.ts +++ b/packages/compiler/src/aot/static_symbol_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/summary_resolver.ts b/packages/compiler/src/aot/summary_resolver.ts index 9d795b287b..960d20ea8b 100644 --- a/packages/compiler/src/aot/summary_resolver.ts +++ b/packages/compiler/src/aot/summary_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/summary_serializer.ts b/packages/compiler/src/aot/summary_serializer.ts index 8157d3d228..ccf517b65f 100644 --- a/packages/compiler/src/aot/summary_serializer.ts +++ b/packages/compiler/src/aot/summary_serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/aot/util.ts b/packages/compiler/src/aot/util.ts index 568dd57ad0..bd5b48888b 100644 --- a/packages/compiler/src/aot/util.ts +++ b/packages/compiler/src/aot/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/assertions.ts b/packages/compiler/src/assertions.ts index bb6a657bac..2bba3023e0 100644 --- a/packages/compiler/src/assertions.ts +++ b/packages/compiler/src/assertions.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ast_path.ts b/packages/compiler/src/ast_path.ts index 2d1e3a95b1..532ed3bc22 100644 --- a/packages/compiler/src/ast_path.ts +++ b/packages/compiler/src/ast_path.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/chars.ts b/packages/compiler/src/chars.ts index 28ce8b9c22..5ba122d803 100644 --- a/packages/compiler/src/chars.ts +++ b/packages/compiler/src/chars.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/compile_metadata.ts b/packages/compiler/src/compile_metadata.ts index adba967933..80232d0aaf 100644 --- a/packages/compiler/src/compile_metadata.ts +++ b/packages/compiler/src/compile_metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/compile_reflector.ts b/packages/compiler/src/compile_reflector.ts index c6ffc9fed4..251b5db7ab 100644 --- a/packages/compiler/src/compile_reflector.ts +++ b/packages/compiler/src/compile_reflector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/compiler.ts b/packages/compiler/src/compiler.ts index d898f7a5e3..ca5cd12c06 100644 --- a/packages/compiler/src/compiler.ts +++ b/packages/compiler/src/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/compiler_facade_interface.ts b/packages/compiler/src/compiler_facade_interface.ts index e563344f23..94e9a87fe9 100644 --- a/packages/compiler/src/compiler_facade_interface.ts +++ b/packages/compiler/src/compiler_facade_interface.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,12 +13,12 @@ * * This file has two copies. Please ensure that they are in sync: * - packages/compiler/src/compiler_facade_interface.ts (master) - * - packages/core/src/render3/jit/compiler_facade_interface.ts (copy) + * - packages/core/src/compiler/compiler_facade_interface.ts (copy) * * Please ensure that the two files are in sync using this command: * ``` * cp packages/compiler/src/compiler_facade_interface.ts \ - * packages/core/src/render3/jit/compiler_facade_interface.ts + * packages/core/src/compiler/compiler_facade_interface.ts * ``` */ diff --git a/packages/compiler/src/compiler_util/expression_converter.ts b/packages/compiler/src/compiler_util/expression_converter.ts index 97cb089c35..1abb1c39a5 100644 --- a/packages/compiler/src/compiler_util/expression_converter.ts +++ b/packages/compiler/src/compiler_util/expression_converter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/config.ts b/packages/compiler/src/config.ts index 69e0589e9f..bb651366cd 100644 --- a/packages/compiler/src/config.ts +++ b/packages/compiler/src/config.ts @@ -1,15 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CompileIdentifierMetadata} from './compile_metadata'; import {MissingTranslationStrategy, ViewEncapsulation} from './core'; -import {Identifiers} from './identifiers'; -import * as o from './output/output_ast'; import {noUndefined} from './util'; export class CompilerConfig { diff --git a/packages/compiler/src/constant_pool.ts b/packages/compiler/src/constant_pool.ts index ae58887171..5ab77da0ad 100644 --- a/packages/compiler/src/constant_pool.ts +++ b/packages/compiler/src/constant_pool.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/core.ts b/packages/compiler/src/core.ts index f5d29c5d59..cf3175985d 100644 --- a/packages/compiler/src/core.ts +++ b/packages/compiler/src/core.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/css_parser/css_ast.ts b/packages/compiler/src/css_parser/css_ast.ts index 08e86510a5..b36b8195ab 100644 --- a/packages/compiler/src/css_parser/css_ast.ts +++ b/packages/compiler/src/css_parser/css_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/css_parser/css_lexer.ts b/packages/compiler/src/css_parser/css_lexer.ts index 31fc632eba..c9142e8143 100644 --- a/packages/compiler/src/css_parser/css_lexer.ts +++ b/packages/compiler/src/css_parser/css_lexer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/css_parser/css_parser.ts b/packages/compiler/src/css_parser/css_parser.ts index eeebbf8d61..64ba7752d5 100644 --- a/packages/compiler/src/css_parser/css_parser.ts +++ b/packages/compiler/src/css_parser/css_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/directive_normalizer.ts b/packages/compiler/src/directive_normalizer.ts index 366cea285a..372db43b14 100644 --- a/packages/compiler/src/directive_normalizer.ts +++ b/packages/compiler/src/directive_normalizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/directive_resolver.ts b/packages/compiler/src/directive_resolver.ts index 78764f5f59..a4c8a09a8d 100644 --- a/packages/compiler/src/directive_resolver.ts +++ b/packages/compiler/src/directive_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/expression_parser/ast.ts b/packages/compiler/src/expression_parser/ast.ts index d0dec2050d..18ab08e533 100644 --- a/packages/compiler/src/expression_parser/ast.ts +++ b/packages/compiler/src/expression_parser/ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/expression_parser/lexer.ts b/packages/compiler/src/expression_parser/lexer.ts index b942ecd4f7..cc1614218b 100644 --- a/packages/compiler/src/expression_parser/lexer.ts +++ b/packages/compiler/src/expression_parser/lexer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/expression_parser/parser.ts b/packages/compiler/src/expression_parser/parser.ts index 38860de4dd..743205b920 100644 --- a/packages/compiler/src/expression_parser/parser.ts +++ b/packages/compiler/src/expression_parser/parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/digest.ts b/packages/compiler/src/i18n/digest.ts index 58ff21d394..75a9fa1f0a 100644 --- a/packages/compiler/src/i18n/digest.ts +++ b/packages/compiler/src/i18n/digest.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/extractor.ts b/packages/compiler/src/i18n/extractor.ts index 43a6d06489..26919b38ce 100644 --- a/packages/compiler/src/i18n/extractor.ts +++ b/packages/compiler/src/i18n/extractor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/extractor_merger.ts b/packages/compiler/src/i18n/extractor_merger.ts index 5133826c93..771515575e 100644 --- a/packages/compiler/src/i18n/extractor_merger.ts +++ b/packages/compiler/src/i18n/extractor_merger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/i18n_ast.ts b/packages/compiler/src/i18n/i18n_ast.ts index ef0b1156f0..0a7159bbc1 100644 --- a/packages/compiler/src/i18n/i18n_ast.ts +++ b/packages/compiler/src/i18n/i18n_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/i18n_html_parser.ts b/packages/compiler/src/i18n/i18n_html_parser.ts index 57fcceafe3..41029bfb8e 100644 --- a/packages/compiler/src/i18n/i18n_html_parser.ts +++ b/packages/compiler/src/i18n/i18n_html_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/i18n_parser.ts b/packages/compiler/src/i18n/i18n_parser.ts index 5c19595f72..1a1f7f35bd 100644 --- a/packages/compiler/src/i18n/i18n_parser.ts +++ b/packages/compiler/src/i18n/i18n_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/index.ts b/packages/compiler/src/i18n/index.ts index 5417eecf5d..8e6eb86730 100644 --- a/packages/compiler/src/i18n/index.ts +++ b/packages/compiler/src/i18n/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/message_bundle.ts b/packages/compiler/src/i18n/message_bundle.ts index dcc7269c23..37fb284604 100644 --- a/packages/compiler/src/i18n/message_bundle.ts +++ b/packages/compiler/src/i18n/message_bundle.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/parse_util.ts b/packages/compiler/src/i18n/parse_util.ts index 0a02a5b416..0610cd09dd 100644 --- a/packages/compiler/src/i18n/parse_util.ts +++ b/packages/compiler/src/i18n/parse_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/placeholder.ts b/packages/compiler/src/i18n/serializers/placeholder.ts index 34b131cb6b..17f4b72dbf 100644 --- a/packages/compiler/src/i18n/serializers/placeholder.ts +++ b/packages/compiler/src/i18n/serializers/placeholder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/serializer.ts b/packages/compiler/src/i18n/serializers/serializer.ts index 5cca7d2543..d8c02f607a 100644 --- a/packages/compiler/src/i18n/serializers/serializer.ts +++ b/packages/compiler/src/i18n/serializers/serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/xliff.ts b/packages/compiler/src/i18n/serializers/xliff.ts index 732d4eecfb..0278b517b7 100644 --- a/packages/compiler/src/i18n/serializers/xliff.ts +++ b/packages/compiler/src/i18n/serializers/xliff.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/xliff2.ts b/packages/compiler/src/i18n/serializers/xliff2.ts index a0d62bc7dc..7e97464f98 100644 --- a/packages/compiler/src/i18n/serializers/xliff2.ts +++ b/packages/compiler/src/i18n/serializers/xliff2.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/xmb.ts b/packages/compiler/src/i18n/serializers/xmb.ts index a12e785506..591bdbf8a6 100644 --- a/packages/compiler/src/i18n/serializers/xmb.ts +++ b/packages/compiler/src/i18n/serializers/xmb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/xml_helper.ts b/packages/compiler/src/i18n/serializers/xml_helper.ts index 6863cce5df..1007ef3e18 100644 --- a/packages/compiler/src/i18n/serializers/xml_helper.ts +++ b/packages/compiler/src/i18n/serializers/xml_helper.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/serializers/xtb.ts b/packages/compiler/src/i18n/serializers/xtb.ts index dede307882..5483e5029d 100644 --- a/packages/compiler/src/i18n/serializers/xtb.ts +++ b/packages/compiler/src/i18n/serializers/xtb.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/i18n/translation_bundle.ts b/packages/compiler/src/i18n/translation_bundle.ts index 62bfb357e9..5fa66c6ae4 100644 --- a/packages/compiler/src/i18n/translation_bundle.ts +++ b/packages/compiler/src/i18n/translation_bundle.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/identifiers.ts b/packages/compiler/src/identifiers.ts index 6bf33b76ad..15dca640cb 100644 --- a/packages/compiler/src/identifiers.ts +++ b/packages/compiler/src/identifiers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/injectable_compiler.ts b/packages/compiler/src/injectable_compiler.ts index d503c868b4..f7c26148e8 100644 --- a/packages/compiler/src/injectable_compiler.ts +++ b/packages/compiler/src/injectable_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/injectable_compiler_2.ts b/packages/compiler/src/injectable_compiler_2.ts index 6fbe107c16..874232dfc5 100644 --- a/packages/compiler/src/injectable_compiler_2.ts +++ b/packages/compiler/src/injectable_compiler_2.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/jit/compiler.ts b/packages/compiler/src/jit/compiler.ts index ed6d8da08e..2e8bedd824 100644 --- a/packages/compiler/src/jit/compiler.ts +++ b/packages/compiler/src/jit/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/jit_compiler_facade.ts b/packages/compiler/src/jit_compiler_facade.ts index f2fb2c8559..b3c92ac387 100644 --- a/packages/compiler/src/jit_compiler_facade.ts +++ b/packages/compiler/src/jit_compiler_facade.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/lifecycle_reflector.ts b/packages/compiler/src/lifecycle_reflector.ts index 769a350455..90ff55772d 100644 --- a/packages/compiler/src/lifecycle_reflector.ts +++ b/packages/compiler/src/lifecycle_reflector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/metadata_resolver.ts b/packages/compiler/src/metadata_resolver.ts index 2fc245af37..17a247b4bd 100644 --- a/packages/compiler/src/metadata_resolver.ts +++ b/packages/compiler/src/metadata_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/ast.ts b/packages/compiler/src/ml_parser/ast.ts index 8dc7761030..05abef7ccc 100644 --- a/packages/compiler/src/ml_parser/ast.ts +++ b/packages/compiler/src/ml_parser/ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/html_parser.ts b/packages/compiler/src/ml_parser/html_parser.ts index bc1d332820..9a9d507545 100644 --- a/packages/compiler/src/ml_parser/html_parser.ts +++ b/packages/compiler/src/ml_parser/html_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/html_tags.ts b/packages/compiler/src/ml_parser/html_tags.ts index 5e978fdb63..969fb0f95f 100644 --- a/packages/compiler/src/ml_parser/html_tags.ts +++ b/packages/compiler/src/ml_parser/html_tags.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/html_whitespaces.ts b/packages/compiler/src/ml_parser/html_whitespaces.ts index 9dfb172107..0bce9fa093 100644 --- a/packages/compiler/src/ml_parser/html_whitespaces.ts +++ b/packages/compiler/src/ml_parser/html_whitespaces.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/icu_ast_expander.ts b/packages/compiler/src/ml_parser/icu_ast_expander.ts index 1285aabb9a..120a433001 100644 --- a/packages/compiler/src/ml_parser/icu_ast_expander.ts +++ b/packages/compiler/src/ml_parser/icu_ast_expander.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/interpolation_config.ts b/packages/compiler/src/ml_parser/interpolation_config.ts index ff82082e5e..70854b9f8d 100644 --- a/packages/compiler/src/ml_parser/interpolation_config.ts +++ b/packages/compiler/src/ml_parser/interpolation_config.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/lexer.ts b/packages/compiler/src/ml_parser/lexer.ts index 625cdff79c..ffe386537e 100644 --- a/packages/compiler/src/ml_parser/lexer.ts +++ b/packages/compiler/src/ml_parser/lexer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/parser.ts b/packages/compiler/src/ml_parser/parser.ts index fa7f8874a1..fa27315583 100644 --- a/packages/compiler/src/ml_parser/parser.ts +++ b/packages/compiler/src/ml_parser/parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/tags.ts b/packages/compiler/src/ml_parser/tags.ts index 386db35d1e..279ab0aacb 100644 --- a/packages/compiler/src/ml_parser/tags.ts +++ b/packages/compiler/src/ml_parser/tags.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/xml_parser.ts b/packages/compiler/src/ml_parser/xml_parser.ts index 2f7933f356..d87ac19ee2 100644 --- a/packages/compiler/src/ml_parser/xml_parser.ts +++ b/packages/compiler/src/ml_parser/xml_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ml_parser/xml_tags.ts b/packages/compiler/src/ml_parser/xml_tags.ts index 75d14a3d8e..81af50d689 100644 --- a/packages/compiler/src/ml_parser/xml_tags.ts +++ b/packages/compiler/src/ml_parser/xml_tags.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ng_module_compiler.ts b/packages/compiler/src/ng_module_compiler.ts index f26dfc7092..7fa3fd14a0 100644 --- a/packages/compiler/src/ng_module_compiler.ts +++ b/packages/compiler/src/ng_module_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/ng_module_resolver.ts b/packages/compiler/src/ng_module_resolver.ts index fa1ca5010b..3952b38811 100644 --- a/packages/compiler/src/ng_module_resolver.ts +++ b/packages/compiler/src/ng_module_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/abstract_emitter.ts b/packages/compiler/src/output/abstract_emitter.ts index 0e1463890d..412ab31960 100644 --- a/packages/compiler/src/output/abstract_emitter.ts +++ b/packages/compiler/src/output/abstract_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/abstract_js_emitter.ts b/packages/compiler/src/output/abstract_js_emitter.ts index 3802f1a98d..7afd8159a0 100644 --- a/packages/compiler/src/output/abstract_js_emitter.ts +++ b/packages/compiler/src/output/abstract_js_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/js_emitter.ts b/packages/compiler/src/output/js_emitter.ts index 4589676db6..130a22251f 100644 --- a/packages/compiler/src/output/js_emitter.ts +++ b/packages/compiler/src/output/js_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/map_util.ts b/packages/compiler/src/output/map_util.ts index aece040431..361e2a2d7e 100644 --- a/packages/compiler/src/output/map_util.ts +++ b/packages/compiler/src/output/map_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/output_ast.ts b/packages/compiler/src/output/output_ast.ts index d8d313f561..7a3465447a 100644 --- a/packages/compiler/src/output/output_ast.ts +++ b/packages/compiler/src/output/output_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/output_interpreter.ts b/packages/compiler/src/output/output_interpreter.ts index c9a33b8155..7aa35963aa 100644 --- a/packages/compiler/src/output/output_interpreter.ts +++ b/packages/compiler/src/output/output_interpreter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/output_jit.ts b/packages/compiler/src/output/output_jit.ts index 6e570cfe05..75be4da280 100644 --- a/packages/compiler/src/output/output_jit.ts +++ b/packages/compiler/src/output/output_jit.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/source_map.ts b/packages/compiler/src/output/source_map.ts index 739f563b8f..5bf7a3956c 100644 --- a/packages/compiler/src/output/source_map.ts +++ b/packages/compiler/src/output/source_map.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/output/ts_emitter.ts b/packages/compiler/src/output/ts_emitter.ts index 514d570448..968e0ea42f 100644 --- a/packages/compiler/src/output/ts_emitter.ts +++ b/packages/compiler/src/output/ts_emitter.ts @@ -1,20 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {StaticSymbol} from '../aot/static_symbol'; -import {CompileIdentifierMetadata} from '../compile_metadata'; - import {AbstractEmitterVisitor, CATCH_ERROR_VAR, CATCH_STACK_VAR, EmitterVisitorContext, OutputEmitter} from './abstract_emitter'; import * as o from './output_ast'; -const _debugFilePath = '/debug/lib'; - export function debugOutputAstAsTypeScript(ast: o.Statement|o.Expression|o.Type|any[]): string { const converter = new _TsEmitterVisitor(); const ctx = EmitterVisitorContext.createRoot(); diff --git a/packages/compiler/src/output/value_util.ts b/packages/compiler/src/output/value_util.ts index b568069f36..a567004669 100644 --- a/packages/compiler/src/output/value_util.ts +++ b/packages/compiler/src/output/value_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/parse_util.ts b/packages/compiler/src/parse_util.ts index e6e7c30758..25ec56e797 100644 --- a/packages/compiler/src/parse_util.ts +++ b/packages/compiler/src/parse_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/pipe_resolver.ts b/packages/compiler/src/pipe_resolver.ts index c965571e6a..876d05d9cf 100644 --- a/packages/compiler/src/pipe_resolver.ts +++ b/packages/compiler/src/pipe_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/provider_analyzer.ts b/packages/compiler/src/provider_analyzer.ts index 677dbbaf00..24e6c2395a 100644 --- a/packages/compiler/src/provider_analyzer.ts +++ b/packages/compiler/src/provider_analyzer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_ast.ts b/packages/compiler/src/render3/r3_ast.ts index 3fa682a768..c8273dbe56 100644 --- a/packages/compiler/src/render3/r3_ast.ts +++ b/packages/compiler/src/render3/r3_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_factory.ts b/packages/compiler/src/render3/r3_factory.ts index dfb6fea44b..fe2f6d2073 100644 --- a/packages/compiler/src/render3/r3_factory.ts +++ b/packages/compiler/src/render3/r3_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_identifiers.ts b/packages/compiler/src/render3/r3_identifiers.ts index 8e072e6488..cffefcc612 100644 --- a/packages/compiler/src/render3/r3_identifiers.ts +++ b/packages/compiler/src/render3/r3_identifiers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -315,8 +315,6 @@ export class Identifiers { // sanitization-related functions static sanitizeHtml: o.ExternalReference = {name: 'ɵɵsanitizeHtml', moduleName: CORE}; static sanitizeStyle: o.ExternalReference = {name: 'ɵɵsanitizeStyle', moduleName: CORE}; - static defaultStyleSanitizer: - o.ExternalReference = {name: 'ɵɵdefaultStyleSanitizer', moduleName: CORE}; static sanitizeResourceUrl: o.ExternalReference = {name: 'ɵɵsanitizeResourceUrl', moduleName: CORE}; static sanitizeScript: o.ExternalReference = {name: 'ɵɵsanitizeScript', moduleName: CORE}; diff --git a/packages/compiler/src/render3/r3_jit.ts b/packages/compiler/src/render3/r3_jit.ts index 89b7cc9c0c..a0a51307de 100644 --- a/packages/compiler/src/render3/r3_jit.ts +++ b/packages/compiler/src/render3/r3_jit.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_module_compiler.ts b/packages/compiler/src/render3/r3_module_compiler.ts index 69379d08b2..d89379a91a 100644 --- a/packages/compiler/src/render3/r3_module_compiler.ts +++ b/packages/compiler/src/render3/r3_module_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_module_factory_compiler.ts b/packages/compiler/src/render3/r3_module_factory_compiler.ts index a6e64a7455..a1a68417a6 100644 --- a/packages/compiler/src/render3/r3_module_factory_compiler.ts +++ b/packages/compiler/src/render3/r3_module_factory_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_pipe_compiler.ts b/packages/compiler/src/render3/r3_pipe_compiler.ts index 25797c6635..1f22d629d3 100644 --- a/packages/compiler/src/render3/r3_pipe_compiler.ts +++ b/packages/compiler/src/render3/r3_pipe_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_template_transform.ts b/packages/compiler/src/render3/r3_template_transform.ts index 7ab7acd4ab..e91502af63 100644 --- a/packages/compiler/src/render3/r3_template_transform.ts +++ b/packages/compiler/src/render3/r3_template_transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/r3_types.ts b/packages/compiler/src/render3/r3_types.ts index 1111f902d4..ff1aee0f59 100644 --- a/packages/compiler/src/render3/r3_types.ts +++ b/packages/compiler/src/render3/r3_types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/util.ts b/packages/compiler/src/render3/util.ts index a450f8c0f2..50a6141438 100644 --- a/packages/compiler/src/render3/util.ts +++ b/packages/compiler/src/render3/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -101,4 +101,4 @@ export function jitOnlyGuardedExpression(expr: o.Expression): o.Expression { export function wrapReference(value: any): R3Reference { const wrapped = new o.WrappedNodeExpr(value); return {value: wrapped, type: wrapped}; -} \ No newline at end of file +} diff --git a/packages/compiler/src/render3/view/api.ts b/packages/compiler/src/render3/view/api.ts index a369af694d..acc8126c83 100644 --- a/packages/compiler/src/render3/view/api.ts +++ b/packages/compiler/src/render3/view/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -221,7 +221,8 @@ export interface R3QueryMetadata { first: boolean; /** - * Either an expression representing a type for the query predicate, or a set of string selectors. + * Either an expression representing a type or `InjectionToken` for the query + * predicate, or a set of string selectors. */ predicate: o.Expression|string[]; diff --git a/packages/compiler/src/render3/view/compiler.ts b/packages/compiler/src/render3/view/compiler.ts index eb1b14ba6d..1198d999f9 100644 --- a/packages/compiler/src/render3/view/compiler.ts +++ b/packages/compiler/src/render3/view/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/i18n/context.ts b/packages/compiler/src/render3/view/i18n/context.ts index 7ca7b64d9f..2be25642a4 100644 --- a/packages/compiler/src/render3/view/i18n/context.ts +++ b/packages/compiler/src/render3/view/i18n/context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/i18n/get_msg_utils.ts b/packages/compiler/src/render3/view/i18n/get_msg_utils.ts index d03fa7660a..c3987f028b 100644 --- a/packages/compiler/src/render3/view/i18n/get_msg_utils.ts +++ b/packages/compiler/src/render3/view/i18n/get_msg_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/i18n/icu_serializer.ts b/packages/compiler/src/render3/view/i18n/icu_serializer.ts index c0f645bf3f..2466c7bfb3 100644 --- a/packages/compiler/src/render3/view/i18n/icu_serializer.ts +++ b/packages/compiler/src/render3/view/i18n/icu_serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/i18n/localize_utils.ts b/packages/compiler/src/render3/view/i18n/localize_utils.ts index e3c79c2898..127a3f6d94 100644 --- a/packages/compiler/src/render3/view/i18n/localize_utils.ts +++ b/packages/compiler/src/render3/view/i18n/localize_utils.ts @@ -1,12 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as i18n from '../../../i18n/i18n_ast'; import * as o from '../../../output/output_ast'; +import {ParseSourceSpan} from '../../../parse_util'; import {serializeIcuNode} from './icu_serializer'; import {formatI18nPlaceholderName} from './util'; @@ -14,13 +15,13 @@ import {formatI18nPlaceholderName} from './util'; export function createLocalizeStatements( variable: o.ReadVarExpr, message: i18n.Message, params: {[name: string]: o.Expression}): o.Statement[] { - const statements = []; - const {messageParts, placeHolders} = serializeI18nMessageForLocalize(message); - statements.push(new o.ExpressionStatement(variable.set( - o.localizedString(message, messageParts, placeHolders, placeHolders.map(ph => params[ph]))))); - - return statements; + const sourceSpan = getSourceSpan(message); + const expressions = placeHolders.map(ph => params[ph]); + const localizedString = + o.localizedString(message, messageParts, placeHolders, expressions, sourceSpan); + const variableInitialization = variable.set(localizedString); + return [new o.ExpressionStatement(variableInitialization)]; } class MessagePiece { @@ -90,6 +91,13 @@ export function serializeI18nMessageForLocalize(message: i18n.Message): return processMessagePieces(pieces); } +function getSourceSpan(message: i18n.Message): ParseSourceSpan { + const startNode = message.nodes[0]; + const endNode = message.nodes[message.nodes.length - 1]; + return new ParseSourceSpan( + startNode.sourceSpan.start, endNode.sourceSpan.end, startNode.sourceSpan.details); +} + /** * Convert the list of serialized MessagePieces into two arrays. * diff --git a/packages/compiler/src/render3/view/i18n/meta.ts b/packages/compiler/src/render3/view/i18n/meta.ts index d294b40258..baa7e24e01 100644 --- a/packages/compiler/src/render3/view/i18n/meta.ts +++ b/packages/compiler/src/render3/view/i18n/meta.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/i18n/util.ts b/packages/compiler/src/render3/view/i18n/util.ts index 06cfd840d7..f867dcc0c9 100644 --- a/packages/compiler/src/render3/view/i18n/util.ts +++ b/packages/compiler/src/render3/view/i18n/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/style_parser.ts b/packages/compiler/src/render3/view/style_parser.ts index 668df7d27e..7fc7ecef0b 100644 --- a/packages/compiler/src/render3/view/style_parser.ts +++ b/packages/compiler/src/render3/view/style_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/styling_builder.ts b/packages/compiler/src/render3/view/styling_builder.ts index 6860d3e543..5430d04b07 100644 --- a/packages/compiler/src/render3/view/styling_builder.ts +++ b/packages/compiler/src/render3/view/styling_builder.ts @@ -1,11 +1,10 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {ConstantPool} from '../../constant_pool'; import {AttributeMarker} from '../../core'; import {AST, ASTWithSource, BindingPipe, BindingType, Interpolation} from '../../expression_parser/ast'; import * as o from '../../output/output_ast'; @@ -92,9 +91,8 @@ export interface StylingInstructionCall { interface BoundStylingEntry { hasOverrideFlag: boolean; name: string|null; - unit: string|null; + suffix: string|null; sourceSpan: ParseSourceSpan; - sanitize: boolean; value: AST; } @@ -217,20 +215,15 @@ export class StylingBuilder { registerStyleInput( name: string, isMapBased: boolean, value: AST, sourceSpan: ParseSourceSpan, - unit?: string|null): BoundStylingEntry|null { + suffix?: string|null): BoundStylingEntry|null { if (isEmptyExpression(value)) { return null; } name = normalizePropName(name); - const {property, hasOverrideFlag, unit: bindingUnit} = parseProperty(name); - const entry: BoundStylingEntry = { - name: property, - sanitize: property ? isStyleSanitizable(property) : true, - unit: unit || bindingUnit, - value, - sourceSpan, - hasOverrideFlag - }; + const {property, hasOverrideFlag, suffix: bindingSuffix} = parseProperty(name); + suffix = typeof suffix === 'string' && suffix.length !== 0 ? suffix : bindingSuffix; + const entry: + BoundStylingEntry = {name: property, suffix: suffix, value, sourceSpan, hasOverrideFlag}; if (isMapBased) { this._styleMapInput = entry; } else { @@ -250,8 +243,8 @@ export class StylingBuilder { return null; } const {property, hasOverrideFlag} = parseProperty(name); - const entry: BoundStylingEntry = - {name: property, value, sourceSpan, sanitize: false, hasOverrideFlag, unit: null}; + const entry: + BoundStylingEntry = {name: property, value, sourceSpan, hasOverrideFlag, suffix: null}; if (isMapBased) { if (this._classMapInput) { throw new Error( @@ -430,7 +423,7 @@ export class StylingBuilder { allocateBindingSlots: totalBindingSlotsRequired, supportsInterpolation: !!getInterpolationExpressionFn, params: (convertFn: (value: any) => o.Expression | o.Expression[]) => { - // params => stylingProp(propName, value, suffix|sanitizer) + // params => stylingProp(propName, value, suffix) const params: o.Expression[] = []; params.push(o.literal(input.name)); @@ -441,16 +434,10 @@ export class StylingBuilder { params.push(convertResult); } - // [style.prop] bindings may use suffix values (e.g. px, em, etc...) and they - // can also use a sanitizer. Sanitization occurs for url-based entries. Having - // the suffix value and a sanitizer together into the instruction doesn't make - // any sense (url-based entries cannot be sanitized). - if (!isClassBased) { - if (input.unit) { - params.push(o.literal(input.unit)); - } else if (input.sanitize) { - params.push(o.importExpr(R3.defaultStyleSanitizer)); - } + // [style.prop] bindings may use suffix values (e.g. px, em, etc...), therefore, + // if that is detected then we need to pass that in as an optional param. + if (!isClassBased && input.suffix !== null) { + params.push(o.literal(input.suffix)); } return params; @@ -517,27 +504,8 @@ function registerIntoMap(map: Map, key: string) { } } -function isStyleSanitizable(prop: string): boolean { - // Note that browsers support both the dash case and - // camel case property names when setting through JS. - return prop === 'background-image' || prop === 'backgroundImage' || prop === 'background' || - prop === 'border-image' || prop === 'borderImage' || prop === 'border-image-source' || - prop === 'borderImageSource' || prop === 'filter' || prop === 'list-style' || - prop === 'listStyle' || prop === 'list-style-image' || prop === 'listStyleImage' || - prop === 'clip-path' || prop === 'clipPath'; -} - -/** - * Simple helper function to either provide the constant literal that will house the value - * here or a null value if the provided values are empty. - */ -function getConstantLiteralFromArray( - constantPool: ConstantPool, values: o.Expression[]): o.Expression { - return values.length ? constantPool.getConstLiteral(o.literalArr(values), true) : o.NULL_EXPR; -} - export function parseProperty(name: string): - {property: string, unit: string, hasOverrideFlag: boolean} { + {property: string, suffix: string|null, hasOverrideFlag: boolean} { let hasOverrideFlag = false; const overrideIndex = name.indexOf(IMPORTANT_FLAG); if (overrideIndex !== -1) { @@ -545,15 +513,15 @@ export function parseProperty(name: string): hasOverrideFlag = true; } - let unit = ''; + let suffix: string|null = null; let property = name; const unitIndex = name.lastIndexOf('.'); if (unitIndex > 0) { - unit = name.substr(unitIndex + 1); + suffix = name.substr(unitIndex + 1); property = name.substring(0, unitIndex); } - return {property, unit, hasOverrideFlag}; + return {property, suffix, hasOverrideFlag}; } /** diff --git a/packages/compiler/src/render3/view/t2_api.ts b/packages/compiler/src/render3/view/t2_api.ts index c0d2de5b2c..e327c55b79 100644 --- a/packages/compiler/src/render3/view/t2_api.ts +++ b/packages/compiler/src/render3/view/t2_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/t2_binder.ts b/packages/compiler/src/render3/view/t2_binder.ts index 2f6eba2ce6..3523072295 100644 --- a/packages/compiler/src/render3/view/t2_binder.ts +++ b/packages/compiler/src/render3/view/t2_binder.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AST, BindingPipe, ImplicitReceiver, MethodCall, PropertyRead, PropertyWrite, RecursiveAstVisitor, SafeMethodCall, SafePropertyRead} from '../../expression_parser/ast'; -import {CssSelector, SelectorMatcher} from '../../selector'; +import {SelectorMatcher} from '../../selector'; import {BoundAttribute, BoundEvent, BoundText, Content, Element, Icu, Node, Reference, Template, Text, TextAttribute, Variable, Visitor} from '../r3_ast'; import {BoundTarget, DirectiveMeta, Target, TargetBinder} from './t2_api'; diff --git a/packages/compiler/src/render3/view/template.ts b/packages/compiler/src/render3/view/template.ts index 67e1b045e5..4e12be2daf 100644 --- a/packages/compiler/src/render3/view/template.ts +++ b/packages/compiler/src/render3/view/template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/render3/view/util.ts b/packages/compiler/src/render3/view/util.ts index c762194774..18ba06f0dc 100644 --- a/packages/compiler/src/render3/view/util.ts +++ b/packages/compiler/src/render3/view/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/resource_loader.ts b/packages/compiler/src/resource_loader.ts index 1f59cc981e..ec9d91af21 100644 --- a/packages/compiler/src/resource_loader.ts +++ b/packages/compiler/src/resource_loader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/schema/dom_element_schema_registry.ts b/packages/compiler/src/schema/dom_element_schema_registry.ts index 8705c21957..69b9cb9785 100644 --- a/packages/compiler/src/schema/dom_element_schema_registry.ts +++ b/packages/compiler/src/schema/dom_element_schema_registry.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/schema/dom_security_schema.ts b/packages/compiler/src/schema/dom_security_schema.ts index 7768f29f19..f6d4d8611c 100644 --- a/packages/compiler/src/schema/dom_security_schema.ts +++ b/packages/compiler/src/schema/dom_security_schema.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/schema/element_schema_registry.ts b/packages/compiler/src/schema/element_schema_registry.ts index ce856f2ece..602fb819db 100644 --- a/packages/compiler/src/schema/element_schema_registry.ts +++ b/packages/compiler/src/schema/element_schema_registry.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/selector.ts b/packages/compiler/src/selector.ts index a2d4aaaff6..b31f75936c 100644 --- a/packages/compiler/src/selector.ts +++ b/packages/compiler/src/selector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/shadow_css.ts b/packages/compiler/src/shadow_css.ts index 0ce9bd570c..554add3039 100644 --- a/packages/compiler/src/shadow_css.ts +++ b/packages/compiler/src/shadow_css.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/style_compiler.ts b/packages/compiler/src/style_compiler.ts index e484d8b746..abd2690c3d 100644 --- a/packages/compiler/src/style_compiler.ts +++ b/packages/compiler/src/style_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/style_url_resolver.ts b/packages/compiler/src/style_url_resolver.ts index 844871ee0a..8b1d2d3a70 100644 --- a/packages/compiler/src/style_url_resolver.ts +++ b/packages/compiler/src/style_url_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/summary_resolver.ts b/packages/compiler/src/summary_resolver.ts index 8b53145ab9..55e0ecd440 100644 --- a/packages/compiler/src/summary_resolver.ts +++ b/packages/compiler/src/summary_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/template_parser/binding_parser.ts b/packages/compiler/src/template_parser/binding_parser.ts index f6dde21f6d..1c19d69c9c 100644 --- a/packages/compiler/src/template_parser/binding_parser.ts +++ b/packages/compiler/src/template_parser/binding_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/template_parser/template_ast.ts b/packages/compiler/src/template_parser/template_ast.ts index 62be9f756b..4774890e61 100644 --- a/packages/compiler/src/template_parser/template_ast.ts +++ b/packages/compiler/src/template_parser/template_ast.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/template_parser/template_parser.ts b/packages/compiler/src/template_parser/template_parser.ts index 7b21dd0103..fde0f920c1 100644 --- a/packages/compiler/src/template_parser/template_parser.ts +++ b/packages/compiler/src/template_parser/template_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/template_parser/template_preparser.ts b/packages/compiler/src/template_parser/template_preparser.ts index 515806cceb..8e9f869681 100644 --- a/packages/compiler/src/template_parser/template_preparser.ts +++ b/packages/compiler/src/template_parser/template_preparser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/url_resolver.ts b/packages/compiler/src/url_resolver.ts index daf54b8916..035e9a41a8 100644 --- a/packages/compiler/src/url_resolver.ts +++ b/packages/compiler/src/url_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/util.ts b/packages/compiler/src/util.ts index 82b87ef97d..0bedc5751e 100644 --- a/packages/compiler/src/util.ts +++ b/packages/compiler/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -288,4 +288,4 @@ export function partitionArray( (conditionFn(item) ? truthy : falsy).push(item); }); return [truthy, falsy]; -} \ No newline at end of file +} diff --git a/packages/compiler/src/version.ts b/packages/compiler/src/version.ts index 16aee9de05..5ac1b6c24d 100644 --- a/packages/compiler/src/version.ts +++ b/packages/compiler/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/view_compiler/provider_compiler.ts b/packages/compiler/src/view_compiler/provider_compiler.ts index 8dbc2b182f..b893f3848a 100644 --- a/packages/compiler/src/view_compiler/provider_compiler.ts +++ b/packages/compiler/src/view_compiler/provider_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/view_compiler/type_check_compiler.ts b/packages/compiler/src/view_compiler/type_check_compiler.ts index 7d06d5ee20..6eaa3f6552 100644 --- a/packages/compiler/src/view_compiler/type_check_compiler.ts +++ b/packages/compiler/src/view_compiler/type_check_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/src/view_compiler/view_compiler.ts b/packages/compiler/src/view_compiler/view_compiler.ts index 8a52d633ea..6f3254927c 100644 --- a/packages/compiler/src/view_compiler/view_compiler.ts +++ b/packages/compiler/src/view_compiler/view_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/compiler_spec.ts b/packages/compiler/test/aot/compiler_spec.ts index c960a38e0a..d434939640 100644 --- a/packages/compiler/test/aot/compiler_spec.ts +++ b/packages/compiler/test/aot/compiler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -197,24 +197,24 @@ describe('compiler (unbundled Angular)', () => { app: { 'app.ts': ` import {Injectable, NgModule} from '@angular/core'; - + // This injectable is not provided. It is used as a base class for another // service but is not directly provided. It's allowed for such classes to // have a decorator applied as they use Angular features. @Injectable() export class ServiceBase { constructor(a: boolean) {} - + ngOnDestroy() {} } - + @Injectable() export class MyService extends ServiceBase { constructor() { super(true); } } - + @NgModule({providers: [MyService]}) export class AppModule {} ` @@ -238,7 +238,7 @@ describe('compiler (unbundled Angular)', () => { export class MyService { constructor(a: boolean) {} } - + @NgModule({ providers: [MyService], }) @@ -539,7 +539,7 @@ describe('compiler (unbundled Angular)', () => { 'base.ts': ` export class AValue {} export type AType = {}; - + export class AClass { constructor(a: AType, b: AValue) {} } @@ -572,23 +572,23 @@ describe('compiler (unbundled Angular)', () => { 'base.ts': ` export class AClass { constructor(arg: any) {} - + static create(arg: any = null): AClass { return new AClass(arg); } - + call(arg: any) {} } - + export function simple(arg: any) { return [arg]; } - + export const ctor_arg = {}; export const ctor_call = new AClass(ctor_arg); - + export const static_arg = {}; export const static_call = AClass.create(static_arg); - + export const complex_arg = {}; export const complex_call = AClass.create().call(complex_arg); - + export const simple_arg = {}; export const simple_call = simple(simple_arg); ` @@ -598,7 +598,7 @@ describe('compiler (unbundled Angular)', () => { 'app': { 'main.ts': ` import {ctor_call, static_call, complex_call, simple_call} from '../lib/base'; - + export const calls = [ctor_call, static_call, complex_call, simple_call]; `, } diff --git a/packages/compiler/test/aot/jit_summaries_spec.ts b/packages/compiler/test/aot/jit_summaries_spec.ts index 52ca5d290d..aaad84555c 100644 --- a/packages/compiler/test/aot/jit_summaries_spec.ts +++ b/packages/compiler/test/aot/jit_summaries_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/regression_spec.ts b/packages/compiler/test/aot/regression_spec.ts index d7e74946db..c167b2ab98 100644 --- a/packages/compiler/test/aot/regression_spec.ts +++ b/packages/compiler/test/aot/regression_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/static_reflector_spec.ts b/packages/compiler/test/aot/static_reflector_spec.ts index 5f382c0e17..d1ae5dd5a4 100644 --- a/packages/compiler/test/aot/static_reflector_spec.ts +++ b/packages/compiler/test/aot/static_reflector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/static_symbol_resolver_spec.ts b/packages/compiler/test/aot/static_symbol_resolver_spec.ts index 3e0edd7d70..44381a986f 100644 --- a/packages/compiler/test/aot/static_symbol_resolver_spec.ts +++ b/packages/compiler/test/aot/static_symbol_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/summary_resolver_spec.ts b/packages/compiler/test/aot/summary_resolver_spec.ts index b4e416b7e2..5384580f7f 100644 --- a/packages/compiler/test/aot/summary_resolver_spec.ts +++ b/packages/compiler/test/aot/summary_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -143,4 +143,4 @@ export function createMockOutputContext(): OutputContext { importExpr: () => o.NULL_EXPR, constantPool: new ConstantPool() }; -} \ No newline at end of file +} diff --git a/packages/compiler/test/aot/summary_serializer_spec.ts b/packages/compiler/test/aot/summary_serializer_spec.ts index fb9bc57111..4905f73944 100644 --- a/packages/compiler/test/aot/summary_serializer_spec.ts +++ b/packages/compiler/test/aot/summary_serializer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/aot/test_util.ts b/packages/compiler/test/aot/test_util.ts index 112deff7e0..1ff49efb4a 100644 --- a/packages/compiler/test/aot/test_util.ts +++ b/packages/compiler/test/aot/test_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/compiler_facade_interface_spec.ts b/packages/compiler/test/compiler_facade_interface_spec.ts index fd58bc9d91..963bfa5d17 100644 --- a/packages/compiler/test/compiler_facade_interface_spec.ts +++ b/packages/compiler/test/compiler_facade_interface_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/config_spec.ts b/packages/compiler/test/config_spec.ts index 5126941759..a453dec5db 100644 --- a/packages/compiler/test/config_spec.ts +++ b/packages/compiler/test/config_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/core_spec.ts b/packages/compiler/test/core_spec.ts index e198db2e8d..cf045725a0 100644 --- a/packages/compiler/test/core_spec.ts +++ b/packages/compiler/test/core_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/css_parser/css_lexer_spec.ts b/packages/compiler/test/css_parser/css_lexer_spec.ts index 96835c809a..20879d7a42 100644 --- a/packages/compiler/test/css_parser/css_lexer_spec.ts +++ b/packages/compiler/test/css_parser/css_lexer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/css_parser/css_parser_spec.ts b/packages/compiler/test/css_parser/css_parser_spec.ts index ad8c211ece..3020ee87ee 100644 --- a/packages/compiler/test/css_parser/css_parser_spec.ts +++ b/packages/compiler/test/css_parser/css_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/css_parser/css_visitor_spec.ts b/packages/compiler/test/css_parser/css_visitor_spec.ts index f7d05a5e5b..9c6d485fd0 100644 --- a/packages/compiler/test/css_parser/css_visitor_spec.ts +++ b/packages/compiler/test/css_parser/css_visitor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/directive_lifecycle_spec.ts b/packages/compiler/test/directive_lifecycle_spec.ts index 4e77bec806..7815f79419 100644 --- a/packages/compiler/test/directive_lifecycle_spec.ts +++ b/packages/compiler/test/directive_lifecycle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/directive_normalizer_spec.ts b/packages/compiler/test/directive_normalizer_spec.ts index 4e2c64cc20..a007b10fc2 100644 --- a/packages/compiler/test/directive_normalizer_spec.ts +++ b/packages/compiler/test/directive_normalizer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/directive_resolver_mock_spec.ts b/packages/compiler/test/directive_resolver_mock_spec.ts index c81dff025a..bbf5281aef 100644 --- a/packages/compiler/test/directive_resolver_mock_spec.ts +++ b/packages/compiler/test/directive_resolver_mock_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/directive_resolver_spec.ts b/packages/compiler/test/directive_resolver_spec.ts index c0cf0fa394..a1d7d96f2f 100644 --- a/packages/compiler/test/directive_resolver_spec.ts +++ b/packages/compiler/test/directive_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/expression_parser/ast_spec.ts b/packages/compiler/test/expression_parser/ast_spec.ts index a8612401e5..9b4518924b 100644 --- a/packages/compiler/test/expression_parser/ast_spec.ts +++ b/packages/compiler/test/expression_parser/ast_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/expression_parser/lexer_spec.ts b/packages/compiler/test/expression_parser/lexer_spec.ts index d09d261cf7..33814492bf 100644 --- a/packages/compiler/test/expression_parser/lexer_spec.ts +++ b/packages/compiler/test/expression_parser/lexer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/expression_parser/parser_spec.ts b/packages/compiler/test/expression_parser/parser_spec.ts index 5f7d047c3b..f11479b465 100644 --- a/packages/compiler/test/expression_parser/parser_spec.ts +++ b/packages/compiler/test/expression_parser/parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/expression_parser/utils/unparser.ts b/packages/compiler/test/expression_parser/utils/unparser.ts index 78592a45e6..01a330e204 100644 --- a/packages/compiler/test/expression_parser/utils/unparser.ts +++ b/packages/compiler/test/expression_parser/utils/unparser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/expression_parser/utils/validator.ts b/packages/compiler/test/expression_parser/utils/validator.ts index 2ddbbcd9c0..53082b0e64 100644 --- a/packages/compiler/test/expression_parser/utils/validator.ts +++ b/packages/compiler/test/expression_parser/utils/validator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/digest_spec.ts b/packages/compiler/test/i18n/digest_spec.ts index b37988d8ba..6e95e27c73 100644 --- a/packages/compiler/test/i18n/digest_spec.ts +++ b/packages/compiler/test/i18n/digest_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/extractor_merger_spec.ts b/packages/compiler/test/i18n/extractor_merger_spec.ts index 7ad468fb1a..eb7c4a8567 100644 --- a/packages/compiler/test/i18n/extractor_merger_spec.ts +++ b/packages/compiler/test/i18n/extractor_merger_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/i18n_html_parser_spec.ts b/packages/compiler/test/i18n/i18n_html_parser_spec.ts index a5e0b74223..ef51ff70f4 100644 --- a/packages/compiler/test/i18n/i18n_html_parser_spec.ts +++ b/packages/compiler/test/i18n/i18n_html_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/i18n_parser_spec.ts b/packages/compiler/test/i18n/i18n_parser_spec.ts index 7c4c75daf9..dc84283cb3 100644 --- a/packages/compiler/test/i18n/i18n_parser_spec.ts +++ b/packages/compiler/test/i18n/i18n_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/integration_common.ts b/packages/compiler/test/i18n/integration_common.ts index 4e1f84ae95..2cefca7946 100644 --- a/packages/compiler/test/i18n/integration_common.ts +++ b/packages/compiler/test/i18n/integration_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/integration_xliff2_spec.ts b/packages/compiler/test/i18n/integration_xliff2_spec.ts index f0ddecdb5f..184f471bec 100644 --- a/packages/compiler/test/i18n/integration_xliff2_spec.ts +++ b/packages/compiler/test/i18n/integration_xliff2_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/integration_xliff_spec.ts b/packages/compiler/test/i18n/integration_xliff_spec.ts index 3a4771494d..6889a0d368 100644 --- a/packages/compiler/test/i18n/integration_xliff_spec.ts +++ b/packages/compiler/test/i18n/integration_xliff_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/integration_xmb_xtb_spec.ts b/packages/compiler/test/i18n/integration_xmb_xtb_spec.ts index 181187f6b1..20fecb9681 100644 --- a/packages/compiler/test/i18n/integration_xmb_xtb_spec.ts +++ b/packages/compiler/test/i18n/integration_xmb_xtb_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/message_bundle_spec.ts b/packages/compiler/test/i18n/message_bundle_spec.ts index c01a49fb28..c1a2b23d08 100644 --- a/packages/compiler/test/i18n/message_bundle_spec.ts +++ b/packages/compiler/test/i18n/message_bundle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/serializers/i18n_ast_spec.ts b/packages/compiler/test/i18n/serializers/i18n_ast_spec.ts index 298ca1d80b..3ee5872d41 100644 --- a/packages/compiler/test/i18n/serializers/i18n_ast_spec.ts +++ b/packages/compiler/test/i18n/serializers/i18n_ast_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/serializers/placeholder_spec.ts b/packages/compiler/test/i18n/serializers/placeholder_spec.ts index 5f5c823aff..4d740df0b5 100644 --- a/packages/compiler/test/i18n/serializers/placeholder_spec.ts +++ b/packages/compiler/test/i18n/serializers/placeholder_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -88,4 +88,4 @@ import {PlaceholderRegistry} from '../../../src/i18n/serializers/placeholder'; }); }); }); -} \ No newline at end of file +} diff --git a/packages/compiler/test/i18n/serializers/xliff2_spec.ts b/packages/compiler/test/i18n/serializers/xliff2_spec.ts index c63146d3bc..f89a416d50 100644 --- a/packages/compiler/test/i18n/serializers/xliff2_spec.ts +++ b/packages/compiler/test/i18n/serializers/xliff2_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/serializers/xliff_spec.ts b/packages/compiler/test/i18n/serializers/xliff_spec.ts index 7a4935a7f0..9acf397aa8 100644 --- a/packages/compiler/test/i18n/serializers/xliff_spec.ts +++ b/packages/compiler/test/i18n/serializers/xliff_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -185,7 +185,7 @@ const LOAD_XLIFF = ` 6 ph names - + diff --git a/packages/compiler/test/i18n/serializers/xmb_spec.ts b/packages/compiler/test/i18n/serializers/xmb_spec.ts index 38605c0112..3d22e50a25 100644 --- a/packages/compiler/test/i18n/serializers/xmb_spec.ts +++ b/packages/compiler/test/i18n/serializers/xmb_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/serializers/xml_helper_spec.ts b/packages/compiler/test/i18n/serializers/xml_helper_spec.ts index 6421c089d8..40222340c3 100644 --- a/packages/compiler/test/i18n/serializers/xml_helper_spec.ts +++ b/packages/compiler/test/i18n/serializers/xml_helper_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -45,4 +45,4 @@ import * as xml from '../../../src/i18n/serializers/xml_helper'; .toEqual(''); }); }); -} \ No newline at end of file +} diff --git a/packages/compiler/test/i18n/serializers/xtb_spec.ts b/packages/compiler/test/i18n/serializers/xtb_spec.ts index 247e4ef7e7..a71e44fa5d 100644 --- a/packages/compiler/test/i18n/serializers/xtb_spec.ts +++ b/packages/compiler/test/i18n/serializers/xtb_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/i18n/translation_bundle_spec.ts b/packages/compiler/test/i18n/translation_bundle_spec.ts index f46a2546ba..01f322adca 100644 --- a/packages/compiler/test/i18n/translation_bundle_spec.ts +++ b/packages/compiler/test/i18n/translation_bundle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/integration_spec.ts b/packages/compiler/test/integration_spec.ts index e43675a57f..de24253a37 100644 --- a/packages/compiler/test/integration_spec.ts +++ b/packages/compiler/test/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/metadata_resolver_fixture.ts b/packages/compiler/test/metadata_resolver_fixture.ts index cc8f2a7bd0..013f5159e6 100644 --- a/packages/compiler/test/metadata_resolver_fixture.ts +++ b/packages/compiler/test/metadata_resolver_fixture.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/metadata_resolver_spec.ts b/packages/compiler/test/metadata_resolver_spec.ts index 2f853c5bc4..f97125e4bd 100644 --- a/packages/compiler/test/metadata_resolver_spec.ts +++ b/packages/compiler/test/metadata_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/ast_serializer_spec.ts b/packages/compiler/test/ml_parser/ast_serializer_spec.ts index e1545821d1..71750fbb0f 100644 --- a/packages/compiler/test/ml_parser/ast_serializer_spec.ts +++ b/packages/compiler/test/ml_parser/ast_serializer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/ast_spec_utils.ts b/packages/compiler/test/ml_parser/ast_spec_utils.ts index 268fe94700..1906591cda 100644 --- a/packages/compiler/test/ml_parser/ast_spec_utils.ts +++ b/packages/compiler/test/ml_parser/ast_spec_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/html_parser_spec.ts b/packages/compiler/test/ml_parser/html_parser_spec.ts index 25e4209b74..4370a1118e 100644 --- a/packages/compiler/test/ml_parser/html_parser_spec.ts +++ b/packages/compiler/test/ml_parser/html_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/html_whitespaces_spec.ts b/packages/compiler/test/ml_parser/html_whitespaces_spec.ts index 4c22b47801..117be970d1 100644 --- a/packages/compiler/test/ml_parser/html_whitespaces_spec.ts +++ b/packages/compiler/test/ml_parser/html_whitespaces_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/icu_ast_expander_spec.ts b/packages/compiler/test/ml_parser/icu_ast_expander_spec.ts index 0aab1414d8..881f09e58d 100644 --- a/packages/compiler/test/ml_parser/icu_ast_expander_spec.ts +++ b/packages/compiler/test/ml_parser/icu_ast_expander_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/lexer_spec.ts b/packages/compiler/test/ml_parser/lexer_spec.ts index 6189c38f01..79b387e86f 100644 --- a/packages/compiler/test/ml_parser/lexer_spec.ts +++ b/packages/compiler/test/ml_parser/lexer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ml_parser/util/util.ts b/packages/compiler/test/ml_parser/util/util.ts index d640b6448d..0e4172d42c 100644 --- a/packages/compiler/test/ml_parser/util/util.ts +++ b/packages/compiler/test/ml_parser/util/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -51,4 +51,4 @@ const serializerVisitor = new _SerializerVisitor(); export function serializeNodes(nodes: html.Node[]): string[] { return nodes.map(node => node.visit(serializerVisitor, null)); -} \ No newline at end of file +} diff --git a/packages/compiler/test/ng_module_resolver_mock_spec.ts b/packages/compiler/test/ng_module_resolver_mock_spec.ts index 00a2df52cc..cb6ea2feee 100644 --- a/packages/compiler/test/ng_module_resolver_mock_spec.ts +++ b/packages/compiler/test/ng_module_resolver_mock_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/ng_module_resolver_spec.ts b/packages/compiler/test/ng_module_resolver_spec.ts index 787f5ca93e..572890edad 100644 --- a/packages/compiler/test/ng_module_resolver_spec.ts +++ b/packages/compiler/test/ng_module_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/abstract_emitter_node_only_spec.ts b/packages/compiler/test/output/abstract_emitter_node_only_spec.ts index a95031527d..c9395ae690 100644 --- a/packages/compiler/test/output/abstract_emitter_node_only_spec.ts +++ b/packages/compiler/test/output/abstract_emitter_node_only_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/abstract_emitter_spec.ts b/packages/compiler/test/output/abstract_emitter_spec.ts index 6f777c9b6b..63dc6e064d 100644 --- a/packages/compiler/test/output/abstract_emitter_spec.ts +++ b/packages/compiler/test/output/abstract_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -50,4 +50,4 @@ export function stripSourceMapAndNewLine(source: string): string { const smi = source.lastIndexOf('\n//#'); if (smi == -1) return source; return source.slice(0, smi); -} \ No newline at end of file +} diff --git a/packages/compiler/test/output/js_emitter_node_only_spec.ts b/packages/compiler/test/output/js_emitter_node_only_spec.ts index c2b5aac10a..3a47c0b1a4 100644 --- a/packages/compiler/test/output/js_emitter_node_only_spec.ts +++ b/packages/compiler/test/output/js_emitter_node_only_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/js_emitter_spec.ts b/packages/compiler/test/output/js_emitter_spec.ts index a2f7d11999..9ab5e9d5a8 100644 --- a/packages/compiler/test/output/js_emitter_spec.ts +++ b/packages/compiler/test/output/js_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/output_ast_spec.ts b/packages/compiler/test/output/output_ast_spec.ts index 41c7fbaca1..c330ad8aae 100644 --- a/packages/compiler/test/output/output_ast_spec.ts +++ b/packages/compiler/test/output/output_ast_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/output_jit_spec.ts b/packages/compiler/test/output/output_jit_spec.ts index d978ecda22..548a86ed05 100644 --- a/packages/compiler/test/output/output_jit_spec.ts +++ b/packages/compiler/test/output/output_jit_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/source_map_spec.ts b/packages/compiler/test/output/source_map_spec.ts index 2d80d01e09..d15a7adbfd 100644 --- a/packages/compiler/test/output/source_map_spec.ts +++ b/packages/compiler/test/output/source_map_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/ts_emitter_node_only_spec.ts b/packages/compiler/test/output/ts_emitter_node_only_spec.ts index 0e6c75e457..bea113a8aa 100644 --- a/packages/compiler/test/output/ts_emitter_node_only_spec.ts +++ b/packages/compiler/test/output/ts_emitter_node_only_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/ts_emitter_spec.ts b/packages/compiler/test/output/ts_emitter_spec.ts index e499de649b..810d24cbc2 100644 --- a/packages/compiler/test/output/ts_emitter_spec.ts +++ b/packages/compiler/test/output/ts_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/output/value_util_spec.ts b/packages/compiler/test/output/value_util_spec.ts index 0098608151..b3f39dbd16 100644 --- a/packages/compiler/test/output/value_util_spec.ts +++ b/packages/compiler/test/output/value_util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/parse_util_spec.ts b/packages/compiler/test/parse_util_spec.ts index 87420ea83d..23efd0ac1e 100644 --- a/packages/compiler/test/parse_util_spec.ts +++ b/packages/compiler/test/parse_util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -23,4 +23,4 @@ import {ParseError, ParseErrorLevel, ParseLocation, ParseSourceFile, ParseSource expect(warning.toString()).toEqual('warning ("foo\n[WARNING ->]bar\nfoo"): url@1:0'); }); }); -} \ No newline at end of file +} diff --git a/packages/compiler/test/pipe_resolver_mock_spec.ts b/packages/compiler/test/pipe_resolver_mock_spec.ts index d7ae2ee6c1..0389883f52 100644 --- a/packages/compiler/test/pipe_resolver_mock_spec.ts +++ b/packages/compiler/test/pipe_resolver_mock_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/pipe_resolver_spec.ts b/packages/compiler/test/pipe_resolver_spec.ts index bff6ce1263..76867c4229 100644 --- a/packages/compiler/test/pipe_resolver_spec.ts +++ b/packages/compiler/test/pipe_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/r3_ast_absolute_span_spec.ts b/packages/compiler/test/render3/r3_ast_absolute_span_spec.ts index 3330d4c5af..4f3425d07c 100644 --- a/packages/compiler/test/render3/r3_ast_absolute_span_spec.ts +++ b/packages/compiler/test/render3/r3_ast_absolute_span_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/r3_ast_spans_spec.ts b/packages/compiler/test/render3/r3_ast_spans_spec.ts index f0d65ce50d..38f6d93d42 100644 --- a/packages/compiler/test/render3/r3_ast_spans_spec.ts +++ b/packages/compiler/test/render3/r3_ast_spans_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/r3_template_transform_spec.ts b/packages/compiler/test/render3/r3_template_transform_spec.ts index f43177fdcb..8f74ce86eb 100644 --- a/packages/compiler/test/render3/r3_template_transform_spec.ts +++ b/packages/compiler/test/render3/r3_template_transform_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/style_parser_spec.ts b/packages/compiler/test/render3/style_parser_spec.ts index e0d9533bec..31252c54e5 100644 --- a/packages/compiler/test/render3/style_parser_spec.ts +++ b/packages/compiler/test/render3/style_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/util/expression.ts b/packages/compiler/test/render3/util/expression.ts index 30d7dafa05..1831513158 100644 --- a/packages/compiler/test/render3/util/expression.ts +++ b/packages/compiler/test/render3/util/expression.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/view/binding_spec.ts b/packages/compiler/test/render3/view/binding_spec.ts index 15cad85c71..02e9a7ee95 100644 --- a/packages/compiler/test/render3/view/binding_spec.ts +++ b/packages/compiler/test/render3/view/binding_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/view/i18n_spec.ts b/packages/compiler/test/render3/view/i18n_spec.ts index ffdb57fee1..f809a2523c 100644 --- a/packages/compiler/test/render3/view/i18n_spec.ts +++ b/packages/compiler/test/render3/view/i18n_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/render3/view/util.ts b/packages/compiler/test/render3/view/util.ts index 0ecf3ab42d..d6347ad573 100644 --- a/packages/compiler/test/render3/view/util.ts +++ b/packages/compiler/test/render3/view/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/resource_loader_mock_spec.ts b/packages/compiler/test/resource_loader_mock_spec.ts index 8df73f398f..4d19081d99 100644 --- a/packages/compiler/test/resource_loader_mock_spec.ts +++ b/packages/compiler/test/resource_loader_mock_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/runtime_compiler_spec.ts b/packages/compiler/test/runtime_compiler_spec.ts index a66dfb3ccd..1cdc932c09 100644 --- a/packages/compiler/test/runtime_compiler_spec.ts +++ b/packages/compiler/test/runtime_compiler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/schema/dom_element_schema_registry_spec.ts b/packages/compiler/test/schema/dom_element_schema_registry_spec.ts index ef2a312633..425a95c7a1 100644 --- a/packages/compiler/test/schema/dom_element_schema_registry_spec.ts +++ b/packages/compiler/test/schema/dom_element_schema_registry_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/schema/schema_extractor.ts b/packages/compiler/test/schema/schema_extractor.ts index 27a9650d91..d19d914ebc 100644 --- a/packages/compiler/test/schema/schema_extractor.ts +++ b/packages/compiler/test/schema/schema_extractor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/selector/selector_spec.ts b/packages/compiler/test/selector/selector_spec.ts index 33ecbe686a..076a19418c 100644 --- a/packages/compiler/test/selector/selector_spec.ts +++ b/packages/compiler/test/selector/selector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/shadow_css_spec.ts b/packages/compiler/test/shadow_css_spec.ts index e23e7e28aa..67d525cfbb 100644 --- a/packages/compiler/test/shadow_css_spec.ts +++ b/packages/compiler/test/shadow_css_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/spies.ts b/packages/compiler/test/spies.ts index a5575dffb2..5799817226 100644 --- a/packages/compiler/test/spies.ts +++ b/packages/compiler/test/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/style_url_resolver_spec.ts b/packages/compiler/test/style_url_resolver_spec.ts index c91f3cc687..35a88889df 100644 --- a/packages/compiler/test/style_url_resolver_spec.ts +++ b/packages/compiler/test/style_url_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/template_parser/binding_parser_spec.ts b/packages/compiler/test/template_parser/binding_parser_spec.ts index 0d4f737203..7d8ae14eee 100644 --- a/packages/compiler/test/template_parser/binding_parser_spec.ts +++ b/packages/compiler/test/template_parser/binding_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -59,4 +59,4 @@ import {calcPossibleSecurityContexts} from '../../src/template_parser/binding_pa }); }); }); -} \ No newline at end of file +} diff --git a/packages/compiler/test/template_parser/template_parser_absolute_span_spec.ts b/packages/compiler/test/template_parser/template_parser_absolute_span_spec.ts index 95478e7b8b..a218282ae4 100644 --- a/packages/compiler/test/template_parser/template_parser_absolute_span_spec.ts +++ b/packages/compiler/test/template_parser/template_parser_absolute_span_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/template_parser/template_parser_spec.ts b/packages/compiler/test/template_parser/template_parser_spec.ts index 2b5c8498e1..cf8729125f 100644 --- a/packages/compiler/test/template_parser/template_parser_spec.ts +++ b/packages/compiler/test/template_parser/template_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/template_parser/template_preparser_spec.ts b/packages/compiler/test/template_parser/template_preparser_spec.ts index 27d9ebba4f..e43efd1322 100644 --- a/packages/compiler/test/template_parser/template_preparser_spec.ts +++ b/packages/compiler/test/template_parser/template_preparser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/template_parser/util/expression.ts b/packages/compiler/test/template_parser/util/expression.ts index 281d86eb4a..e5ce110a5e 100644 --- a/packages/compiler/test/template_parser/util/expression.ts +++ b/packages/compiler/test/template_parser/util/expression.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/template_parser/util/metadata.ts b/packages/compiler/test/template_parser/util/metadata.ts index 8da54abd9e..1b6d019c8a 100644 --- a/packages/compiler/test/template_parser/util/metadata.ts +++ b/packages/compiler/test/template_parser/util/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/test_bindings.ts b/packages/compiler/test/test_bindings.ts index 3618a4e58a..ea0dfba273 100644 --- a/packages/compiler/test/test_bindings.ts +++ b/packages/compiler/test/test_bindings.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/url_resolver_spec.ts b/packages/compiler/test/url_resolver_spec.ts index 04f295dde3..c0b1349567 100644 --- a/packages/compiler/test/url_resolver_spec.ts +++ b/packages/compiler/test/url_resolver_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/test/util_spec.ts b/packages/compiler/test/util_spec.ts index dfa0455443..43b19d5c6d 100644 --- a/packages/compiler/test/util_spec.ts +++ b/packages/compiler/test/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/index.ts b/packages/compiler/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/compiler/testing/index.ts +++ b/packages/compiler/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/public_api.ts b/packages/compiler/testing/public_api.ts index ee3657614d..d520772b84 100644 --- a/packages/compiler/testing/public_api.ts +++ b/packages/compiler/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/directive_resolver_mock.ts b/packages/compiler/testing/src/directive_resolver_mock.ts index cfb91dc3c2..e1d47be378 100644 --- a/packages/compiler/testing/src/directive_resolver_mock.ts +++ b/packages/compiler/testing/src/directive_resolver_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/ng_module_resolver_mock.ts b/packages/compiler/testing/src/ng_module_resolver_mock.ts index 609ae27947..cc69bf51df 100644 --- a/packages/compiler/testing/src/ng_module_resolver_mock.ts +++ b/packages/compiler/testing/src/ng_module_resolver_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/output/source_map_util.ts b/packages/compiler/testing/src/output/source_map_util.ts index e07d599c4f..525db6b0c1 100644 --- a/packages/compiler/testing/src/output/source_map_util.ts +++ b/packages/compiler/testing/src/output/source_map_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/pipe_resolver_mock.ts b/packages/compiler/testing/src/pipe_resolver_mock.ts index 5fa1396e0b..1fa6ece9a4 100644 --- a/packages/compiler/testing/src/pipe_resolver_mock.ts +++ b/packages/compiler/testing/src/pipe_resolver_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/resource_loader_mock.ts b/packages/compiler/testing/src/resource_loader_mock.ts index 7d9f281e3d..160fc968db 100644 --- a/packages/compiler/testing/src/resource_loader_mock.ts +++ b/packages/compiler/testing/src/resource_loader_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/schema_registry_mock.ts b/packages/compiler/testing/src/schema_registry_mock.ts index 485a1dde5a..3363e5e5f4 100644 --- a/packages/compiler/testing/src/schema_registry_mock.ts +++ b/packages/compiler/testing/src/schema_registry_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/src/testing.ts b/packages/compiler/testing/src/testing.ts index cc89dd3f75..1d630ae0d4 100644 --- a/packages/compiler/testing/src/testing.ts +++ b/packages/compiler/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/compiler/testing/testing.ts b/packages/compiler/testing/testing.ts index ca39d26dcd..7ef6571cd5 100644 --- a/packages/compiler/testing/testing.ts +++ b/packages/compiler/testing/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ // replaces this file with production index.ts when it rewrites private symbol // names. -export * from './public_api'; \ No newline at end of file +export * from './public_api'; diff --git a/packages/core/BUILD.bazel b/packages/core/BUILD.bazel index 04d4423c27..15b435131b 100644 --- a/packages/core/BUILD.bazel +++ b/packages/core/BUILD.bazel @@ -25,7 +25,7 @@ ng_module( ng_package( name = "npm_package", - srcs = glob(["**/*.externs.js"]) + [ + srcs = [ "package.json", "//packages/core/testing:package.json", ], diff --git a/packages/core/global/index.ts b/packages/core/global/index.ts index 874b4bde3a..e556a50768 100644 --- a/packages/core/global/index.ts +++ b/packages/core/global/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/index.ts b/packages/core/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/package.json b/packages/core/package.json index 52fb1b3486..296f8fde41 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -4,9 +4,11 @@ "description": "Angular - the core framework", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "rxjs": "^6.5.3", - "tslib": "^1.10.0", "zone.js": "~0.10.3" }, "repository": { diff --git a/packages/core/public_api.ts b/packages/core/public_api.ts index 2a53f74cdf..bc2f4501c9 100644 --- a/packages/core/public_api.ts +++ b/packages/core/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/dynamic-queries/index.ts b/packages/core/schematics/migrations/dynamic-queries/index.ts index ececbb9a43..40ff3013c9 100644 --- a/packages/core/schematics/migrations/dynamic-queries/index.ts +++ b/packages/core/schematics/migrations/dynamic-queries/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/dynamic-queries/util.ts b/packages/core/schematics/migrations/dynamic-queries/util.ts index 764be7a50c..93faa7424c 100644 --- a/packages/core/schematics/migrations/dynamic-queries/util.ts +++ b/packages/core/schematics/migrations/dynamic-queries/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/dynamicQueriesRule.ts b/packages/core/schematics/migrations/google3/dynamicQueriesRule.ts index 801e500715..49e47adb57 100644 --- a/packages/core/schematics/migrations/google3/dynamicQueriesRule.ts +++ b/packages/core/schematics/migrations/google3/dynamicQueriesRule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/explicitQueryTimingRule.ts b/packages/core/schematics/migrations/google3/explicitQueryTimingRule.ts index 895cb276db..20afbc54d6 100644 --- a/packages/core/schematics/migrations/google3/explicitQueryTimingRule.ts +++ b/packages/core/schematics/migrations/google3/explicitQueryTimingRule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/noMissingInjectableRule.ts b/packages/core/schematics/migrations/google3/noMissingInjectableRule.ts index ffb810cdac..d4749efaf7 100644 --- a/packages/core/schematics/migrations/google3/noMissingInjectableRule.ts +++ b/packages/core/schematics/migrations/google3/noMissingInjectableRule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/noTemplateVariableAssignmentRule.ts b/packages/core/schematics/migrations/google3/noTemplateVariableAssignmentRule.ts index ff94e529a4..11950ca0a4 100644 --- a/packages/core/schematics/migrations/google3/noTemplateVariableAssignmentRule.ts +++ b/packages/core/schematics/migrations/google3/noTemplateVariableAssignmentRule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/rendererToRenderer2Rule.ts b/packages/core/schematics/migrations/google3/rendererToRenderer2Rule.ts index c0e1108f75..161e251afb 100644 --- a/packages/core/schematics/migrations/google3/rendererToRenderer2Rule.ts +++ b/packages/core/schematics/migrations/google3/rendererToRenderer2Rule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/google3/undecoratedClassesWithDecoratedFieldsRule.ts b/packages/core/schematics/migrations/google3/undecoratedClassesWithDecoratedFieldsRule.ts index 2b2a328364..9c9640bcfc 100644 --- a/packages/core/schematics/migrations/google3/undecoratedClassesWithDecoratedFieldsRule.ts +++ b/packages/core/schematics/migrations/google3/undecoratedClassesWithDecoratedFieldsRule.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/definition_collector.ts b/packages/core/schematics/migrations/missing-injectable/definition_collector.ts index abf5f5842b..f0c9033185 100644 --- a/packages/core/schematics/migrations/missing-injectable/definition_collector.ts +++ b/packages/core/schematics/migrations/missing-injectable/definition_collector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/google3/tslint_update_recorder.ts b/packages/core/schematics/migrations/missing-injectable/google3/tslint_update_recorder.ts index 195469b268..4445e07de8 100644 --- a/packages/core/schematics/migrations/missing-injectable/google3/tslint_update_recorder.ts +++ b/packages/core/schematics/migrations/missing-injectable/google3/tslint_update_recorder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/index.ts b/packages/core/schematics/migrations/missing-injectable/index.ts index 7212f05514..51a6c1da5d 100644 --- a/packages/core/schematics/migrations/missing-injectable/index.ts +++ b/packages/core/schematics/migrations/missing-injectable/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/providers_evaluator.ts b/packages/core/schematics/migrations/missing-injectable/providers_evaluator.ts index 5558f41616..c3fd96ae47 100644 --- a/packages/core/schematics/migrations/missing-injectable/providers_evaluator.ts +++ b/packages/core/schematics/migrations/missing-injectable/providers_evaluator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/transform.ts b/packages/core/schematics/migrations/missing-injectable/transform.ts index f49f34b120..84fb741d7b 100644 --- a/packages/core/schematics/migrations/missing-injectable/transform.ts +++ b/packages/core/schematics/migrations/missing-injectable/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/missing-injectable/update_recorder.ts b/packages/core/schematics/migrations/missing-injectable/update_recorder.ts index 0e2ad3ee0d..bc1b7ed83d 100644 --- a/packages/core/schematics/migrations/missing-injectable/update_recorder.ts +++ b/packages/core/schematics/migrations/missing-injectable/update_recorder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/module-with-providers/collector.ts b/packages/core/schematics/migrations/module-with-providers/collector.ts index ebad0c3587..f345282c62 100644 --- a/packages/core/schematics/migrations/module-with-providers/collector.ts +++ b/packages/core/schematics/migrations/module-with-providers/collector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/module-with-providers/index.ts b/packages/core/schematics/migrations/module-with-providers/index.ts index 85f14c45a8..9798cd960c 100644 --- a/packages/core/schematics/migrations/module-with-providers/index.ts +++ b/packages/core/schematics/migrations/module-with-providers/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/module-with-providers/transform.ts b/packages/core/schematics/migrations/module-with-providers/transform.ts index c4ac37e8be..3c5eb7e0f5 100644 --- a/packages/core/schematics/migrations/module-with-providers/transform.ts +++ b/packages/core/schematics/migrations/module-with-providers/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/module-with-providers/util.ts b/packages/core/schematics/migrations/module-with-providers/util.ts index 144d9f120f..001d94c3e5 100644 --- a/packages/core/schematics/migrations/module-with-providers/util.ts +++ b/packages/core/schematics/migrations/module-with-providers/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/move-document/document_import_visitor.ts b/packages/core/schematics/migrations/move-document/document_import_visitor.ts index e9546e22ab..43e2067eab 100644 --- a/packages/core/schematics/migrations/move-document/document_import_visitor.ts +++ b/packages/core/schematics/migrations/move-document/document_import_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/move-document/index.ts b/packages/core/schematics/migrations/move-document/index.ts index dafaf061ed..930ad9f3ad 100644 --- a/packages/core/schematics/migrations/move-document/index.ts +++ b/packages/core/schematics/migrations/move-document/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,7 +24,7 @@ export default function(): Rule { const basePath = process.cwd(); if (!buildPaths.length && !testPaths.length) { - throw new SchematicsException(`Could not find any tsconfig file. Cannot migrate DOCUMENT + throw new SchematicsException(`Could not find any tsconfig file. Cannot migrate DOCUMENT to new import source.`); } diff --git a/packages/core/schematics/migrations/move-document/move-import.ts b/packages/core/schematics/migrations/move-document/move-import.ts index 0a9abcc0f5..c711725c79 100644 --- a/packages/core/schematics/migrations/move-document/move-import.ts +++ b/packages/core/schematics/migrations/move-document/move-import.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/renderer-to-renderer2/helpers.ts b/packages/core/schematics/migrations/renderer-to-renderer2/helpers.ts index d7cff149c3..dcf11af830 100644 --- a/packages/core/schematics/migrations/renderer-to-renderer2/helpers.ts +++ b/packages/core/schematics/migrations/renderer-to-renderer2/helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/renderer-to-renderer2/index.ts b/packages/core/schematics/migrations/renderer-to-renderer2/index.ts index eb8780317f..06fee368ce 100644 --- a/packages/core/schematics/migrations/renderer-to-renderer2/index.ts +++ b/packages/core/schematics/migrations/renderer-to-renderer2/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/renderer-to-renderer2/migration.ts b/packages/core/schematics/migrations/renderer-to-renderer2/migration.ts index f82ab0809f..2d7875c029 100644 --- a/packages/core/schematics/migrations/renderer-to-renderer2/migration.ts +++ b/packages/core/schematics/migrations/renderer-to-renderer2/migration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/renderer-to-renderer2/util.ts b/packages/core/schematics/migrations/renderer-to-renderer2/util.ts index 993dd82aa3..347f6ef1dd 100644 --- a/packages/core/schematics/migrations/renderer-to-renderer2/util.ts +++ b/packages/core/schematics/migrations/renderer-to-renderer2/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/angular/directive_inputs.ts b/packages/core/schematics/migrations/static-queries/angular/directive_inputs.ts index 457ee8818f..2db4ba34ec 100644 --- a/packages/core/schematics/migrations/static-queries/angular/directive_inputs.ts +++ b/packages/core/schematics/migrations/static-queries/angular/directive_inputs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/angular/ng_query_visitor.ts b/packages/core/schematics/migrations/static-queries/angular/ng_query_visitor.ts index a44897c6e2..4edef20f48 100644 --- a/packages/core/schematics/migrations/static-queries/angular/ng_query_visitor.ts +++ b/packages/core/schematics/migrations/static-queries/angular/ng_query_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/angular/query-definition.ts b/packages/core/schematics/migrations/static-queries/angular/query-definition.ts index 46af4df795..88b6501613 100644 --- a/packages/core/schematics/migrations/static-queries/angular/query-definition.ts +++ b/packages/core/schematics/migrations/static-queries/angular/query-definition.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/angular/super_class.ts b/packages/core/schematics/migrations/static-queries/angular/super_class.ts index 77e3cdb674..2679e95253 100644 --- a/packages/core/schematics/migrations/static-queries/angular/super_class.ts +++ b/packages/core/schematics/migrations/static-queries/angular/super_class.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/index.ts b/packages/core/schematics/migrations/static-queries/index.ts index 1a4c5ac7e6..2a2c72b6a0 100644 --- a/packages/core/schematics/migrations/static-queries/index.ts +++ b/packages/core/schematics/migrations/static-queries/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.ts b/packages/core/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.ts index 1414809880..2d3f83e82d 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.ts b/packages/core/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.ts index 7488db2e62..7f39f3bdee 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/timing-strategy.ts b/packages/core/schematics/migrations/static-queries/strategies/timing-strategy.ts index 0c35f6c6e4..5db65156dd 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/timing-strategy.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/timing-strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.ts b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.ts index 269f901f2c..ba01b7cdfa 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.ts b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.ts index d8bfafeedc..15d283eb9b 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.ts b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.ts index ec7c9b27d3..0d174244fa 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.ts b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.ts index 6085105e9f..367381e489 100644 --- a/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.ts +++ b/packages/core/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/static-queries/transform.ts b/packages/core/schematics/migrations/static-queries/transform.ts index 379e64bba8..2b252db945 100644 --- a/packages/core/schematics/migrations/static-queries/transform.ts +++ b/packages/core/schematics/migrations/static-queries/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/template-var-assignment/analyze_template.ts b/packages/core/schematics/migrations/template-var-assignment/analyze_template.ts index fbd2b69580..c0b3dd3961 100644 --- a/packages/core/schematics/migrations/template-var-assignment/analyze_template.ts +++ b/packages/core/schematics/migrations/template-var-assignment/analyze_template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.ts b/packages/core/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.ts index 07973ef2ee..faa2193985 100644 --- a/packages/core/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.ts +++ b/packages/core/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/template-var-assignment/index.ts b/packages/core/schematics/migrations/template-var-assignment/index.ts index b7eeede242..b422c6b33c 100644 --- a/packages/core/schematics/migrations/template-var-assignment/index.ts +++ b/packages/core/schematics/migrations/template-var-assignment/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/google3/tslint_update_recorder.ts b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/google3/tslint_update_recorder.ts index e35bbf8ae0..fe7144afd0 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/google3/tslint_update_recorder.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/google3/tslint_update_recorder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/index.ts b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/index.ts index eb30af27b7..4a3cd70bc1 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/index.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/transform.ts b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/transform.ts index 323c96ec25..ddfe450b6b 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/transform.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -43,20 +43,27 @@ const DIRECTIVE_LIFECYCLE_HOOKS = new Set([ const AMBIGUOUS_LIFECYCLE_HOOKS = new Set(['ngOnDestroy']); /** Describes how a given class is used in the context of Angular. */ -enum ClassKind { +enum InferredKind { DIRECTIVE, AMBIGUOUS, UNKNOWN, } +/** Describes possible types of Angular declarations. */ +enum DeclarationType { + DIRECTIVE, + COMPONENT, + ABSTRACT_DIRECTIVE, + PIPE, + INJECTABLE, +} + /** Analyzed class declaration. */ interface AnalyzedClass { - /** Whether the class is decorated with @Directive or @Component. */ - isDirectiveOrComponent: boolean; - /** Whether the class is an abstract directive. */ - isAbstractDirective: boolean; - /** Kind of the given class in terms of Angular. */ - kind: ClassKind; + /** Type of declaration that is determined through an applied decorator. */ + decoratedType: DeclarationType|null; + /** Inferred class kind in terms of Angular. */ + inferredKind: InferredKind; } interface AnalysisFailure { @@ -64,6 +71,9 @@ interface AnalysisFailure { message: string; } +/** TODO message that is added to ambiguous classes using Angular features. */ +const AMBIGUOUS_CLASS_TODO = 'Add Angular decorator.'; + export class UndecoratedClassesWithDecoratedFieldsTransform { private printer = ts.createPrinter(); private importManager = new ImportManager(this.getUpdateRecorder, this.printer); @@ -81,10 +91,10 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { * indicating that a given class uses Angular features. https://hackmd.io/vuQfavzfRG6KUCtU7oK_EA */ migrate(sourceFiles: ts.SourceFile[]): AnalysisFailure[] { - const {result, ambiguous} = this._findUndecoratedAbstractDirectives(sourceFiles); + const {detectedAbstractDirectives, ambiguousClasses} = + this._findUndecoratedAbstractDirectives(sourceFiles); - - result.forEach(node => { + detectedAbstractDirectives.forEach(node => { const sourceFile = node.getSourceFile(); const recorder = this.getUpdateRecorder(sourceFile); const directiveExpr = @@ -98,12 +108,19 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { // determine whether the class is used as directive, service or pipe. The migration // could potentially determine the type by checking NgModule definitions or inheritance // of other known declarations, but this is out of scope and a TODO/failure is sufficient. - return Array.from(ambiguous).reduce((failures, node) => { + return Array.from(ambiguousClasses).reduce((failures, node) => { + // If the class has been reported as ambiguous before, skip adding a TODO and + // printing an error. A class could be visited multiple times when it's part + // of multiple build targets in the CLI project. + if (this._hasBeenReportedAsAmbiguous(node)) { + return failures; + } + const sourceFile = node.getSourceFile(); const recorder = this.getUpdateRecorder(sourceFile); // Add a TODO to the class that uses Angular features but is not decorated. - recorder.addClassTodo(node, `Add Angular decorator.`); + recorder.addClassTodo(node, AMBIGUOUS_CLASS_TODO); // Add an error for the class that will be printed in the `ng update` output. return failures.concat({ @@ -125,59 +142,83 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { * directives. Those are ambiguous and could be either Directive, Pipe or service. */ private _findUndecoratedAbstractDirectives(sourceFiles: ts.SourceFile[]) { - const result = new Set(); + const ambiguousClasses = new Set(); + const declarations = new WeakMap(); + const detectedAbstractDirectives = new Set(); const undecoratedClasses = new Set(); - const nonAbstractDirectives = new WeakSet(); - const abstractDirectives = new WeakSet(); - const ambiguous = new Set(); const visitNode = (node: ts.Node) => { node.forEachChild(visitNode); if (!ts.isClassDeclaration(node)) { return; } - const {isDirectiveOrComponent, isAbstractDirective, kind} = - this._analyzeClassDeclaration(node); - if (isDirectiveOrComponent) { - if (isAbstractDirective) { - abstractDirectives.add(node); - } else { - nonAbstractDirectives.add(node); - } - } else if (kind === ClassKind.DIRECTIVE) { - abstractDirectives.add(node); - result.add(node); + const {inferredKind, decoratedType} = this._analyzeClassDeclaration(node); + + if (decoratedType !== null) { + declarations.set(node, decoratedType); + return; + } + + if (inferredKind === InferredKind.DIRECTIVE) { + detectedAbstractDirectives.add(node); + } else if (inferredKind === InferredKind.AMBIGUOUS) { + ambiguousClasses.add(node); } else { - if (kind === ClassKind.AMBIGUOUS) { - ambiguous.add(node); - } undecoratedClasses.add(node); } }; sourceFiles.forEach(sourceFile => sourceFile.forEachChild(visitNode)); - // We collected all undecorated class declarations which inherit from abstract directives. - // For such abstract directives, the derived classes also need to be migrated. - undecoratedClasses.forEach(node => { - for (const {node: baseClass} of findBaseClassDeclarations(node, this.typeChecker)) { - // If the undecorated class inherits from a non-abstract directive, skip the current - // class. We do this because undecorated classes which inherit metadata from non-abstract - // directives are handled in the `undecorated-classes-with-di` migration that copies - // inherited metadata into an explicit decorator. - if (nonAbstractDirectives.has(baseClass)) { - break; - } else if (abstractDirectives.has(baseClass)) { - result.add(node); - // In case the undecorated class previously could not be detected as directive, - // remove it from the ambiguous set as we now know that it's a guaranteed directive. - ambiguous.delete(node); + /** + * Checks the inheritance of the given set of classes. It removes classes from the + * detected abstract directives set when they inherit from a non-abstract Angular + * declaration. e.g. an abstract directive can never extend from a component. + * + * If a class inherits from an abstract directive though, we will migrate them too + * as derived classes also need to be decorated. This has been done for a simpler mental + * model and reduced complexity in the Angular compiler. See migration plan document. + */ + const checkInheritanceOfClasses = (classes: Set) => { + classes.forEach(node => { + for (const {node: baseClass} of findBaseClassDeclarations(node, this.typeChecker)) { + if (!declarations.has(baseClass)) { + continue; + } + // If the undecorated class inherits from an abstract directive, always migrate it. + // Derived undecorated classes of abstract directives are always also considered + // abstract directives and need to be decorated too. This is necessary as otherwise + // the inheritance chain cannot be resolved by the Angular compiler. e.g. when it + // flattens directive metadata for type checking. In the other case, we never want + // to migrate a class if it extends from a non-abstract Angular declaration. That + // is an unsupported pattern as of v9 and was previously handled with the + // `undecorated-classes-with-di` migration (which copied the inherited decorator). + if (declarations.get(baseClass) === DeclarationType.ABSTRACT_DIRECTIVE) { + detectedAbstractDirectives.add(node); + } else { + detectedAbstractDirectives.delete(node); + } + ambiguousClasses.delete(node); break; } - } - }); + }); + }; - return {result, ambiguous}; + // Check inheritance of any detected abstract directive. We want to remove + // classes that are not eligible abstract directives due to inheritance. i.e. + // if a class extends from a component, it cannot be a derived abstract directive. + checkInheritanceOfClasses(detectedAbstractDirectives); + // Update the class declarations to reflect the detected abstract directives. This is + // then used later when we check for undecorated classes that inherit from an abstract + // directive and need to be decorated. + detectedAbstractDirectives.forEach( + n => declarations.set(n, DeclarationType.ABSTRACT_DIRECTIVE)); + // Check ambiguous and undecorated classes if they inherit from an abstract directive. + // If they do, we want to migrate them too. See function definition for more details. + checkInheritanceOfClasses(ambiguousClasses); + checkInheritanceOfClasses(undecoratedClasses); + + return {detectedAbstractDirectives, ambiguousClasses}; } /** @@ -186,19 +227,30 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { */ private _analyzeClassDeclaration(node: ts.ClassDeclaration): AnalyzedClass { const ngDecorators = node.decorators && getAngularDecorators(this.typeChecker, node.decorators); - const kind = this._determineClassKind(node); + const inferredKind = this._determineClassKind(node); if (ngDecorators === undefined || ngDecorators.length === 0) { - return {isDirectiveOrComponent: false, isAbstractDirective: false, kind}; + return {decoratedType: null, inferredKind}; } const directiveDecorator = ngDecorators.find(({name}) => name === 'Directive'); const componentDecorator = ngDecorators.find(({name}) => name === 'Component'); + const pipeDecorator = ngDecorators.find(({name}) => name === 'Pipe'); + const injectableDecorator = ngDecorators.find(({name}) => name === 'Injectable'); const isAbstractDirective = directiveDecorator !== undefined && this._isAbstractDirective(directiveDecorator); - return { - isDirectiveOrComponent: !!directiveDecorator || !!componentDecorator, - isAbstractDirective, - kind, - }; + + let decoratedType: DeclarationType|null = null; + if (isAbstractDirective) { + decoratedType = DeclarationType.ABSTRACT_DIRECTIVE; + } else if (componentDecorator !== undefined) { + decoratedType = DeclarationType.COMPONENT; + } else if (directiveDecorator !== undefined) { + decoratedType = DeclarationType.DIRECTIVE; + } else if (pipeDecorator !== undefined) { + decoratedType = DeclarationType.PIPE; + } else if (injectableDecorator !== undefined) { + decoratedType = DeclarationType.INJECTABLE; + } + return {decoratedType, inferredKind}; } /** @@ -228,8 +280,8 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { * e.g. lifecycle hooks or decorated members like `@Input` or `@Output` are * considered Angular features.. */ - private _determineClassKind(node: ts.ClassDeclaration): ClassKind { - let usage = ClassKind.UNKNOWN; + private _determineClassKind(node: ts.ClassDeclaration): InferredKind { + let usage = InferredKind.UNKNOWN; for (const member of node.members) { const propertyName = member.name !== undefined ? getPropertyNameText(member.name) : null; @@ -237,7 +289,7 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { // If the class declares any of the known directive lifecycle hooks, we can // immediately exit the loop as the class is guaranteed to be a directive. if (propertyName !== null && DIRECTIVE_LIFECYCLE_HOOKS.has(propertyName)) { - return ClassKind.DIRECTIVE; + return InferredKind.DIRECTIVE; } const ngDecorators = member.decorators !== undefined ? @@ -245,7 +297,7 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { []; for (const {name} of ngDecorators) { if (DIRECTIVE_FIELD_DECORATORS.has(name)) { - return ClassKind.DIRECTIVE; + return InferredKind.DIRECTIVE; } } @@ -253,10 +305,27 @@ export class UndecoratedClassesWithDecoratedFieldsTransform { // the given class is a directive, update the kind and continue looking for other // members that would unveil a more specific kind (i.e. being a directive). if (propertyName !== null && AMBIGUOUS_LIFECYCLE_HOOKS.has(propertyName)) { - usage = ClassKind.AMBIGUOUS; + usage = InferredKind.AMBIGUOUS; } } return usage; } + + /** + * Checks whether a given class has been reported as ambiguous in previous + * migration run. e.g. when build targets are migrated first, and then test + * targets that have an overlap with build source files, the same class + * could be detected as ambiguous. + */ + private _hasBeenReportedAsAmbiguous(node: ts.ClassDeclaration): boolean { + const sourceFile = node.getSourceFile(); + const leadingComments = ts.getLeadingCommentRanges(sourceFile.text, node.pos); + if (leadingComments === undefined) { + return false; + } + return leadingComments.some( + ({kind, pos, end}) => kind === ts.SyntaxKind.SingleLineCommentTrivia && + sourceFile.text.substring(pos, end).includes(`TODO: ${AMBIGUOUS_CLASS_TODO}`)); + } } diff --git a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.ts b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.ts index 0fceb6e2b2..82af928f99 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/create_ngc_program.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/create_ngc_program.ts index a25fc52c0b..ffa6f91db0 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/create_ngc_program.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/create_ngc_program.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.ts index faa6ca4bf7..597dfe44c9 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.ts index 1767ccd345..4696448aa3 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.ts index 1cbc50aed6..401d04076b 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.ts index 65f055737d..1528bfc800 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.ts index 2fed32618a..1bce109faa 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/index.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/index.ts index 6ad2f725d9..c3a60b6d46 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/index.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.ts index e6d569c28b..8537377e55 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/transform.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/transform.ts index f6857adde7..9b3d8f8b20 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/transform.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/migrations/undecorated-classes-with-di/update_recorder.ts b/packages/core/schematics/migrations/undecorated-classes-with-di/update_recorder.ts index ed5ee2b2a9..b1d0b195db 100644 --- a/packages/core/schematics/migrations/undecorated-classes-with-di/update_recorder.ts +++ b/packages/core/schematics/migrations/undecorated-classes-with-di/update_recorder.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/all-migrations.spec.ts b/packages/core/schematics/test/all-migrations.spec.ts index 5d2544105a..7459fcafa8 100644 --- a/packages/core/schematics/test/all-migrations.spec.ts +++ b/packages/core/schematics/test/all-migrations.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -75,12 +75,12 @@ describe('all migrations', () => { })); writeFile('/index.ts', ` import {Renderer} from '@angular/core'; - + const variableDecl: Renderer = null; - + export class Test { constructor(renderer: Renderer) {} - } + } `); let error: any = null; diff --git a/packages/core/schematics/test/dynamic_queries_migration_spec.ts b/packages/core/schematics/test/dynamic_queries_migration_spec.ts index 69b31fb530..763b8c7031 100644 --- a/packages/core/schematics/test/dynamic_queries_migration_spec.ts +++ b/packages/core/schematics/test/dynamic_queries_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/google3/dynamic_queries_spec.ts b/packages/core/schematics/test/google3/dynamic_queries_spec.ts index 16ec13d368..106b61e708 100644 --- a/packages/core/schematics/test/google3/dynamic_queries_spec.ts +++ b/packages/core/schematics/test/google3/dynamic_queries_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/google3/explicit_query_timing_rule_spec.ts b/packages/core/schematics/test/google3/explicit_query_timing_rule_spec.ts index 895973c728..f791863b5a 100644 --- a/packages/core/schematics/test/google3/explicit_query_timing_rule_spec.ts +++ b/packages/core/schematics/test/google3/explicit_query_timing_rule_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -59,13 +59,13 @@ describe('Google3 explicitQueryTiming TSLint rule', () => { it('should properly apply query timing replacements', () => { writeFile('index.ts', ` import {Component, ViewChild} from '@angular/core'; - + @Component({template: ''}) export class MyComp { @ViewChild('test') query: any; @ViewChild('test') query2: any; @ViewChild('test') query3: any; - + ngAfterContentInit() { this.query.classList.add('test'); } @@ -74,7 +74,7 @@ describe('Google3 explicitQueryTiming TSLint rule', () => { writeFile('external.ts', ` import {MyComp} from './index'; - + export class Test extends MyComp { ngOnInit() { this.query3.doSomething(); @@ -92,11 +92,11 @@ describe('Google3 explicitQueryTiming TSLint rule', () => { it('should report non-explicit static query definitions', () => { writeFile('index.ts', ` import {Component, ViewChild} from '@angular/core'; - + @Component({template: ''}) export class MyComp { @ViewChild('test') query: any; - + ngAfterContentInit() { this.query.classList.add('test'); } @@ -113,7 +113,7 @@ describe('Google3 explicitQueryTiming TSLint rule', () => { it('should report non-explicit dynamic query definitions', () => { writeFile('index.ts', ` import {Component, ContentChild} from '@angular/core'; - + @Component({template: ''}) export class MyComp { @ContentChild('test') query: any; @@ -130,7 +130,7 @@ describe('Google3 explicitQueryTiming TSLint rule', () => { it('should detect query usage in component template', () => { writeFile('index.ts', ` import {Component, ViewChild} from '@angular/core'; - + @Component({ template: \` diff --git a/packages/core/schematics/test/google3/missing_injectable_rule_spec.ts b/packages/core/schematics/test/google3/missing_injectable_rule_spec.ts index 5a11ec8ad6..de6f450379 100644 --- a/packages/core/schematics/test/google3/missing_injectable_rule_spec.ts +++ b/packages/core/schematics/test/google3/missing_injectable_rule_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -58,10 +58,10 @@ describe('Google3 missing injectable tslint rule', () => { () => { writeFile('/index.ts', ` import {Component} from '@angular/core'; - + export class MyService {} export class MySecondService {} - + @Component({ providers: [MyService], viewProviders: [MySecondService], @@ -83,9 +83,9 @@ describe('Google3 missing injectable tslint rule', () => { it('should create proper failures for missing injectable providers', () => { writeFile('index.ts', ` import { ${type} } from '@angular/core'; - + export class A {} - + @${type}({${propName}: [A]}) export class TestClass {} `); @@ -105,16 +105,16 @@ describe('Google3 missing injectable tslint rule', () => { it('should update provider classes which need to be migrated in Ivy', () => { writeFile('/index.ts', ` import {Pipe, Directive, Component, NgModule} from '@angular/core'; - + @Pipe() export class WithPipe {} - + @Directive() export class WithDirective {} - + @Component() export class WithComponent {} - + export class MyServiceA {} export class MyServiceB {} export class MyServiceC {} @@ -123,7 +123,7 @@ describe('Google3 missing injectable tslint rule', () => { export class MyServiceF {} export class MyServiceG {} export class MyServiceH {} - + @${type}({${propName}: [ WithPipe, [ @@ -164,9 +164,9 @@ describe('Google3 missing injectable tslint rule', () => { it(`should migrate provider once if referenced in multiple ${type} definitions`, () => { writeFile('/index.ts', ` import {${type}} from '@angular/core'; - + export class ServiceA {} - + @${type}({${propName}: [ServiceA]}) export class TestClass {} `); @@ -174,9 +174,9 @@ describe('Google3 missing injectable tslint rule', () => { writeFile('/second.ts', ` import {${type}} from '@angular/core'; import {ServiceA} from './index'; - + export class ServiceB {} - + @${type}({${propName}: [ServiceA, ServiceB]}) export class TestClass2 {} `); @@ -193,7 +193,7 @@ describe('Google3 missing injectable tslint rule', () => { it('should warn if a referenced provider could not be resolved', () => { writeFile('/index.ts', ` import {${type}} from '@angular/core'; - + @${type}({${propName}: [NotPresent]}) export class TestClass {} `); @@ -210,7 +210,7 @@ describe('Google3 missing injectable tslint rule', () => { it(`should warn if the "${propName}" value could not be resolved`, () => { writeFile('/index.ts', ` import {${type}} from '@angular/core'; - + @${type}({${propName}: NOT_ANALYZABLE) export class TestClass {} `); @@ -228,13 +228,13 @@ describe('Google3 missing injectable tslint rule', () => { writeFile('/index.ts', ` import {${type}} from '@angular/core'; import {MyService, MySecondService} from './service'; - + @${type}({${propName}: [MyService, MySecondService]}) export class TestClass {} `); writeFile('/service.ts', `export class MyService {} - + export class MySecondService {} `); @@ -249,14 +249,14 @@ describe('Google3 missing injectable tslint rule', () => { writeFile('/index.ts', ` import {${type}} from '@angular/core'; import {MyService} from './service'; - + @${type}({${propName}: [MyService]}) export class TestClass {} `); writeFile('/service.ts', ` import {Inject} from '@angular/core'; - + @Inject() export class MyService {} `); diff --git a/packages/core/schematics/test/google3/no_template_variable_assignment_rule_spec.ts b/packages/core/schematics/test/google3/no_template_variable_assignment_rule_spec.ts index 08ffd83ebf..44ee009597 100644 --- a/packages/core/schematics/test/google3/no_template_variable_assignment_rule_spec.ts +++ b/packages/core/schematics/test/google3/no_template_variable_assignment_rule_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -48,7 +48,7 @@ describe('Google3 noTemplateVariableAssignment TSLint rule', () => { it('should create failure for detected two-way data binding assignment', () => { writeFile('index.ts', ` import {Component} from '@angular/core'; - + @Component({template: ''}) export class MyComp {} `); @@ -66,7 +66,7 @@ describe('Google3 noTemplateVariableAssignment TSLint rule', () => { it('should create failure with correct offsets for external templates', () => { writeFile('index.ts', ` import {Component} from '@angular/core'; - + @Component({templateUrl: './my-tmpl.html'}) export class MyComp {} `); @@ -88,7 +88,7 @@ describe('Google3 noTemplateVariableAssignment TSLint rule', () => { it('should create failure for template variable assignment within output', () => { writeFile('index.ts', ` import {Component} from '@angular/core'; - + @Component({templateUrl: './my-tmpl.html'}) export class MyComp {} `); diff --git a/packages/core/schematics/test/google3/renderer_to_renderer2_spec.ts b/packages/core/schematics/test/google3/renderer_to_renderer2_spec.ts index ee5a452899..8810fe5871 100644 --- a/packages/core/schematics/test/google3/renderer_to_renderer2_spec.ts +++ b/packages/core/schematics/test/google3/renderer_to_renderer2_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/google3/undecorated_classes_with_decorated_fields_spec.ts b/packages/core/schematics/test/google3/undecorated_classes_with_decorated_fields_spec.ts index a8e5764a5e..04afcf0f30 100644 --- a/packages/core/schematics/test/google3/undecorated_classes_with_decorated_fields_spec.ts +++ b/packages/core/schematics/test/google3/undecorated_classes_with_decorated_fields_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -103,7 +103,7 @@ describe('Google3 undecorated classes with decorated fields TSLint rule', () => async () => { writeFile('/index.ts', ` import { HostBinding } from '@angular/core'; - + export class Directive { // Simulates a scenario where a library defines a class named "Directive". // We don't want to generate a conflicting import. @@ -136,24 +136,36 @@ describe('Google3 undecorated classes with decorated fields TSLint rule', () => it('should not change decorated classes', () => { writeFile('/index.ts', ` - import { Input, Component, Output, EventEmitter } from '@angular/core'; + import { Input, Component, Directive, Pipe, Injectable } from '@angular/core'; @Component({}) - export class Base { + export class MyComp { + @Input() isActive: boolean; + } + + @Directive({selector: 'dir'}) + export class MyDir { @Input() isActive: boolean; } - export class Child extends Base { - @Output() clicked = new EventEmitter(); + @Injectable() + export class MyService { + ngOnDestroy() {} + } + + @Pipe({name: 'my-pipe'}) + export class MyPipe { + ngOnDestroy() {} } `); runTSLint(true); const content = getFile('/index.ts'); - expect(content).toContain( - `import { Input, Component, Output, EventEmitter, Directive } from '@angular/core';`); - expect(content).toContain(`@Component({})\n export class Base {`); - expect(content).toContain(`@Directive()\nexport class Child extends Base {`); + expect(content).toMatch(/@Component\({}\)\s+export class MyComp {/); + expect(content).toMatch(/@Directive\({selector: 'dir'}\)\s+export class MyDir {/); + expect(content).toMatch(/@Injectable\(\)\s+export class MyService {/); + expect(content).toMatch(/@Pipe\({name: 'my-pipe'}\)\s+export class MyPipe {/); + expect(content).not.toContain('TODO'); }); it('should add @Directive to undecorated classes that have @Output', () => { @@ -260,18 +272,18 @@ describe('Google3 undecorated classes with decorated fields TSLint rule', () => export class Base { @Input() isActive: boolean; } - + export class DerivedA extends Base {} export class DerivedB extends DerivedA {} export class DerivedC extends DerivedB {} - + @Directive({selector: 'my-comp'}) export class MyComp extends DerivedC {} - + export class MyCompWrapped extends MyComp {} - + @NgModule({declarations: [MyComp, MyCompWrapped]}) - export class AppModule {} + export class AppModule {} `); runTSLint(true); diff --git a/packages/core/schematics/test/helpers.ts b/packages/core/schematics/test/helpers.ts index ca6ea773df..f2bcfe2d6f 100644 --- a/packages/core/schematics/test/helpers.ts +++ b/packages/core/schematics/test/helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ /** * Template string function that can be used to dedent the resulting * string literal. The smallest common indentation will be omitted. + * Additionally, whitespace in empty lines is removed. */ export function dedent(strings: TemplateStringsArray, ...values: any[]) { let joinedString = ''; @@ -24,5 +25,7 @@ export function dedent(strings: TemplateStringsArray, ...values: any[]) { const minLineIndent = Math.min(...matches.map(el => el.length)); const omitMinIndentRegex = new RegExp(`^[ \\t]{${minLineIndent}}`, 'gm'); - return minLineIndent > 0 ? joinedString.replace(omitMinIndentRegex, '') : joinedString; + const omitEmptyLineWhitespaceRegex = /^[ \t]+$/gm; + const result = minLineIndent > 0 ? joinedString.replace(omitMinIndentRegex, '') : joinedString; + return result.replace(omitEmptyLineWhitespaceRegex, ''); } diff --git a/packages/core/schematics/test/line_mappings_spec.ts b/packages/core/schematics/test/line_mappings_spec.ts index 17565e11d8..76719cc014 100644 --- a/packages/core/schematics/test/line_mappings_spec.ts +++ b/packages/core/schematics/test/line_mappings_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/missing_injectable_migration_spec.ts b/packages/core/schematics/test/missing_injectable_migration_spec.ts index 2fea3c5fe2..c3445b5231 100644 --- a/packages/core/schematics/test/missing_injectable_migration_spec.ts +++ b/packages/core/schematics/test/missing_injectable_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/module_with_providers_migration_spec.ts b/packages/core/schematics/test/module_with_providers_migration_spec.ts index adf458e96c..41502a7d1e 100644 --- a/packages/core/schematics/test/module_with_providers_migration_spec.ts +++ b/packages/core/schematics/test/module_with_providers_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/move_document_migration_spec.ts b/packages/core/schematics/test/move_document_migration_spec.ts index d0f252c4fc..6e530c0783 100644 --- a/packages/core/schematics/test/move_document_migration_spec.ts +++ b/packages/core/schematics/test/move_document_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/project_tsconfig_paths_spec.ts b/packages/core/schematics/test/project_tsconfig_paths_spec.ts index b9cb58b504..6db92ee90a 100644 --- a/packages/core/schematics/test/project_tsconfig_paths_spec.ts +++ b/packages/core/schematics/test/project_tsconfig_paths_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/renderer_to_renderer2_migration_spec.ts b/packages/core/schematics/test/renderer_to_renderer2_migration_spec.ts index c818804e89..e335a6ecdb 100644 --- a/packages/core/schematics/test/renderer_to_renderer2_migration_spec.ts +++ b/packages/core/schematics/test/renderer_to_renderer2_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/static_queries_migration_template_spec.ts b/packages/core/schematics/test/static_queries_migration_template_spec.ts index 31882e5770..33f346d7d4 100644 --- a/packages/core/schematics/test/static_queries_migration_template_spec.ts +++ b/packages/core/schematics/test/static_queries_migration_template_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/static_queries_migration_usage_spec.ts b/packages/core/schematics/test/static_queries_migration_usage_spec.ts index e5738dea4c..ed1e2d3495 100644 --- a/packages/core/schematics/test/static_queries_migration_usage_spec.ts +++ b/packages/core/schematics/test/static_queries_migration_usage_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/template_var_assignment_migration_spec.ts b/packages/core/schematics/test/template_var_assignment_migration_spec.ts index 54a97867e3..adfadaeb27 100644 --- a/packages/core/schematics/test/template_var_assignment_migration_spec.ts +++ b/packages/core/schematics/test/template_var_assignment_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/test/undecorated_classes_with_decorated_fields_migration_spec.ts b/packages/core/schematics/test/undecorated_classes_with_decorated_fields_migration_spec.ts index 2cf2815c2d..9887d4bb1a 100644 --- a/packages/core/schematics/test/undecorated_classes_with_decorated_fields_migration_spec.ts +++ b/packages/core/schematics/test/undecorated_classes_with_decorated_fields_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,6 +11,7 @@ import {TempScopedNodeJsSyncHost} from '@angular-devkit/core/node/testing'; import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import * as shx from 'shelljs'; +import {dedent} from './helpers'; describe('Undecorated classes with decorated fields migration', () => { let runner: SchematicTestRunner; @@ -86,7 +87,7 @@ describe('Undecorated classes with decorated fields migration', () => { async () => { writeFile('/index.ts', ` import { HostBinding } from '@angular/core'; - + export class Directive { // Simulates a scenario where a library defines a class named "Directive". // We don't want to generate a conflicting import. @@ -117,26 +118,253 @@ describe('Undecorated classes with decorated fields migration', () => { expect(tree.readContent('/index.ts')).toContain(`@Directive()\nexport class Base {`); }); - it('should not change decorated classes', async () => { - writeFile('/index.ts', ` - import { Input, Component, Output, EventEmitter } from '@angular/core'; + it('should not migrate classes decorated with @Component', async () => { + writeFile('/index.ts', dedent` + import {Input, Component} from '@angular/core'; - @Component({}) + @Component({selector: 'hello', template: 'hello'}) export class Base { @Input() isActive: boolean; } - - export class Child extends Base { - @Output() clicked = new EventEmitter(); + + @Component({selector: 'hello', template: 'hello'}) + export class Derived extends Base { + ngOnDestroy() {} } `); await runMigration(); - const content = tree.readContent('/index.ts'); - expect(content).toContain( - `import { Input, Component, Output, EventEmitter, Directive } from '@angular/core';`); - expect(content).toContain(`@Component({})\n export class Base {`); - expect(content).toContain(`@Directive()\nexport class Child extends Base {`); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Input, Component} from '@angular/core'; + + @Component({selector: 'hello', template: 'hello'}) + export class Base { + @Input() isActive: boolean; + } + + @Component({selector: 'hello', template: 'hello'}) + export class Derived extends Base { + ngOnDestroy() {} + } + `); + }); + + it('should not migrate classes decorated with @Directive', async () => { + writeFile('/index.ts', dedent` + import {Input, Directive} from '@angular/core'; + + @Directive() + export class Base { + @Input() isActive: boolean; + } + + @Directive({selector: 'other'}) + export class Other extends Base { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Input, Directive} from '@angular/core'; + + @Directive() + export class Base { + @Input() isActive: boolean; + } + + @Directive({selector: 'other'}) + export class Other extends Base { + ngOnDestroy() {} + } + `); + }); + + it('should not migrate when class inherits from component', async () => { + writeFile('/index.ts', dedent` + import {Input, Component} from '@angular/core'; + + @Component({selector: 'my-comp', template: 'my-comp'}) + export class MyComp {} + + export class WithDisabled extends MyComp { + @Input() disabled: boolean; + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Input, Component} from '@angular/core'; + + @Component({selector: 'my-comp', template: 'my-comp'}) + export class MyComp {} + + export class WithDisabled extends MyComp { + @Input() disabled: boolean; + } + `); + }); + + it('should not migrate when class inherits from pipe', async () => { + writeFile('/index.ts', dedent` + import {Pipe} from '@angular/core'; + + @Pipe({name: 'my-pipe'}) + export class MyPipe {} + + export class PipeDerived extends MyPipe { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Pipe} from '@angular/core'; + + @Pipe({name: 'my-pipe'}) + export class MyPipe {} + + export class PipeDerived extends MyPipe { + ngOnDestroy() {} + } + `); + }); + + it('should not migrate when class inherits from injectable', async () => { + writeFile('/index.ts', dedent` + import {Injectable} from '@angular/core'; + + @Injectable() + export class MyService {} + + export class ServiceDerived extends MyService { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Injectable} from '@angular/core'; + + @Injectable() + export class MyService {} + + export class ServiceDerived extends MyService { + ngOnDestroy() {} + } + `); + }); + + it('should not migrate when class inherits from directive', async () => { + writeFile('/index.ts', dedent` + import {Directive} from '@angular/core'; + + @Directive({selector: 'hello'}) + export class MyDir {} + + export class DirDerived extends MyDir { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Directive} from '@angular/core'; + + @Directive({selector: 'hello'}) + export class MyDir {} + + export class DirDerived extends MyDir { + ngOnDestroy() {} + } + `); + }); + + it('should not add multiple TODOs for ambiguous classes', async () => { + writeFile('/angular.json', JSON.stringify({ + projects: { + test: { + architect: { + build: {options: {tsConfig: './tsconfig.json'}}, + test: {options: {tsConfig: './tsconfig.json'}}, + } + } + } + })); + writeFile('/index.ts', dedent` + export class MyService { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(tree.readContent('/index.ts')).toBe(dedent` + // TODO: Add Angular decorator. + export class MyService { + ngOnDestroy() {} + } + `); + }); + + it('should not report pipe using `ngOnDestroy` as ambiguous', async () => { + writeFile('/index.ts', dedent` + import {Pipe} from '@angular/core'; + + @Pipe({name: 'my-pipe'}) + export class MyPipe { + ngOnDestroy() {} + transform() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Pipe} from '@angular/core'; + + @Pipe({name: 'my-pipe'}) + export class MyPipe { + ngOnDestroy() {} + transform() {} + } + `); + }); + + it('should not report injectable using `ngOnDestroy` as ambiguous', async () => { + writeFile('/index.ts', dedent` + import {Injectable} from '@angular/core'; + + @Injectable({providedIn: 'root'}) + export class MyService { + ngOnDestroy() {} + } + `); + + await runMigration(); + + expect(warnings.length).toBe(0); + expect(tree.readContent('/index.ts')).toBe(dedent` + import {Injectable} from '@angular/core'; + + @Injectable({providedIn: 'root'}) + export class MyService { + ngOnDestroy() {} + } + `); }); it('should add @Directive to undecorated classes that have @Output', async () => { @@ -282,22 +510,24 @@ describe('Undecorated classes with decorated fields migration', () => { export class Base { @Input() isActive: boolean; } - + export class DerivedA extends Base {} export class DerivedB extends DerivedA {} export class DerivedC extends DerivedB {} - + @Directive({selector: 'my-comp'}) export class MyComp extends DerivedC {} - + export class MyCompWrapped extends MyComp {} - + @NgModule({declarations: [MyComp, MyCompWrapped]}) - export class AppModule {} + export class AppModule {} `); await runMigration(); const fileContent = tree.readContent('/index.ts'); + + expect(warnings.length).toBe(0); expect(fileContent).toContain(`import { Input, Directive, NgModule } from '@angular/core';`); expect(fileContent).toMatch(/@Directive\(\)\s+export class Base/); expect(fileContent).toMatch(/@Directive\(\)\s+export class DerivedA/); @@ -305,6 +535,7 @@ describe('Undecorated classes with decorated fields migration', () => { expect(fileContent).toMatch(/@Directive\(\)\s+export class DerivedC/); expect(fileContent).toMatch(/}\s+@Directive\(\{selector: 'my-comp'}\)\s+export class MyComp/); expect(fileContent).toMatch(/}\s+export class MyCompWrapped/); + expect(fileContent).not.toContain('TODO: Add Angular decorator'); }); it('should add @Directive to derived undecorated classes of abstract directives', async () => { @@ -315,18 +546,18 @@ describe('Undecorated classes with decorated fields migration', () => { export class Base { // ... } - + export class DerivedA extends Base {} export class DerivedB extends DerivedA {} export class DerivedC extends DerivedB {} - + @Directive({selector: 'my-comp'}) export class MyComp extends DerivedC {} - + export class MyCompWrapped extends MyComp {} - + @NgModule({declarations: [MyComp, MyCompWrapped]}) - export class AppModule {} + export class AppModule {} `); await runMigration(); diff --git a/packages/core/schematics/test/undecorated_classes_with_di_migration_spec.ts b/packages/core/schematics/test/undecorated_classes_with_di_migration_spec.ts index c677712261..9bbb55c20e 100644 --- a/packages/core/schematics/test/undecorated_classes_with_di_migration_spec.ts +++ b/packages/core/schematics/test/undecorated_classes_with_di_migration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1198,9 +1198,7 @@ describe('Undecorated classes with DI migration', () => { @Directive({ selector: 'my-dir', template: SHARED_TEMPLATE_URL, - styleUrls: [ - LOCAL_NAME - ] + styleUrls: [LOCAL_NAME] }) export class MyDir extends BaseClass {}`); }); @@ -1489,14 +1487,14 @@ describe('Undecorated classes with DI migration', () => { writeFile('/second.ts', ``); writeFile('/test.ts', ` import {Injectable, NgModule, NgZone} from '@angular/core'; - + export class BaseClass { constructor(zone: NgZone) {} } - + @Injectable({template: ''}) export class MyService extends BaseClass {} - + @NgModule({providers: [MyService]}) export class AppModule {} `); diff --git a/packages/core/schematics/utils/import_manager.ts b/packages/core/schematics/utils/import_manager.ts index 07b7f945f9..ab3d3cc4c7 100644 --- a/packages/core/schematics/utils/import_manager.ts +++ b/packages/core/schematics/utils/import_manager.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/line_mappings.ts b/packages/core/schematics/utils/line_mappings.ts index 8ff8f10cec..56301b7c4c 100644 --- a/packages/core/schematics/utils/line_mappings.ts +++ b/packages/core/schematics/utils/line_mappings.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/ng_component_template.ts b/packages/core/schematics/utils/ng_component_template.ts index 01b1dfcb5e..34e8d2140a 100644 --- a/packages/core/schematics/utils/ng_component_template.ts +++ b/packages/core/schematics/utils/ng_component_template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/ng_decorators.ts b/packages/core/schematics/utils/ng_decorators.ts index 54f53c0b5c..c34c2a191c 100644 --- a/packages/core/schematics/utils/ng_decorators.ts +++ b/packages/core/schematics/utils/ng_decorators.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/parse_html.ts b/packages/core/schematics/utils/parse_html.ts index 20ec6d35bd..1108bf2616 100644 --- a/packages/core/schematics/utils/parse_html.ts +++ b/packages/core/schematics/utils/parse_html.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/project_tsconfig_paths.ts b/packages/core/schematics/utils/project_tsconfig_paths.ts index 64153a36a5..52f891f67c 100644 --- a/packages/core/schematics/utils/project_tsconfig_paths.ts +++ b/packages/core/schematics/utils/project_tsconfig_paths.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/schematics_prompt.ts b/packages/core/schematics/utils/schematics_prompt.ts index f32d64d7af..5261dc2c76 100644 --- a/packages/core/schematics/utils/schematics_prompt.ts +++ b/packages/core/schematics/utils/schematics_prompt.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/tslint/tslint_html_source_file.ts b/packages/core/schematics/utils/tslint/tslint_html_source_file.ts index 2b1db7372b..a900a435ae 100644 --- a/packages/core/schematics/utils/tslint/tslint_html_source_file.ts +++ b/packages/core/schematics/utils/tslint/tslint_html_source_file.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/class_declaration.ts b/packages/core/schematics/utils/typescript/class_declaration.ts index 0150fa39ce..267b9e50c5 100644 --- a/packages/core/schematics/utils/typescript/class_declaration.ts +++ b/packages/core/schematics/utils/typescript/class_declaration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/compiler_host.ts b/packages/core/schematics/utils/typescript/compiler_host.ts index 2257b32006..03efd91c04 100644 --- a/packages/core/schematics/utils/typescript/compiler_host.ts +++ b/packages/core/schematics/utils/typescript/compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/decorators.ts b/packages/core/schematics/utils/typescript/decorators.ts index 7722961300..6e37ed1d22 100644 --- a/packages/core/schematics/utils/typescript/decorators.ts +++ b/packages/core/schematics/utils/typescript/decorators.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/find_base_classes.ts b/packages/core/schematics/utils/typescript/find_base_classes.ts index f6a16c120a..01b634c984 100644 --- a/packages/core/schematics/utils/typescript/find_base_classes.ts +++ b/packages/core/schematics/utils/typescript/find_base_classes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/functions.ts b/packages/core/schematics/utils/typescript/functions.ts index 07c105604e..30b310629f 100644 --- a/packages/core/schematics/utils/typescript/functions.ts +++ b/packages/core/schematics/utils/typescript/functions.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/imports.ts b/packages/core/schematics/utils/typescript/imports.ts index 8b19fbe498..1bfe7a85ce 100644 --- a/packages/core/schematics/utils/typescript/imports.ts +++ b/packages/core/schematics/utils/typescript/imports.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/nodes.ts b/packages/core/schematics/utils/typescript/nodes.ts index 48ac25d3b4..69695345a3 100644 --- a/packages/core/schematics/utils/typescript/nodes.ts +++ b/packages/core/schematics/utils/typescript/nodes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/parse_tsconfig.ts b/packages/core/schematics/utils/typescript/parse_tsconfig.ts index 9cbed072fd..2788aea5df 100644 --- a/packages/core/schematics/utils/typescript/parse_tsconfig.ts +++ b/packages/core/schematics/utils/typescript/parse_tsconfig.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/property_name.ts b/packages/core/schematics/utils/typescript/property_name.ts index 79b4cc56f9..535d108d18 100644 --- a/packages/core/schematics/utils/typescript/property_name.ts +++ b/packages/core/schematics/utils/typescript/property_name.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/schematics/utils/typescript/symbol.ts b/packages/core/schematics/utils/typescript/symbol.ts index e76c9a8a2f..5585c51e16 100644 --- a/packages/core/schematics/utils/typescript/symbol.ts +++ b/packages/core/schematics/utils/typescript/symbol.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/application_init.ts b/packages/core/src/application_init.ts index 69a77c8bc5..d68bce8627 100644 --- a/packages/core/src/application_init.ts +++ b/packages/core/src/application_init.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/application_module.ts b/packages/core/src/application_module.ts index de727bc81b..7db809abed 100644 --- a/packages/core/src/application_module.ts +++ b/packages/core/src/application_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/application_ref.ts b/packages/core/src/application_ref.ts index 05c94fb9c4..a701f7518e 100644 --- a/packages/core/src/application_ref.ts +++ b/packages/core/src/application_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -60,21 +60,22 @@ export function compileNgModuleFactory__POST_R3__( moduleType: Type): Promise> { ngDevMode && assertNgModuleType(moduleType); - const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options); + const moduleFactory = new R3NgModuleFactory(moduleType); - if (typeof ngJitMode === 'undefined' || ngJitMode) { - // Configure the compiler to use the provided options. This call may fail when multiple modules - // are bootstrapped with incompatible options, as a component can only be compiled according to - // a single set of options. - setJitOptions({ - defaultEncapsulation: - _lastDefined(compilerOptions.map(options => options.defaultEncapsulation)), - preserveWhitespaces: - _lastDefined(compilerOptions.map(options => options.preserveWhitespaces)), - }); + // All of the logic below is irrelevant for AOT-compiled code. + if (typeof ngJitMode !== 'undefined' && !ngJitMode) { + return Promise.resolve(moduleFactory); } - const moduleFactory = new R3NgModuleFactory(moduleType); + const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options); + + // Configure the compiler to use the provided options. This call may fail when multiple modules + // are bootstrapped with incompatible options, as a component can only be compiled according to + // a single set of options. + setJitOptions({ + defaultEncapsulation: _lastDefined(compilerOptions.map(opts => opts.defaultEncapsulation)), + preserveWhitespaces: _lastDefined(compilerOptions.map(opts => opts.preserveWhitespaces)), + }); if (isComponentResourceResolutionQueueEmpty()) { return Promise.resolve(moduleFactory); @@ -134,7 +135,7 @@ export class NgProbeToken { /** * Creates a platform. - * Platforms have to be eagerly created via this function. + * Platforms must be created on launch using this function. * * @publicApi */ @@ -152,7 +153,13 @@ export function createPlatform(injector: Injector): PlatformRef { } /** - * Creates a factory for a platform + * Creates a factory for a platform. Can be used to provide or override `Providers` specific to + * your applciation's runtime needs, such as `PLATFORM_INITIALIZER` and `PLATFORM_ID`. + * @param parentPlatformFactory Another platform factory to modify. Allows you to compose factories + * to build up configurations that might be required by different libraries or parts of the + * application. + * @param name Identifies the new platform factory. + * @param providers A set of dependency providers for platforms created with the new factory. * * @publicApi */ @@ -181,7 +188,7 @@ export function createPlatformFactory( } /** - * Checks that there currently is a platform which contains the given token as a provider. + * Checks that there is currently a platform that contains the given token as a provider. * * @publicApi */ @@ -201,7 +208,8 @@ export function assertPlatform(requiredToken: any): PlatformRef { } /** - * Destroy the existing platform. + * Destroys the current Angular platform and all Angular applications on the page. + * Destroys all modules and listeners registered with the platform. * * @publicApi */ @@ -258,12 +266,11 @@ export interface BootstrapOptions { } /** - * The Angular platform is the entry point for Angular on a web page. Each page - * has exactly one platform, and services (such as reflection) which are common + * The Angular platform is the entry point for Angular on a web page. + * Each page has exactly one platform. Services (such as reflection) which are common * to every Angular application running on the page are bound in its scope. - * - * A page's platform is initialized implicitly when a platform is created via a platform factory - * (e.g. {@link platformBrowser}), or explicitly by calling the {@link createPlatform} function. + * A page's platform is initialized implicitly when a platform is created using a platform + * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function. * * @publicApi */ @@ -277,11 +284,11 @@ export class PlatformRef { constructor(private _injector: Injector) {} /** - * Creates an instance of an `@NgModule` for the given platform - * for offline compilation. + * Creates an instance of an `@NgModule` for the given platform for offline compilation. * * @usageNotes - * ### Simple Example + * + * The following example creates the NgModule for a browser platform. * * ```typescript * my_module.ts: @@ -383,14 +390,14 @@ export class PlatformRef { } /** - * Register a listener to be called when the platform is disposed. + * Registers a listener to be called when the platform is destroyed. */ onDestroy(callback: () => void): void { this._destroyListeners.push(callback); } /** - * Retrieve the platform {@link Injector}, which is the parent injector for + * Retrieves the platform {@link Injector}, which is the parent injector for * every Angular application on the page and provides singleton providers. */ get injector(): Injector { @@ -398,7 +405,8 @@ export class PlatformRef { } /** - * Destroy the Angular platform and all Angular applications on the page. + * Destroys the current Angular platform and all Angular applications on the page. + * Destroys all modules and listeners registered with the platform. */ destroy() { if (this._destroyed) { diff --git a/packages/core/src/application_tokens.ts b/packages/core/src/application_tokens.ts index 1b0bda6d90..803f36ee6e 100644 --- a/packages/core/src/application_tokens.ts +++ b/packages/core/src/application_tokens.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection.ts b/packages/core/src/change_detection.ts index 8fd31eb47b..aa10e0821c 100644 --- a/packages/core/src/change_detection.ts +++ b/packages/core/src/change_detection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/change_detection.ts b/packages/core/src/change_detection/change_detection.ts index 327beb1f6e..100ca159a1 100644 --- a/packages/core/src/change_detection/change_detection.ts +++ b/packages/core/src/change_detection/change_detection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/change_detection_util.ts b/packages/core/src/change_detection/change_detection_util.ts index 9ab9cd1074..3e5f06f303 100644 --- a/packages/core/src/change_detection/change_detection_util.ts +++ b/packages/core/src/change_detection/change_detection_util.ts @@ -1,12 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {looseIdentical} from '../util/comparison'; import {getSymbolIterator} from '../util/symbol'; export function devModeEqual(a: any, b: any): boolean { @@ -20,7 +19,7 @@ export function devModeEqual(a: any, b: any): boolean { if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) { return true; } else { - return looseIdentical(a, b); + return Object.is(a, b); } } } diff --git a/packages/core/src/change_detection/change_detector_ref.ts b/packages/core/src/change_detection/change_detector_ref.ts index 06ebc7ec72..aff47cc0b6 100644 --- a/packages/core/src/change_detection/change_detector_ref.ts +++ b/packages/core/src/change_detection/change_detector_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/constants.ts b/packages/core/src/change_detection/constants.ts index ed54b1933d..62723f6460 100644 --- a/packages/core/src/change_detection/constants.ts +++ b/packages/core/src/change_detection/constants.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/differs/default_iterable_differ.ts b/packages/core/src/change_detection/differs/default_iterable_differ.ts index ea402369ab..736d7b1234 100644 --- a/packages/core/src/change_detection/differs/default_iterable_differ.ts +++ b/packages/core/src/change_detection/differs/default_iterable_differ.ts @@ -1,12 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {looseIdentical} from '../../util/comparison'; import {stringify} from '../../util/stringify'; import {isListLikeIterable, iterateListLike} from '../change_detection_util'; @@ -180,7 +179,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan for (let index = 0; index < this.length; index++) { item = collection[index]; itemTrackBy = this._trackByFn(index, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { + if (record === null || !Object.is(record.trackById, itemTrackBy)) { record = this._mismatch(record, item, itemTrackBy, index); mayBeDirty = true; } else { @@ -188,7 +187,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan // TODO(misko): can we limit this to duplicates only? record = this._verifyReinsertion(record, item, itemTrackBy, index); } - if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item); + if (!Object.is(record.item, item)) this._addIdentityChange(record, item); } record = record._next; @@ -197,7 +196,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan index = 0; iterateListLike(collection, (item: V) => { itemTrackBy = this._trackByFn(index, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { + if (record === null || !Object.is(record.trackById, itemTrackBy)) { record = this._mismatch(record, item, itemTrackBy, index); mayBeDirty = true; } else { @@ -205,7 +204,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan // TODO(misko): can we limit this to duplicates only? record = this._verifyReinsertion(record, item, itemTrackBy, index); } - if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item); + if (!Object.is(record.item, item)) this._addIdentityChange(record, item); } record = record._next; index++; @@ -289,7 +288,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan if (record !== null) { // We have seen this before, we need to move it forward in the collection. // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item); + if (!Object.is(record.item, item)) this._addIdentityChange(record, item); this._moveAfter(record, previousRecord, index); } else { @@ -298,7 +297,7 @@ export class DefaultIterableDiffer implements IterableDiffer, IterableChan if (record !== null) { // It is an item which we have evicted earlier: reinsert it back into the list. // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item); + if (!Object.is(record.item, item)) this._addIdentityChange(record, item); this._reinsertAfter(record, previousRecord, index); } else { @@ -628,7 +627,7 @@ class _DuplicateItemRecordList { let record: IterableChangeRecord_|null; for (record = this._head; record !== null; record = record._nextDup) { if ((atOrAfterIndex === null || atOrAfterIndex <= record.currentIndex!) && - looseIdentical(record.trackById, trackById)) { + Object.is(record.trackById, trackById)) { return record; } } diff --git a/packages/core/src/change_detection/differs/default_keyvalue_differ.ts b/packages/core/src/change_detection/differs/default_keyvalue_differ.ts index fce214ca4b..c99b2c7608 100644 --- a/packages/core/src/change_detection/differs/default_keyvalue_differ.ts +++ b/packages/core/src/change_detection/differs/default_keyvalue_differ.ts @@ -1,12 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {looseIdentical} from '../../util/comparison'; import {stringify} from '../../util/stringify'; import {isJsObject} from '../change_detection_util'; import {KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory} from './keyvalue_differs'; @@ -229,7 +228,7 @@ export class DefaultKeyValueDiffer implements KeyValueDiffer, KeyVal // Add the record or a given key to the list of changes only when the value has actually changed private _maybeAddToChanges(record: KeyValueChangeRecord_, newValue: any): void { - if (!looseIdentical(newValue, record.currentValue)) { + if (!Object.is(newValue, record.currentValue)) { record.previousValue = record.currentValue; record.currentValue = newValue; this._addToChanges(record); diff --git a/packages/core/src/change_detection/differs/iterable_differs.ts b/packages/core/src/change_detection/differs/iterable_differs.ts index 0029e61bd1..1de180683f 100644 --- a/packages/core/src/change_detection/differs/iterable_differs.ts +++ b/packages/core/src/change_detection/differs/iterable_differs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/differs/keyvalue_differs.ts b/packages/core/src/change_detection/differs/keyvalue_differs.ts index 246bd4d357..7f9bd89a3d 100644 --- a/packages/core/src/change_detection/differs/keyvalue_differs.ts +++ b/packages/core/src/change_detection/differs/keyvalue_differs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/change_detection/pipe_transform.ts b/packages/core/src/change_detection/pipe_transform.ts index bb7d7ea353..0d98f66350 100644 --- a/packages/core/src/change_detection/pipe_transform.ts +++ b/packages/core/src/change_detection/pipe_transform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/codegen_private_exports.ts b/packages/core/src/codegen_private_exports.ts index 76bcb86148..1dd0b3f6ae 100644 --- a/packages/core/src/codegen_private_exports.ts +++ b/packages/core/src/codegen_private_exports.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/compiler/compiler_facade.ts b/packages/core/src/compiler/compiler_facade.ts index b8aeb53e81..08b3625e31 100644 --- a/packages/core/src/compiler/compiler_facade.ts +++ b/packages/core/src/compiler/compiler_facade.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/compiler/compiler_facade_interface.ts b/packages/core/src/compiler/compiler_facade_interface.ts index e563344f23..94e9a87fe9 100644 --- a/packages/core/src/compiler/compiler_facade_interface.ts +++ b/packages/core/src/compiler/compiler_facade_interface.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,12 +13,12 @@ * * This file has two copies. Please ensure that they are in sync: * - packages/compiler/src/compiler_facade_interface.ts (master) - * - packages/core/src/render3/jit/compiler_facade_interface.ts (copy) + * - packages/core/src/compiler/compiler_facade_interface.ts (copy) * * Please ensure that the two files are in sync using this command: * ``` * cp packages/compiler/src/compiler_facade_interface.ts \ - * packages/core/src/render3/jit/compiler_facade_interface.ts + * packages/core/src/compiler/compiler_facade_interface.ts * ``` */ diff --git a/packages/core/src/console.ts b/packages/core/src/console.ts index bc30a29fb8..df00e31143 100644 --- a/packages/core/src/console.ts +++ b/packages/core/src/console.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/core.externs.js b/packages/core/src/core.externs.js index c9946a379a..3b75042e9c 100644 --- a/packages/core/src/core.externs.js +++ b/packages/core/src/core.externs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 7c2daeedb8..019394da77 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/core_private_export.ts b/packages/core/src/core_private_export.ts index 111345e31c..93b0aa2c65 100644 --- a/packages/core/src/core_private_export.ts +++ b/packages/core/src/core_private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -27,7 +27,6 @@ export {GetterFn as ɵGetterFn, MethodFn as ɵMethodFn, SetterFn as ɵSetterFn} export {allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, BypassType as ɵBypassType, getSanitizationBypassType as ɵgetSanitizationBypassType, SafeHtml as ɵSafeHtml, SafeResourceUrl as ɵSafeResourceUrl, SafeScript as ɵSafeScript, SafeStyle as ɵSafeStyle, SafeUrl as ɵSafeUrl, SafeValue as ɵSafeValue, unwrapSafeValue as ɵunwrapSafeValue} from './sanitization/bypass'; export {_sanitizeHtml as ɵ_sanitizeHtml} from './sanitization/html_sanitizer'; export {_sanitizeUrl as ɵ_sanitizeUrl} from './sanitization/url_sanitizer'; -export {looseIdentical as ɵlooseIdentical,} from './util/comparison'; export {makeDecorator as ɵmakeDecorator} from './util/decorators'; export {global as ɵglobal} from './util/global'; export {isObservable as ɵisObservable, isPromise as ɵisPromise} from './util/lang'; diff --git a/packages/core/src/core_render3_private_export.ts b/packages/core/src/core_render3_private_export.ts index 5854e66094..35fa2b13b8 100644 --- a/packages/core/src/core_render3_private_export.ts +++ b/packages/core/src/core_render3_private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -227,7 +227,6 @@ export { ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, - ɵɵstyleSanitizer, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, @@ -286,7 +285,6 @@ export { bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, } from './sanitization/bypass'; export { - ɵɵdefaultStyleSanitizer, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, diff --git a/packages/core/src/debug/debug_node.ts b/packages/core/src/debug/debug_node.ts index c6161dbe81..0081185acb 100644 --- a/packages/core/src/debug/debug_node.ts +++ b/packages/core/src/debug/debug_node.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/debug/proxy.ts b/packages/core/src/debug/proxy.ts index 95f46b7041..fc90dab3ed 100644 --- a/packages/core/src/debug/proxy.ts +++ b/packages/core/src/debug/proxy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di.ts b/packages/core/src/di.ts index d9017e84b9..d07132b064 100644 --- a/packages/core/src/di.ts +++ b/packages/core/src/di.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/forward_ref.ts b/packages/core/src/di/forward_ref.ts index e13705b91a..80250986e0 100644 --- a/packages/core/src/di/forward_ref.ts +++ b/packages/core/src/di/forward_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/index.ts b/packages/core/src/di/index.ts index e941091a9a..1f10512092 100644 --- a/packages/core/src/di/index.ts +++ b/packages/core/src/di/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/injectable.ts b/packages/core/src/di/injectable.ts index ae9dbe6fea..0b1ab3372b 100644 --- a/packages/core/src/di/injectable.ts +++ b/packages/core/src/di/injectable.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/injection_token.ts b/packages/core/src/di/injection_token.ts index f45c903ce6..9abf11a849 100644 --- a/packages/core/src/di/injection_token.ts +++ b/packages/core/src/di/injection_token.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/injector.ts b/packages/core/src/di/injector.ts index 607b610613..f8c93c42a0 100644 --- a/packages/core/src/di/injector.ts +++ b/packages/core/src/di/injector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/injector_compatibility.ts b/packages/core/src/di/injector_compatibility.ts index 2bef2aa01d..21d1709fce 100644 --- a/packages/core/src/di/injector_compatibility.ts +++ b/packages/core/src/di/injector_compatibility.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/interface/defs.ts b/packages/core/src/di/interface/defs.ts index b2d5bae5a8..b1d05df5b3 100644 --- a/packages/core/src/di/interface/defs.ts +++ b/packages/core/src/di/interface/defs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -217,8 +217,8 @@ function getOwnDefinition(type: any, def: ɵɵInjectableDef): ɵɵInjectab * * @param type A type which may have `ɵprov`, via inheritance. * - * @deprecated Will be removed in v10, where an error will occur in the scenario if we find the - * `ɵprov` on an ancestor only. + * @deprecated Will be removed in a future version of Angular, where an error will occur in the + * scenario if we find the `ɵprov` on an ancestor only. */ export function getInheritedInjectableDef(type: any): ɵɵInjectableDef|null { // See `jit/injectable.ts#compileInjectable` for context on NG_PROV_DEF_FALLBACK. @@ -233,7 +233,8 @@ export function getInheritedInjectableDef(type: any): ɵɵInjectableDef|nu console.warn( `DEPRECATED: DI is instantiating a token "${ typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` + - `This will become an error in v10. Please add @Injectable() to the "${typeName}" class.`); + `This will become an error in a future version of Angular. Please add @Injectable() to the "${ + typeName}" class.`); return def; } else { return null; diff --git a/packages/core/src/di/interface/injector.ts b/packages/core/src/di/interface/injector.ts index cf9b3c780b..9092ef5deb 100644 --- a/packages/core/src/di/interface/injector.ts +++ b/packages/core/src/di/interface/injector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/interface/provider.ts b/packages/core/src/di/interface/provider.ts index 486ed494d0..5504767610 100644 --- a/packages/core/src/di/interface/provider.ts +++ b/packages/core/src/di/interface/provider.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/jit/environment.ts b/packages/core/src/di/jit/environment.ts index a89bbf0e69..a11e03998d 100644 --- a/packages/core/src/di/jit/environment.ts +++ b/packages/core/src/di/jit/environment.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/jit/injectable.ts b/packages/core/src/di/jit/injectable.ts index e21ab787e2..231f2090ec 100644 --- a/packages/core/src/di/jit/injectable.ts +++ b/packages/core/src/di/jit/injectable.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -46,7 +46,7 @@ export function compileInjectable(type: Type, srcMeta?: Injectable): void { // undecorated parent class. We work around it by defining a method which should be used // as a fallback. This should only be a problem in JIT mode, because in AOT TypeScript // seems to have a workaround for static properties. When inheriting from an undecorated - // parent is no longer supported in v10, this can safely be removed. + // parent is no longer supported (v11 or later), this can safely be removed. if (!type.hasOwnProperty(NG_PROV_DEF_FALLBACK)) { (type as any)[NG_PROV_DEF_FALLBACK] = () => (type as any)[NG_PROV_DEF]; } diff --git a/packages/core/src/di/jit/util.ts b/packages/core/src/di/jit/util.ts index ab0a61cd85..42a61aee37 100644 --- a/packages/core/src/di/jit/util.ts +++ b/packages/core/src/di/jit/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/metadata.ts b/packages/core/src/di/metadata.ts index b29c5b4ac0..e8d7d5bad8 100644 --- a/packages/core/src/di/metadata.ts +++ b/packages/core/src/di/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/r3_injector.ts b/packages/core/src/di/r3_injector.ts index bbe401037c..ad9dd00b1c 100644 --- a/packages/core/src/di/r3_injector.ts +++ b/packages/core/src/di/r3_injector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/reflective_errors.ts b/packages/core/src/di/reflective_errors.ts index 4a45534f46..af4e04b2fb 100644 --- a/packages/core/src/di/reflective_errors.ts +++ b/packages/core/src/di/reflective_errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/reflective_injector.ts b/packages/core/src/di/reflective_injector.ts index c6c5d30a78..43192d1e16 100644 --- a/packages/core/src/di/reflective_injector.ts +++ b/packages/core/src/di/reflective_injector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/reflective_key.ts b/packages/core/src/di/reflective_key.ts index 6de91cad9b..a3323a8cfb 100644 --- a/packages/core/src/di/reflective_key.ts +++ b/packages/core/src/di/reflective_key.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/reflective_provider.ts b/packages/core/src/di/reflective_provider.ts index c794bfb878..77e5cee81b 100644 --- a/packages/core/src/di/reflective_provider.ts +++ b/packages/core/src/di/reflective_provider.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/scope.ts b/packages/core/src/di/scope.ts index 229237a279..10a614b0fe 100644 --- a/packages/core/src/di/scope.ts +++ b/packages/core/src/di/scope.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/di/util.ts b/packages/core/src/di/util.ts index dd5bf2c0ae..2070b057e3 100644 --- a/packages/core/src/di/util.ts +++ b/packages/core/src/di/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/error_handler.ts b/packages/core/src/error_handler.ts index fa3bb50d70..7f5ec2748e 100644 --- a/packages/core/src/error_handler.ts +++ b/packages/core/src/error_handler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/errors.ts b/packages/core/src/errors.ts index 74712bc004..12bc69dc6b 100644 --- a/packages/core/src/errors.ts +++ b/packages/core/src/errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,4 +28,4 @@ export function getErrorLogger(error: Error): (console: Console, ...values: any[ function defaultErrorLogger(console: Console, ...values: any[]) { (console.error)(...values); -} \ No newline at end of file +} diff --git a/packages/core/src/event_emitter.ts b/packages/core/src/event_emitter.ts index 02397f378d..bae23359d4 100644 --- a/packages/core/src/event_emitter.ts +++ b/packages/core/src/event_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -61,32 +61,26 @@ import {Subject, Subscription} from 'rxjs'; * @see [Observables in Angular](guide/observables-in-angular) * @publicApi */ -export class EventEmitter extends Subject { +export interface EventEmitter extends Subject { /** * @internal */ - __isAsync: boolean; // tslint:disable-line + __isAsync: boolean; /** * Creates an instance of this class that can * deliver events synchronously or asynchronously. * - * @param isAsync When true, deliver events asynchronously. + * @param [isAsync=false] When true, deliver events asynchronously. * */ - constructor(isAsync: boolean = false) { - super(); - this.__isAsync = isAsync; - } + new(isAsync?: boolean): EventEmitter; /** * Emits an event containing a given value. * @param value The value to emit. */ - emit(value?: T) { - super.next(value); - } - + emit(value?: T): void; /** * Registers handlers for events emitted by this instance. * @param generatorOrNext When supplied, a custom handler for emitted events. @@ -95,6 +89,21 @@ export class EventEmitter extends Subject { * @param complete When supplied, a custom handler for a completion * notification from this emitter. */ + subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription; +} + +class EventEmitter_ extends Subject { + __isAsync: boolean; // tslint:disable-line + + constructor(isAsync: boolean = false) { + super(); + this.__isAsync = isAsync; + } + + emit(value?: any) { + super.next(value); + } + subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription { let schedulerFn: (t: any) => any; let errorFn = (err: any): any => null; @@ -155,3 +164,11 @@ export class EventEmitter extends Subject { return sink; } } + +/** + * @publicApi + */ +export const EventEmitter: { + new (isAsync?: boolean): EventEmitter; new(isAsync?: boolean): EventEmitter; + readonly prototype: EventEmitter; +} = EventEmitter_ as any; diff --git a/packages/core/src/i18n/locale_data_api.ts b/packages/core/src/i18n/locale_data_api.ts index 75c9082080..5efe5bafdd 100644 --- a/packages/core/src/i18n/locale_data_api.ts +++ b/packages/core/src/i18n/locale_data_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/i18n/locale_en.ts b/packages/core/src/i18n/locale_en.ts index 2e430b5575..e027aca2cb 100644 --- a/packages/core/src/i18n/locale_en.ts +++ b/packages/core/src/i18n/locale_en.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/i18n/localization.ts b/packages/core/src/i18n/localization.ts index 41c146db8d..7cd4054536 100644 --- a/packages/core/src/i18n/localization.ts +++ b/packages/core/src/i18n/localization.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/i18n/tokens.ts b/packages/core/src/i18n/tokens.ts index ead8845db1..91a57caa94 100644 --- a/packages/core/src/i18n/tokens.ts +++ b/packages/core/src/i18n/tokens.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/interface/lifecycle_hooks.ts b/packages/core/src/interface/lifecycle_hooks.ts index a077ba4886..f133c1aad9 100644 --- a/packages/core/src/interface/lifecycle_hooks.ts +++ b/packages/core/src/interface/lifecycle_hooks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,7 +18,7 @@ import {SimpleChanges} from './simple_change'; * * @see `DoCheck` * @see `OnInit` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -58,7 +58,7 @@ export interface OnChanges { * 定义 `ngOnInit()` 方法可以处理所有附加的初始化任务。 * * @see `AfterContentInit` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -108,7 +108,7 @@ export interface OnInit { * 一般来说,你不应该同时使用 `DoCheck` 和 `OnChanges` 这两个钩子来响应在同一个输入上发生的更改。 * * @see `OnChanges` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -120,6 +120,9 @@ export interface OnInit { * * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='DoCheck'} * + * For a more complete example and discussion, see + * [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection). + * * @publicApi */ export interface DoCheck { @@ -143,7 +146,7 @@ export interface DoCheck { * 一个生命周期钩子,它会在指令、管道或服务被销毁时调用。 * 用于在实例被销毁时,执行一些自定义清理代码。 * - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -178,7 +181,7 @@ export interface OnDestroy { * * @see `OnInit` * @see `AfterViewInit` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -214,7 +217,7 @@ export interface AfterContentInit { * 一个生命周期钩子,它会在默认的变更检测器对指令的所有内容完成了变更检查之后调用。 * * @see `AfterViewChecked` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -250,7 +253,7 @@ export interface AfterContentChecked { * * @see `OnInit` * @see `AfterContentInit` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * @@ -284,7 +287,7 @@ export interface AfterViewInit { * 一个生命周期钩子,它会在默认的变更检测器完成了对组件视图的变更检测之后调用。 * * @see `AfterContentChecked` - * @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide + * @see [Lifecycle hooks guide](guide/lifecycle-hooks) * * [生命周期钩子](guide/lifecycle-hooks#onchanges) * diff --git a/packages/core/src/interface/simple_change.ts b/packages/core/src/interface/simple_change.ts index 081967868e..eb34f63233 100644 --- a/packages/core/src/interface/simple_change.ts +++ b/packages/core/src/interface/simple_change.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/interface/type.ts b/packages/core/src/interface/type.ts index a8c3f6a51b..fb1865bd5c 100644 --- a/packages/core/src/interface/type.ts +++ b/packages/core/src/interface/type.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/ivy_switch.ts b/packages/core/src/ivy_switch.ts index c10e161fdc..67c3f4d856 100644 --- a/packages/core/src/ivy_switch.ts +++ b/packages/core/src/ivy_switch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker.ts b/packages/core/src/linker.ts index 4e34360e94..91040a5e4e 100644 --- a/packages/core/src/linker.ts +++ b/packages/core/src/linker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/compiler.ts b/packages/core/src/linker/compiler.ts index 8d063b5e44..fdb247af77 100644 --- a/packages/core/src/linker/compiler.ts +++ b/packages/core/src/linker/compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/component_factory.ts b/packages/core/src/linker/component_factory.ts index 7d43d397e8..b20fd4184e 100644 --- a/packages/core/src/linker/component_factory.ts +++ b/packages/core/src/linker/component_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/component_factory_resolver.ts b/packages/core/src/linker/component_factory_resolver.ts index 6d84307ddd..7e8db8891f 100644 --- a/packages/core/src/linker/component_factory_resolver.ts +++ b/packages/core/src/linker/component_factory_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/element_ref.ts b/packages/core/src/linker/element_ref.ts index 024d279693..c8474dbfc0 100644 --- a/packages/core/src/linker/element_ref.ts +++ b/packages/core/src/linker/element_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,7 +30,7 @@ import {noop} from '../util/noop'; // Note: We don't expose things like `Injector`, `ViewContainer`, ... here, // i.e. users have to ask for what they need. With that, we can build better analysis tools // and could do better codegen in the future. -export class ElementRef { +export class ElementRef { /** * The underlying native element or `null` if direct access to native elements is not supported * (e.g. when the application runs in a web worker). diff --git a/packages/core/src/linker/ng_module_factory.ts b/packages/core/src/linker/ng_module_factory.ts index 043d450dac..6748c29032 100644 --- a/packages/core/src/linker/ng_module_factory.ts +++ b/packages/core/src/linker/ng_module_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/ng_module_factory_loader.ts b/packages/core/src/linker/ng_module_factory_loader.ts index 717a3ab882..4d7f6c78a6 100644 --- a/packages/core/src/linker/ng_module_factory_loader.ts +++ b/packages/core/src/linker/ng_module_factory_loader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/ng_module_factory_registration.ts b/packages/core/src/linker/ng_module_factory_registration.ts index 639a772fb6..86a4f962d8 100644 --- a/packages/core/src/linker/ng_module_factory_registration.ts +++ b/packages/core/src/linker/ng_module_factory_registration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/query_list.ts b/packages/core/src/linker/query_list.ts index 6514d0a7d4..e6bb6dd758 100644 --- a/packages/core/src/linker/query_list.ts +++ b/packages/core/src/linker/query_list.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/system_js_ng_module_factory_loader.ts b/packages/core/src/linker/system_js_ng_module_factory_loader.ts index 9b0075807c..625467febd 100644 --- a/packages/core/src/linker/system_js_ng_module_factory_loader.ts +++ b/packages/core/src/linker/system_js_ng_module_factory_loader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/template_ref.ts b/packages/core/src/linker/template_ref.ts index a5066c1e47..6922335cf3 100644 --- a/packages/core/src/linker/template_ref.ts +++ b/packages/core/src/linker/template_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/view_container_ref.ts b/packages/core/src/linker/view_container_ref.ts index e3a657d68d..c1f84b47ba 100644 --- a/packages/core/src/linker/view_container_ref.ts +++ b/packages/core/src/linker/view_container_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/linker/view_ref.ts b/packages/core/src/linker/view_ref.ts index 1687c5799b..d6f95c5b54 100644 --- a/packages/core/src/linker/view_ref.ts +++ b/packages/core/src/linker/view_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata.ts b/packages/core/src/metadata.ts index 75fa6c5191..08690c3f09 100644 --- a/packages/core/src/metadata.ts +++ b/packages/core/src/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata/di.ts b/packages/core/src/metadata/di.ts index eea1cbe2da..2efba89892 100644 --- a/packages/core/src/metadata/di.ts +++ b/packages/core/src/metadata/di.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -140,7 +140,7 @@ export interface ContentChildrenDecorator { * * * **selector** - The directive type or the name used for querying. * * **descendants** - True to include all descendants, otherwise include only direct children. - * * **read** - True to read a different token from the queried elements. + * * **read** - Used to read a different token from the queried elements. * * @usageNotes * @@ -157,8 +157,10 @@ export interface ContentChildrenDecorator { * * @Annotation */ - (selector: Type|Function|string, opts?: {descendants?: boolean, read?: any}): any; - new(selector: Type|Function|string, opts?: {descendants?: boolean, read?: any}): Query; + (selector: Type|InjectionToken|Function|string, + opts?: {descendants?: boolean, read?: any}): any; + new(selector: Type|InjectionToken|Function|string, + opts?: {descendants?: boolean, read?: any}): Query; } /** @@ -204,7 +206,7 @@ export interface ContentChildDecorator { * **Metadata Properties**: * * * **selector** - The directive type or the name used for querying. - * * **read** - True to read a different token from the queried element. + * * **read** - Used to read a different token from the queried element. * * **static** - True to resolve query results before change detection runs, * false to resolve after change detection. Defaults to false. * @@ -218,8 +220,10 @@ export interface ContentChildDecorator { * * @Annotation */ - (selector: Type|Function|string, opts?: {read?: any, static?: boolean}): any; - new(selector: Type|Function|string, opts?: {read?: any, static?: boolean}): ContentChild; + (selector: Type|InjectionToken|Function|string, + opts?: {read?: any, static?: boolean}): any; + new(selector: Type|InjectionToken|Function|string, + opts?: {read?: any, static?: boolean}): ContentChild; } /** @@ -263,7 +267,7 @@ export interface ViewChildrenDecorator { * **Metadata Properties**: * * * **selector** - The directive type or the name used for querying. - * * **read** - True to read a different token from the queried elements. + * * **read** - Used to read a different token from the queried elements. * * @usageNotes * @@ -275,8 +279,9 @@ export interface ViewChildrenDecorator { * * @Annotation */ - (selector: Type|Function|string, opts?: {read?: any}): any; - new(selector: Type|Function|string, opts?: {read?: any}): ViewChildren; + (selector: Type|InjectionToken|Function|string, opts?: {read?: any}): any; + new(selector: Type|InjectionToken|Function|string, + opts?: {read?: any}): ViewChildren; } /** @@ -330,7 +335,7 @@ export interface ViewChildDecorator { * * **selector** - 用于查询的指令类型或名字。 * - * * **read** - True to read a different token from the queried elements. + * * **read** - Used to read a different token from the queried elements. * * **read** - 从查询到的元素中读取另一个令牌。 * @@ -354,7 +359,7 @@ export interface ViewChildDecorator { * `@ViewChild(SomeService) someService: SomeService`) * * 组件树中任何当前组件的子组件所定义的提供商(比如 `@ViewChild(SomeService) someService: SomeService` ) - * + * * * Any provider defined through a string token (e.g. `@ViewChild('someToken') someTokenVal: * any`) * @@ -378,8 +383,10 @@ export interface ViewChildDecorator { * * @Annotation */ - (selector: Type|Function|string, opts?: {read?: any, static?: boolean}): any; - new(selector: Type|Function|string, opts?: {read?: any, static?: boolean}): ViewChild; + (selector: Type|InjectionToken|Function|string, + opts?: {read?: any, static?: boolean}): any; + new(selector: Type|InjectionToken|Function|string, + opts?: {read?: any, static?: boolean}): ViewChild; } /** diff --git a/packages/core/src/metadata/directives.ts b/packages/core/src/metadata/directives.ts index b67653eef3..130265defc 100644 --- a/packages/core/src/metadata/directives.ts +++ b/packages/core/src/metadata/directives.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata/ng_module.ts b/packages/core/src/metadata/ng_module.ts index 7324a16e53..2ec0db0595 100644 --- a/packages/core/src/metadata/ng_module.ts +++ b/packages/core/src/metadata/ng_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata/resource_loading.ts b/packages/core/src/metadata/resource_loading.ts index e1b8bc7eb7..1c2aca4b2f 100644 --- a/packages/core/src/metadata/resource_loading.ts +++ b/packages/core/src/metadata/resource_loading.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata/schema.ts b/packages/core/src/metadata/schema.ts index 7fa3e3f1b0..9850f69ac0 100644 --- a/packages/core/src/metadata/schema.ts +++ b/packages/core/src/metadata/schema.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/metadata/view.ts b/packages/core/src/metadata/view.ts index 08406a5c7e..fbc5f492cd 100644 --- a/packages/core/src/metadata/view.ts +++ b/packages/core/src/metadata/view.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/platform_core_providers.ts b/packages/core/src/platform_core_providers.ts index 2d8e7d38fc..1324e4df67 100644 --- a/packages/core/src/platform_core_providers.ts +++ b/packages/core/src/platform_core_providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/r3_symbols.ts b/packages/core/src/r3_symbols.ts index 28833b367b..391bb8bf56 100644 --- a/packages/core/src/r3_symbols.ts +++ b/packages/core/src/r3_symbols.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/reflection/platform_reflection_capabilities.ts b/packages/core/src/reflection/platform_reflection_capabilities.ts index 6d4ef3384c..60a948ccdb 100644 --- a/packages/core/src/reflection/platform_reflection_capabilities.ts +++ b/packages/core/src/reflection/platform_reflection_capabilities.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/reflection/reflection.ts b/packages/core/src/reflection/reflection.ts index abbe8727b2..99faf28559 100644 --- a/packages/core/src/reflection/reflection.ts +++ b/packages/core/src/reflection/reflection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/reflection/reflection_capabilities.ts b/packages/core/src/reflection/reflection_capabilities.ts index 32a5112659..cd5a155c40 100644 --- a/packages/core/src/reflection/reflection_capabilities.ts +++ b/packages/core/src/reflection/reflection_capabilities.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,7 +25,7 @@ export const INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/; export const INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/; export const INHERITED_CLASS_WITH_DELEGATE_CTOR = - /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/; + /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/; /** * Determine whether a stringified type is a class which delegates its constructor diff --git a/packages/core/src/reflection/reflector.ts b/packages/core/src/reflection/reflector.ts index c8ec7710df..a8e2b15643 100644 --- a/packages/core/src/reflection/reflector.ts +++ b/packages/core/src/reflection/reflector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/reflection/types.ts b/packages/core/src/reflection/types.ts index 73297f9164..661226a4dd 100644 --- a/packages/core/src/reflection/types.ts +++ b/packages/core/src/reflection/types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render.ts b/packages/core/src/render.ts index 3f9b74ccc6..aaa255c8c2 100644 --- a/packages/core/src/render.ts +++ b/packages/core/src/render.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render/api.ts b/packages/core/src/render/api.ts index f0d55e6d8b..15aef7cec4 100644 --- a/packages/core/src/render/api.ts +++ b/packages/core/src/render/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/assert.ts b/packages/core/src/render3/assert.ts index d643d31414..ab82f9a85a 100644 --- a/packages/core/src/render3/assert.ts +++ b/packages/core/src/render3/assert.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/bindings.ts b/packages/core/src/render3/bindings.ts index e9e3edefc5..333bff96d6 100644 --- a/packages/core/src/render3/bindings.ts +++ b/packages/core/src/render3/bindings.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/component.ts b/packages/core/src/render3/component.ts index c923209584..3bd154914f 100644 --- a/packages/core/src/render3/component.ts +++ b/packages/core/src/render3/component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -177,7 +177,7 @@ export function createRootComponentView( const tNode: TElementNode = getOrCreateTNode(tView, null, 0, TNodeType.Element, null, null); const mergedAttrs = tNode.mergedAttrs = def.hostAttrs; if (mergedAttrs !== null) { - computeStaticStyling(tNode, mergedAttrs); + computeStaticStyling(tNode, mergedAttrs, true); if (rNode !== null) { setUpAttributes(hostRenderer, rNode, mergedAttrs); if (tNode.classes !== null) { diff --git a/packages/core/src/render3/component_ref.ts b/packages/core/src/render3/component_ref.ts index 32360bbd1e..58a22cd490 100644 --- a/packages/core/src/render3/component_ref.ts +++ b/packages/core/src/render3/component_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,10 +26,11 @@ import {getComponentDef} from './definition'; import {NodeInjector} from './di'; import {assignTViewNodeToLView, createLView, createTView, elementCreate, locateHostElement, renderView} from './instructions/shared'; import {ComponentDef} from './interfaces/definition'; -import {TContainerNode, TElementContainerNode, TElementNode, TNode} from './interfaces/node'; +import {TContainerNode, TElementContainerNode, TElementNode, TNode, TNodeType} from './interfaces/node'; import {domRendererFactory3, RendererFactory3, RNode} from './interfaces/renderer'; import {LView, LViewFlags, TVIEW, TViewType} from './interfaces/view'; import {MATH_ML_NAMESPACE, SVG_NAMESPACE} from './namespaces'; +import {assertNodeOfPossibleTypes} from './node_assert'; import {writeDirectClass} from './node_manipulation'; import {extractAttrsAndClassesFromSelector, stringifyCSSSelectorList} from './node_selector_matcher'; import {enterView, leaveView} from './state'; @@ -158,14 +159,6 @@ export class ComponentFactory extends viewEngine_ComponentFactory { const rootFlags = this.componentDef.onPush ? LViewFlags.Dirty | LViewFlags.IsRoot : LViewFlags.CheckAlways | LViewFlags.IsRoot; - - // Check whether this Component needs to be isolated from other components, i.e. whether it - // should be placed into its own (empty) root context or existing root context should be used. - // Note: this is internal-only convention and might change in the future, so it should not be - // relied upon externally. - const isIsolated = typeof rootSelectorOrNode === 'string' && - /^#root-ng-internal-isolated-\d+/.test(rootSelectorOrNode); - const rootContext = createRootContext(); // Create the root view. Uses empty TView and ContentTemplate. @@ -235,11 +228,10 @@ export class ComponentFactory extends viewEngine_ComponentFactory { this.componentType, component, createElementRef(viewEngine_ElementRef, tElementNode, rootLView), rootLView, tElementNode); - if (!rootSelectorOrNode || isIsolated) { - // The host element of the internal or isolated root view is attached to the component's host - // view node. - componentRef.hostView._tViewNode!.child = tElementNode; - } + // The host element of the internal root view is attached to the component's host view node. + ngDevMode && assertNodeOfPossibleTypes(rootTView.node, TNodeType.View); + rootTView.node!.child = tElementNode; + return componentRef; } } @@ -283,7 +275,7 @@ export class ComponentRef extends viewEngine_ComponentRef { super(); this.instance = instance; this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView); - this.hostView._tViewNode = assignTViewNodeToLView(_rootLView[TVIEW], null, -1, _rootLView); + assignTViewNodeToLView(_rootLView[TVIEW], null, -1, _rootLView); this.componentType = componentType; } diff --git a/packages/core/src/render3/context_discovery.ts b/packages/core/src/render3/context_discovery.ts index c7da4fc3ab..bbd6a62c92 100644 --- a/packages/core/src/render3/context_discovery.ts +++ b/packages/core/src/render3/context_discovery.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/definition.ts b/packages/core/src/render3/definition.ts index f4a7fedce7..829e04a999 100644 --- a/packages/core/src/render3/definition.ts +++ b/packages/core/src/render3/definition.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/di.ts b/packages/core/src/render3/di.ts index 14a40667cd..0ce15a35ad 100644 --- a/packages/core/src/render3/di.ts +++ b/packages/core/src/render3/di.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -657,16 +657,31 @@ export function ɵɵgetFactoryOf(type: Type): FactoryFn|null { */ export function ɵɵgetInheritedFactory(type: Type): (type: Type) => T { return noSideEffects(() => { - const proto = Object.getPrototypeOf(type.prototype).constructor as Type; - const factory = (proto as any)[NG_FACTORY_DEF] || ɵɵgetFactoryOf(proto); - if (factory !== null) { - return factory; - } else { - // There is no factory defined. Either this was improper usage of inheritance - // (no Angular decorator on the superclass) or there is no constructor at all - // in the inheritance chain. Since the two cases cannot be distinguished, the - // latter has to be assumed. - return (t) => new t(); + const ownConstructor = type.prototype.constructor; + const ownFactory = ownConstructor[NG_FACTORY_DEF] || ɵɵgetFactoryOf(ownConstructor); + const objectPrototype = Object.prototype; + let parent = Object.getPrototypeOf(type.prototype).constructor; + + // Go up the prototype until we hit `Object`. + while (parent && parent !== objectPrototype) { + const factory = parent[NG_FACTORY_DEF] || ɵɵgetFactoryOf(parent); + + // If we hit something that has a factory and the factory isn't the same as the type, + // we've found the inherited factory. Note the check that the factory isn't the type's + // own factory is redundant in most cases, but if the user has custom decorators on the + // class, this lookup will start one level down in the prototype chain, causing us to + // find the own factory first and potentially triggering an infinite loop downstream. + if (factory && factory !== ownFactory) { + return factory; + } + + parent = Object.getPrototypeOf(parent); } + + // There is no factory defined. Either this was improper usage of inheritance + // (no Angular decorator on the superclass) or there is no constructor at all + // in the inheritance chain. Since the two cases cannot be distinguished, the + // latter has to be assumed. + return t => new t(); }); } diff --git a/packages/core/src/render3/di_setup.ts b/packages/core/src/render3/di_setup.ts index 5119bc3706..1fe5c98b44 100644 --- a/packages/core/src/render3/di_setup.ts +++ b/packages/core/src/render3/di_setup.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/empty.ts b/packages/core/src/render3/empty.ts index fa7af07343..52382fcf72 100644 --- a/packages/core/src/render3/empty.ts +++ b/packages/core/src/render3/empty.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/errors.ts b/packages/core/src/render3/errors.ts index b1fc6a6457..6373c70dad 100644 --- a/packages/core/src/render3/errors.ts +++ b/packages/core/src/render3/errors.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -115,4 +115,4 @@ export function getExpressionChangedErrorDetails( } } return {propName: undefined, oldValue, newValue}; -} \ No newline at end of file +} diff --git a/packages/core/src/render3/features/copy_definition_feature.ts b/packages/core/src/render3/features/copy_definition_feature.ts index 4cad1d4446..f3b862c4a6 100644 --- a/packages/core/src/render3/features/copy_definition_feature.ts +++ b/packages/core/src/render3/features/copy_definition_feature.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/features/inherit_definition_feature.ts b/packages/core/src/render3/features/inherit_definition_feature.ts index 66b0f689fb..5bdc85dae6 100644 --- a/packages/core/src/render3/features/inherit_definition_feature.ts +++ b/packages/core/src/render3/features/inherit_definition_feature.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -187,4 +187,4 @@ function inheritHostBindings( } else { definition.hostBindings = superHostBindings; } -} \ No newline at end of file +} diff --git a/packages/core/src/render3/features/ng_onchanges_feature.ts b/packages/core/src/render3/features/ng_onchanges_feature.ts index 3e7bf13830..fcb209b502 100644 --- a/packages/core/src/render3/features/ng_onchanges_feature.ts +++ b/packages/core/src/render3/features/ng_onchanges_feature.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/features/providers_feature.ts b/packages/core/src/render3/features/providers_feature.ts index 20bad6c88f..4554ab8d80 100644 --- a/packages/core/src/render3/features/providers_feature.ts +++ b/packages/core/src/render3/features/providers_feature.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/fields.ts b/packages/core/src/render3/fields.ts index 4bc5e8031d..1bac508bc2 100644 --- a/packages/core/src/render3/fields.ts +++ b/packages/core/src/render3/fields.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/global_utils_api.ts b/packages/core/src/render3/global_utils_api.ts index feb419de1d..a8e0776e2b 100644 --- a/packages/core/src/render3/global_utils_api.ts +++ b/packages/core/src/render3/global_utils_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/hooks.ts b/packages/core/src/render3/hooks.ts index 0667d62e23..b1ca90e5d4 100644 --- a/packages/core/src/render3/hooks.ts +++ b/packages/core/src/render3/hooks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/i18n.ts b/packages/core/src/render3/i18n.ts index b8f10aeff1..6c0c5ec7b1 100644 --- a/packages/core/src/render3/i18n.ts +++ b/packages/core/src/render3/i18n.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/index.ts b/packages/core/src/render3/index.ts index 34854caa2f..dcd4b75d0c 100644 --- a/packages/core/src/render3/index.ts +++ b/packages/core/src/render3/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -113,7 +113,6 @@ export { ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, - ɵɵstyleSanitizer, ɵɵtemplate, ɵɵtext, diff --git a/packages/core/src/render3/instructions/advance.ts b/packages/core/src/render3/instructions/advance.ts index a4eabdd557..0abc852850 100644 --- a/packages/core/src/render3/instructions/advance.ts +++ b/packages/core/src/render3/instructions/advance.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/all.ts b/packages/core/src/render3/instructions/all.ts index 435e02cc77..98fec4d2ea 100644 --- a/packages/core/src/render3/instructions/all.ts +++ b/packages/core/src/render3/instructions/all.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/attribute.ts b/packages/core/src/render3/instructions/attribute.ts index 380eec1ba2..3ba7ee3309 100644 --- a/packages/core/src/render3/instructions/attribute.ts +++ b/packages/core/src/render3/instructions/attribute.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {bindingUpdated} from '../bindings'; import {SanitizerFn} from '../interfaces/sanitization'; -import {getLView, getSelectedIndex, getSelectedTNode, getTView, nextBindingIndex} from '../state'; +import {getLView, getSelectedTNode, getTView, nextBindingIndex} from '../state'; import {elementAttributeInternal, storePropertyBindingMetadata} from './shared'; diff --git a/packages/core/src/render3/instructions/attribute_interpolation.ts b/packages/core/src/render3/instructions/attribute_interpolation.ts index 0de336c78a..7d8a0a8350 100644 --- a/packages/core/src/render3/instructions/attribute_interpolation.ts +++ b/packages/core/src/render3/instructions/attribute_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/change_detection.ts b/packages/core/src/render3/instructions/change_detection.ts index c667cfac7c..fb519ec470 100644 --- a/packages/core/src/render3/instructions/change_detection.ts +++ b/packages/core/src/render3/instructions/change_detection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/class_map_interpolation.ts b/packages/core/src/render3/instructions/class_map_interpolation.ts index ff8d38b863..598da87a12 100644 --- a/packages/core/src/render3/instructions/class_map_interpolation.ts +++ b/packages/core/src/render3/instructions/class_map_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/di.ts b/packages/core/src/render3/instructions/di.ts index 5c0be8f079..ce4110fe21 100644 --- a/packages/core/src/render3/instructions/di.ts +++ b/packages/core/src/render3/instructions/di.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/element.ts b/packages/core/src/render3/instructions/element.ts index 8f3f80af1f..83b460de40 100644 --- a/packages/core/src/render3/instructions/element.ts +++ b/packages/core/src/render3/instructions/element.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -39,8 +39,12 @@ function elementStartFirstCreatePass( resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex)); ngDevMode && logUnknownElementError(tView, lView, native, tNode, hasDirectives); + if (tNode.attrs !== null) { + computeStaticStyling(tNode, tNode.attrs, false); + } + if (tNode.mergedAttrs !== null) { - computeStaticStyling(tNode, tNode.mergedAttrs); + computeStaticStyling(tNode, tNode.mergedAttrs, true); } if (tView.queries !== null) { @@ -148,12 +152,12 @@ export function ɵɵelementEnd(): void { } } - if (tNode.classes !== null && hasClassInput(tNode)) { - setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classes, true); + if (tNode.classesWithoutHost != null && hasClassInput(tNode)) { + setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classesWithoutHost, true); } - if (tNode.styles !== null && hasStyleInput(tNode)) { - setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.styles, false); + if (tNode.stylesWithoutHost != null && hasStyleInput(tNode)) { + setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.stylesWithoutHost, false); } } diff --git a/packages/core/src/render3/instructions/element_container.ts b/packages/core/src/render3/instructions/element_container.ts index d7e3549c61..05d5b57052 100644 --- a/packages/core/src/render3/instructions/element_container.ts +++ b/packages/core/src/render3/instructions/element_container.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,7 +33,7 @@ function elementContainerStartFirstCreatePass( // While ng-container doesn't necessarily support styling, we use the style context to identify // and execute directives on the ng-container. if (attrs !== null) { - computeStaticStyling(tNode, attrs); + computeStaticStyling(tNode, attrs, true); } const localRefs = getConstant(tViewConsts, localRefsIndex); diff --git a/packages/core/src/render3/instructions/get_current_view.ts b/packages/core/src/render3/instructions/get_current_view.ts index f8c75ffff3..0a718b2416 100644 --- a/packages/core/src/render3/instructions/get_current_view.ts +++ b/packages/core/src/render3/instructions/get_current_view.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/host_property.ts b/packages/core/src/render3/instructions/host_property.ts index c84ce0cd1f..efff77d42b 100644 --- a/packages/core/src/render3/instructions/host_property.ts +++ b/packages/core/src/render3/instructions/host_property.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/interpolation.ts b/packages/core/src/render3/instructions/interpolation.ts index 8b775b6691..6d542c4448 100644 --- a/packages/core/src/render3/instructions/interpolation.ts +++ b/packages/core/src/render3/instructions/interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/listener.ts b/packages/core/src/render3/instructions/listener.ts index bb0cdc6557..0ed0540288 100644 --- a/packages/core/src/render3/instructions/listener.ts +++ b/packages/core/src/render3/instructions/listener.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/lview_debug.ts b/packages/core/src/render3/instructions/lview_debug.ts index 6beed812e9..1bd45018d0 100644 --- a/packages/core/src/render3/instructions/lview_debug.ts +++ b/packages/core/src/render3/instructions/lview_debug.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,7 +13,7 @@ import {KeyValueArray} from '../../util/array_utils'; import {assertDefined} from '../../util/assert'; import {createNamedArrayType} from '../../util/named_array_type'; import {initNgDevMode} from '../../util/ng_dev_mode'; -import {ACTIVE_INDEX, ActiveIndexFlag, CONTAINER_HEADER_OFFSET, LContainer, MOVED_VIEWS, NATIVE} from '../interfaces/container'; +import {CONTAINER_HEADER_OFFSET, HAS_TRANSPLANTED_VIEWS, LContainer, MOVED_VIEWS, NATIVE} from '../interfaces/container'; import {DirectiveDefList, PipeDefList, ViewQueriesFunction} from '../interfaces/definition'; import {COMMENT_MARKER, ELEMENT_MARKER, I18nMutateOpCode, I18nMutateOpCodes, I18nUpdateOpCode, I18nUpdateOpCodes, TIcu} from '../interfaces/i18n'; import {PropertyAliases, TConstants, TContainerNode, TElementNode, TNode as ITNode, TNodeFlags, TNodeProviderIndexes, TNodeType, TViewNode} from '../interfaces/node'; @@ -23,7 +23,7 @@ import {RComment, RElement, Renderer3, RendererFactory3, RNode} from '../interfa import {getTStylingRangeNext, getTStylingRangeNextDuplicate, getTStylingRangePrev, getTStylingRangePrevDuplicate, TStylingKey, TStylingRange} from '../interfaces/styling'; import {CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_VIEW, DestroyHookData, ExpandoInstructions, FLAGS, HEADER_OFFSET, HookData, HOST, INJECTOR, LView, LViewFlags, NEXT, PARENT, QUERIES, RENDERER, RENDERER_FACTORY, SANITIZER, T_HOST, TData, TVIEW, TView as ITView, TView, TViewType} from '../interfaces/view'; import {attachDebugObject} from '../util/debug_utils'; -import {getLContainerActiveIndex, getTNode, unwrapRNode} from '../util/view_utils'; +import {getTNode, unwrapRNode} from '../util/view_utils'; const NG_DEV_MODE = ((typeof ngDevMode === 'undefined' || !!ngDevMode) && initNgDevMode()); @@ -179,8 +179,10 @@ class TNode implements ITNode { public parent: TElementNode|TContainerNode|null, // public projection: number|(ITNode|RNode[])[]|null, // public styles: string|null, // + public stylesWithoutHost: string|null, // public residualStyles: KeyValueArray|undefined|null, // public classes: string|null, // + public classesWithoutHost: string|null, // public residualClasses: KeyValueArray|undefined|null, // public classBindings: TStylingRange, // public styleBindings: TStylingRange, // @@ -510,12 +512,8 @@ export function buildDebugNode(tNode: ITNode, lView: LView, nodeIndex: number): export class LContainerDebug { constructor(private readonly _raw_lContainer: LContainer) {} - get activeIndex(): number { - return getLContainerActiveIndex(this._raw_lContainer); - } get hasTransplantedViews(): boolean { - return (this._raw_lContainer[ACTIVE_INDEX] & ActiveIndexFlag.HAS_TRANSPLANTED_VIEWS) === - ActiveIndexFlag.HAS_TRANSPLANTED_VIEWS; + return this._raw_lContainer[HAS_TRANSPLANTED_VIEWS]; } get views(): LViewDebug[] { return this._raw_lContainer.slice(CONTAINER_HEADER_OFFSET) diff --git a/packages/core/src/render3/instructions/namespace.ts b/packages/core/src/render3/instructions/namespace.ts index ae423a615a..465b785263 100644 --- a/packages/core/src/render3/instructions/namespace.ts +++ b/packages/core/src/render3/instructions/namespace.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/next_context.ts b/packages/core/src/render3/instructions/next_context.ts index 086762c3c7..457080c52a 100644 --- a/packages/core/src/render3/instructions/next_context.ts +++ b/packages/core/src/render3/instructions/next_context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/projection.ts b/packages/core/src/render3/instructions/projection.ts index c6ded02f7a..24219ba92b 100644 --- a/packages/core/src/render3/instructions/projection.ts +++ b/packages/core/src/render3/instructions/projection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/property.ts b/packages/core/src/render3/instructions/property.ts index ab79a35bcd..565e7441bf 100644 --- a/packages/core/src/render3/instructions/property.ts +++ b/packages/core/src/render3/instructions/property.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/property_interpolation.ts b/packages/core/src/render3/instructions/property_interpolation.ts index 6059d1985b..7e1a51ffc0 100644 --- a/packages/core/src/render3/instructions/property_interpolation.ts +++ b/packages/core/src/render3/instructions/property_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/shared.ts b/packages/core/src/render3/instructions/shared.ts index 2487d4f42d..1ca8a714d7 100644 --- a/packages/core/src/render3/instructions/shared.ts +++ b/packages/core/src/render3/instructions/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,7 +21,7 @@ import {getFactoryDef} from '../definition'; import {diPublicInInjector, getNodeInjectable, getOrCreateNodeInjectorForNode} from '../di'; import {throwMultipleComponentError} from '../errors'; import {executeCheckHooks, executeInitAndCheckHooks, incrementInitPhaseFlags} from '../hooks'; -import {ACTIVE_INDEX, ActiveIndexFlag, CONTAINER_HEADER_OFFSET, LContainer, MOVED_VIEWS} from '../interfaces/container'; +import {CONTAINER_HEADER_OFFSET, HAS_TRANSPLANTED_VIEWS, LContainer, MOVED_VIEWS} from '../interfaces/container'; import {ComponentDef, ComponentTemplate, DirectiveDef, DirectiveDefListOrFactory, PipeDefListOrFactory, RenderFlags, ViewQueriesFunction} from '../interfaces/definition'; import {INJECTOR_BLOOM_PARENT_SIZE, NodeInjectorFactory} from '../interfaces/injector'; import {AttributeMarker, InitialInputData, InitialInputs, LocalRefExtractor, PropertyAliases, PropertyAliasValue, TAttributes, TConstants, TContainerNode, TDirectiveHostNode, TElementContainerNode, TElementNode, TIcuContainerNode, TNode, TNodeFlags, TNodeProviderIndexes, TNodeType, TProjectionNode, TViewNode} from '../interfaces/node'; @@ -29,13 +29,13 @@ import {isProceduralRenderer, RComment, RElement, Renderer3, RendererFactory3, R import {SanitizerFn} from '../interfaces/sanitization'; import {isComponentDef, isComponentHost, isContentQueryHost, isLContainer, isRootView} from '../interfaces/type_checks'; import {CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_COMPONENT_VIEW, DECLARATION_VIEW, FLAGS, HEADER_OFFSET, HOST, InitPhaseState, INJECTOR, LView, LViewFlags, NEXT, PARENT, RENDERER, RENDERER_FACTORY, RootContext, RootContextFlags, SANITIZER, T_HOST, TData, TRANSPLANTED_VIEWS_TO_REFRESH, TVIEW, TView, TViewType} from '../interfaces/view'; -import {assertNodeOfPossibleTypes} from '../node_assert'; +import {assertNodeNotOfTypes, assertNodeOfPossibleTypes} from '../node_assert'; import {isInlineTemplate, isNodeMatchingSelectorList} from '../node_selector_matcher'; import {enterView, getBindingsEnabled, getCheckNoChangesMode, getCurrentDirectiveIndex, getIsParent, getPreviousOrParentTNode, getSelectedIndex, leaveView, setBindingIndex, setBindingRootForHostBindings, setCheckNoChangesMode, setCurrentDirectiveIndex, setCurrentQueryIndex, setPreviousOrParentTNode, setSelectedIndex} from '../state'; import {NO_CHANGE} from '../tokens'; import {isAnimationProp, mergeHostAttrs} from '../util/attrs_utils'; import {INTERPOLATION_DELIMITER, renderStringify, stringifyForError} from '../util/misc_utils'; -import {getLViewParent} from '../util/view_traversal_utils'; +import {getFirstLContainer, getLViewParent, getNextLContainer} from '../util/view_traversal_utils'; import {getComponentLViewByIndex, getNativeByIndex, getNativeByTNode, isCreationMode, readPatchedLView, resetPreOrderHookFlags, unwrapLView, updateTransplantedViewCount, viewAttachedToChangeDetector} from '../util/view_utils'; import {selectIndexInternal} from './advance'; @@ -266,7 +266,7 @@ function createTNodeAtIndex( } export function assignTViewNodeToLView( - tView: TView, tParentNode: TNode|null, index: number, lView: LView): TViewNode { + tView: TView, tParentNode: TNode|null, index: number, lView: LView): void { // View nodes are not stored in data because they can be added / removed at runtime (which // would cause indices to change). Their TNodes are instead stored in tView.node. let tNode = tView.node; @@ -279,7 +279,7 @@ export function assignTViewNodeToLView( TNodeType.View, index, null, null) as TViewNode; } - return lView[T_HOST] = tNode as TViewNode; + lView[T_HOST] = tNode as TViewNode; } @@ -435,7 +435,7 @@ export function refreshView( // insertion points. This is needed to avoid the situation where the template is defined in this // `LView` but its declaration appears after the insertion component. markTransplantedViewsForRefresh(lView); - refreshDynamicEmbeddedViews(lView); + refreshEmbeddedViews(lView); // Content query results must be refreshed before content hooks are called. if (tView.contentQueries !== null) { @@ -851,8 +851,10 @@ export function createTNode( tParent, // parent: TElementNode|TContainerNode|null null, // projection: number|(ITNode|RNode[])[]|null null, // styles: string|null + null, // stylesWithoutHost: string|null undefined, // residualStyles: string|null null, // classes: string|null + null, // classesWithoutHost: string|null undefined, // residualClasses: string|null 0 as any, // classBindings: TStylingRange; 0 as any, // styleBindings: TStylingRange; @@ -881,8 +883,10 @@ export function createTNode( parent: tParent, projection: null, styles: null, + stylesWithoutHost: null, residualStyles: undefined, classes: null, + classesWithoutHost: null, residualClasses: undefined, classBindings: 0 as any, styleBindings: 0 as any, @@ -1480,8 +1484,14 @@ function addComponentLogic(lView: LView, hostTNode: TElementNode, def: Compon export function elementAttributeInternal( tNode: TNode, lView: LView, name: string, value: any, sanitizer: SanitizerFn|null|undefined, namespace: string|null|undefined) { - ngDevMode && assertNotSame(value, NO_CHANGE as any, 'Incoming value should never be NO_CHANGE.'); - ngDevMode && validateAgainstEventAttributes(name); + if (ngDevMode) { + assertNotSame(value, NO_CHANGE as any, 'Incoming value should never be NO_CHANGE.'); + validateAgainstEventAttributes(name); + assertNodeNotOfTypes( + tNode, [TNodeType.Container, TNodeType.ElementContainer], + `Attempted to set attribute \`${name}\` on a container node. ` + + `Host bindings are not valid on ng-container or ng-template.`); + } const element = getNativeByTNode(tNode, lView) as RElement; const renderer = lView[RENDERER]; if (value == null) { @@ -1603,16 +1613,16 @@ export function createLContainer( ngDevMode && !isProceduralRenderer(currentView[RENDERER]) && assertDomNode(native); // https://jsperf.com/array-literal-vs-new-array-really const lContainer: LContainer = new (ngDevMode ? LContainerArray : Array)( - hostNative, // host native - true, // Boolean `true` in this position signifies that this is an `LContainer` - ActiveIndexFlag.DYNAMIC_EMBEDDED_VIEWS_ONLY << ActiveIndexFlag.SHIFT, // active index - currentView, // parent - null, // next - 0, // transplanted views to refresh count - tNode, // t_host - native, // native, - null, // view refs - null, // moved views + hostNative, // host native + true, // Boolean `true` in this position signifies that this is an `LContainer` + false, // has transplanted views + currentView, // parent + null, // next + 0, // transplanted views to refresh count + tNode, // t_host + native, // native, + null, // view refs + null, // moved views ); ngDevMode && assertEqual( @@ -1623,10 +1633,10 @@ export function createLContainer( } /** - * Goes over dynamic embedded views (ones created through ViewContainerRef APIs) and refreshes + * Goes over embedded views (ones created through ViewContainerRef APIs) and refreshes * them by executing an associated template function. */ -function refreshDynamicEmbeddedViews(lView: LView) { +function refreshEmbeddedViews(lView: LView) { for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) { for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) { @@ -1640,63 +1650,32 @@ function refreshDynamicEmbeddedViews(lView: LView) { } } -/** - * Gets the first `LContainer` in the LView or `null` if none exists. - */ -function getFirstLContainer(lView: LView): LContainer|null { - let viewOrContainer = lView[CHILD_HEAD]; - while (viewOrContainer !== null && - !(isLContainer(viewOrContainer) && - viewOrContainer[ACTIVE_INDEX] >> ActiveIndexFlag.SHIFT === - ActiveIndexFlag.DYNAMIC_EMBEDDED_VIEWS_ONLY)) { - viewOrContainer = viewOrContainer[NEXT]; - } - return viewOrContainer; -} - -/** - * Gets the next `LContainer` that is a sibling of the given container. - */ -function getNextLContainer(container: LContainer): LContainer|null { - let viewOrContainer = container[NEXT]; - while (viewOrContainer !== null && - !(isLContainer(viewOrContainer) && - viewOrContainer[ACTIVE_INDEX] >> ActiveIndexFlag.SHIFT === - ActiveIndexFlag.DYNAMIC_EMBEDDED_VIEWS_ONLY)) { - viewOrContainer = viewOrContainer[NEXT]; - } - return viewOrContainer; -} - /** * Mark transplanted views as needing to be refreshed at their insertion points. * - * See: `ActiveIndexFlag.HAS_TRANSPLANTED_VIEWS` and `LView[DECLARATION_COMPONENT_VIEW]` for - * explanation of transplanted views. - * * @param lView The `LView` that may have transplanted views. */ function markTransplantedViewsForRefresh(lView: LView) { for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) { - if ((lContainer[ACTIVE_INDEX] & ActiveIndexFlag.HAS_TRANSPLANTED_VIEWS) !== 0) { - const movedViews = lContainer[MOVED_VIEWS]!; - ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS'); - for (let i = 0; i < movedViews.length; i++) { - const movedLView = movedViews[i]!; - const insertionLContainer = movedLView[PARENT] as LContainer; - ngDevMode && assertLContainer(insertionLContainer); - // We don't want to increment the counter if the moved LView was already marked for - // refresh. - if ((movedLView[FLAGS] & LViewFlags.RefreshTransplantedView) === 0) { - updateTransplantedViewCount(insertionLContainer, 1); - } - // Note, it is possible that the `movedViews` is tracking views that are transplanted *and* - // those that aren't (declaration component === insertion component). In the latter case, - // it's fine to add the flag, as we will clear it immediately in - // `refreshDynamicEmbeddedViews` for the view currently being refreshed. - movedLView[FLAGS] |= LViewFlags.RefreshTransplantedView; + if (!lContainer[HAS_TRANSPLANTED_VIEWS]) continue; + + const movedViews = lContainer[MOVED_VIEWS]!; + ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS'); + for (let i = 0; i < movedViews.length; i++) { + const movedLView = movedViews[i]!; + const insertionLContainer = movedLView[PARENT] as LContainer; + ngDevMode && assertLContainer(insertionLContainer); + // We don't want to increment the counter if the moved LView was already marked for + // refresh. + if ((movedLView[FLAGS] & LViewFlags.RefreshTransplantedView) === 0) { + updateTransplantedViewCount(insertionLContainer, 1); } + // Note, it is possible that the `movedViews` is tracking views that are transplanted *and* + // those that aren't (declaration component === insertion component). In the latter case, + // it's fine to add the flag, as we will clear it immediately in + // `refreshEmbeddedViews` for the view currently being refreshed. + movedLView[FLAGS] |= LViewFlags.RefreshTransplantedView; } } } diff --git a/packages/core/src/render3/instructions/storage.ts b/packages/core/src/render3/instructions/storage.ts index c373e912cc..ea1cf2fd7a 100644 --- a/packages/core/src/render3/instructions/storage.ts +++ b/packages/core/src/render3/instructions/storage.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/style_map_interpolation.ts b/packages/core/src/render3/instructions/style_map_interpolation.ts index 50df13b4ca..42466eec0d 100644 --- a/packages/core/src/render3/instructions/style_map_interpolation.ts +++ b/packages/core/src/render3/instructions/style_map_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/style_prop_interpolation.ts b/packages/core/src/render3/instructions/style_prop_interpolation.ts index 86eaff4cb5..edb4dd2f48 100644 --- a/packages/core/src/render3/instructions/style_prop_interpolation.ts +++ b/packages/core/src/render3/instructions/style_prop_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/styling.ts b/packages/core/src/render3/instructions/styling.ts index 3d6f09321e..e5daab9dc6 100644 --- a/packages/core/src/render3/instructions/styling.ts +++ b/packages/core/src/render3/instructions/styling.ts @@ -1,14 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {SafeValue, unwrapSafeValue} from '../../sanitization/bypass'; -import {stylePropNeedsSanitization, ɵɵsanitizeStyle} from '../../sanitization/sanitization'; -import {StyleSanitizeFn} from '../../sanitization/style_sanitizer'; import {KeyValueArray, keyValueArrayGet, keyValueArraySet} from '../../util/array_utils'; import {assertDefined, assertEqual, assertLessThan, assertNotEqual, throwError} from '../../util/assert'; import {EMPTY_ARRAY} from '../../util/empty'; @@ -18,11 +16,10 @@ import {bindingUpdated} from '../bindings'; import {DirectiveDef} from '../interfaces/definition'; import {AttributeMarker, TAttributes, TNode, TNodeFlags, TNodeType} from '../interfaces/node'; import {RElement, Renderer3} from '../interfaces/renderer'; -import {SanitizerFn} from '../interfaces/sanitization'; import {getTStylingRangeNext, getTStylingRangeNextDuplicate, getTStylingRangePrev, getTStylingRangePrevDuplicate, TStylingKey, TStylingRange} from '../interfaces/styling'; import {HEADER_OFFSET, LView, RENDERER, TData, TView} from '../interfaces/view'; import {applyStyling} from '../node_manipulation'; -import {getCurrentDirectiveDef, getCurrentStyleSanitizer, getLView, getSelectedIndex, getTView, incrementBindingIndex, setCurrentStyleSanitizer} from '../state'; +import {getCurrentDirectiveDef, getLView, getSelectedIndex, getTView, incrementBindingIndex} from '../state'; import {insertTStylingBinding} from '../styling/style_binding_list'; import {getLastParsedKey, getLastParsedValue, parseClassName, parseClassNameNext, parseStyle, parseStyleNext} from '../styling/styling_parser'; import {NO_CHANGE} from '../tokens'; @@ -31,26 +28,6 @@ import {getNativeByIndex} from '../util/view_utils'; import {setDirectiveInputsWhichShadowsStyling} from './property'; -/** - * Sets the current style sanitizer function which will then be used - * within all follow-up prop and map-based style binding instructions - * for the given element. - * - * Note that once styling has been applied to the element (i.e. once - * `advance(n)` is executed or the hostBindings/template function exits) - * then the active `sanitizerFn` will be set to `null`. This means that - * once styling is applied to another element then a another call to - * `styleSanitizer` will need to be made. - * - * @param sanitizerFn The sanitization function that will be used to - * process style prop/value entries. - * - * @codeGenApi - */ -export function ɵɵstyleSanitizer(sanitizer: StyleSanitizeFn|null): void { - setCurrentStyleSanitizer(sanitizer); -} - /** * Update a style binding on an element with the provided value. * @@ -64,8 +41,6 @@ export function ɵɵstyleSanitizer(sanitizer: StyleSanitizeFn|null): void { * @param prop A valid CSS property. * @param value New value to write (`null` or an empty string to remove). * @param suffix Optional suffix. Used with scalar values to add unit such as `px`. - * Note that when a suffix is provided then the underlying sanitizer will - * be ignored. * * Note that this will apply the provided style value to the host element if this function is called * within a host binding function. @@ -183,11 +158,11 @@ export function classStringParser(keyValueArray: KeyValueArray, text: strin * * @param prop property name. * @param value binding value. - * @param suffixOrSanitizer suffix or sanitization function + * @param suffix suffix for the property (e.g. `em` or `px`) * @param isClassBased `true` if `class` change (`false` if `style`) */ export function checkStylingProperty( - prop: string, value: any|NO_CHANGE, suffixOrSanitizer: SanitizerFn|string|undefined|null, + prop: string, value: any|NO_CHANGE, suffix: string|undefined|null, isClassBased: boolean): void { const lView = getLView(); const tView = getTView(); @@ -199,19 +174,10 @@ export function checkStylingProperty( stylingFirstUpdatePass(tView, prop, bindingIndex, isClassBased); } if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) { - // This is a work around. Once PR#34480 lands the sanitizer is passed explicitly and this line - // can be removed. - let styleSanitizer: StyleSanitizeFn|null; - if (suffixOrSanitizer == null) { - if (styleSanitizer = getCurrentStyleSanitizer()) { - suffixOrSanitizer = styleSanitizer as any; - } - } const tNode = tView.data[getSelectedIndex() + HEADER_OFFSET] as TNode; updateStyling( tView, tNode, lView, lView[RENDERER], prop, - lView[bindingIndex + 1] = normalizeAndApplySuffixOrSanitizer(value, suffixOrSanitizer), - isClassBased, bindingIndex); + lView[bindingIndex + 1] = normalizeSuffix(value, suffix), isClassBased, bindingIndex); } } @@ -219,9 +185,7 @@ export function checkStylingProperty( * Common code between `ɵɵclassMap` and `ɵɵstyleMap`. * * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a - * function so that - * `style` can pass in version which does sanitization. This is done for tree shaking - * purposes. + * function so that `style` can be processed. This is done for tree shaking purposes. * @param stringParser Parser used to parse `value` if `string`. (Passed in as `style` and `class` * have different parsers.) * @param value bound value from application @@ -257,7 +221,7 @@ export function checkStylingMap( // the binding has removed it. This would confuse `[ngStyle]`/`[ngClass]` to do the wrong // thing as it would think that the static portion was removed. For this reason we // concatenate it so that `[ngStyle]`/`[ngClass]` can continue to work on changed. - let staticPrefix = isClassBased ? tNode.classes : tNode.styles; + let staticPrefix = isClassBased ? tNode.classesWithoutHost : tNode.stylesWithoutHost; ngDevMode && isClassBased === false && staticPrefix !== null && assertEqual( staticPrefix.endsWith(';'), true, 'Expecting static portion to end with \';\''); @@ -605,9 +569,8 @@ function collectStylingFromTAttrs( * keep additional `Map` to keep track of duplicates or items which have not yet been visited. * * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a - * function so that - * `style` can pass in version which does sanitization. This is done for tree shaking - * purposes. + * function so that `style` can be processed. This is done + * for tree shaking purposes. * @param stringParser The parser is passed in so that it will be tree shakable. See * `styleStringParser` and `classStringParser` * @param value The value to parse/convert to `KeyValueArray` @@ -639,19 +602,16 @@ export function toStylingKeyValueArray( } /** - * Set a `value` for a `key` taking style sanitization into account. + * Set a `value` for a `key`. * * See: `keyValueArraySet` for details * * @param keyValueArray KeyValueArray to add to. - * @param key Style key to add. (This key will be checked if it needs sanitization) - * @param value The value to set (If key needs sanitization it will be sanitized) + * @param key Style key to add. + * @param value The value to set. */ export function styleKeyValueArraySet(keyValueArray: KeyValueArray, key: string, value: any) { - if (stylePropNeedsSanitization(key)) { - value = ɵɵsanitizeStyle(value); - } - keyValueArraySet(keyValueArray, key, value); + keyValueArraySet(keyValueArray, key, unwrapSafeValue(value)); } /** @@ -784,10 +744,7 @@ function updateStyling( * NOTE: The styling stores two values. * 1. The raw value which came from the application is stored at `index + 0` location. (This value * is used for dirty checking). - * 2. The normalized value (converted to `KeyValueArray` if map and sanitized) is stored at `index + - * 1`. - * The advantage of storing the sanitized value is that once the value is written we don't need - * to worry about sanitizing it later or keeping track of the sanitizer. + * 2. The normalized value is stored at `index + 1`. * * @param tData `TData` used for traversing the priority. * @param tNode `TNode` to use for resolving static styling. Also controls search direction. @@ -867,22 +824,17 @@ function isStylingValuePresent(value: any): boolean { } /** - * Sanitizes or adds suffix to the value. + * Normalizes and/or adds a suffix to the value. * * If value is `null`/`undefined` no suffix is added * @param value - * @param suffixOrSanitizer + * @param suffix */ -function normalizeAndApplySuffixOrSanitizer( - value: any, suffixOrSanitizer: SanitizerFn|string|undefined|null): string|null|undefined| - boolean { +function normalizeSuffix(value: any, suffix: string|undefined|null): string|null|undefined|boolean { if (value == null /** || value === undefined */) { // do nothing - } else if (typeof suffixOrSanitizer === 'function') { - // sanitize the value. - value = suffixOrSanitizer(value); - } else if (typeof suffixOrSanitizer === 'string') { - value = value + suffixOrSanitizer; + } else if (typeof suffix === 'string') { + value = value + suffix; } else if (typeof value === 'object') { value = stringify(unwrapSafeValue(value)); } diff --git a/packages/core/src/render3/instructions/template.ts b/packages/core/src/render3/instructions/template.ts index 6e9273e2f7..a21594ae62 100644 --- a/packages/core/src/render3/instructions/template.ts +++ b/packages/core/src/render3/instructions/template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -95,4 +95,4 @@ export function ɵɵtemplate( if (localRefsIndex != null) { saveResolvedLocalsInData(lView, tNode, localRefExtractor); } -} \ No newline at end of file +} diff --git a/packages/core/src/render3/instructions/text.ts b/packages/core/src/render3/instructions/text.ts index a6ab933822..a98d9df165 100644 --- a/packages/core/src/render3/instructions/text.ts +++ b/packages/core/src/render3/instructions/text.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/instructions/text_interpolation.ts b/packages/core/src/render3/instructions/text_interpolation.ts index db25d4d52a..d66a595a4d 100644 --- a/packages/core/src/render3/instructions/text_interpolation.ts +++ b/packages/core/src/render3/instructions/text_interpolation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/container.ts b/packages/core/src/render3/interfaces/container.ts index 532657940e..eef45aefdd 100644 --- a/packages/core/src/render3/interfaces/container.ts +++ b/packages/core/src/render3/interfaces/container.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,7 +26,16 @@ export const TYPE = 1; * without having to remember the specific indices. * Uglify will inline these when minifying so there shouldn't be a cost. */ -export const ACTIVE_INDEX = 2; + +/** + * Flag to signify that this `LContainer` may have transplanted views which need to be change + * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`. + * + * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip + * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify + * that the `MOVED_VIEWS` are transplanted and on-push. + */ +export const HAS_TRANSPLANTED_VIEWS = 2; // PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5 // As we already have these constants in LView, we don't need to re-create them. @@ -47,32 +56,6 @@ export const MOVED_VIEWS = 9; */ export const CONTAINER_HEADER_OFFSET = 10; - -/** - * Used to track Transplanted `LView`s (see: `LView[DECLARATION_COMPONENT_VIEW])` - */ -export const enum ActiveIndexFlag { - /** - * Flag which signifies that the `LContainer` does not have any inline embedded views. - */ - DYNAMIC_EMBEDDED_VIEWS_ONLY = -1, - - /** - * Flag to signify that this `LContainer` may have transplanted views which need to be change - * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`. - * - * This flag once set is never unset for the `LContainer`. This means that when unset we can skip - * a lot of work in `refreshDynamicEmbeddedViews`. But when set we still need to verify - * that the `MOVED_VIEWS` are transplanted and on-push. - */ - HAS_TRANSPLANTED_VIEWS = 1, - - /** - * Number of bits to shift inline embedded views counter to make space for other flags. - */ - SHIFT = 1, -} - /** * The state associated with a container. * @@ -97,16 +80,12 @@ export interface LContainer extends Array { [TYPE]: true; /** - * The next active index in the views array to read or write to. This helps us - * keep track of where we are in the views array. - * In the case the LContainer is created for a ViewContainerRef, - * it is set to null to identify this scenario, as indices are "absolute" in that case, - * i.e. provided directly by the user of the ViewContainerRef API. + * Flag to signify that this `LContainer` may have transplanted views which need to be change + * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`. * - * The lowest bit signals that this `LContainer` has transplanted views which need to be change - * detected as part of the declaration CD. (See `LView[DECLARATION_COMPONENT_VIEW]`) + * This flag, once set, is never unset for the `LContainer`. */ - [ACTIVE_INDEX]: ActiveIndexFlag; + [HAS_TRANSPLANTED_VIEWS]: boolean; /** * Access to the parent view is necessary so we can propagate back diff --git a/packages/core/src/render3/interfaces/context.ts b/packages/core/src/render3/interfaces/context.ts index 5bf23e10e7..3f39c0c592 100644 --- a/packages/core/src/render3/interfaces/context.ts +++ b/packages/core/src/render3/interfaces/context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/definition.ts b/packages/core/src/render3/interfaces/definition.ts index 31ea33b9da..a2ac00150a 100644 --- a/packages/core/src/render3/interfaces/definition.ts +++ b/packages/core/src/render3/interfaces/definition.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/document.ts b/packages/core/src/render3/interfaces/document.ts index 30ca7fbf0f..34a7164455 100644 --- a/packages/core/src/render3/interfaces/document.ts +++ b/packages/core/src/render3/interfaces/document.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/i18n.ts b/packages/core/src/render3/interfaces/i18n.ts index 4143415f42..abb5327c86 100644 --- a/packages/core/src/render3/interfaces/i18n.ts +++ b/packages/core/src/render3/interfaces/i18n.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/injector.ts b/packages/core/src/render3/interfaces/injector.ts index 270c38b816..4ec1f234d5 100644 --- a/packages/core/src/render3/interfaces/injector.ts +++ b/packages/core/src/render3/interfaces/injector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/node.ts b/packages/core/src/render3/interfaces/node.ts index a60d7d5f80..edee2c11fd 100644 --- a/packages/core/src/render3/interfaces/node.ts +++ b/packages/core/src/render3/interfaces/node.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -502,14 +502,30 @@ export interface TNode { projection: (TNode|RNode[])[]|number|null; /** - * A collection of all style static values for an element. + * A collection of all `style` static values for an element (including from host). * * This field will be populated if and when: * - * - There are one or more initial styles on an element (e.g. `
    `) + * - There are one or more initial `style`s on an element (e.g. `
    `) + * - There are one or more initial `style`s on a directive/component host + * (e.g. `@Directive({host: {style: "width:200px;" } }`) */ styles: string|null; + + /** + * A collection of all `style` static values for an element excluding host sources. + * + * Populated when there are one or more initial `style`s on an element + * (e.g. `
    `) + * Must be stored separately from `tNode.styles` to facilitate setting directive + * inputs that shadow the `style` property. If we used `tNode.styles` as is for shadowed inputs, + * we would feed host styles back into directives as "inputs". If we used `tNode.attrs`, we would + * have to concatenate the attributes on every template pass. Instead, we process once on first + * create pass and store here. + */ + stylesWithoutHost: string|null; + /** * A `KeyValueArray` version of residual `styles`. * @@ -540,14 +556,29 @@ export interface TNode { residualStyles: KeyValueArray|undefined|null; /** - * A collection of all class static values for an element. + * A collection of all class static values for an element (including from host). * * This field will be populated if and when: * * - There are one or more initial classes on an element (e.g. `
    `) + * - There are one or more initial classes on an directive/component host + * (e.g. `@Directive({host: {class: "SOME_CLASS" } }`) */ classes: string|null; + /** + * A collection of all class static values for an element excluding host sources. + * + * Populated when there are one or more initial classes on an element + * (e.g. `
    `) + * Must be stored separately from `tNode.classes` to facilitate setting directive + * inputs that shadow the `class` property. If we used `tNode.classes` as is for shadowed inputs, + * we would feed host classes back into directives as "inputs". If we used `tNode.attrs`, we would + * have to concatenate the attributes on every template pass. Instead, we process once on first + * create pass and store here. + */ + classesWithoutHost: string|null; + /** * A `KeyValueArray` version of residual `classes`. * diff --git a/packages/core/src/render3/interfaces/player.ts b/packages/core/src/render3/interfaces/player.ts index 37620de211..cd4c518796 100644 --- a/packages/core/src/render3/interfaces/player.ts +++ b/packages/core/src/render3/interfaces/player.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/projection.ts b/packages/core/src/render3/interfaces/projection.ts index 1ef2c6bca4..b9c7af5f09 100644 --- a/packages/core/src/render3/interfaces/projection.ts +++ b/packages/core/src/render3/interfaces/projection.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/query.ts b/packages/core/src/render3/interfaces/query.ts index e184fa4256..f189a93d29 100644 --- a/packages/core/src/render3/interfaces/query.ts +++ b/packages/core/src/render3/interfaces/query.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {InjectionToken} from '../../di/injection_token'; import {Type} from '../../interface/type'; import {QueryList} from '../../linker/query_list'; @@ -16,7 +17,7 @@ import {TView} from './view'; * An object representing query metadata extracted from query annotations. */ export interface TQueryMetadata { - predicate: Type|string[]; + predicate: Type|InjectionToken|string[]; descendants: boolean; read: any; isStatic: boolean; diff --git a/packages/core/src/render3/interfaces/renderer.ts b/packages/core/src/render3/interfaces/renderer.ts index b34f5195eb..f2cd45492e 100644 --- a/packages/core/src/render3/interfaces/renderer.ts +++ b/packages/core/src/render3/interfaces/renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/sanitization.ts b/packages/core/src/render3/interfaces/sanitization.ts index e329c03024..886ff809c9 100644 --- a/packages/core/src/render3/interfaces/sanitization.ts +++ b/packages/core/src/render3/interfaces/sanitization.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/styling.ts b/packages/core/src/render3/interfaces/styling.ts index 050b9756a3..5b84025829 100644 --- a/packages/core/src/render3/interfaces/styling.ts +++ b/packages/core/src/render3/interfaces/styling.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -215,4 +215,4 @@ export function getTStylingRangeTail(tStylingRange: TStylingRange): number { ngDevMode && assertNumber(tStylingRange, 'expected number'); const next = getTStylingRangeNext(tStylingRange); return next === 0 ? getTStylingRangePrev(tStylingRange) : next; -} \ No newline at end of file +} diff --git a/packages/core/src/render3/interfaces/type_checks.ts b/packages/core/src/render3/interfaces/type_checks.ts index 875c409466..a00e47bd55 100644 --- a/packages/core/src/render3/interfaces/type_checks.ts +++ b/packages/core/src/render3/interfaces/type_checks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/interfaces/view.ts b/packages/core/src/render3/interfaces/view.ts index 0d02144c84..b51d1976f9 100644 --- a/packages/core/src/render3/interfaces/view.ts +++ b/packages/core/src/render3/interfaces/view.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -262,7 +262,7 @@ export interface LView extends Array { * * see also: * - https://hackmd.io/@mhevery/rJUJsvv9H write up of the problem - * - `LContainer[ACTIVE_INDEX]` for flag which marks which `LContainer` has transplanted views. + * - `LContainer[HAS_TRANSPLANTED_VIEWS]` which marks which `LContainer` has transplanted views. * - `LContainer[TRANSPLANT_HEAD]` and `LContainer[TRANSPLANT_TAIL]` storage for transplanted * - `LView[DECLARATION_LCONTAINER]` similar problem for queries * - `LContainer[MOVED_VIEWS]` similar problem for queries diff --git a/packages/core/src/render3/jit/directive.ts b/packages/core/src/render3/jit/directive.ts index 0397485773..1b214edd79 100644 --- a/packages/core/src/render3/jit/directive.ts +++ b/packages/core/src/render3/jit/directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/jit/environment.ts b/packages/core/src/render3/jit/environment.ts index 11ae78c872..1377ff40c7 100644 --- a/packages/core/src/render3/jit/environment.ts +++ b/packages/core/src/render3/jit/environment.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -133,7 +133,6 @@ export const angularCoreEnv: {[name: string]: Function} = 'ɵɵstylePropInterpolate7': r3.ɵɵstylePropInterpolate7, 'ɵɵstylePropInterpolate8': r3.ɵɵstylePropInterpolate8, 'ɵɵstylePropInterpolateV': r3.ɵɵstylePropInterpolateV, - 'ɵɵstyleSanitizer': r3.ɵɵstyleSanitizer, 'ɵɵclassProp': r3.ɵɵclassProp, 'ɵɵselect': r3.ɵɵselect, 'ɵɵadvance': r3.ɵɵadvance, @@ -164,7 +163,6 @@ export const angularCoreEnv: {[name: string]: Function} = 'ɵɵsanitizeHtml': sanitization.ɵɵsanitizeHtml, 'ɵɵsanitizeStyle': sanitization.ɵɵsanitizeStyle, - 'ɵɵdefaultStyleSanitizer': sanitization.ɵɵdefaultStyleSanitizer, 'ɵɵsanitizeResourceUrl': sanitization.ɵɵsanitizeResourceUrl, 'ɵɵsanitizeScript': sanitization.ɵɵsanitizeScript, 'ɵɵsanitizeUrl': sanitization.ɵɵsanitizeUrl, diff --git a/packages/core/src/render3/jit/jit_options.ts b/packages/core/src/render3/jit/jit_options.ts index 2c291ff345..a7a862fe6d 100644 --- a/packages/core/src/render3/jit/jit_options.ts +++ b/packages/core/src/render3/jit/jit_options.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/jit/module.ts b/packages/core/src/render3/jit/module.ts index 375c17322d..be8864bfc3 100644 --- a/packages/core/src/render3/jit/module.ts +++ b/packages/core/src/render3/jit/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/jit/pipe.ts b/packages/core/src/render3/jit/pipe.ts index 46975ae2ba..e5f14732b1 100644 --- a/packages/core/src/render3/jit/pipe.ts +++ b/packages/core/src/render3/jit/pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/metadata.ts b/packages/core/src/render3/metadata.ts index 919b4ed375..4ae9c92fda 100644 --- a/packages/core/src/render3/metadata.ts +++ b/packages/core/src/render3/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/namespaces.ts b/packages/core/src/render3/namespaces.ts index 05d38f6599..9df5972718 100644 --- a/packages/core/src/render3/namespaces.ts +++ b/packages/core/src/render3/namespaces.ts @@ -1,10 +1,10 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 const SVG_NAMESPACE = 'http://www.w3.org/2000/svg'; -export const MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/'; \ No newline at end of file +export const MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/'; diff --git a/packages/core/src/render3/ng_module_ref.ts b/packages/core/src/render3/ng_module_ref.ts index 5c6a8c8403..29d19e2b62 100644 --- a/packages/core/src/render3/ng_module_ref.ts +++ b/packages/core/src/render3/ng_module_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/node_assert.ts b/packages/core/src/render3/node_assert.ts index 722c8f4fdc..895c52397d 100644 --- a/packages/core/src/render3/node_assert.ts +++ b/packages/core/src/render3/node_assert.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,7 +26,7 @@ export function assertNodeType(tNode: TNode, type: TNodeType): asserts tNode is assertEqual(tNode.type, type, `should be a ${typeName(type)}`); } -export function assertNodeOfPossibleTypes(tNode: TNode, ...types: TNodeType[]): void { +export function assertNodeOfPossibleTypes(tNode: TNode|null, ...types: TNodeType[]): void { assertDefined(tNode, 'should be called with a TNode'); const found = types.some(type => tNode.type === type); assertEqual( @@ -34,6 +34,15 @@ export function assertNodeOfPossibleTypes(tNode: TNode, ...types: TNodeType[]): `Should be one of ${types.map(typeName).join(', ')} but got ${typeName(tNode.type)}`); } +export function assertNodeNotOfTypes(tNode: TNode, types: TNodeType[], message?: string): void { + assertDefined(tNode, 'should be called with a TNode'); + const found = types.some(type => tNode.type === type); + assertEqual( + found, false, + message ?? + `Should not be one of ${types.map(typeName).join(', ')} but got ${typeName(tNode.type)}`); +} + function typeName(type: TNodeType): string { if (type == TNodeType.Projection) return 'Projection'; if (type == TNodeType.Container) return 'Container'; diff --git a/packages/core/src/render3/node_manipulation.ts b/packages/core/src/render3/node_manipulation.ts index 373c20a97c..4717bb70fd 100644 --- a/packages/core/src/render3/node_manipulation.ts +++ b/packages/core/src/render3/node_manipulation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,7 +13,7 @@ import {assertDefined, assertDomNode, assertEqual, assertString} from '../util/a import {assertLContainer, assertLView, assertTNodeForLView} from './assert'; import {attachPatchData} from './context_discovery'; -import {ACTIVE_INDEX, ActiveIndexFlag, CONTAINER_HEADER_OFFSET, LContainer, MOVED_VIEWS, NATIVE, unusedValueExportToPlacateAjd as unused1} from './interfaces/container'; +import {CONTAINER_HEADER_OFFSET, HAS_TRANSPLANTED_VIEWS, LContainer, MOVED_VIEWS, NATIVE, unusedValueExportToPlacateAjd as unused1} from './interfaces/container'; import {ComponentDef} from './interfaces/definition'; import {NodeInjectorFactory} from './interfaces/injector'; import {TElementNode, TNode, TNodeFlags, TNodeType, TProjectionNode, TViewNode, unusedValueExportToPlacateAjd as unused2} from './interfaces/node'; @@ -276,7 +276,7 @@ function trackMovedView(declarationContainer: LContainer, lView: LView) { // At this point the declaration-component is not same as insertion-component; this means that // this is a transplanted view. Mark the declared lView as having transplanted views so that // those views can participate in CD. - declarationContainer[ACTIVE_INDEX] |= ActiveIndexFlag.HAS_TRANSPLANTED_VIEWS; + declarationContainer[HAS_TRANSPLANTED_VIEWS] = true; } if (movedViews === null) { declarationContainer[MOVED_VIEWS] = [lView]; diff --git a/packages/core/src/render3/node_selector_matcher.ts b/packages/core/src/render3/node_selector_matcher.ts index 1cf74b409d..8e1bebef8a 100644 --- a/packages/core/src/render3/node_selector_matcher.ts +++ b/packages/core/src/render3/node_selector_matcher.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -438,4 +438,4 @@ export function extractAttrsAndClassesFromSelector(selector: CssSelector): i++; } return {attrs, classes}; -} \ No newline at end of file +} diff --git a/packages/core/src/render3/node_util.ts b/packages/core/src/render3/node_util.ts index 3986523990..ab98bbacea 100644 --- a/packages/core/src/render3/node_util.ts +++ b/packages/core/src/render3/node_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/pipe.ts b/packages/core/src/render3/pipe.ts index 5685c39cfb..277268fa04 100644 --- a/packages/core/src/render3/pipe.ts +++ b/packages/core/src/render3/pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/pure_function.ts b/packages/core/src/render3/pure_function.ts index 762837c866..2abb42d10c 100644 --- a/packages/core/src/render3/pure_function.ts +++ b/packages/core/src/render3/pure_function.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/query.ts b/packages/core/src/render3/query.ts index 3286f439b0..0e73f530db 100644 --- a/packages/core/src/render3/query.ts +++ b/packages/core/src/render3/query.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,6 +9,7 @@ // We are temporarily importing the existing viewEngine_from core so we can be sure we are // correctly implementing its interfaces for backwards compatibility. +import {InjectionToken} from '../di/injection_token'; import {Type} from '../interface/type'; import {ElementRef as ViewEngine_ElementRef} from '../linker/element_ref'; import {QueryList} from '../linker/query_list'; @@ -89,8 +90,8 @@ class LQueries_ implements LQueries { class TQueryMetadata_ implements TQueryMetadata { constructor( - public predicate: Type|string[], public descendants: boolean, public isStatic: boolean, - public read: any = null) {} + public predicate: Type|InjectionToken|string[], public descendants: boolean, + public isStatic: boolean, public read: any = null) {} } class TQueries_ implements TQueries { @@ -454,7 +455,7 @@ export function ɵɵqueryRefresh(queryList: QueryList): boolean { * @codeGenApi */ export function ɵɵstaticViewQuery( - predicate: Type|string[], descend: boolean, read?: any): void { + predicate: Type|InjectionToken|string[], descend: boolean, read?: any): void { viewQueryInternal(getTView(), getLView(), predicate, descend, read, true); } @@ -467,13 +468,14 @@ export function ɵɵstaticViewQuery( * * @codeGenApi */ -export function ɵɵviewQuery(predicate: Type|string[], descend: boolean, read?: any): void { +export function ɵɵviewQuery( + predicate: Type|InjectionToken|string[], descend: boolean, read?: any): void { viewQueryInternal(getTView(), getLView(), predicate, descend, read, false); } function viewQueryInternal( - tView: TView, lView: LView, predicate: Type|string[], descend: boolean, read: any, - isStatic: boolean): void { + tView: TView, lView: LView, predicate: Type|InjectionToken|string[], + descend: boolean, read: any, isStatic: boolean): void { if (tView.firstCreatePass) { createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), -1); if (isStatic) { @@ -496,7 +498,8 @@ function viewQueryInternal( * @codeGenApi */ export function ɵɵcontentQuery( - directiveIndex: number, predicate: Type|string[], descend: boolean, read?: any): void { + directiveIndex: number, predicate: Type|InjectionToken|string[], descend: boolean, + read?: any): void { contentQueryInternal( getTView(), getLView(), predicate, descend, read, false, getPreviousOrParentTNode(), directiveIndex); @@ -515,15 +518,16 @@ export function ɵɵcontentQuery( * @codeGenApi */ export function ɵɵstaticContentQuery( - directiveIndex: number, predicate: Type|string[], descend: boolean, read?: any): void { + directiveIndex: number, predicate: Type|InjectionToken|string[], descend: boolean, + read?: any): void { contentQueryInternal( getTView(), getLView(), predicate, descend, read, true, getPreviousOrParentTNode(), directiveIndex); } function contentQueryInternal( - tView: TView, lView: LView, predicate: Type|string[], descend: boolean, read: any, - isStatic: boolean, tNode: TNode, directiveIndex: number): void { + tView: TView, lView: LView, predicate: Type|InjectionToken|string[], + descend: boolean, read: any, isStatic: boolean, tNode: TNode, directiveIndex: number): void { if (tView.firstCreatePass) { createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), tNode.index); saveContentQueryAndDirectiveIndex(tView, directiveIndex); diff --git a/packages/core/src/render3/state.ts b/packages/core/src/render3/state.ts index 8d8a7d66a8..e0e70ef7d7 100644 --- a/packages/core/src/render3/state.ts +++ b/packages/core/src/render3/state.ts @@ -1,12 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {StyleSanitizeFn} from '../sanitization/style_sanitizer'; import {assertDefined, assertEqual} from '../util/assert'; import {assertLViewOrUndefined} from './assert'; import {DirectiveDef} from './interfaces/definition'; @@ -97,11 +96,6 @@ interface LFrame { */ currentNamespace: string|null; - /** - * Current sanitizer - */ - currentSanitizer: StyleSanitizeFn|null; - /** * The root index from which pure function instructions should calculate their binding @@ -421,7 +415,6 @@ export function enterView(newView: LView, tNode: TNode|null): void { assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame'); assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame'); assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame'); - assertEqual(newLFrame.currentSanitizer, null, 'Expected clean LFrame'); assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame'); assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame'); } @@ -454,7 +447,6 @@ function createLFrame(parent: LFrame|null): LFrame { contextLView: null!, // elementDepthCount: 0, // currentNamespace: null, // - currentSanitizer: null, // currentDirectiveIndex: -1, // bindingRootIndex: -1, // bindingIndex: -1, // @@ -508,7 +500,6 @@ export function leaveView() { oldLFrame.elementDepthCount = 0; oldLFrame.currentDirectiveIndex = -1; oldLFrame.currentNamespace = null; - oldLFrame.currentSanitizer = null; oldLFrame.bindingRootIndex = -1; oldLFrame.bindingIndex = -1; oldLFrame.currentQueryIndex = 0; @@ -602,18 +593,3 @@ export function namespaceHTMLInternal() { export function getNamespace(): string|null { return instructionState.lFrame.currentNamespace; } - -export function setCurrentStyleSanitizer(sanitizer: StyleSanitizeFn|null) { - instructionState.lFrame.currentSanitizer = sanitizer; -} - -export function resetCurrentStyleSanitizer() { - setCurrentStyleSanitizer(null); -} - -export function getCurrentStyleSanitizer() { - // TODO(misko): This should throw when there is no LView, but it turns out we can get here from - // `NodeStyleDebug` hence we return `null`. This should be fixed - const lFrame = instructionState.lFrame; - return lFrame === null ? null : lFrame.currentSanitizer; -} diff --git a/packages/core/src/render3/styling/class_differ.ts b/packages/core/src/render3/styling/class_differ.ts index 3f3f5e8f8f..98868d8d71 100644 --- a/packages/core/src/render3/styling/class_differ.ts +++ b/packages/core/src/render3/styling/class_differ.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -39,4 +39,4 @@ export function classIndexOf( // False positive, keep searching from where we left off. startingIndex = foundIndex + 1; } -} \ No newline at end of file +} diff --git a/packages/core/src/render3/styling/static_styling.ts b/packages/core/src/render3/styling/static_styling.ts index d27fa55191..c055b661b0 100644 --- a/packages/core/src/render3/styling/static_styling.ts +++ b/packages/core/src/render3/styling/static_styling.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,25 +18,31 @@ import {getTView} from '../state'; * * @param tNode The `TNode` into which the styling information should be loaded. * @param attrs `TAttributes` containing the styling information. + * @param writeToHost Where should the resulting static styles be written? + * - `false` Write to `TNode.stylesWithoutHost` / `TNode.classesWithoutHost` + * - `true` Write to `TNode.styles` / `TNode.classes` */ -export function computeStaticStyling(tNode: TNode, attrs: TAttributes): void { +export function computeStaticStyling( + tNode: TNode, attrs: TAttributes|null, writeToHost: boolean): void { ngDevMode && assertFirstCreatePass(getTView(), 'Expecting to be called in first template pass only'); - let styles: string|null = tNode.styles; - let classes: string|null = tNode.classes; + let styles: string|null = writeToHost ? tNode.styles : null; + let classes: string|null = writeToHost ? tNode.classes : null; let mode: AttributeMarker|0 = 0; - for (let i = 0; i < attrs.length; i++) { - const value = attrs[i]; - if (typeof value === 'number') { - mode = value; - } else if (mode == AttributeMarker.Classes) { - classes = concatStringsWithSpace(classes, value as string); - } else if (mode == AttributeMarker.Styles) { - const style = value as string; - const styleValue = attrs[++i] as string; - styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';'); + if (attrs !== null) { + for (let i = 0; i < attrs.length; i++) { + const value = attrs[i]; + if (typeof value === 'number') { + mode = value; + } else if (mode == AttributeMarker.Classes) { + classes = concatStringsWithSpace(classes, value as string); + } else if (mode == AttributeMarker.Styles) { + const style = value as string; + const styleValue = attrs[++i] as string; + styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';'); + } } } - styles !== null && (tNode.styles = styles); - classes !== null && (tNode.classes = classes); -} \ No newline at end of file + writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles; + writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes; +} diff --git a/packages/core/src/render3/styling/style_binding_list.ts b/packages/core/src/render3/styling/style_binding_list.ts index 636cce8de5..4fde39fcd4 100644 --- a/packages/core/src/render3/styling/style_binding_list.ts +++ b/packages/core/src/render3/styling/style_binding_list.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/styling/styling_parser.ts b/packages/core/src/render3/styling/styling_parser.ts index 1d97f51c8f..de80259bc1 100644 --- a/packages/core/src/render3/styling/styling_parser.ts +++ b/packages/core/src/render3/styling/styling_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/tokens.ts b/packages/core/src/render3/tokens.ts index 9c53282f2e..4504ffb87e 100644 --- a/packages/core/src/render3/tokens.ts +++ b/packages/core/src/render3/tokens.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/attrs_utils.ts b/packages/core/src/render3/util/attrs_utils.ts index e9b6939602..6dea7dbf39 100644 --- a/packages/core/src/render3/util/attrs_utils.ts +++ b/packages/core/src/render3/util/attrs_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -217,4 +217,4 @@ export function mergeHostAttribute( if (value !== null) { dst.splice(i++, 0, value); } -} \ No newline at end of file +} diff --git a/packages/core/src/render3/util/change_detection_utils.ts b/packages/core/src/render3/util/change_detection_utils.ts index 30c5b4a20a..d1ef5baf76 100644 --- a/packages/core/src/render3/util/change_detection_utils.ts +++ b/packages/core/src/render3/util/change_detection_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/debug_utils.ts b/packages/core/src/render3/util/debug_utils.ts index 3c30200ed1..eda7e99db0 100644 --- a/packages/core/src/render3/util/debug_utils.ts +++ b/packages/core/src/render3/util/debug_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/discovery_utils.ts b/packages/core/src/render3/util/discovery_utils.ts index 41b4ba81d1..983bcdf0c9 100644 --- a/packages/core/src/render3/util/discovery_utils.ts +++ b/packages/core/src/render3/util/discovery_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/global_utils.ts b/packages/core/src/render3/util/global_utils.ts index 3c9f4eebfc..489eb506ab 100644 --- a/packages/core/src/render3/util/global_utils.ts +++ b/packages/core/src/render3/util/global_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/injector_utils.ts b/packages/core/src/render3/util/injector_utils.ts index 4d77357745..a9e3a94fb2 100644 --- a/packages/core/src/render3/util/injector_utils.ts +++ b/packages/core/src/render3/util/injector_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/misc_utils.ts b/packages/core/src/render3/util/misc_utils.ts index d2805739e1..bc5167f8b9 100644 --- a/packages/core/src/render3/util/misc_utils.ts +++ b/packages/core/src/render3/util/misc_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/util/view_traversal_utils.ts b/packages/core/src/render3/util/view_traversal_utils.ts index 7cda0ad965..0dae10ab63 100644 --- a/packages/core/src/render3/util/view_traversal_utils.ts +++ b/packages/core/src/render3/util/view_traversal_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,8 +8,10 @@ import {assertDefined} from '../../util/assert'; import {assertLView} from '../assert'; +import {LContainer} from '../interfaces/container'; import {isLContainer, isLView} from '../interfaces/type_checks'; -import {CONTEXT, FLAGS, LView, LViewFlags, PARENT, RootContext} from '../interfaces/view'; +import {CHILD_HEAD, CONTEXT, FLAGS, LView, LViewFlags, NEXT, PARENT, RootContext} from '../interfaces/view'; + import {readPatchedLView} from './view_utils'; @@ -53,3 +55,25 @@ export function getRootContext(viewOrComponent: LView|{}): RootContext { assertDefined(rootView[CONTEXT], 'RootView has no context. Perhaps it is disconnected?'); return rootView[CONTEXT] as RootContext; } + + +/** + * Gets the first `LContainer` in the LView or `null` if none exists. + */ +export function getFirstLContainer(lView: LView): LContainer|null { + return getNearestLContainer(lView[CHILD_HEAD]); +} + +/** + * Gets the next `LContainer` that is a sibling of the given container. + */ +export function getNextLContainer(container: LContainer): LContainer|null { + return getNearestLContainer(container[NEXT]); +} + +function getNearestLContainer(viewOrContainer: LContainer|LView|null) { + while (viewOrContainer !== null && !isLContainer(viewOrContainer)) { + viewOrContainer = viewOrContainer[NEXT]; + } + return viewOrContainer; +} diff --git a/packages/core/src/render3/util/view_utils.ts b/packages/core/src/render3/util/view_utils.ts index 59a3d4edaa..21bee1c5d6 100644 --- a/packages/core/src/render3/util/view_utils.ts +++ b/packages/core/src/render3/util/view_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {assertDataInRange, assertDefined, assertDomNode, assertGreaterThan, assertLessThan} from '../../util/assert'; import {assertTNodeForLView} from '../assert'; -import {ACTIVE_INDEX, ActiveIndexFlag, LContainer, TYPE} from '../interfaces/container'; +import {LContainer, TYPE} from '../interfaces/container'; import {LContext, MONKEY_PATCH_KEY_NAME} from '../interfaces/context'; import {TConstants, TNode} from '../interfaces/node'; import {isProceduralRenderer, RNode} from '../interfaces/renderer'; @@ -188,14 +188,6 @@ export function resetPreOrderHookFlags(lView: LView) { lView[PREORDER_HOOK_FLAGS] = 0; } -export function getLContainerActiveIndex(lContainer: LContainer) { - return lContainer[ACTIVE_INDEX] >> ActiveIndexFlag.SHIFT; -} - -export function setLContainerActiveIndex(lContainer: LContainer, index: number) { - lContainer[ACTIVE_INDEX] = index << ActiveIndexFlag.SHIFT; -} - /** * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents * whose diff --git a/packages/core/src/render3/view_engine_compatibility.ts b/packages/core/src/render3/view_engine_compatibility.ts index 5727db3f30..f39721f7e4 100644 --- a/packages/core/src/render3/view_engine_compatibility.ts +++ b/packages/core/src/render3/view_engine_compatibility.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,7 +21,7 @@ import {assertDefined, assertEqual, assertGreaterThan, assertLessThan} from '../ import {assertLContainer} from './assert'; import {getParentInjectorLocation, NodeInjector} from './di'; import {addToViewTree, createLContainer, createLView, renderView} from './instructions/shared'; -import {ActiveIndexFlag, CONTAINER_HEADER_OFFSET, LContainer, VIEW_REFS} from './interfaces/container'; +import {CONTAINER_HEADER_OFFSET, LContainer, VIEW_REFS} from './interfaces/container'; import {TContainerNode, TDirectiveHostNode, TElementContainerNode, TElementNode, TNode, TNodeType, TViewNode} from './interfaces/node'; import {isProceduralRenderer, RComment, RElement} from './interfaces/renderer'; import {isComponentHost, isLContainer, isLView, isRootView} from './interfaces/type_checks'; @@ -31,7 +31,7 @@ import {addRemoveViewFromContainer, appendChild, detachView, getBeforeNodeForVie import {getParentInjectorTNode} from './node_util'; import {getLView, getPreviousOrParentTNode} from './state'; import {getParentInjectorView, hasParentInjector} from './util/injector_utils'; -import {getComponentLViewByIndex, getNativeByTNode, setLContainerActiveIndex, unwrapRNode, viewAttachedToContainer} from './util/view_utils'; +import {getComponentLViewByIndex, getNativeByTNode, unwrapRNode, viewAttachedToContainer} from './util/view_utils'; import {ViewRef} from './view_ref'; @@ -119,9 +119,7 @@ export function createTemplateRef( renderView(embeddedTView, embeddedLView, context); - const viewRef = new ViewRef(embeddedLView); - viewRef._tViewNode = embeddedLView[T_HOST] as TViewNode; - return viewRef; + return new ViewRef(embeddedLView); } }; } @@ -349,7 +347,6 @@ export function createContainerRef( if (isLContainer(slotValue)) { // If the host is a container, we don't need to create a new LContainer lContainer = slotValue; - setLContainerActiveIndex(lContainer, ActiveIndexFlag.DYNAMIC_EMBEDDED_VIEWS_ONLY); } else { let commentNode: RComment; // If the host is an element container, the native host element is guaranteed to be a diff --git a/packages/core/src/render3/view_engine_compatibility_prebound.ts b/packages/core/src/render3/view_engine_compatibility_prebound.ts index 06472bcf52..5842edac49 100644 --- a/packages/core/src/render3/view_engine_compatibility_prebound.ts +++ b/packages/core/src/render3/view_engine_compatibility_prebound.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/render3/view_ref.ts b/packages/core/src/render3/view_ref.ts index a8bf126d9d..4da248498a 100644 --- a/packages/core/src/render3/view_ref.ts +++ b/packages/core/src/render3/view_ref.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,11 +33,6 @@ export class ViewRef implements viewEngine_EmbeddedViewRef, viewEngine_Int private _appRef: ApplicationRef|null = null; private _viewContainerRef: viewEngine_ViewContainerRef|null = null; - /** - * @internal - */ - public _tViewNode: TViewNode|null = null; - get rootNodes(): any[] { const lView = this._lView; if (lView[HOST] == null) { diff --git a/packages/core/src/sanitization/bypass.ts b/packages/core/src/sanitization/bypass.ts index 01287ad15c..0d16a10984 100644 --- a/packages/core/src/sanitization/bypass.ts +++ b/packages/core/src/sanitization/bypass.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/sanitization/html_sanitizer.ts b/packages/core/src/sanitization/html_sanitizer.ts index 7a8e710eea..4f79d98927 100644 --- a/packages/core/src/sanitization/html_sanitizer.ts +++ b/packages/core/src/sanitization/html_sanitizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/sanitization/inert_body.ts b/packages/core/src/sanitization/inert_body.ts index e79311fd08..46f76eb8f4 100644 --- a/packages/core/src/sanitization/inert_body.ts +++ b/packages/core/src/sanitization/inert_body.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/sanitization/sanitization.ts b/packages/core/src/sanitization/sanitization.ts index 65246196e0..a4a47cd022 100644 --- a/packages/core/src/sanitization/sanitization.ts +++ b/packages/core/src/sanitization/sanitization.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,7 +15,6 @@ import {allowSanitizationBypassAndThrow, BypassType, unwrapSafeValue} from './by import {_sanitizeHtml as _sanitizeHtml} from './html_sanitizer'; import {Sanitizer} from './sanitizer'; import {SecurityContext} from './security'; -import {StyleSanitizeFn, StyleSanitizeMode} from './style_sanitizer'; import {_sanitizeUrl as _sanitizeUrl} from './url_sanitizer'; @@ -176,47 +175,6 @@ export function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl: any, tag: string, prop: return getUrlSanitizer(tag, prop)(unsafeUrl); } -/** - * The default style sanitizer will handle sanitization for style properties. - * - * Style sanitization is no longer apart of Angular because modern browsers no - * longer support javascript expressions. Therefore, the reason why this API - * exists is exclusively for unwrapping any style value expressions that were - * marked as `SafeValue` values. - * - * This API will be removed in a future release of Angular. - * - * @publicApi - */ -export const ɵɵdefaultStyleSanitizer = - (function(prop: string, value: string|null, mode?: StyleSanitizeMode): string|boolean|null { - if (value === undefined && mode === undefined) { - // This is a workaround for the fact that `StyleSanitizeFn` should not exist once PR#34480 - // lands. For now the `StyleSanitizeFn` and should act like `(value: any) => string` as a - // work around. - return ɵɵsanitizeStyle(prop); - } - mode = mode || StyleSanitizeMode.ValidateAndSanitize; - let doSanitizeValue = true; - if (mode & StyleSanitizeMode.ValidateProperty) { - doSanitizeValue = stylePropNeedsSanitization(prop); - } - - if (mode & StyleSanitizeMode.SanitizeOnly) { - return doSanitizeValue ? ɵɵsanitizeStyle(value) : unwrapSafeValue(value); - } else { - return doSanitizeValue; - } - } as StyleSanitizeFn); - -export function stylePropNeedsSanitization(prop: string): boolean { - return prop === 'background-image' || prop === 'backgroundImage' || prop === 'background' || - prop === 'border-image' || prop === 'borderImage' || prop === 'border-image-source' || - prop === 'borderImageSource' || prop === 'filter' || prop === 'list-style' || - prop === 'listStyle' || prop === 'list-style-image' || prop === 'listStyleImage' || - prop === 'clip-path' || prop === 'clipPath'; -} - export function validateAgainstEventProperties(name: string) { if (name.toLowerCase().startsWith('on')) { const msg = `Binding to event property '${name}' is disallowed for security reasons, ` + diff --git a/packages/core/src/sanitization/sanitizer.ts b/packages/core/src/sanitization/sanitizer.ts index 72e7989283..026813cb7c 100644 --- a/packages/core/src/sanitization/sanitizer.ts +++ b/packages/core/src/sanitization/sanitizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/sanitization/security.ts b/packages/core/src/sanitization/security.ts index b871aec158..4a52309069 100644 --- a/packages/core/src/sanitization/security.ts +++ b/packages/core/src/sanitization/security.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/sanitization/style_sanitizer.ts b/packages/core/src/sanitization/style_sanitizer.ts deleted file mode 100644 index 2217a7ce6f..0000000000 --- a/packages/core/src/sanitization/style_sanitizer.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @license - * Copyright Google Inc. 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 {SafeValue} from './bypass'; - -/* - * ========== WARNING ========== - * - * Style sanitization in Angular (for `[style.prop]` and `[style]` bindings) - * is no longer required and has been removed. The reason why this feature - * has been removed is because style-based sanitization is no longer - * required with modern browsers. - * - * The contents of this file are still in flux. Various APIs and symbols will - * be removed in a future version of Angular. Please hold off from modifying this - * file for the time being. - * - * ============================= - */ - -/** - * A series of flags to instruct a style sanitizer to either validate - * or sanitize a value. - * - * Because sanitization is dependent on the style property (i.e. style - * sanitization for `width` is much different than for `background-image`) - * the sanitization function (e.g. `StyleSanitizerFn`) needs to check a - * property value first before it actually sanitizes any values. - * - * This enum exist to allow a style sanitization function to either only - * do validation (check the property to see whether a value will be - * sanitized or not) or to sanitize the value (or both). - * - * @publicApi - */ -export const enum StyleSanitizeMode { - /** Just check to see if the property is required to be sanitized or not */ - ValidateProperty = 0b01, - /** Skip checking the property; just sanitize the value */ - SanitizeOnly = 0b10, - /** Check the property and (if true) then sanitize the value */ - ValidateAndSanitize = 0b11, -} - -/** - * Used to intercept and sanitize style values before they are written to the renderer. - * - * This function is designed to be called in two modes. When a value is not provided - * then the function will return a boolean whether a property will be sanitized later. - * If a value is provided then the sanitized version of that will be returned. - */ -export interface StyleSanitizeFn { - (prop: string, value: string|SafeValue|null, mode?: StyleSanitizeMode): any; -} diff --git a/packages/core/src/sanitization/url_sanitizer.ts b/packages/core/src/sanitization/url_sanitizer.ts index 0feafdadc7..9111a5df1b 100644 --- a/packages/core/src/sanitization/url_sanitizer.ts +++ b/packages/core/src/sanitization/url_sanitizer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/testability/testability.ts b/packages/core/src/testability/testability.ts index d4309947a1..f24c852839 100644 --- a/packages/core/src/testability/testability.ts +++ b/packages/core/src/testability/testability.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/WrappedValue.ts b/packages/core/src/util/WrappedValue.ts index a19003474f..39c07cbe32 100644 --- a/packages/core/src/util/WrappedValue.ts +++ b/packages/core/src/util/WrappedValue.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/array_utils.ts b/packages/core/src/util/array_utils.ts index 08bf5e8b87..f8d819d334 100644 --- a/packages/core/src/util/array_utils.ts +++ b/packages/core/src/util/array_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/assert.ts b/packages/core/src/util/assert.ts index c713d19910..1678b3bc53 100644 --- a/packages/core/src/util/assert.ts +++ b/packages/core/src/util/assert.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -86,7 +86,7 @@ export function assertNotDefined(actual: T, msg: string) { } } -export function assertDefined(actual: T, msg: string) { +export function assertDefined(actual: T|null|undefined, msg: string): asserts actual is T { if (actual == null) { throwError(msg, actual, null, '!='); } diff --git a/packages/core/src/util/char_code.ts b/packages/core/src/util/char_code.ts index 5523acd44f..7815358d74 100644 --- a/packages/core/src/util/char_code.ts +++ b/packages/core/src/util/char_code.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/closure.ts b/packages/core/src/util/closure.ts index 19368bc807..6e2c5a8fe9 100644 --- a/packages/core/src/util/closure.ts +++ b/packages/core/src/util/closure.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/comparison.ts b/packages/core/src/util/comparison.ts index e726d8fa8f..dcdc7bb477 100644 --- a/packages/core/src/util/comparison.ts +++ b/packages/core/src/util/comparison.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,12 +8,6 @@ import {areIterablesEqual, isListLikeIterable} from './iterable'; - -// JS has NaN !== NaN -export function looseIdentical(a: any, b: any): boolean { - return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); -} - export function devModeEqual(a: any, b: any): boolean { const isListLikeIterableA = isListLikeIterable(a); const isListLikeIterableB = isListLikeIterable(b); @@ -25,7 +19,7 @@ export function devModeEqual(a: any, b: any): boolean { if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) { return true; } else { - return looseIdentical(a, b); + return Object.is(a, b); } } } diff --git a/packages/core/src/util/decorators.ts b/packages/core/src/util/decorators.ts index 757b6e81d6..92d4d0e04c 100644 --- a/packages/core/src/util/decorators.ts +++ b/packages/core/src/util/decorators.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -153,8 +153,8 @@ export function makePropDecorator( function PropDecorator(target: any, name: string) { const constructor = target.constructor; - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. + // Use of Object.defineProperty is important because it creates a non-enumerable property + // which prevents the property from being copied during subclassing. const meta = constructor.hasOwnProperty(PROP_METADATA) ? (constructor as any)[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {value: {}})[PROP_METADATA]; diff --git a/packages/core/src/util/empty.ts b/packages/core/src/util/empty.ts index 0db2000237..060bd8a68c 100644 --- a/packages/core/src/util/empty.ts +++ b/packages/core/src/util/empty.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/errors.ts b/packages/core/src/util/errors.ts index 6e0eb9d124..d6ad31e97f 100644 --- a/packages/core/src/util/errors.ts +++ b/packages/core/src/util/errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/global.ts b/packages/core/src/util/global.ts index 5b26299863..0910b69fe6 100644 --- a/packages/core/src/util/global.ts +++ b/packages/core/src/util/global.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/is_dev_mode.ts b/packages/core/src/util/is_dev_mode.ts index 10d2e4554f..8f3d530fae 100644 --- a/packages/core/src/util/is_dev_mode.ts +++ b/packages/core/src/util/is_dev_mode.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -45,4 +45,4 @@ export function enableProdMode(): void { throw new Error('Cannot enable prod mode after platform setup.'); } _devMode = false; -} \ No newline at end of file +} diff --git a/packages/core/src/util/iterable.ts b/packages/core/src/util/iterable.ts index 27d1bd9de9..4266fb3c63 100644 --- a/packages/core/src/util/iterable.ts +++ b/packages/core/src/util/iterable.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/lang.ts b/packages/core/src/util/lang.ts index 056a61b4cf..77a2355767 100644 --- a/packages/core/src/util/lang.ts +++ b/packages/core/src/util/lang.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/microtask.ts b/packages/core/src/util/microtask.ts index 4cda89fac1..f1002cc35c 100644 --- a/packages/core/src/util/microtask.ts +++ b/packages/core/src/util/microtask.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/named_array_type.ts b/packages/core/src/util/named_array_type.ts index 06de01cf81..b4a90c7d15 100644 --- a/packages/core/src/util/named_array_type.ts +++ b/packages/core/src/util/named_array_type.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -38,4 +38,4 @@ export function createNamedArrayType(name: string): typeof Array { throw new Error( 'Looks like we are in \'prod mode\', but we are creating a named Array type, which is wrong! Check your code'); } -} \ No newline at end of file +} diff --git a/packages/core/src/util/ng_dev_mode.ts b/packages/core/src/util/ng_dev_mode.ts index 16bc5f4477..bbb6c7a624 100644 --- a/packages/core/src/util/ng_dev_mode.ts +++ b/packages/core/src/util/ng_dev_mode.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/ng_i18n_closure_mode.ts b/packages/core/src/util/ng_i18n_closure_mode.ts index a966565819..fe20c18375 100644 --- a/packages/core/src/util/ng_i18n_closure_mode.ts +++ b/packages/core/src/util/ng_i18n_closure_mode.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/ng_jit_mode.ts b/packages/core/src/util/ng_jit_mode.ts index 87c4feeacd..8d8410adc4 100644 --- a/packages/core/src/util/ng_jit_mode.ts +++ b/packages/core/src/util/ng_jit_mode.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/ng_reflect.ts b/packages/core/src/util/ng_reflect.ts index 2620111236..a4e90a4b24 100644 --- a/packages/core/src/util/ng_reflect.ts +++ b/packages/core/src/util/ng_reflect.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/noop.ts b/packages/core/src/util/noop.ts index 24543b023b..1848db0af2 100644 --- a/packages/core/src/util/noop.ts +++ b/packages/core/src/util/noop.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/property.ts b/packages/core/src/util/property.ts index 9baa361d94..bdcaef7278 100644 --- a/packages/core/src/util/property.ts +++ b/packages/core/src/util/property.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/raf.ts b/packages/core/src/util/raf.ts index db4e242f5b..284049ac38 100644 --- a/packages/core/src/util/raf.ts +++ b/packages/core/src/util/raf.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/stringify.ts b/packages/core/src/util/stringify.ts index 519be71f5e..89b15b28b4 100644 --- a/packages/core/src/util/stringify.ts +++ b/packages/core/src/util/stringify.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/util/symbol.ts b/packages/core/src/util/symbol.ts index 71dc7edec7..a057d2884e 100644 --- a/packages/core/src/util/symbol.ts +++ b/packages/core/src/util/symbol.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/version.ts b/packages/core/src/version.ts index 404a49fd15..71a5cb8878 100644 --- a/packages/core/src/version.ts +++ b/packages/core/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/element.ts b/packages/core/src/view/element.ts index d31d5b43f4..ecdbc0559c 100644 --- a/packages/core/src/view/element.ts +++ b/packages/core/src/view/element.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/entrypoint.ts b/packages/core/src/view/entrypoint.ts index db14d4d7f1..b66b51f7ba 100644 --- a/packages/core/src/view/entrypoint.ts +++ b/packages/core/src/view/entrypoint.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/errors.ts b/packages/core/src/view/errors.ts index 1e78713982..3b958b2269 100644 --- a/packages/core/src/view/errors.ts +++ b/packages/core/src/view/errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/index.ts b/packages/core/src/view/index.ts index 563f307784..7a828eb1dc 100644 --- a/packages/core/src/view/index.ts +++ b/packages/core/src/view/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/ng_content.ts b/packages/core/src/view/ng_content.ts index a566c8f25a..edd7447867 100644 --- a/packages/core/src/view/ng_content.ts +++ b/packages/core/src/view/ng_content.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/ng_module.ts b/packages/core/src/view/ng_module.ts index cc44b4b1ea..ac46b4921e 100644 --- a/packages/core/src/view/ng_module.ts +++ b/packages/core/src/view/ng_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/provider.ts b/packages/core/src/view/provider.ts index 338af6969e..b696f9bfb8 100644 --- a/packages/core/src/view/provider.ts +++ b/packages/core/src/view/provider.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/pure_expression.ts b/packages/core/src/view/pure_expression.ts index c8b300913a..724d8cccd9 100644 --- a/packages/core/src/view/pure_expression.ts +++ b/packages/core/src/view/pure_expression.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/query.ts b/packages/core/src/view/query.ts index d462885d56..83f4cae4a1 100644 --- a/packages/core/src/view/query.ts +++ b/packages/core/src/view/query.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/refs.ts b/packages/core/src/view/refs.ts index 36fe5cfa86..96fccd6f96 100644 --- a/packages/core/src/view/refs.ts +++ b/packages/core/src/view/refs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/services.ts b/packages/core/src/view/services.ts index 97b9f2bf92..6edf41e185 100644 --- a/packages/core/src/view/services.ts +++ b/packages/core/src/view/services.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/text.ts b/packages/core/src/view/text.ts index 51f31e25c7..21071924a8 100644 --- a/packages/core/src/view/text.ts +++ b/packages/core/src/view/text.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/types.ts b/packages/core/src/view/types.ts index da23eb3675..48680cde9a 100644 --- a/packages/core/src/view/types.ts +++ b/packages/core/src/view/types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/util.ts b/packages/core/src/view/util.ts index 29077efb69..9d5b52b5ba 100644 --- a/packages/core/src/view/util.ts +++ b/packages/core/src/view/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,6 @@ import {devModeEqual, WrappedValue} from '../change_detection/change_detection'; import {SOURCE} from '../di/injector_compatibility'; import {ViewEncapsulation} from '../metadata/view'; import {RendererType2} from '../render/api'; -import {looseIdentical} from '../util/comparison'; import {stringify} from '../util/stringify'; import {expressionChangedAfterItHasBeenCheckedError} from './errors'; @@ -81,7 +80,7 @@ export function checkBinding( view: ViewData, def: NodeDef, bindingIdx: number, value: any): boolean { const oldValues = view.oldValues; if ((view.state & ViewState.FirstCheck) || - !looseIdentical(oldValues[def.bindingIndex + bindingIdx], value)) { + !Object.is(oldValues[def.bindingIndex + bindingIdx], value)) { return true; } return false; diff --git a/packages/core/src/view/view.ts b/packages/core/src/view/view.ts index a9cc1e13e3..949fac6e1e 100644 --- a/packages/core/src/view/view.ts +++ b/packages/core/src/view/view.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/view/view_attach.ts b/packages/core/src/view/view_attach.ts index 81c392d9f4..97c06a4a86 100644 --- a/packages/core/src/view/view_attach.ts +++ b/packages/core/src/view/view_attach.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/zone.ts b/packages/core/src/zone.ts index 0921a65640..3c4a81f277 100644 --- a/packages/core/src/zone.ts +++ b/packages/core/src/zone.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/src/zone/ng_zone.ts b/packages/core/src/zone/ng_zone.ts index a5387e4cdb..251eae4c9a 100644 --- a/packages/core/src/zone/ng_zone.ts +++ b/packages/core/src/zone/ng_zone.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -243,6 +243,10 @@ interface NgZonePrivate extends NgZone { isStable: boolean; shouldCoalesceEventChangeDetection: boolean; nativeRequestAnimationFrame: (callback: FrameRequestCallback) => number; + + // Cache of "fake" top eventTask. This is done so that we don't need to schedule a new task every + // time we want to run a `checkStable`. + fakeTopEventTask: Task; } function checkStable(zone: NgZonePrivate) { @@ -268,9 +272,23 @@ function delayChangeDetectionForEvents(zone: NgZonePrivate) { return; } zone.lastRequestAnimationFrameId = zone.nativeRequestAnimationFrame.call(global, () => { - zone.lastRequestAnimationFrameId = -1; - updateMicroTaskStatus(zone); - checkStable(zone); + // This is a work around for https://github.com/angular/angular/issues/36839. + // The core issue is that when event coalescing is enabled it is possible for microtasks + // to get flushed too early (As is the case with `Promise.then`) between the + // coalescing eventTasks. + // + // To workaround this we schedule a "fake" eventTask before we process the + // coalescing eventTasks. The benefit of this is that the "fake" container eventTask + // will prevent the microtasks queue from getting drained in between the coalescing + // eventTask execution. + if (!zone.fakeTopEventTask) { + zone.fakeTopEventTask = Zone.root.scheduleEventTask('fakeTopEventTask', () => { + zone.lastRequestAnimationFrameId = -1; + updateMicroTaskStatus(zone); + checkStable(zone); + }, undefined, () => {}, () => {}); + } + zone.fakeTopEventTask.invoke(); }); updateMicroTaskStatus(zone); } diff --git a/packages/core/test/acceptance/attributes_spec.ts b/packages/core/test/acceptance/attributes_spec.ts index 8341794012..963d3855d2 100644 --- a/packages/core/test/acceptance/attributes_spec.ts +++ b/packages/core/test/acceptance/attributes_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/bootstrap_spec.ts b/packages/core/test/acceptance/bootstrap_spec.ts index a2fc8ced6f..7024c3b6c5 100644 --- a/packages/core/test/acceptance/bootstrap_spec.ts +++ b/packages/core/test/acceptance/bootstrap_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -40,9 +40,11 @@ describe('bootstrap', () => { describe('options', () => { function createComponentAndModule( - options: {encapsulation?: ViewEncapsulation; preserveWhitespaces?: boolean} = {}) { + options: + {encapsulation?: ViewEncapsulation; preserveWhitespaces?: boolean; + selector?: string} = {}) { @Component({ - selector: 'my-app', + selector: options.selector || 'my-app', styles: [''], template: 'a b', encapsulation: options.encapsulation, @@ -155,16 +157,17 @@ describe('bootstrap', () => { }); it('should log an error when changing defaultEncapsulation bootstrap options', - withBody('', async () => { - const TestModule = createComponentAndModule(); + withBody('', async () => { const platformRef = platformBrowserDynamic(); - const ngModuleRef = await platformRef.bootstrapModule( - TestModule, {defaultEncapsulation: ViewEncapsulation.None}); - ngModuleRef.destroy(); + const TestModuleA = createComponentAndModule({selector: 'my-app-a'}); + const ngModuleRefA = await platformRef.bootstrapModule( + TestModuleA, {defaultEncapsulation: ViewEncapsulation.None}); + ngModuleRefA.destroy(); - const ngModuleRef2 = await platformRef.bootstrapModule( - TestModule, {defaultEncapsulation: ViewEncapsulation.ShadowDom}); + const TestModuleB = createComponentAndModule({selector: 'my-app-b'}); + const ngModuleRefB = await platformRef.bootstrapModule( + TestModuleB, {defaultEncapsulation: ViewEncapsulation.ShadowDom}); expect(console.error) .toHaveBeenCalledWith( 'Provided value for `defaultEncapsulation` can not be changed once it has been set.'); @@ -172,20 +175,21 @@ describe('bootstrap', () => { // The options should not have been changed expect(document.body.innerHTML).not.toContain('_ngcontent-'); - ngModuleRef2.destroy(); + ngModuleRefB.destroy(); })); it('should log an error when changing preserveWhitespaces bootstrap options', - withBody('', async () => { - const TestModule = createComponentAndModule(); + withBody('', async () => { const platformRef = platformBrowserDynamic(); - const ngModuleRef = - await platformRef.bootstrapModule(TestModule, {preserveWhitespaces: true}); - ngModuleRef.destroy(); + const TestModuleA = createComponentAndModule({selector: 'my-app-a'}); + const ngModuleRefA = + await platformRef.bootstrapModule(TestModuleA, {preserveWhitespaces: true}); + ngModuleRefA.destroy(); - const ngModuleRef2 = - await platformRef.bootstrapModule(TestModule, {preserveWhitespaces: false}); + const TestModuleB = createComponentAndModule({selector: 'my-app-b'}); + const ngModuleRefB = + await platformRef.bootstrapModule(TestModuleB, {preserveWhitespaces: false}); expect(console.error) .toHaveBeenCalledWith( 'Provided value for `preserveWhitespaces` can not be changed once it has been set.'); @@ -193,62 +197,65 @@ describe('bootstrap', () => { // The options should not have been changed expect(document.body.innerHTML).toContain('a b'); - ngModuleRef2.destroy(); + ngModuleRefB.destroy(); })); it('should log an error when changing defaultEncapsulation to its default', - withBody('', async () => { - const TestModule = createComponentAndModule(); + withBody('', async () => { const platformRef = platformBrowserDynamic(); - const ngModuleRef = await platformRef.bootstrapModule(TestModule); - ngModuleRef.destroy(); + const TestModuleA = createComponentAndModule({selector: 'my-app-a'}); + const ngModuleRefA = await platformRef.bootstrapModule(TestModuleA); + ngModuleRefA.destroy(); - const ngModuleRef2 = await platformRef.bootstrapModule( - TestModule, {defaultEncapsulation: ViewEncapsulation.Emulated}); + const TestModuleB = createComponentAndModule({selector: 'my-app-b'}); + const ngModuleRefB = await platformRef.bootstrapModule( + TestModuleB, {defaultEncapsulation: ViewEncapsulation.Emulated}); // Although the configured value may be identical to the default, the provided set of // options has still been changed compared to the previously provided options. expect(console.error) .toHaveBeenCalledWith( 'Provided value for `defaultEncapsulation` can not be changed once it has been set.'); - ngModuleRef2.destroy(); + ngModuleRefB.destroy(); })); it('should log an error when changing preserveWhitespaces to its default', - withBody('', async () => { - const TestModule = createComponentAndModule(); + withBody('', async () => { const platformRef = platformBrowserDynamic(); - const ngModuleRef = await platformRef.bootstrapModule(TestModule); - ngModuleRef.destroy(); + const TestModuleA = createComponentAndModule({selector: 'my-app-a'}); + const ngModuleRefA = await platformRef.bootstrapModule(TestModuleA); + ngModuleRefA.destroy(); - const ngModuleRef2 = - await platformRef.bootstrapModule(TestModule, {preserveWhitespaces: false}); + const TestModuleB = createComponentAndModule({selector: 'my-app-b'}); + const ngModuleRefB = + await platformRef.bootstrapModule(TestModuleB, {preserveWhitespaces: false}); // Although the configured value may be identical to the default, the provided set of // options has still been changed compared to the previously provided options. expect(console.error) .toHaveBeenCalledWith( 'Provided value for `preserveWhitespaces` can not be changed once it has been set.'); - ngModuleRef2.destroy(); + ngModuleRefB.destroy(); })); it('should not log an error when passing identical bootstrap options', - withBody('', async () => { - const TestModule = createComponentAndModule(); + withBody('', async () => { const platformRef = platformBrowserDynamic(); - const ngModuleRef1 = await platformRef.bootstrapModule( - TestModule, + const TestModuleA = createComponentAndModule({selector: 'my-app-a'}); + const ngModuleRefA = await platformRef.bootstrapModule( + TestModuleA, {defaultEncapsulation: ViewEncapsulation.None, preserveWhitespaces: true}); - ngModuleRef1.destroy(); + ngModuleRefA.destroy(); // Bootstrapping multiple modules using the exact same options should be allowed. - const ngModuleRef2 = await platformRef.bootstrapModule( - TestModule, + const TestModuleB = createComponentAndModule({selector: 'my-app-b'}); + const ngModuleRefB = await platformRef.bootstrapModule( + TestModuleB, {defaultEncapsulation: ViewEncapsulation.None, preserveWhitespaces: true}); - ngModuleRef2.destroy(); + ngModuleRefB.destroy(); })); }); }); @@ -282,4 +289,4 @@ export class MultipleSelectorsAppComponent { bootstrap: [MultipleSelectorsAppComponent], }) export class MultipleSelectorsAppModule { -} +} \ No newline at end of file diff --git a/packages/core/test/acceptance/change_detection_spec.ts b/packages/core/test/acceptance/change_detection_spec.ts index df6d67f9c8..3a34db4510 100644 --- a/packages/core/test/acceptance/change_detection_spec.ts +++ b/packages/core/test/acceptance/change_detection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/change_detection_transplanted_view_spec.ts b/packages/core/test/acceptance/change_detection_transplanted_view_spec.ts index 0f01867817..d3c8f99f4b 100644 --- a/packages/core/test/acceptance/change_detection_transplanted_view_spec.ts +++ b/packages/core/test/acceptance/change_detection_transplanted_view_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/common_integration_spec.ts b/packages/core/test/acceptance/common_integration_spec.ts index 307d8da888..c51ef13402 100644 --- a/packages/core/test/acceptance/common_integration_spec.ts +++ b/packages/core/test/acceptance/common_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/component_spec.ts b/packages/core/test/acceptance/component_spec.ts index dfb34d294a..ae3e605f06 100644 --- a/packages/core/test/acceptance/component_spec.ts +++ b/packages/core/test/acceptance/component_spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {DOCUMENT} from '@angular/common'; -import {Component, ComponentFactoryResolver, ComponentRef, ElementRef, InjectionToken, Injector, Input, NgModule, OnDestroy, Renderer2, RendererFactory2, Type, ViewChild, ViewContainerRef, ViewEncapsulation, ɵsetDocument} from '@angular/core'; +import {ApplicationRef, Component, ComponentFactoryResolver, ComponentRef, ElementRef, InjectionToken, Injector, Input, NgModule, OnDestroy, Renderer2, RendererFactory2, Type, ViewChild, ViewContainerRef, ViewEncapsulation, ɵsetDocument} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {ɵDomRendererFactory2 as DomRendererFactory2} from '@angular/platform-browser'; import {expect} from '@angular/platform-browser/testing/src/matchers'; @@ -189,6 +189,76 @@ describe('component', () => { }); }); + it('should clear the contents of dynamically created component when it\'s attached to ApplicationRef', + () => { + let wasOnDestroyCalled = false; + @Component({ + selector: '[comp]', + template: 'comp content', + }) + class DynamicComponent { + ngOnDestroy() { + wasOnDestroyCalled = true; + } + } + + @NgModule({ + declarations: [DynamicComponent], + entryComponents: [DynamicComponent], // needed only for ViewEngine + }) + class TestModule { + } + + @Component({ + selector: 'button', + template: ` +
    +
    +
    + `, + }) + class App { + componentRef!: ComponentRef; + + constructor( + private cfr: ComponentFactoryResolver, private injector: Injector, + private appRef: ApplicationRef) {} + + create() { + const factory = this.cfr.resolveComponentFactory(DynamicComponent); + // Component to be bootstrapped into an element with the `app-root` id. + this.componentRef = factory.create(this.injector, undefined, '#app-root'); + this.appRef.attachView(this.componentRef.hostView); + } + + destroy() { + this.componentRef.destroy(); + } + } + + TestBed.configureTestingModule({imports: [TestModule], declarations: [App]}); + const fixture = TestBed.createComponent(App); + fixture.detectChanges(); + + let appRootEl = fixture.nativeElement.querySelector('#app-root'); + expect(appRootEl).toBeDefined(); + expect(appRootEl.innerHTML).toBe(''); // app container content is empty + + fixture.componentInstance.create(); + + appRootEl = fixture.nativeElement.querySelector('#app-root'); + expect(appRootEl).toBeDefined(); + expect(appRootEl.innerHTML).toBe('comp content'); + + fixture.componentInstance.destroy(); + fixture.detectChanges(); + + appRootEl = fixture.nativeElement.querySelector('#app-root'); + expect(appRootEl).toBeFalsy(); // host element is removed + const wrapperEls = fixture.nativeElement.querySelectorAll('.wrapper'); + expect(wrapperEls.length).toBe(2); // other elements are preserved + }); + it('should use a new ngcontent attribute for child elements created w/ Renderer2', () => { @Component({ selector: 'app-root', diff --git a/packages/core/test/acceptance/content_spec.ts b/packages/core/test/acceptance/content_spec.ts index d9116753c6..2afe841241 100644 --- a/packages/core/test/acceptance/content_spec.ts +++ b/packages/core/test/acceptance/content_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/copy_definition_feature_spec.ts b/packages/core/test/acceptance/copy_definition_feature_spec.ts index c200ad6f41..36bfa2d0de 100644 --- a/packages/core/test/acceptance/copy_definition_feature_spec.ts +++ b/packages/core/test/acceptance/copy_definition_feature_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/debug_spec.ts b/packages/core/test/acceptance/debug_spec.ts index 5cdb0ea011..a64d6675e8 100644 --- a/packages/core/test/acceptance/debug_spec.ts +++ b/packages/core/test/acceptance/debug_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/di_spec.ts b/packages/core/test/acceptance/di_spec.ts index 05f04e6cab..554a929e0e 100644 --- a/packages/core/test/acceptance/di_spec.ts +++ b/packages/core/test/acceptance/di_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1030,7 +1030,7 @@ describe('di', () => { if (ivyEnabled) { expect(warnSpy).toHaveBeenCalledWith( `DEPRECATED: DI is instantiating a token "SubSubClass" that inherits its @Injectable decorator but does not provide one itself.\n` + - `This will become an error in v10. Please add @Injectable() to the "SubSubClass" class.`); + `This will become an error in a future version of Angular. Please add @Injectable() to the "SubSubClass" class.`); } }); @@ -1061,7 +1061,7 @@ describe('di', () => { if (ivyEnabled) { expect(warnSpy).toHaveBeenCalledWith( `DEPRECATED: DI is instantiating a token "MyRootService" that inherits its @Injectable decorator but does not provide one itself.\n` + - `This will become an error in v10. Please add @Injectable() to the "MyRootService" class.`); + `This will become an error in a future version of Angular. Please add @Injectable() to the "MyRootService" class.`); } }); diff --git a/packages/core/test/acceptance/directive_spec.ts b/packages/core/test/acceptance/directive_spec.ts index 21a6d87850..135e92274f 100644 --- a/packages/core/test/acceptance/directive_spec.ts +++ b/packages/core/test/acceptance/directive_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/discover_utils_spec.ts b/packages/core/test/acceptance/discover_utils_spec.ts index 9bbebc4fda..26e6b09d9c 100644 --- a/packages/core/test/acceptance/discover_utils_spec.ts +++ b/packages/core/test/acceptance/discover_utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/embedded_views_spec.ts b/packages/core/test/acceptance/embedded_views_spec.ts index d0f17974e0..bd46ccf242 100644 --- a/packages/core/test/acceptance/embedded_views_spec.ts +++ b/packages/core/test/acceptance/embedded_views_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/exports_spec.ts b/packages/core/test/acceptance/exports_spec.ts index 1513528a13..a77c26d8a8 100644 --- a/packages/core/test/acceptance/exports_spec.ts +++ b/packages/core/test/acceptance/exports_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/host_binding_spec.ts b/packages/core/test/acceptance/host_binding_spec.ts index 7b8733edfd..27726e66bf 100644 --- a/packages/core/test/acceptance/host_binding_spec.ts +++ b/packages/core/test/acceptance/host_binding_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1427,4 +1427,53 @@ describe('host bindings', () => { '', bypassSanitizationTrustHtml, /* isAttribute */ false); }); + + onlyInIvy('VE would silently ignore this').describe('host binding on containers', () => { + @Directive({selector: '[staticHostAtt]', host: {'static': 'attr'}}) + class StaticHostAttr { + constructor() {} + } + + @Directive({selector: '[dynamicHostAtt]', host: {'[attr.dynamic]': '"dynamic"'}}) + class DynamicHostAttr { + constructor() {} + } + + it('should fail with expected error with ng-container', () => { + @Component({ + selector: 'my-app', + template: ` + + + ` + }) + class App { + } + + const comp = + TestBed.configureTestingModule({declarations: [App, StaticHostAttr, DynamicHostAttr]}) + .createComponent(App); + // TODO(FW-2202): binding static attrs won't throw an error. We should be more consistent. + expect(() => comp.detectChanges()) + .toThrowError( + /Attempted to set attribute `dynamic` on a container node. Host bindings are not valid on ng-container or ng-template./); + }); + + it('should fail with expected error with ng-template', () => { + @Component({ + selector: 'my-app', + template: ` ` + }) + class App { + } + + const comp = + TestBed.configureTestingModule({declarations: [App, StaticHostAttr, DynamicHostAttr]}) + .createComponent(App); + // TODO(FW-2202): binding static attrs won't throw an error. We should be more consistent. + expect(() => comp.detectChanges()) + .toThrowError( + /Attempted to set attribute `dynamic` on a container node. Host bindings are not valid on ng-container or ng-template./); + }); + }); }); diff --git a/packages/core/test/acceptance/i18n_spec.ts b/packages/core/test/acceptance/i18n_spec.ts index 6a272efaab..796f55756e 100644 --- a/packages/core/test/acceptance/i18n_spec.ts +++ b/packages/core/test/acceptance/i18n_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,15 +9,15 @@ // below. This would normally be done inside the application `polyfills.ts` file. import '@angular/localize/init'; -import {CommonModule, registerLocaleData} from '@angular/common'; +import {CommonModule, DOCUMENT, registerLocaleData} from '@angular/common'; import localeEs from '@angular/common/locales/es'; import localeRo from '@angular/common/locales/ro'; import {computeMsgId} from '@angular/compiler'; -import {Component, ContentChild, ContentChildren, Directive, ElementRef, HostBinding, Input, LOCALE_ID, NO_ERRORS_SCHEMA, Pipe, PipeTransform, QueryList, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core'; +import {Component, ContentChild, ContentChildren, Directive, ElementRef, HostBinding, Input, LOCALE_ID, NO_ERRORS_SCHEMA, Pipe, PipeTransform, QueryList, RendererFactory2, TemplateRef, Type, ViewChild, ViewContainerRef, ɵsetDocument} from '@angular/core'; import {setDelayProjection} from '@angular/core/src/render3/instructions/projection'; import {TestBed} from '@angular/core/testing'; import {clearTranslations, loadTranslations} from '@angular/localize'; -import {By} from '@angular/platform-browser'; +import {By, ɵDomRendererFactory2 as DomRendererFactory2} from '@angular/platform-browser'; import {expect} from '@angular/platform-browser/testing/src/matchers'; import {onlyInIvy} from '@angular/private/testing'; import {BehaviorSubject} from 'rxjs'; @@ -530,6 +530,75 @@ onlyInIvy('Ivy i18n logic').describe('runtime i18n', () => { }); }); + describe('should work correctly with namespaces', () => { + beforeEach(() => { + function _document(): any { + // Tell Ivy about the global document + ɵsetDocument(document); + return document; + } + + TestBed.configureTestingModule({ + providers: [ + {provide: DOCUMENT, useFactory: _document, deps: []}, + // TODO(FW-811): switch back to default server renderer (i.e. remove the line below) + // once it starts to support Ivy namespace format (URIs) correctly. For now, use + // `DomRenderer` that supports Ivy namespace format. + {provide: RendererFactory2, useClass: DomRendererFactory2} + ], + }); + }); + + it('should handle namespaces inside i18n blocks', () => { + loadTranslations({ + [computeMsgId( + '{$START_TAG__XHTML_DIV} Hello ' + + '{$START_TAG__XHTML_SPAN}world{$CLOSE_TAG__XHTML_SPAN}{$CLOSE_TAG__XHTML_DIV}')]: + '{$START_TAG__XHTML_DIV} Bonjour ' + + '{$START_TAG__XHTML_SPAN}monde{$CLOSE_TAG__XHTML_SPAN}{$CLOSE_TAG__XHTML_DIV}' + }); + + const fixture = initWithTemplate(AppComp, ` + + + + Hello world + + + + `); + + const element = fixture.nativeElement; + expect(element.textContent.trim()).toBe('Bonjour monde'); + expect(element.querySelector('svg').namespaceURI).toBe('http://www.w3.org/2000/svg'); + expect(element.querySelector('div').namespaceURI).toBe('http://www.w3.org/1999/xhtml'); + expect(element.querySelector('span').namespaceURI).toBe('http://www.w3.org/1999/xhtml'); + }); + + it('should handle namespaces on i18n block containers', () => { + loadTranslations({ + [computeMsgId(' Hello {$START_TAG__XHTML_SPAN}world{$CLOSE_TAG__XHTML_SPAN}')]: + ' Bonjour {$START_TAG__XHTML_SPAN}monde{$CLOSE_TAG__XHTML_SPAN}' + }); + + const fixture = initWithTemplate(AppComp, ` + + + + Hello world + + + + `); + + const element = fixture.nativeElement; + expect(element.textContent.trim()).toBe('Bonjour monde'); + expect(element.querySelector('svg').namespaceURI).toBe('http://www.w3.org/2000/svg'); + expect(element.querySelector('div').namespaceURI).toBe('http://www.w3.org/1999/xhtml'); + expect(element.querySelector('span').namespaceURI).toBe('http://www.w3.org/1999/xhtml'); + }); + }); + describe('should support ICU expressions', () => { it('with no root node', () => { loadTranslations({ diff --git a/packages/core/test/acceptance/inherit_definition_feature_spec.ts b/packages/core/test/acceptance/inherit_definition_feature_spec.ts index 42f69a2e7a..876fc4c23f 100644 --- a/packages/core/test/acceptance/inherit_definition_feature_spec.ts +++ b/packages/core/test/acceptance/inherit_definition_feature_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/integration_spec.ts b/packages/core/test/acceptance/integration_spec.ts index 164550bdf5..9cef7b2cf6 100644 --- a/packages/core/test/acceptance/integration_spec.ts +++ b/packages/core/test/acceptance/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/lifecycle_spec.ts b/packages/core/test/acceptance/lifecycle_spec.ts index ebccdf3fe4..40dda04dfc 100644 --- a/packages/core/test/acceptance/lifecycle_spec.ts +++ b/packages/core/test/acceptance/lifecycle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/listener_spec.ts b/packages/core/test/acceptance/listener_spec.ts index 0667a16b58..661006dfb6 100644 --- a/packages/core/test/acceptance/listener_spec.ts +++ b/packages/core/test/acceptance/listener_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/ng_module_spec.ts b/packages/core/test/acceptance/ng_module_spec.ts index 87a7fdd628..4adbcbcfcb 100644 --- a/packages/core/test/acceptance/ng_module_spec.ts +++ b/packages/core/test/acceptance/ng_module_spec.ts @@ -1,16 +1,18 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CommonModule} from '@angular/common'; -import {Component, CUSTOM_ELEMENTS_SCHEMA, Injectable, InjectionToken, NgModule, NgModuleRef, NO_ERRORS_SCHEMA, ɵsetClassMetadata as setClassMetadata, ɵɵdefineComponent as defineComponent, ɵɵdefineInjector as defineInjector, ɵɵdefineNgModule as defineNgModule, ɵɵelement as element, ɵɵproperty as property} from '@angular/core'; +import {Component, CUSTOM_ELEMENTS_SCHEMA, destroyPlatform, Injectable, InjectionToken, NgModule, NgModuleRef, NO_ERRORS_SCHEMA, ɵsetClassMetadata as setClassMetadata, ɵɵdefineComponent as defineComponent, ɵɵdefineInjector as defineInjector, ɵɵdefineNgModule as defineNgModule, ɵɵelement as element, ɵɵproperty as property} from '@angular/core'; import {TestBed} from '@angular/core/testing'; +import {BrowserModule} from '@angular/platform-browser'; +import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; import {expect} from '@angular/platform-browser/testing/src/matchers'; -import {modifiedInIvy, onlyInIvy} from '@angular/private/testing'; +import {modifiedInIvy, onlyInIvy, withBody} from '@angular/private/testing'; describe('NgModule', () => { @Component({template: 'hello'}) @@ -100,6 +102,44 @@ describe('NgModule', () => { expect(TestBed.inject(Service).initializations).toEqual(['RoutesModule', 'AppModule']); }); + describe('destroy', () => { + beforeEach(destroyPlatform); + afterEach(destroyPlatform); + + it('should clear bootstrapped component contents', + withBody('
    before
    after
    ', async () => { + let wasOnDestroyCalled = false; + @Component({ + selector: 'button', + template: 'button content', + }) + class App { + ngOnDestroy() { + wasOnDestroyCalled = true; + } + } + + @NgModule({ + imports: [BrowserModule], + declarations: [App], + bootstrap: [App], + }) + class AppModule { + } + const ngModuleRef = await platformBrowserDynamic().bootstrapModule(AppModule); + + const button = document.body.querySelector('button')!; + expect(button.textContent).toEqual('button content'); + expect(document.body.childNodes.length).toEqual(3); + + ngModuleRef.destroy(); + + expect(wasOnDestroyCalled).toEqual(true); + expect(document.body.querySelector('button')).toBeFalsy(); // host element is removed + expect(document.body.childNodes.length).toEqual(2); // other elements are preserved + })); + }); + describe('schemas', () => { onlyInIvy('Unknown property logs an error message instead of throwing') .it('should throw on unknown props if NO_ERRORS_SCHEMA is absent', () => { diff --git a/packages/core/test/acceptance/ngdevmode_debug_spec.ts b/packages/core/test/acceptance/ngdevmode_debug_spec.ts index 080c532098..ef07bb26ca 100644 --- a/packages/core/test/acceptance/ngdevmode_debug_spec.ts +++ b/packages/core/test/acceptance/ngdevmode_debug_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/outputs_spec.ts b/packages/core/test/acceptance/outputs_spec.ts index f99f3f26ef..c265ad92ea 100644 --- a/packages/core/test/acceptance/outputs_spec.ts +++ b/packages/core/test/acceptance/outputs_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/pipe_spec.ts b/packages/core/test/acceptance/pipe_spec.ts index f0e610921f..2befc8e240 100644 --- a/packages/core/test/acceptance/pipe_spec.ts +++ b/packages/core/test/acceptance/pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/property_binding_spec.ts b/packages/core/test/acceptance/property_binding_spec.ts index 5b465d1c05..ddb9a18ffe 100644 --- a/packages/core/test/acceptance/property_binding_spec.ts +++ b/packages/core/test/acceptance/property_binding_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/property_interpolation_spec.ts b/packages/core/test/acceptance/property_interpolation_spec.ts index c3b5dfb030..262fab5918 100644 --- a/packages/core/test/acceptance/property_interpolation_spec.ts +++ b/packages/core/test/acceptance/property_interpolation_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/providers_spec.ts b/packages/core/test/acceptance/providers_spec.ts index 649c5351b4..d4a5b97670 100644 --- a/packages/core/test/acceptance/providers_spec.ts +++ b/packages/core/test/acceptance/providers_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/pure_function_spec.ts b/packages/core/test/acceptance/pure_function_spec.ts index 406e8b185a..dd0edbf040 100644 --- a/packages/core/test/acceptance/pure_function_spec.ts +++ b/packages/core/test/acceptance/pure_function_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/query_spec.ts b/packages/core/test/acceptance/query_spec.ts index fc01ed9883..3ee127eed3 100644 --- a/packages/core/test/acceptance/query_spec.ts +++ b/packages/core/test/acceptance/query_spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CommonModule} from '@angular/common'; -import {AfterViewInit, Component, ContentChild, ContentChildren, Directive, ElementRef, EventEmitter, forwardRef, Input, QueryList, TemplateRef, Type, ViewChild, ViewChildren, ViewContainerRef, ViewRef} from '@angular/core'; +import {AfterViewInit, Component, ContentChild, ContentChildren, Directive, ElementRef, EventEmitter, forwardRef, InjectionToken, Input, QueryList, TemplateRef, Type, ViewChild, ViewChildren, ViewContainerRef, ViewRef} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {expect} from '@angular/platform-browser/testing/src/matchers'; @@ -17,10 +17,23 @@ describe('query logic', () => { beforeEach(() => { TestBed.configureTestingModule({ declarations: [ - AppComp, QueryComp, SimpleCompA, SimpleCompB, StaticViewQueryComp, TextDirective, - SubclassStaticViewQueryComp, StaticContentQueryComp, SubclassStaticContentQueryComp, - QueryCompWithChanges, StaticContentQueryDir, SuperDirectiveQueryTarget, SuperDirective, - SubComponent + AppComp, + QueryComp, + SimpleCompA, + SimpleCompB, + StaticViewQueryComp, + TextDirective, + SubclassStaticViewQueryComp, + StaticContentQueryComp, + SubclassStaticContentQueryComp, + QueryCompWithChanges, + StaticContentQueryDir, + SuperDirectiveQueryTarget, + SuperDirective, + SubComponent, + TestComponentWithToken, + TestInjectionTokenContentQueries, + TestInjectionTokenQueries, ] }); }); @@ -74,6 +87,19 @@ describe('query logic', () => { expect(comp.viewChildren.first).toBeAnInstanceOf(TemplateRef); }); + it('should support selecting InjectionToken', () => { + const fixture = TestBed.createComponent(TestInjectionTokenQueries); + const instance = fixture.componentInstance; + fixture.detectChanges(); + expect(instance.viewFirstOption).toBeDefined(); + expect(instance.viewFirstOption instanceof TestComponentWithToken).toBe(true); + expect(instance.viewOptions).toBeDefined(); + expect(instance.viewOptions.length).toBe(2); + expect(instance.contentFirstOption).toBeUndefined(); + expect(instance.contentOptions).toBeDefined(); + expect(instance.contentOptions.length).toBe(0); + }); + onlyInIvy('multiple local refs are supported in Ivy') .it('should return TemplateRefs when templates are labeled and retrieved', () => { const template = ` @@ -360,6 +386,17 @@ describe('query logic', () => { expect(comp.contentChildren.first).toBeAnInstanceOf(SimpleCompA); }); + it('should support selecting InjectionToken', () => { + const fixture = TestBed.createComponent(TestInjectionTokenContentQueries); + const instance = + fixture.debugElement.query(By.directive(TestInjectionTokenQueries)).componentInstance; + fixture.detectChanges(); + expect(instance.contentFirstOption).toBeDefined(); + expect(instance.contentFirstOption instanceof TestComponentWithToken).toBe(true); + expect(instance.contentOptions).toBeDefined(); + expect(instance.contentOptions.length).toBe(2); + }); + onlyInIvy('multiple local refs are supported in Ivy') .it('should return Component instances when Components are labeled and retrieved', () => { const template = ` @@ -870,7 +907,7 @@ describe('query logic', () => { - + @@ -1771,3 +1808,39 @@ class SuperDirective { }) class SubComponent extends SuperDirective { } + +const MY_OPTION_TOKEN = new InjectionToken('ComponentWithToken'); + +@Component({ + selector: 'my-option', + template: 'Option', + providers: [{provide: MY_OPTION_TOKEN, useExisting: TestComponentWithToken}], +}) +class TestComponentWithToken { +} + +@Component({ + selector: 'test-injection-token', + template: ` + + + + ` +}) +class TestInjectionTokenQueries { + @ViewChild(MY_OPTION_TOKEN) viewFirstOption!: TestComponentWithToken; + @ViewChildren(MY_OPTION_TOKEN) viewOptions!: QueryList; + @ContentChild(MY_OPTION_TOKEN) contentFirstOption!: TestComponentWithToken; + @ContentChildren(MY_OPTION_TOKEN) contentOptions!: QueryList; +} + +@Component({ + template: ` + + + + + ` +}) +class TestInjectionTokenContentQueries { +} diff --git a/packages/core/test/acceptance/renderer_factory_spec.ts b/packages/core/test/acceptance/renderer_factory_spec.ts index 9c75b00175..4d7fd84cec 100644 --- a/packages/core/test/acceptance/renderer_factory_spec.ts +++ b/packages/core/test/acceptance/renderer_factory_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -329,4 +329,4 @@ onlyInIvy('access global ngDevMode').describe('Renderer2 destruction hooks', () expect(ngDevMode!.rendererDestroy).toBe(3); expect(ngDevMode!.rendererDestroyNode).toBe(3); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/acceptance/router_integration_spec.ts b/packages/core/test/acceptance/router_integration_spec.ts index 0c9a4e3dee..059bc20607 100644 --- a/packages/core/test/acceptance/router_integration_spec.ts +++ b/packages/core/test/acceptance/router_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/acceptance/styling_spec.ts b/packages/core/test/acceptance/styling_spec.ts index 72f06e9c18..8431c9b79e 100644 --- a/packages/core/test/acceptance/styling_spec.ts +++ b/packages/core/test/acceptance/styling_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -308,7 +308,7 @@ describe('styling', () => { // VE has weird behavior where it calls the @Input('class') with either `class="static` or // `[class]="dynamic"` but never both. This is determined at compile time. Due to locality // we don't know if `[class]` is coming if we see `class` only. So we need to combine the - // static and dynamic parte. This results in slightly different calling sequence, but should + // static and dynamic parts. This results in slightly different calling sequence, but should // result in the same final DOM. expect(div1.getAttribute('shadow-class')).toEqual('s1 d1'); @@ -316,6 +316,79 @@ describe('styling', () => { expect(div2.getAttribute('shadow-class')).toEqual('s2 d2'); }); + it('should not feed host classes back into shadow input', () => { + @Component({ + template: ` +
    +
    + ` + }) + class Cmp { + } + + @Directive({selector: '[dir-shadows-class-input]', host: {'class': 'DIRECTIVE'}}) + class DirectiveShadowsClassInput { + constructor(private elementRef: ElementRef) {} + @Input('class') + set klass(value: string) { + this.elementRef.nativeElement.setAttribute('shadow-class', value); + } + } + + TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsClassInput]}); + const fixture = TestBed.createComponent(Cmp); + fixture.detectChanges(); + + const [divStatic, divBinding] = fixture.nativeElement.querySelectorAll('div'); + expectClass(divStatic).toEqual({'DIRECTIVE': true, 's1': true}); + expect(divStatic.getAttribute('shadow-class')).toEqual('s1'); + + expectClass(divBinding).toEqual({'DIRECTIVE': true, 's1': true}); + // VE has weird behavior where it calls the @Input('class') with either `class="static` or + // `[class]="dynamic"` but never both. This is determined at compile time. Due to locality + // we don't know if `[class]` is coming if we see `class` only. So we need to combine the + // static and dynamic parts. This results in slightly different calling sequence, but should + // result in the same final DOM. + expect(divBinding.getAttribute('shadow-class')).toEqual(ivyEnabled ? 's1 d1' : 'd1'); + }); + + it('should not feed host style back into shadow input', () => { + @Component({ + template: ` +
    +
    + ` + }) + class Cmp { + } + + @Directive({selector: '[dir-shadows-class-input]', host: {'style': 'color: red;'}}) + class DirectiveShadowsStyleInput { + constructor(private elementRef: ElementRef) {} + @Input('style') + set style(value: string) { + this.elementRef.nativeElement.setAttribute('shadow-style', value); + } + } + + TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsStyleInput]}); + const fixture = TestBed.createComponent(Cmp); + fixture.detectChanges(); + + const [divStatic, divBinding] = fixture.nativeElement.querySelectorAll('div'); + expectStyle(divStatic).toEqual({'color': 'red', 'width': '1px'}); + expect(divStatic.getAttribute('shadow-style')).toEqual('width: 1px;'); + + expectStyle(divBinding).toEqual({'color': 'red', 'width': '1px'}); + // VE has weird behavior where it calls the @Input('style') with either `style="static` or + // `[style]="dynamic"` but never both. This is determined at compile time. Due to locality + // we don't know if `[style]` is coming if we see `style` only. So we need to combine the + // static and dynamic parts. This results in slightly different calling sequence, but should + // result in the same final DOM. + expect(divBinding.getAttribute('shadow-style')) + .toEqual(ivyEnabled ? 'width: 1px; height:1px;' : 'height:1px;'); + }); + onlyInIvy('shadow bindings include static portion') .it('should bind [class] as input to directive when both static and falsy dynamic values are present', () => { @@ -375,7 +448,7 @@ describe('styling', () => { } @Directive({selector: '[dir-shadows-style-input]'}) - class DirectiveShadowsClassInput { + class DirectiveShadowsStyleInput { constructor(private elementRef: ElementRef) {} @Input('style') set style(value: string) { @@ -383,7 +456,7 @@ describe('styling', () => { } } - TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsClassInput]}); + TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsStyleInput]}); const fixture = TestBed.createComponent(Cmp); fixture.detectChanges(); @@ -410,7 +483,7 @@ describe('styling', () => { } @Directive({selector: '[dir-shadows-style-input]'}) - class DirectiveShadowsClassInput { + class DirectiveShadowsStyleInput { constructor(private elementRef: ElementRef) {} @Input('style') set style(value: string) { @@ -418,7 +491,7 @@ describe('styling', () => { } } - TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsClassInput]}); + TestBed.configureTestingModule({declarations: [Cmp, DirectiveShadowsStyleInput]}); const fixture = TestBed.createComponent(Cmp); fixture.detectChanges(); @@ -1880,7 +1953,7 @@ describe('styling', () => { }); onlyInIvy('only ivy has [style.prop] support') - .it('should sanitize style values before writing them', () => { + .it('should not sanitize style values before writing them', () => { @Component({ template: `
    { }); onlyInIvy('only ivy has [style] support') - .it('should sanitize style values before writing them', () => { + .it('should not sanitize style values before writing them', () => { @Component({ template: `
    (iterableChanges: IterableChanges) { @@ -64,7 +63,7 @@ export function iterableChangesAsString({ } function kvcrAsString(kvcr: KeyValueChangeRecord) { - return looseIdentical(kvcr.previousValue, kvcr.currentValue) ? + return Object.is(kvcr.previousValue, kvcr.currentValue) ? stringify(kvcr.key) : (stringify(kvcr.key) + '[' + stringify(kvcr.previousValue) + '->' + stringify(kvcr.currentValue) + ']'); diff --git a/packages/core/test/component_fixture_spec.ts b/packages/core/test/component_fixture_spec.ts index b40a78b06a..a889ecd15f 100644 --- a/packages/core/test/component_fixture_spec.ts +++ b/packages/core/test/component_fixture_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/debug/debug_node_spec.ts b/packages/core/test/debug/debug_node_spec.ts index 0ebe8c3e60..63704324c1 100644 --- a/packages/core/test/debug/debug_node_spec.ts +++ b/packages/core/test/debug/debug_node_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/dev_mode_spec.ts b/packages/core/test/dev_mode_spec.ts index d64f0cdd9d..1e1ff6f8ee 100644 --- a/packages/core/test/dev_mode_spec.ts +++ b/packages/core/test/dev_mode_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/forward_ref_spec.ts b/packages/core/test/di/forward_ref_spec.ts index 98fbccc580..81c0dd0364 100644 --- a/packages/core/test/di/forward_ref_spec.ts +++ b/packages/core/test/di/forward_ref_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/injector_spec.ts b/packages/core/test/di/injector_spec.ts index 7db573fbad..a1dab42636 100644 --- a/packages/core/test/di/injector_spec.ts +++ b/packages/core/test/di/injector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/r3_injector_spec.ts b/packages/core/test/di/r3_injector_spec.ts index 680c2c9ff3..4da5df4753 100644 --- a/packages/core/test/di/r3_injector_spec.ts +++ b/packages/core/test/di/r3_injector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/reflective_injector_spec.ts b/packages/core/test/di/reflective_injector_spec.ts index 38bb93b0a4..d06e7ac537 100644 --- a/packages/core/test/di/reflective_injector_spec.ts +++ b/packages/core/test/di/reflective_injector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/reflective_key_spec.ts b/packages/core/test/di/reflective_key_spec.ts index 1b9e3588a1..b5e1e02d22 100644 --- a/packages/core/test/di/reflective_key_spec.ts +++ b/packages/core/test/di/reflective_key_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/di/static_injector_spec.ts b/packages/core/test/di/static_injector_spec.ts index 5938638620..3106edd9a5 100644 --- a/packages/core/test/di/static_injector_spec.ts +++ b/packages/core/test/di/static_injector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/directive_lifecycle_integration_spec.ts b/packages/core/test/directive_lifecycle_integration_spec.ts index ab4e5e9e61..1bddcba6c7 100644 --- a/packages/core/test/directive_lifecycle_integration_spec.ts +++ b/packages/core/test/directive_lifecycle_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/dom/dom_adapter_spec.ts b/packages/core/test/dom/dom_adapter_spec.ts index d858eac3c2..ba1dab5bc1 100644 --- a/packages/core/test/dom/dom_adapter_spec.ts +++ b/packages/core/test/dom/dom_adapter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/dom/shim_spec.ts b/packages/core/test/dom/shim_spec.ts index 3d09e8d7d7..deb135b11f 100644 --- a/packages/core/test/dom/shim_spec.ts +++ b/packages/core/test/dom/shim_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/error_handler_spec.ts b/packages/core/test/error_handler_spec.ts index d566d61233..b02e68f405 100644 --- a/packages/core/test/error_handler_spec.ts +++ b/packages/core/test/error_handler_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/event_emitter_spec.ts b/packages/core/test/event_emitter_spec.ts index 2edecec58d..e822a62485 100644 --- a/packages/core/test/event_emitter_spec.ts +++ b/packages/core/test/event_emitter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/fake_async_spec.ts b/packages/core/test/fake_async_spec.ts index 30c7bed06d..54b494f84e 100644 --- a/packages/core/test/fake_async_spec.ts +++ b/packages/core/test/fake_async_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/forward_ref_integration_spec.ts b/packages/core/test/forward_ref_integration_spec.ts index 034dde7b87..fb5f3a9031 100644 --- a/packages/core/test/forward_ref_integration_spec.ts +++ b/packages/core/test/forward_ref_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/i18n/locale_data_api_spec.ts b/packages/core/test/i18n/locale_data_api_spec.ts index 13ecb23774..cc2f0d6d74 100644 --- a/packages/core/test/i18n/locale_data_api_spec.ts +++ b/packages/core/test/i18n/locale_data_api_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/change_detection_integration_spec.ts b/packages/core/test/linker/change_detection_integration_spec.ts index e9bd1f37fa..708e31d94e 100644 --- a/packages/core/test/linker/change_detection_integration_spec.ts +++ b/packages/core/test/linker/change_detection_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/entry_components_integration_spec.ts b/packages/core/test/linker/entry_components_integration_spec.ts index e924bd05ab..33ffcd8721 100644 --- a/packages/core/test/linker/entry_components_integration_spec.ts +++ b/packages/core/test/linker/entry_components_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/inheritance_integration_spec.ts b/packages/core/test/linker/inheritance_integration_spec.ts index 6da392f496..3b9efcf117 100644 --- a/packages/core/test/linker/inheritance_integration_spec.ts +++ b/packages/core/test/linker/inheritance_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/integration_spec.ts b/packages/core/test/linker/integration_spec.ts index fb62ced1e5..137268b641 100644 --- a/packages/core/test/linker/integration_spec.ts +++ b/packages/core/test/linker/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/jit_summaries_integration_spec.ts b/packages/core/test/linker/jit_summaries_integration_spec.ts index 3c7b28aad9..5b4d366087 100644 --- a/packages/core/test/linker/jit_summaries_integration_spec.ts +++ b/packages/core/test/linker/jit_summaries_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/ng_container_integration_spec.ts b/packages/core/test/linker/ng_container_integration_spec.ts index d0f737d6e9..a6c664559b 100644 --- a/packages/core/test/linker/ng_container_integration_spec.ts +++ b/packages/core/test/linker/ng_container_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/ng_module_integration_spec.ts b/packages/core/test/linker/ng_module_integration_spec.ts index 96233e0ed7..dceb37c944 100644 --- a/packages/core/test/linker/ng_module_integration_spec.ts +++ b/packages/core/test/linker/ng_module_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/projection_integration_spec.ts b/packages/core/test/linker/projection_integration_spec.ts index 814739e9b6..6392969c32 100644 --- a/packages/core/test/linker/projection_integration_spec.ts +++ b/packages/core/test/linker/projection_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/query_integration_spec.ts b/packages/core/test/linker/query_integration_spec.ts index bbcfad6ed0..98a34fcde5 100644 --- a/packages/core/test/linker/query_integration_spec.ts +++ b/packages/core/test/linker/query_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/query_list_spec.ts b/packages/core/test/linker/query_list_spec.ts index fa9bf5f9e9..1952621096 100644 --- a/packages/core/test/linker/query_list_spec.ts +++ b/packages/core/test/linker/query_list_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/regression_integration_spec.ts b/packages/core/test/linker/regression_integration_spec.ts index 15239a6277..d4a1956368 100644 --- a/packages/core/test/linker/regression_integration_spec.ts +++ b/packages/core/test/linker/regression_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/security_integration_spec.ts b/packages/core/test/linker/security_integration_spec.ts index 1b6457d32e..73ee5b5765 100644 --- a/packages/core/test/linker/security_integration_spec.ts +++ b/packages/core/test/linker/security_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/source_map_integration_node_only_spec.ts b/packages/core/test/linker/source_map_integration_node_only_spec.ts index 221a7c6309..256fbf0e41 100644 --- a/packages/core/test/linker/source_map_integration_node_only_spec.ts +++ b/packages/core/test/linker/source_map_integration_node_only_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/system_ng_module_factory_loader_spec.ts b/packages/core/test/linker/system_ng_module_factory_loader_spec.ts index 357b738b73..e55f1cfd20 100644 --- a/packages/core/test/linker/system_ng_module_factory_loader_spec.ts +++ b/packages/core/test/linker/system_ng_module_factory_loader_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/linker/view_injector_integration_spec.ts b/packages/core/test/linker/view_injector_integration_spec.ts index 008f9f5c37..ec3573318c 100644 --- a/packages/core/test/linker/view_injector_integration_spec.ts +++ b/packages/core/test/linker/view_injector_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/metadata/di_spec.ts b/packages/core/test/metadata/di_spec.ts index 13421776d5..b2dfd6a8bb 100644 --- a/packages/core/test/metadata/di_spec.ts +++ b/packages/core/test/metadata/di_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/metadata/resource_loading_spec.ts b/packages/core/test/metadata/resource_loading_spec.ts index 2fb11b3f11..eaec50acaf 100644 --- a/packages/core/test/metadata/resource_loading_spec.ts +++ b/packages/core/test/metadata/resource_loading_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/reflection/reflector_spec.ts b/packages/core/test/reflection/reflector_spec.ts index 90a008238f..43b732b315 100644 --- a/packages/core/test/reflection/reflector_spec.ts +++ b/packages/core/test/reflection/reflector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -201,6 +201,18 @@ class TestObj { expect(isDelegateCtor(ChildWithCtor.toString())).toBe(false); }); + it('should support ES2015 classes when minified', () => { + // These classes are ES2015 in minified form + const ChildNoCtorMinified = 'class ChildNoCtor extends Parent{}'; + const ChildWithCtorMinified = 'class ChildWithCtor extends Parent{constructor(){super()}}'; + const ChildNoCtorPrivatePropsMinified = + 'class ChildNoCtorPrivateProps extends Parent{constructor(){super(...arguments);this.x=10}}'; + + expect(isDelegateCtor(ChildNoCtorMinified)).toBe(true); + expect(isDelegateCtor(ChildNoCtorPrivatePropsMinified)).toBe(true); + expect(isDelegateCtor(ChildWithCtorMinified)).toBe(false); + }); + it('should not throw when no prototype on type', () => { // Cannot test arrow function here due to the compilation const dummyArrowFn = function() {}; diff --git a/packages/core/test/render3/change_detection_spec.ts b/packages/core/test/render3/change_detection_spec.ts index b6844608b0..6f878d8d20 100644 --- a/packages/core/test/render3/change_detection_spec.ts +++ b/packages/core/test/render3/change_detection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/common_with_def.ts b/packages/core/test/render3/common_with_def.ts index 4a36243bb4..e760c04c5f 100644 --- a/packages/core/test/render3/common_with_def.ts +++ b/packages/core/test/render3/common_with_def.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/component_ref_spec.ts b/packages/core/test/render3/component_ref_spec.ts index 4c06136361..7402ca4860 100644 --- a/packages/core/test/render3/component_ref_spec.ts +++ b/packages/core/test/render3/component_ref_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/component_spec.ts b/packages/core/test/render3/component_spec.ts index d8c19412b4..8bc748575c 100644 --- a/packages/core/test/render3/component_spec.ts +++ b/packages/core/test/render3/component_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -219,4 +219,4 @@ it('should not invoke renderer destroy method for embedded views', () => { // we should never see `destroy` method being called // in case child views are created/removed expect(destroySpy.calls.count()).toBe(0); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/di_spec.ts b/packages/core/test/render3/di_spec.ts index 8a68576228..be5e453158 100644 --- a/packages/core/test/render3/di_spec.ts +++ b/packages/core/test/render3/di_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/domino.d.ts b/packages/core/test/render3/domino.d.ts index ea774b9c78..92a8d4e245 100644 --- a/packages/core/test/render3/domino.d.ts +++ b/packages/core/test/render3/domino.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/global_utils_spec.ts b/packages/core/test/render3/global_utils_spec.ts index a95cb61d22..577eddecf7 100644 --- a/packages/core/test/render3/global_utils_spec.ts +++ b/packages/core/test/render3/global_utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/i18n_spec.ts b/packages/core/test/render3/i18n_spec.ts index 1a2cb3d2ed..977946f7bb 100644 --- a/packages/core/test/render3/i18n_spec.ts +++ b/packages/core/test/render3/i18n_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/imported_renderer2.ts b/packages/core/test/render3/imported_renderer2.ts index 88d224e9de..51a4854739 100644 --- a/packages/core/test/render3/imported_renderer2.ts +++ b/packages/core/test/render3/imported_renderer2.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/instructions/lview_debug_spec.ts b/packages/core/test/render3/instructions/lview_debug_spec.ts index 55f9d63a45..b0b69c9574 100644 --- a/packages/core/test/render3/instructions/lview_debug_spec.ts +++ b/packages/core/test/render3/instructions/lview_debug_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -151,4 +151,4 @@ describe('lView_debug', () => { }); }); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/instructions/shared_spec.ts b/packages/core/test/render3/instructions/shared_spec.ts index 73c1e61e32..8d77e50548 100644 --- a/packages/core/test/render3/instructions/shared_spec.ts +++ b/packages/core/test/render3/instructions/shared_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -55,4 +55,4 @@ export function rewindBindingIndex() { setBindingIndex(getBindingRoot()); } -function emptyTemplate() {} \ No newline at end of file +function emptyTemplate() {} diff --git a/packages/core/test/render3/instructions/styling_spec.ts b/packages/core/test/render3/instructions/styling_spec.ts index 5b5ea5047f..e11658cf0c 100644 --- a/packages/core/test/render3/instructions/styling_spec.ts +++ b/packages/core/test/render3/instructions/styling_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ import {DirectiveDef} from '@angular/core/src/render3'; import {ɵɵdefineDirective} from '@angular/core/src/render3/definition'; -import {classStringParser, styleStringParser, toStylingKeyValueArray, ɵɵclassProp, ɵɵstyleMap, ɵɵstyleProp, ɵɵstyleSanitizer} from '@angular/core/src/render3/instructions/styling'; +import {classStringParser, styleStringParser, toStylingKeyValueArray, ɵɵclassProp, ɵɵstyleMap, ɵɵstyleProp} from '@angular/core/src/render3/instructions/styling'; import {AttributeMarker, TAttributes} from '@angular/core/src/render3/interfaces/node'; import {getTStylingRangeNext, getTStylingRangeNextDuplicate, getTStylingRangePrev, getTStylingRangePrevDuplicate, setTStylingRangeNext, setTStylingRangePrev, StylingRange, toTStylingRange, TStylingKey, TStylingRange} from '@angular/core/src/render3/interfaces/styling'; import {HEADER_OFFSET, TVIEW} from '@angular/core/src/render3/interfaces/view'; diff --git a/packages/core/test/render3/instructions_spec.ts b/packages/core/test/render3/instructions_spec.ts index 95074c5b76..5f9f5ab28a 100644 --- a/packages/core/test/render3/instructions_spec.ts +++ b/packages/core/test/render3/instructions_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,10 +10,10 @@ import {NgForOfContext} from '@angular/common'; import {getSortedClassName} from '@angular/core/testing/src/styling'; import {ɵɵdefineComponent} from '../../src/render3/definition'; -import {RenderFlags, ɵɵattribute, ɵɵclassMap, ɵɵelement, ɵɵelementEnd, ɵɵelementStart, ɵɵproperty, ɵɵselect, ɵɵstyleMap, ɵɵstyleProp, ɵɵstyleSanitizer, ɵɵtemplate, ɵɵtext, ɵɵtextInterpolate1} from '../../src/render3/index'; +import {RenderFlags, ɵɵattribute, ɵɵclassMap, ɵɵelement, ɵɵelementEnd, ɵɵelementStart, ɵɵproperty, ɵɵselect, ɵɵstyleMap, ɵɵstyleProp, ɵɵtemplate, ɵɵtext, ɵɵtextInterpolate1} from '../../src/render3/index'; import {AttributeMarker} from '../../src/render3/interfaces/node'; import {bypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript, bypassSanitizationTrustStyle, bypassSanitizationTrustUrl, getSanitizationBypassType, SafeValue, unwrapSafeValue} from '../../src/sanitization/bypass'; -import {ɵɵdefaultStyleSanitizer, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl} from '../../src/sanitization/sanitization'; +import {ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl} from '../../src/sanitization/sanitization'; import {Sanitizer} from '../../src/sanitization/sanitizer'; import {SecurityContext} from '../../src/sanitization/security'; @@ -170,7 +170,6 @@ describe('instructions', () => { return createDiv(); }, () => { - ɵɵstyleSanitizer(ɵɵdefaultStyleSanitizer); ɵɵstyleProp('background-image', backgroundImage); }, 2, 2); @@ -199,35 +198,6 @@ describe('instructions', () => { fixture.update(); expect(fixture.html).toEqual('
    '); }); - - it('should sanitize new styles that may contain `url` properties', () => { - const detectedValues: string[] = []; - const sanitizerInterceptor = new MockSanitizerInterceptor(value => { - detectedValues.push(value); - }); - const fixture = new TemplateFixture( - () => { - return createDiv(); - }, // - () => { - ɵɵstyleSanitizer(sanitizerInterceptor.getStyleSanitizer()); - ɵɵstyleMap({ - 'background-image': 'background-image', - 'background': 'background', - 'border-image': 'border-image', - 'list-style': 'list-style', - 'list-style-image': 'list-style-image', - 'filter': 'filter', - 'width': 'width' - }); - }, - 1, 2, null, null, sanitizerInterceptor); - - const props = detectedValues.sort(); - expect(props).toEqual([ - 'background', 'background-image', 'border-image', 'filter', 'list-style', 'list-style-image' - ]); - }); }); describe('elementClass', () => { @@ -559,9 +529,6 @@ class LocalMockSanitizer implements Sanitizer { class MockSanitizerInterceptor { public lastValue: string|null = null; constructor(private _interceptorFn?: ((value: any) => any)|null) {} - getStyleSanitizer() { - return ɵɵdefaultStyleSanitizer; - } sanitize(context: SecurityContext, value: LocalSanitizedValue|string|null|any): string|null { if (this._interceptorFn) { this._interceptorFn(value); diff --git a/packages/core/test/render3/integration_spec.ts b/packages/core/test/render3/integration_spec.ts index c38dfa97d0..f77bd2928a 100644 --- a/packages/core/test/render3/integration_spec.ts +++ b/packages/core/test/render3/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/ivy/jit_spec.ts b/packages/core/test/render3/ivy/jit_spec.ts index 9aad29f7ac..f25eb43e7f 100644 --- a/packages/core/test/render3/ivy/jit_spec.ts +++ b/packages/core/test/render3/ivy/jit_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/jit/directive_spec.ts b/packages/core/test/render3/jit/directive_spec.ts index 8b94dadb5e..1e3aaee15c 100644 --- a/packages/core/test/render3/jit/directive_spec.ts +++ b/packages/core/test/render3/jit/directive_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/jit_environment_spec.ts b/packages/core/test/render3/jit_environment_spec.ts index 18d26e2599..fa2b19dbcd 100644 --- a/packages/core/test/render3/jit_environment_spec.ts +++ b/packages/core/test/render3/jit_environment_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/listeners_spec.ts b/packages/core/test/render3/listeners_spec.ts index 8bb81f6d53..f40e23eb57 100644 --- a/packages/core/test/render3/listeners_spec.ts +++ b/packages/core/test/render3/listeners_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -500,4 +500,4 @@ describe('event listeners', () => { button.click(); expect(fixture.component.comp).toEqual(compInstance); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/load_domino.ts b/packages/core/test/render3/load_domino.ts index 8d9d549640..ad8b549065 100644 --- a/packages/core/test/render3/load_domino.ts +++ b/packages/core/test/render3/load_domino.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/metadata_spec.ts b/packages/core/test/render3/metadata_spec.ts index 0f9a7d4f13..1ea37a795f 100644 --- a/packages/core/test/render3/metadata_spec.ts +++ b/packages/core/test/render3/metadata_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/node_selector_matcher_spec.ts b/packages/core/test/render3/node_selector_matcher_spec.ts index 5565f8a867..c1f6494f73 100644 --- a/packages/core/test/render3/node_selector_matcher_spec.ts +++ b/packages/core/test/render3/node_selector_matcher_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/README.md b/packages/core/test/render3/perf/README.md index 561711022a..781d0d58fd 100644 --- a/packages/core/test/render3/perf/README.md +++ b/packages/core/test/render3/perf/README.md @@ -1,19 +1,19 @@ ### Build ``` -yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}_lib.min_debug.es2015.js --config=ivy +yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}_lib.min_debug.js --config=ivy ``` ### Run ``` -node dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js +node dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.js ``` ### Profile ``` -node --no-turbo-inlining --inspect-brk dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js +node --no-turbo-inlining --inspect-brk dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.js ``` then connect with a debugger (the `--inspect-brk` option will make sure that benchmark execution doesn't start until a debugger is connected and the code execution is manually resumed). @@ -24,7 +24,7 @@ The actual benchmark code has calls that will start (`console.profile`) and stop ``` yarn add deoptigate -yarn deoptigate dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js +yarn deoptigate dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.js ``` ### Run All @@ -80,5 +80,7 @@ To profile, append `_profile` to the target name and attach a debugger via chrom To interactively edit/rerun benchmarks use `ibazel` instead of `bazel`. To debug +- Follow the directions in `profile_in_browser.html` +OR - `yarn bazel build --config=ivy //packages/core/test/render3/perf:noop_change_detection` -- `node --inspect-brk bazel-out/darwin-fastbuild/bin/packages/core/test/render3/perf/noop_change_detection.min_debug.es2015.js` \ No newline at end of file +- `node --inspect-brk bazel-out/darwin-fastbuild/bin/packages/core/test/render3/perf/noop_change_detection.min_debug.js` diff --git a/packages/core/test/render3/perf/class_binding/index.ts b/packages/core/test/render3/perf/class_binding/index.ts index 3085bd3ee4..ffe818ab4b 100644 --- a/packages/core/test/render3/perf/class_binding/index.ts +++ b/packages/core/test/render3/perf/class_binding/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/directive_inputs/index.ts b/packages/core/test/render3/perf/directive_inputs/index.ts index 3129875312..f5be65f392 100644 --- a/packages/core/test/render3/perf/directive_inputs/index.ts +++ b/packages/core/test/render3/perf/directive_inputs/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/directive_instantiate/index.ts b/packages/core/test/render3/perf/directive_instantiate/index.ts index c5d6a47cd4..dd3bb779dc 100644 --- a/packages/core/test/render3/perf/directive_instantiate/index.ts +++ b/packages/core/test/render3/perf/directive_instantiate/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings/index.ts b/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings/index.ts index 0d234a1205..5f13ee5788 100644 --- a/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings/index.ts +++ b/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/duplicate_style_and_class_bindings/index.ts b/packages/core/test/render3/perf/duplicate_style_and_class_bindings/index.ts index 89ef94b473..4e93dd077d 100644 --- a/packages/core/test/render3/perf/duplicate_style_and_class_bindings/index.ts +++ b/packages/core/test/render3/perf/duplicate_style_and_class_bindings/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/element_text_create/index.ts b/packages/core/test/render3/perf/element_text_create/index.ts index 2851c278fd..fe77846e4c 100644 --- a/packages/core/test/render3/perf/element_text_create/index.ts +++ b/packages/core/test/render3/perf/element_text_create/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/host_binding/index.ts b/packages/core/test/render3/perf/host_binding/index.ts index ec41b9d83e..d31326f917 100644 --- a/packages/core/test/render3/perf/host_binding/index.ts +++ b/packages/core/test/render3/perf/host_binding/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -96,4 +96,4 @@ while (updateModeProfile()) { } console.profileEnd(); -updateModeBenchmark.report(); \ No newline at end of file +updateModeBenchmark.report(); diff --git a/packages/core/test/render3/perf/interpolation/index.ts b/packages/core/test/render3/perf/interpolation/index.ts index e25efa1fb1..fb98001d4b 100644 --- a/packages/core/test/render3/perf/interpolation/index.ts +++ b/packages/core/test/render3/perf/interpolation/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/listeners/index.ts b/packages/core/test/render3/perf/listeners/index.ts index f11e6d3910..43730d6d11 100644 --- a/packages/core/test/render3/perf/listeners/index.ts +++ b/packages/core/test/render3/perf/listeners/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/map_based_style_and_class_bindings/index.ts b/packages/core/test/render3/perf/map_based_style_and_class_bindings/index.ts index 61248bf009..59e94ecfb8 100644 --- a/packages/core/test/render3/perf/map_based_style_and_class_bindings/index.ts +++ b/packages/core/test/render3/perf/map_based_style_and_class_bindings/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/micro_bench.ts b/packages/core/test/render3/perf/micro_bench.ts index b9c12454fc..917df1d034 100644 --- a/packages/core/test/render3/perf/micro_bench.ts +++ b/packages/core/test/render3/perf/micro_bench.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/ng_template/index.ts b/packages/core/test/render3/perf/ng_template/index.ts index 8c9754ed3a..ecc268f6e4 100644 --- a/packages/core/test/render3/perf/ng_template/index.ts +++ b/packages/core/test/render3/perf/ng_template/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/noop_change_detection/index.ts b/packages/core/test/render3/perf/noop_change_detection/index.ts index 29ccaec750..2dfa8679ee 100644 --- a/packages/core/test/render3/perf/noop_change_detection/index.ts +++ b/packages/core/test/render3/perf/noop_change_detection/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -25,4 +25,4 @@ while (refreshTime()) { console.profileEnd(); // report results -noopChangeDetection.report(); \ No newline at end of file +noopChangeDetection.report(); diff --git a/packages/core/test/render3/perf/noop_renderer.ts b/packages/core/test/render3/perf/noop_renderer.ts index 1401df52ea..f8f48db116 100644 --- a/packages/core/test/render3/perf/noop_renderer.ts +++ b/packages/core/test/render3/perf/noop_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -112,4 +112,4 @@ function remove(text: string, key: string): string { wasLastWhitespace = text.charCodeAt(i) <= Code.SPACE; } return text; -} \ No newline at end of file +} diff --git a/packages/core/test/render3/perf/noop_renderer_spec.ts b/packages/core/test/render3/perf/noop_renderer_spec.ts index d569096d74..b07221df83 100644 --- a/packages/core/test/render3/perf/noop_renderer_spec.ts +++ b/packages/core/test/render3/perf/noop_renderer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,4 +35,4 @@ describe('MicroBenchmarkRenderNode', () => { expect(node.className).toBe('AA BBB C'); }); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/perf/profile_all.js b/packages/core/test/render3/perf/profile_all.js index 0c7f11e400..cf4dec42a3 100644 --- a/packages/core/test/render3/perf/profile_all.js +++ b/packages/core/test/render3/perf/profile_all.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,7 +30,7 @@ const profileTests = // build tests shell.exec( `yarn bazel build --config=ivy ` + - profileTests.map((name) => `//packages/core/test/render3/perf:${name}_lib.min_debug.es2015.js`) + profileTests.map((name) => `//packages/core/test/render3/perf:${name}_lib.min_debug.js`) .join(' ')); // profile tests @@ -60,8 +60,7 @@ if (readPath) { profileTests.forEach((name) => { // tslint:disable-next-line:no-console console.log('----------------', name, '----------------'); - const log = - shell.exec(`node dist/bin/packages/core/test/render3/perf/${name}_lib.min_debug.es2015.js`); + const log = shell.exec(`node dist/bin/packages/core/test/render3/perf/${name}_lib.min_debug.js`); if (log.code != 0) throw new Error(log); const matches = log.stdout.match(/: ([\d\.]+) (.s)/); const runTime = times[name] || (times[name] = {name: name}); diff --git a/packages/core/test/render3/perf/profile_in_browser.html b/packages/core/test/render3/perf/profile_in_browser.html index 176a623ba8..70d61916fe 100644 --- a/packages/core/test/render3/perf/profile_in_browser.html +++ b/packages/core/test/render3/perf/profile_in_browser.html @@ -2,13 +2,17 @@
      -
    1. Build the benchmark using yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}.min_debug.es2015.js --config=ivy
    2. +
    3. Build the benchmark using yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}.min_debug.js --config=ivy
    4. Open this file using the file:// protocol and add ?benchmark=BENCHMARK to the URL.
    5. -
    6. Open debug console for details
    7. +
    8. + Note: You should likely run this in an incognito browser with the "no-turbo-inlining" flag.
      + On Chrome, the command would be /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome -incognito --js-flags="--no-turbo-inlining" +
    9. +
    10. Open debug console for details. Benchmark profiles are available in the "JavaScript Profiler" tab of Chrome DevTools.
    diff --git a/packages/core/test/render3/perf/property_binding/index.ts b/packages/core/test/render3/perf/property_binding/index.ts index 810959f88c..d5e87e6680 100644 --- a/packages/core/test/render3/perf/property_binding/index.ts +++ b/packages/core/test/render3/perf/property_binding/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -83,4 +83,4 @@ while (refreshTime()) { console.profileEnd(); // report results -propertyBindingRefresh.report(); \ No newline at end of file +propertyBindingRefresh.report(); diff --git a/packages/core/test/render3/perf/property_binding_update/index.ts b/packages/core/test/render3/perf/property_binding_update/index.ts index 2baacbf5f8..5051ad7775 100644 --- a/packages/core/test/render3/perf/property_binding_update/index.ts +++ b/packages/core/test/render3/perf/property_binding_update/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -88,4 +88,4 @@ while (updateTime()) { } console.profileEnd(); -propertyBindingBenchmark.report(); \ No newline at end of file +propertyBindingBenchmark.report(); diff --git a/packages/core/test/render3/perf/setup.ts b/packages/core/test/render3/perf/setup.ts index cd90954f73..3e2e88b822 100644 --- a/packages/core/test/render3/perf/setup.ts +++ b/packages/core/test/render3/perf/setup.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/shared.ts b/packages/core/test/render3/perf/shared.ts index 55038df751..472d234227 100644 --- a/packages/core/test/render3/perf/shared.ts +++ b/packages/core/test/render3/perf/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/style_and_class_bindings/index.ts b/packages/core/test/render3/perf/style_and_class_bindings/index.ts index 84a6cf4de9..587f3247ae 100644 --- a/packages/core/test/render3/perf/style_and_class_bindings/index.ts +++ b/packages/core/test/render3/perf/style_and_class_bindings/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/style_binding/index.ts b/packages/core/test/render3/perf/style_binding/index.ts index 5e63677bb1..2b42399a79 100644 --- a/packages/core/test/render3/perf/style_binding/index.ts +++ b/packages/core/test/render3/perf/style_binding/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perf/view_destroy_hook/index.ts b/packages/core/test/render3/perf/view_destroy_hook/index.ts index 98aa6de0b9..fb84ea4831 100644 --- a/packages/core/test/render3/perf/view_destroy_hook/index.ts +++ b/packages/core/test/render3/perf/view_destroy_hook/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/perfCounter_spec.ts b/packages/core/test/render3/perfCounter_spec.ts index 48f42784d0..60fd126d57 100644 --- a/packages/core/test/render3/perfCounter_spec.ts +++ b/packages/core/test/render3/perfCounter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/pipe_spec.ts b/packages/core/test/render3/pipe_spec.ts index 8131229436..55c4290f36 100644 --- a/packages/core/test/render3/pipe_spec.ts +++ b/packages/core/test/render3/pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/providers_spec.ts b/packages/core/test/render3/providers_spec.ts index 4149679dfd..e41a689833 100644 --- a/packages/core/test/render3/providers_spec.ts +++ b/packages/core/test/render3/providers_spec.ts @@ -1,15 +1,15 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Component as _Component, ComponentFactoryResolver, ElementRef, Injectable as _Injectable, InjectFlags, InjectionToken, InjectorType, Provider, RendererFactory2, ViewContainerRef, ɵNgModuleDef as NgModuleDef, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵinject} from '../../src/core'; +import {Component as _Component, ComponentFactoryResolver, ElementRef, Injectable as _Injectable, InjectFlags, InjectionToken, InjectorType, Provider, RendererFactory2, Type, ViewContainerRef, ɵNgModuleDef as NgModuleDef, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵinject} from '../../src/core'; import {forwardRef} from '../../src/di/forward_ref'; import {createInjector} from '../../src/di/r3_injector'; -import {injectComponentFactoryResolver, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdirectiveInject, ɵɵelement, ɵɵelementEnd, ɵɵelementStart, ɵɵProvidersFeature, ɵɵtext, ɵɵtextInterpolate1} from '../../src/render3/index'; +import {injectComponentFactoryResolver, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdirectiveInject, ɵɵelement, ɵɵelementEnd, ɵɵelementStart, ɵɵgetInheritedFactory, ɵɵProvidersFeature, ɵɵtext, ɵɵtextInterpolate1} from '../../src/render3/index'; import {RenderFlags} from '../../src/render3/interfaces/definition'; import {NgModuleFactory} from '../../src/render3/ng_module_ref'; import {getInjector} from '../../src/render3/util/discovery_utils'; @@ -1282,7 +1282,126 @@ describe('providers', () => { expect(injector.get(Some).location).toEqual('From app component'); }); }); + + // Note: these tests check the behavior of `getInheritedFactory` specifically. + // Since `getInheritedFactory` is only generated in AOT, the tests can't be + // ported directly to TestBed while running in JIT mode. + describe('getInheritedFactory on class with custom decorator', () => { + function addFoo() { + return (constructor: Type): any => { + const decoratedClass = class Extender extends constructor { foo = 'bar'; }; + + // On IE10 child classes don't inherit static properties by default. If we detect + // such a case, try to account for it so the tests are consistent between browsers. + if (Object.getPrototypeOf(decoratedClass) !== constructor) { + decoratedClass.prototype = constructor.prototype; + } + + return decoratedClass; + }; + } + + it('should find the correct factories if a parent class has a custom decorator', () => { + class GrandParent { + static ɵfac = function GrandParent_Factory() {}; + } + + @addFoo() + class Parent extends GrandParent { + static ɵfac = function Parent_Factory() {}; + } + + class Child extends Parent { + static ɵfac = function Child_Factory() {}; + } + + expect(ɵɵgetInheritedFactory(Child).name).toBe('Parent_Factory'); + expect(ɵɵgetInheritedFactory(Parent).name).toBe('GrandParent_Factory'); + expect(ɵɵgetInheritedFactory(GrandParent).name).toBeFalsy(); + }); + + it('should find the correct factories if a child class has a custom decorator', () => { + class GrandParent { + static ɵfac = function GrandParent_Factory() {}; + } + + class Parent extends GrandParent { + static ɵfac = function Parent_Factory() {}; + } + + @addFoo() + class Child extends Parent { + static ɵfac = function Child_Factory() {}; + } + + expect(ɵɵgetInheritedFactory(Child).name).toBe('Parent_Factory'); + expect(ɵɵgetInheritedFactory(Parent).name).toBe('GrandParent_Factory'); + expect(ɵɵgetInheritedFactory(GrandParent).name).toBeFalsy(); + }); + + it('should find the correct factories if a grandparent class has a custom decorator', () => { + @addFoo() + class GrandParent { + static ɵfac = function GrandParent_Factory() {}; + } + + class Parent extends GrandParent { + static ɵfac = function Parent_Factory() {}; + } + + class Child extends Parent { + static ɵfac = function Child_Factory() {}; + } + + expect(ɵɵgetInheritedFactory(Child).name).toBe('Parent_Factory'); + expect(ɵɵgetInheritedFactory(Parent).name).toBe('GrandParent_Factory'); + expect(ɵɵgetInheritedFactory(GrandParent).name).toBeFalsy(); + }); + + it('should find the correct factories if all classes have a custom decorator', () => { + @addFoo() + class GrandParent { + static ɵfac = function GrandParent_Factory() {}; + } + + @addFoo() + class Parent extends GrandParent { + static ɵfac = function Parent_Factory() {}; + } + + @addFoo() + class Child extends Parent { + static ɵfac = function Child_Factory() {}; + } + + expect(ɵɵgetInheritedFactory(Child).name).toBe('Parent_Factory'); + expect(ɵɵgetInheritedFactory(Parent).name).toBe('GrandParent_Factory'); + expect(ɵɵgetInheritedFactory(GrandParent).name).toBeFalsy(); + }); + + it('should find the correct factories if parent and grandparent classes have a custom decorator', + () => { + @addFoo() + class GrandParent { + static ɵfac = function GrandParent_Factory() {}; + } + + @addFoo() + class Parent extends GrandParent { + static ɵfac = function Parent_Factory() {}; + } + + class Child extends Parent { + static ɵfac = function Child_Factory() {}; + } + + expect(ɵɵgetInheritedFactory(Child).name).toBe('Parent_Factory'); + expect(ɵɵgetInheritedFactory(Parent).name).toBe('GrandParent_Factory'); + expect(ɵɵgetInheritedFactory(GrandParent).name).toBeFalsy(); + }); + }); }); + interface ComponentTest { providers?: Provider[]; viewProviders?: Provider[]; diff --git a/packages/core/test/render3/query_spec.ts b/packages/core/test/render3/query_spec.ts index 67e318f404..4b8cca9ca7 100644 --- a/packages/core/test/render3/query_spec.ts +++ b/packages/core/test/render3/query_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/render_util.ts b/packages/core/test/render3/render_util.ts index 0dfd00ef6b..5fb27646c0 100644 --- a/packages/core/test/render3/render_util.ts +++ b/packages/core/test/render3/render_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/renderer_factory_spec.ts b/packages/core/test/render3/renderer_factory_spec.ts index 6b873b75ce..e331df8a3b 100644 --- a/packages/core/test/render3/renderer_factory_spec.ts +++ b/packages/core/test/render3/renderer_factory_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/styling_next/class_differ_spec.ts b/packages/core/test/render3/styling_next/class_differ_spec.ts index 45aed5f4ca..c9fb8cb662 100644 --- a/packages/core/test/render3/styling_next/class_differ_spec.ts +++ b/packages/core/test/render3/styling_next/class_differ_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/styling_next/static_styling_spec.ts b/packages/core/test/render3/styling_next/static_styling_spec.ts index 5df0dc2bae..ddc0ea786c 100644 --- a/packages/core/test/render3/styling_next/static_styling_spec.ts +++ b/packages/core/test/render3/styling_next/static_styling_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,7 +20,7 @@ describe('static styling', () => { tNode = createTNode(null!, null!, TNodeType.Element, 0, '', null); }); it('should initialize when no attrs', () => { - computeStaticStyling(tNode, []); + computeStaticStyling(tNode, [], true); expect(tNode.classes).toEqual(null); expect(tNode.styles).toEqual(null); }); @@ -31,7 +31,7 @@ describe('static styling', () => { AttributeMarker.Classes, 'my-class', // AttributeMarker.Styles, 'color', 'red' // ]; - computeStaticStyling(tNode, tAttrs); + computeStaticStyling(tNode, tAttrs, true); expect(tNode.classes).toEqual('my-class'); expect(tNode.styles).toEqual('color: red;'); }); @@ -42,8 +42,8 @@ describe('static styling', () => { AttributeMarker.Classes, 'my-class', 'other', // AttributeMarker.Styles, 'color', 'red', 'width', '100px' // ]; - computeStaticStyling(tNode, tAttrs); + computeStaticStyling(tNode, tAttrs, true); expect(tNode.classes).toEqual('my-class other'); expect(tNode.styles).toEqual('color: red; width: 100px;'); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/styling_next/style_binding_list_spec.ts b/packages/core/test/render3/styling_next/style_binding_list_spec.ts index e42a2f50bf..b3f3c87033 100644 --- a/packages/core/test/render3/styling_next/style_binding_list_spec.ts +++ b/packages/core/test/render3/styling_next/style_binding_list_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -489,4 +489,4 @@ export function getStylingBindingHead(tData: TData, tNode: TNode, isClassBinding index = prev; } } -} \ No newline at end of file +} diff --git a/packages/core/test/render3/testing_spec.ts b/packages/core/test/render3/testing_spec.ts index cd1e2844d7..2796dcf4e3 100644 --- a/packages/core/test/render3/testing_spec.ts +++ b/packages/core/test/render3/testing_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -45,4 +45,4 @@ describe('testing', () => { requestAnimationFrame(done); }); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/util/attr_util_spec.ts b/packages/core/test/render3/util/attr_util_spec.ts index a3fb25542f..e8910f4875 100644 --- a/packages/core/test/render3/util/attr_util_spec.ts +++ b/packages/core/test/render3/util/attr_util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -116,4 +116,4 @@ describe('attr_util', () => { expect(mergeHostAttrs(['K', '', 'X', 'x'], ['K', 'v'])).toEqual(['K', 'v', 'X', 'x']); }); }); -}); \ No newline at end of file +}); diff --git a/packages/core/test/render3/view_container_ref_spec.ts b/packages/core/test/render3/view_container_ref_spec.ts index 7194fb31f9..3dc159923b 100644 --- a/packages/core/test/render3/view_container_ref_spec.ts +++ b/packages/core/test/render3/view_container_ref_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/render3/view_utils_spec.ts b/packages/core/test/render3/view_utils_spec.ts index 944921fcfa..a7abf74d78 100644 --- a/packages/core/test/render3/view_utils_spec.ts +++ b/packages/core/test/render3/view_utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/sanitization/html_sanitizer_spec.ts b/packages/core/test/sanitization/html_sanitizer_spec.ts index 8e99a670e4..440ffb8bb0 100644 --- a/packages/core/test/sanitization/html_sanitizer_spec.ts +++ b/packages/core/test/sanitization/html_sanitizer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/sanitization/sanitization_spec.ts b/packages/core/test/sanitization/sanitization_spec.ts index 106b4e34e2..7e7dfc07e0 100644 --- a/packages/core/test/sanitization/sanitization_spec.ts +++ b/packages/core/test/sanitization/sanitization_spec.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/sanitization/url_sanitizer_spec.ts b/packages/core/test/sanitization/url_sanitizer_spec.ts index 6c53c9328a..026dbb77c2 100644 --- a/packages/core/test/sanitization/url_sanitizer_spec.ts +++ b/packages/core/test/sanitization/url_sanitizer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/spies.ts b/packages/core/test/spies.ts index ff2638cbe4..557bf44fe8 100644 --- a/packages/core/test/spies.ts +++ b/packages/core/test/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/strict_types/inheritance_spec.ts b/packages/core/test/strict_types/inheritance_spec.ts index 28e6b3aa66..a21ce06936 100644 --- a/packages/core/test/strict_types/inheritance_spec.ts +++ b/packages/core/test/strict_types/inheritance_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/test_bed_async_spec.ts b/packages/core/test/test_bed_async_spec.ts index 4f158c5e8b..e4f11a9080 100644 --- a/packages/core/test/test_bed_async_spec.ts +++ b/packages/core/test/test_bed_async_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/test_bed_spec.ts b/packages/core/test/test_bed_spec.ts index ff5235974c..02386f5ab1 100644 --- a/packages/core/test/test_bed_spec.ts +++ b/packages/core/test/test_bed_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/testability/testability_spec.ts b/packages/core/test/testability/testability_spec.ts index bdca80a38c..c70f42620e 100644 --- a/packages/core/test/testability/testability_spec.ts +++ b/packages/core/test/testability/testability_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/testing_internal_spec.ts b/packages/core/test/testing_internal_spec.ts index 584e93ebf9..b6252ad164 100644 --- a/packages/core/test/testing_internal_spec.ts +++ b/packages/core/test/testing_internal_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util/array_utils_spec.ts b/packages/core/test/util/array_utils_spec.ts index 48ef711673..e46270c914 100644 --- a/packages/core/test/util/array_utils_spec.ts +++ b/packages/core/test/util/array_utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util/decorators_spec.ts b/packages/core/test/util/decorators_spec.ts index d418f01a63..7ff49c59af 100644 --- a/packages/core/test/util/decorators_spec.ts +++ b/packages/core/test/util/decorators_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util/global_spec.ts b/packages/core/test/util/global_spec.ts index 7aff2fcd21..0ea8522378 100644 --- a/packages/core/test/util/global_spec.ts +++ b/packages/core/test/util/global_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util/lang_spec.ts b/packages/core/test/util/lang_spec.ts index d734463171..fbad272589 100644 --- a/packages/core/test/util/lang_spec.ts +++ b/packages/core/test/util/lang_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util/stringify_spec.ts b/packages/core/test/util/stringify_spec.ts index d2e15e2f04..a4c745f4f6 100644 --- a/packages/core/test/util/stringify_spec.ts +++ b/packages/core/test/util/stringify_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/util_spec.ts b/packages/core/test/util_spec.ts index 2c31deb7f1..2596669ec4 100644 --- a/packages/core/test/util_spec.ts +++ b/packages/core/test/util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/anchor_spec.ts b/packages/core/test/view/anchor_spec.ts index d5e5e9535a..9d4f078651 100644 --- a/packages/core/test/view/anchor_spec.ts +++ b/packages/core/test/view/anchor_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/component_view_spec.ts b/packages/core/test/view/component_view_spec.ts index cb53b9791b..9167fedad8 100644 --- a/packages/core/test/view/component_view_spec.ts +++ b/packages/core/test/view/component_view_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/element_spec.ts b/packages/core/test/view/element_spec.ts index 551a533ada..d2228dbb69 100644 --- a/packages/core/test/view/element_spec.ts +++ b/packages/core/test/view/element_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/embedded_view_spec.ts b/packages/core/test/view/embedded_view_spec.ts index d1c3d5f0b2..a1b1d954ba 100644 --- a/packages/core/test/view/embedded_view_spec.ts +++ b/packages/core/test/view/embedded_view_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/helper.ts b/packages/core/test/view/helper.ts index 3efd574c40..d362f6646f 100644 --- a/packages/core/test/view/helper.ts +++ b/packages/core/test/view/helper.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/ng_content_spec.ts b/packages/core/test/view/ng_content_spec.ts index ae393ba29d..11f8280c8e 100644 --- a/packages/core/test/view/ng_content_spec.ts +++ b/packages/core/test/view/ng_content_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/ng_module_spec.ts b/packages/core/test/view/ng_module_spec.ts index 0d8d313e1b..a139047e8a 100644 --- a/packages/core/test/view/ng_module_spec.ts +++ b/packages/core/test/view/ng_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/provider_spec.ts b/packages/core/test/view/provider_spec.ts index 041b237b12..5c13af5b3c 100644 --- a/packages/core/test/view/provider_spec.ts +++ b/packages/core/test/view/provider_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/pure_expression_spec.ts b/packages/core/test/view/pure_expression_spec.ts index 373522c752..3c17374317 100644 --- a/packages/core/test/view/pure_expression_spec.ts +++ b/packages/core/test/view/pure_expression_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/query_spec.ts b/packages/core/test/view/query_spec.ts index a5063d8a74..c473f56505 100644 --- a/packages/core/test/view/query_spec.ts +++ b/packages/core/test/view/query_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/services_spec.ts b/packages/core/test/view/services_spec.ts index 7ce90cf40b..8ae06eb503 100644 --- a/packages/core/test/view/services_spec.ts +++ b/packages/core/test/view/services_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/text_spec.ts b/packages/core/test/view/text_spec.ts index e5e907721d..a1a6970e91 100644 --- a/packages/core/test/view/text_spec.ts +++ b/packages/core/test/view/text_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/view/view_def_spec.ts b/packages/core/test/view/view_def_spec.ts index b7c3b7afcf..fb45d742e2 100644 --- a/packages/core/test/view/view_def_spec.ts +++ b/packages/core/test/view/view_def_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/test/zone/ng_zone_spec.ts b/packages/core/test/zone/ng_zone_spec.ts index 13d0d5389b..34655fb433 100644 --- a/packages/core/test/zone/ng_zone_spec.ts +++ b/packages/core/test/zone/ng_zone_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/index.ts b/packages/core/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/core/testing/index.ts +++ b/packages/core/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/public_api.ts b/packages/core/testing/public_api.ts index 3f9af0fc8b..06334ebc4e 100644 --- a/packages/core/testing/public_api.ts +++ b/packages/core/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/async.ts b/packages/core/testing/src/async.ts index 0fd5a940f2..3b12d1c0a9 100644 --- a/packages/core/testing/src/async.ts +++ b/packages/core/testing/src/async.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/async_fallback.ts b/packages/core/testing/src/async_fallback.ts index 897da61d79..10d3b47f78 100644 --- a/packages/core/testing/src/async_fallback.ts +++ b/packages/core/testing/src/async_fallback.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/async_test_completer.ts b/packages/core/testing/src/async_test_completer.ts index 064e9b6d4d..2d2385a3de 100644 --- a/packages/core/testing/src/async_test_completer.ts +++ b/packages/core/testing/src/async_test_completer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/before_each.ts b/packages/core/testing/src/before_each.ts index aaf7cab682..f438935169 100644 --- a/packages/core/testing/src/before_each.ts +++ b/packages/core/testing/src/before_each.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/component_fixture.ts b/packages/core/testing/src/component_fixture.ts index 38e2f102db..6cd2853d61 100644 --- a/packages/core/testing/src/component_fixture.ts +++ b/packages/core/testing/src/component_fixture.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/fake_async.ts b/packages/core/testing/src/fake_async.ts index f515987b59..5050b9070b 100644 --- a/packages/core/testing/src/fake_async.ts +++ b/packages/core/testing/src/fake_async.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/fake_async_fallback.ts b/packages/core/testing/src/fake_async_fallback.ts index 0b15a9533e..2ff6bf358a 100644 --- a/packages/core/testing/src/fake_async_fallback.ts +++ b/packages/core/testing/src/fake_async_fallback.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/lang_utils.ts b/packages/core/testing/src/lang_utils.ts index 8b41aa56b2..0091fdae24 100644 --- a/packages/core/testing/src/lang_utils.ts +++ b/packages/core/testing/src/lang_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/logger.ts b/packages/core/testing/src/logger.ts index 38c074b8d0..65b482a761 100644 --- a/packages/core/testing/src/logger.ts +++ b/packages/core/testing/src/logger.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/metadata_override.ts b/packages/core/testing/src/metadata_override.ts index ad5b62b94a..6e90bee622 100644 --- a/packages/core/testing/src/metadata_override.ts +++ b/packages/core/testing/src/metadata_override.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/metadata_overrider.ts b/packages/core/testing/src/metadata_overrider.ts index 81bfbf8064..b070457768 100644 --- a/packages/core/testing/src/metadata_overrider.ts +++ b/packages/core/testing/src/metadata_overrider.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/ng_zone_mock.ts b/packages/core/testing/src/ng_zone_mock.ts index 65373def5a..e6aae4a7c0 100644 --- a/packages/core/testing/src/ng_zone_mock.ts +++ b/packages/core/testing/src/ng_zone_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/private_export_testing.ts b/packages/core/testing/src/private_export_testing.ts index e498acf468..8a6e4c8b03 100644 --- a/packages/core/testing/src/private_export_testing.ts +++ b/packages/core/testing/src/private_export_testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/r3_test_bed.ts b/packages/core/testing/src/r3_test_bed.ts index 178b3ba5e4..45aeae770f 100644 --- a/packages/core/testing/src/r3_test_bed.ts +++ b/packages/core/testing/src/r3_test_bed.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -332,7 +332,7 @@ export class TestBedRender3 implements TestBed { createComponent(type: Type): ComponentFixture { const testComponentRenderer = this.inject(TestComponentRenderer); - const rootElId = `root-ng-internal-isolated-${_nextRootElementId++}`; + const rootElId = `root${_nextRootElementId++}`; testComponentRenderer.insertRootElement(rootElId); const componentDef = (type as any).ɵcmp; diff --git a/packages/core/testing/src/r3_test_bed_compiler.ts b/packages/core/testing/src/r3_test_bed_compiler.ts index 5fd7623f86..2fc853801a 100644 --- a/packages/core/testing/src/r3_test_bed_compiler.ts +++ b/packages/core/testing/src/r3_test_bed_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/resolvers.ts b/packages/core/testing/src/resolvers.ts index fa2f7b3531..929acaecfc 100644 --- a/packages/core/testing/src/resolvers.ts +++ b/packages/core/testing/src/resolvers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/styling.ts b/packages/core/testing/src/styling.ts index d843d6d1aa..906edc0921 100644 --- a/packages/core/testing/src/styling.ts +++ b/packages/core/testing/src/styling.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -81,4 +81,4 @@ export function getElementStyles(element: Element): {[key: string]: string} { } } return styles; -} \ No newline at end of file +} diff --git a/packages/core/testing/src/test_bed.ts b/packages/core/testing/src/test_bed.ts index 38ebcfe41d..7811c8947f 100644 --- a/packages/core/testing/src/test_bed.ts +++ b/packages/core/testing/src/test_bed.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/test_bed_common.ts b/packages/core/testing/src/test_bed_common.ts index 93c2123bc1..48cfad0452 100644 --- a/packages/core/testing/src/test_bed_common.ts +++ b/packages/core/testing/src/test_bed_common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/test_compiler.ts b/packages/core/testing/src/test_compiler.ts index 4b7337eb37..0f14bb1a4f 100644 --- a/packages/core/testing/src/test_compiler.ts +++ b/packages/core/testing/src/test_compiler.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/testing.ts b/packages/core/testing/src/testing.ts index baefc11881..220cbc9d43 100644 --- a/packages/core/testing/src/testing.ts +++ b/packages/core/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/core/testing/src/testing_internal.ts b/packages/core/testing/src/testing_internal.ts index 8e28a62432..5cd971d5ec 100644 --- a/packages/core/testing/src/testing_internal.ts +++ b/packages/core/testing/src/testing_internal.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/BUILD.bazel b/packages/elements/BUILD.bazel index a5b89b28c9..465b8cbeaa 100644 --- a/packages/elements/BUILD.bazel +++ b/packages/elements/BUILD.bazel @@ -19,10 +19,7 @@ ng_module( ng_package( name = "npm_package", - srcs = glob([ - "**/*.externs.js", - "**/package.json", - ]), + srcs = ["package.json"], entry_point = ":index.ts", nested_packages = [ "//packages/elements/schematics:npm_package", diff --git a/packages/elements/index.ts b/packages/elements/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/elements/index.ts +++ b/packages/elements/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/package.json b/packages/elements/package.json index fb4dfa0291..b805c9cf0a 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -4,11 +4,13 @@ "description": "Angular - library for using Angular Components as Custom Elements", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "rxjs": "^6.5.3", - "tslib": "^1.10.0" + "rxjs": "^6.5.3" }, "repository": { "type": "git", diff --git a/packages/elements/public_api.ts b/packages/elements/public_api.ts index 98a3d66c23..1eda6a4541 100644 --- a/packages/elements/public_api.ts +++ b/packages/elements/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/schematics/ng-add/index.ts b/packages/elements/schematics/ng-add/index.ts index 4db7a43f95..0f59fc9cef 100644 --- a/packages/elements/schematics/ng-add/index.ts +++ b/packages/elements/schematics/ng-add/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/schematics/ng-add/index_spec.ts b/packages/elements/schematics/ng-add/index_spec.ts index 0cb6ba0472..153cba8bb4 100644 --- a/packages/elements/schematics/ng-add/index_spec.ts +++ b/packages/elements/schematics/ng-add/index_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/schematics/ng-add/schema.d.ts b/packages/elements/schematics/ng-add/schema.d.ts index 845cd6ca03..5690d7da29 100644 --- a/packages/elements/schematics/ng-add/schema.d.ts +++ b/packages/elements/schematics/ng-add/schema.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/src/component-factory-strategy.ts b/packages/elements/src/component-factory-strategy.ts index e5b691b680..3e5fcc5212 100644 --- a/packages/elements/src/component-factory-strategy.ts +++ b/packages/elements/src/component-factory-strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,7 +26,7 @@ const DESTROY_DELAY = 10; export class ComponentNgElementStrategyFactory implements NgElementStrategyFactory { componentFactory: ComponentFactory; - constructor(private component: Type, private injector: Injector) { + constructor(component: Type, injector: Injector) { this.componentFactory = injector.get(ComponentFactoryResolver).resolveComponentFactory(component); } @@ -48,8 +48,7 @@ export class ComponentNgElementStrategy implements NgElementStrategy { events!: Observable; /** Reference to the component that was created on connect. */ - // TODO(issue/24571): remove '!'. - private componentRef!: ComponentRef|null; + private componentRef: ComponentRef|null = null; /** Changes that have been made to the component ref since the last time onChanges was called. */ private inputChanges: SimpleChanges|null = null; @@ -86,7 +85,7 @@ export class ComponentNgElementStrategy implements NgElementStrategy { return; } - if (!this.componentRef) { + if (this.componentRef === null) { this.initializeComponent(element); } } @@ -97,15 +96,15 @@ export class ComponentNgElementStrategy implements NgElementStrategy { */ disconnect() { // Return if there is no componentRef or the component is already scheduled for destruction - if (!this.componentRef || this.scheduledDestroyFn !== null) { + if (this.componentRef === null || this.scheduledDestroyFn !== null) { return; } // Schedule the component to be destroyed after a small timeout in case it is being // moved elsewhere in the DOM this.scheduledDestroyFn = scheduler.schedule(() => { - if (this.componentRef) { - this.componentRef!.destroy(); + if (this.componentRef !== null) { + this.componentRef.destroy(); this.componentRef = null; } }, DESTROY_DELAY); @@ -116,11 +115,11 @@ export class ComponentNgElementStrategy implements NgElementStrategy { * retrieved from the cached initialization values. */ getInputValue(property: string): any { - if (!this.componentRef) { + if (this.componentRef === null) { return this.initialInputValues.get(property); } - return (this.componentRef.instance as any)[property]; + return this.componentRef.instance[property]; } /** @@ -128,7 +127,7 @@ export class ComponentNgElementStrategy implements NgElementStrategy { * cached and set when the component is created. */ setInputValue(property: string, value: any): void { - if (!this.componentRef) { + if (this.componentRef === null) { this.initialInputValues.set(property, value); return; } @@ -142,7 +141,7 @@ export class ComponentNgElementStrategy implements NgElementStrategy { } this.recordInputChange(property, value); - (this.componentRef.instance as any)[property] = value; + this.componentRef.instance[property] = value; this.scheduleDetectChanges(); } @@ -156,11 +155,10 @@ export class ComponentNgElementStrategy implements NgElementStrategy { extractProjectableNodes(element, this.componentFactory.ngContentSelectors); this.componentRef = this.componentFactory.create(childInjector, projectableNodes, element); - this.implementsOnChanges = - isFunction((this.componentRef.instance as any as OnChanges).ngOnChanges); + this.implementsOnChanges = isFunction((this.componentRef.instance as OnChanges).ngOnChanges); this.initializeInputs(); - this.initializeOutputs(); + this.initializeOutputs(this.componentRef); this.detectChanges(); @@ -188,17 +186,17 @@ export class ComponentNgElementStrategy implements NgElementStrategy { } /** Sets up listeners for the component's outputs so that the events stream emits the events. */ - protected initializeOutputs(): void { + protected initializeOutputs(componentRef: ComponentRef): void { const eventEmitters = this.componentFactory.outputs.map(({propName, templateName}) => { - const emitter = (this.componentRef!.instance as any)[propName] as EventEmitter; - return emitter.pipe(map((value: any) => ({name: templateName, value}))); + const emitter: EventEmitter = componentRef.instance[propName]; + return emitter.pipe(map(value => ({name: templateName, value}))); }); this.events = merge(...eventEmitters); } /** Calls ngOnChanges with all the inputs that have changed since the last call. */ - protected callNgOnChanges(): void { + protected callNgOnChanges(componentRef: ComponentRef): void { if (!this.implementsOnChanges || this.inputChanges === null) { return; } @@ -207,7 +205,7 @@ export class ComponentNgElementStrategy implements NgElementStrategy { // during ngOnChanges. const inputChanges = this.inputChanges; this.inputChanges = null; - (this.componentRef!.instance as any as OnChanges).ngOnChanges(inputChanges); + (componentRef.instance as OnChanges).ngOnChanges(inputChanges); } /** @@ -230,7 +228,8 @@ export class ComponentNgElementStrategy implements NgElementStrategy { */ protected recordInputChange(property: string, currentValue: any): void { // Do not record the change if the component does not implement `OnChanges`. - if (this.componentRef && !this.implementsOnChanges) { + // (We can only determine that after the component has been instantiated.) + if (this.componentRef !== null && !this.implementsOnChanges) { return; } @@ -255,11 +254,11 @@ export class ComponentNgElementStrategy implements NgElementStrategy { /** Runs change detection on the component. */ protected detectChanges(): void { - if (!this.componentRef) { + if (this.componentRef === null) { return; } - this.callNgOnChanges(); - this.componentRef!.changeDetectorRef.detectChanges(); + this.callNgOnChanges(this.componentRef); + this.componentRef.changeDetectorRef.detectChanges(); } } diff --git a/packages/elements/src/create-custom-element.ts b/packages/elements/src/create-custom-element.ts index 79763b63de..d4c429cab6 100644 --- a/packages/elements/src/create-custom-element.ts +++ b/packages/elements/src/create-custom-element.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -136,31 +136,57 @@ export function createCustomElement

    ( // field externs. So using quoted access to explicitly prevent renaming. static readonly['observedAttributes'] = Object.keys(attributeToPropertyInputs); - constructor(injector?: Injector) { - super(); - - // Note that some polyfills (e.g. document-register-element) do not call the constructor. - // Do not assume this strategy has been created. + protected get ngElementStrategy(): NgElementStrategy { + // NOTE: + // Some polyfills (e.g. `document-register-element`) do not call the constructor, therefore + // it is not safe to set `ngElementStrategy` in the constructor and assume it will be + // available inside the methods. + // // TODO(andrewseguin): Add e2e tests that cover cases where the constructor isn't called. For // now this is tested using a Google internal test suite. - this.ngElementStrategy = strategyFactory.create(injector || config.injector); + if (!this._ngElementStrategy) { + const strategy = this._ngElementStrategy = + strategyFactory.create(this.injector || config.injector); + + // Collect pre-existing values on the element to re-apply through the strategy. + const preExistingValues = + inputs.filter(({propName}) => this.hasOwnProperty(propName)).map(({propName}): [ + string, any + ] => [propName, (this as any)[propName]]); + + // In some browsers (e.g. IE10), `Object.setPrototypeOf()` (which is required by some Custom + // Elements polyfills) is not defined and is thus polyfilled in a way that does not preserve + // the prototype chain. In such cases, `this` will not be an instance of `NgElementImpl` and + // thus not have the component input getters/setters defined on `NgElementImpl.prototype`. + if (!(this instanceof NgElementImpl)) { + // Add getters and setters to the instance itself for each property input. + defineInputGettersSetters(inputs, this); + } else { + // Delete the property from the instance, so that it can go through the getters/setters + // set on `NgElementImpl.prototype`. + preExistingValues.forEach(([propName]) => delete (this as any)[propName]); + } + + // Re-apply pre-existing values through the strategy. + preExistingValues.forEach(([propName, value]) => strategy.setInputValue(propName, value)); + } + + return this._ngElementStrategy!; + } + + private _ngElementStrategy?: NgElementStrategy; + + constructor(private readonly injector?: Injector) { + super(); } attributeChangedCallback( attrName: string, oldValue: string|null, newValue: string, namespace?: string): void { - if (!this.ngElementStrategy) { - this.ngElementStrategy = strategyFactory.create(config.injector); - } - const propName = attributeToPropertyInputs[attrName]!; this.ngElementStrategy.setInputValue(propName, newValue); } connectedCallback(): void { - if (!this.ngElementStrategy) { - this.ngElementStrategy = strategyFactory.create(config.injector); - } - this.ngElementStrategy.connect(this); // Listen for events from the strategy and dispatch them as custom events @@ -171,8 +197,9 @@ export function createCustomElement

    ( } disconnectedCallback(): void { - if (this.ngElementStrategy) { - this.ngElementStrategy.disconnect(); + // Not using `this.ngElementStrategy` to avoid unnecessarily creating the `NgElementStrategy`. + if (this._ngElementStrategy) { + this._ngElementStrategy.disconnect(); } if (this.ngElementEventsSubscription) { @@ -182,20 +209,36 @@ export function createCustomElement

    ( } } - // Add getters and setters to the prototype for each property input. If the config does not - // contain property inputs, use all inputs by default. - inputs.map(({propName}) => propName).forEach(property => { - Object.defineProperty(NgElementImpl.prototype, property, { - get: function() { - return this.ngElementStrategy.getInputValue(property); + // TypeScript 3.9+ defines getters/setters as configurable but non-enumerable properties (in + // compliance with the spec). This breaks emulated inheritance in ES5 on environments that do not + // natively support `Object.setPrototypeOf()` (such as IE 9-10). + // Update the property descriptor of `NgElementImpl#ngElementStrategy` to make it enumerable. + // The below 'const', shouldn't be needed but currently this breaks build-optimizer + // Build-optimizer currently uses TypeScript 3.6 which is unable to resolve an 'accessor' + // in 'getTypeOfVariableOrParameterOrPropertyWorker'. + const getterName = 'ngElementStrategy'; + Object.defineProperty(NgElementImpl.prototype, getterName, {enumerable: true}); + + // Add getters and setters to the prototype for each property input. + defineInputGettersSetters(inputs, NgElementImpl.prototype); + + return (NgElementImpl as any) as NgElementConstructor

    ; +} + +// Helpers +function defineInputGettersSetters( + inputs: {propName: string, templateName: string}[], target: object): void { + // Add getters and setters for each property input. + inputs.forEach(({propName}) => { + Object.defineProperty(target, propName, { + get(): any { + return this.ngElementStrategy.getInputValue(propName); }, - set: function(newValue: any) { - this.ngElementStrategy.setInputValue(property, newValue); + set(newValue: any): void { + this.ngElementStrategy.setInputValue(propName, newValue); }, configurable: true, enumerable: true, }); }); - - return (NgElementImpl as any) as NgElementConstructor

    ; } diff --git a/packages/elements/src/element-strategy.ts b/packages/elements/src/element-strategy.ts index 2eaa78c9bd..d18de56ecc 100644 --- a/packages/elements/src/element-strategy.ts +++ b/packages/elements/src/element-strategy.ts @@ -1,11 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {ComponentFactory, Injector} from '@angular/core'; +import {Injector} from '@angular/core'; import {Observable} from 'rxjs'; /** diff --git a/packages/elements/src/extract-projectable-nodes.ts b/packages/elements/src/extract-projectable-nodes.ts index b6df05bcba..4a0a268930 100644 --- a/packages/elements/src/extract-projectable-nodes.ts +++ b/packages/elements/src/extract-projectable-nodes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/src/utils.ts b/packages/elements/src/utils.ts index 2e9bf93e2a..773120fd11 100644 --- a/packages/elements/src/utils.ts +++ b/packages/elements/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/src/version.ts b/packages/elements/src/version.ts index 276d231bbb..0e217dabbf 100644 --- a/packages/elements/src/version.ts +++ b/packages/elements/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/test/BUILD.bazel b/packages/elements/test/BUILD.bazel index 334bcc49e7..132083c917 100644 --- a/packages/elements/test/BUILD.bazel +++ b/packages/elements/test/BUILD.bazel @@ -41,8 +41,8 @@ filegroup( "@npm//:node_modules/core-js/client/core.js", ":custom_elements_native_shim", "@npm//:node_modules/reflect-metadata/Reflect.js", - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:zone-testing.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:zone-testing.umd.js", ], ) diff --git a/packages/elements/test/component-factory-strategy_spec.ts b/packages/elements/test/component-factory-strategy_spec.ts index c93e182986..c05f6a08a5 100644 --- a/packages/elements/test/component-factory-strategy_spec.ts +++ b/packages/elements/test/component-factory-strategy_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/test/create-custom-element_spec.ts b/packages/elements/test/create-custom-element_spec.ts index 450e1eed53..231b3f3a34 100644 --- a/packages/elements/test/create-custom-element_spec.ts +++ b/packages/elements/test/create-custom-element_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,12 +22,16 @@ type WithFooBar = { if (browserDetection.supportsCustomElements) { describe('createCustomElement', () => { + let selectorUid = 0; + let testContainer: HTMLDivElement; let NgElementCtor: NgElementConstructor; let strategy: TestStrategy; let strategyFactory: TestStrategyFactory; let injector: Injector; beforeAll(done => { + testContainer = document.createElement('div'); + document.body.appendChild(testContainer); destroyPlatform(); platformBrowserDynamic() .bootstrapModule(TestModule) @@ -36,16 +40,23 @@ if (browserDetection.supportsCustomElements) { strategyFactory = new TestStrategyFactory(); strategy = strategyFactory.testStrategy; - NgElementCtor = createCustomElement(TestComponent, {injector, strategyFactory}); + const {selector, ElementCtor} = createTestCustomElement(); + NgElementCtor = ElementCtor; // The `@webcomponents/custom-elements/src/native-shim.js` polyfill allows us to create // new instances of the NgElement which extends HTMLElement, as long as we define it. - customElements.define('test-element', NgElementCtor); + customElements.define(selector, NgElementCtor); }) .then(done, done.fail); }); - afterAll(() => destroyPlatform()); + afterEach(() => strategy.reset()); + + afterAll(() => { + destroyPlatform(); + document.body.removeChild(testContainer); + (testContainer as any) = null; + }); it('should use a default strategy for converting component inputs', () => { expect(NgElementCtor.observedAttributes).toEqual(['foo-foo', 'barbar']); @@ -62,6 +73,26 @@ if (browserDetection.supportsCustomElements) { expect(strategy.getInputValue('barBar')).toBe('value-barbar'); }); + it('should work even if when the constructor is not called (due to polyfill)', () => { + // Some polyfills (e.g. `document-register-element`) do not call the constructor of custom + // elements. Currently, all the constructor does is initialize the `injector` property. This + // test simulates not having called the constructor by "unsetting" the property. + // + // NOTE: + // If the constructor implementation changes in the future, this test needs to be adjusted + // accordingly. + const element = new NgElementCtor(injector); + delete (element as any).injector; + + element.setAttribute('foo-foo', 'value-foo-foo'); + element.setAttribute('barbar', 'value-barbar'); + element.connectedCallback(); + + expect(strategy.connectedElement).toBe(element); + expect(strategy.getInputValue('fooFoo')).toBe('value-foo-foo'); + expect(strategy.getInputValue('barBar')).toBe('value-barbar'); + }); + it('should listen to output events after connected', () => { const element = new NgElementCtor(injector); element.connectedCallback(); @@ -94,59 +125,171 @@ if (browserDetection.supportsCustomElements) { expect(strategy.inputs.get('fooFoo')).toBe('foo-foo-value'); expect(strategy.inputs.get('barBar')).toBe('barBar-value'); }); + + it('should properly handle getting/setting properties on the element even if the constructor is not called', + () => { + // Create a custom element while ensuring that the `NgElementStrategy` is not created + // inside the constructor. This is done to emulate the behavior of some polyfills that do + // not call the constructor. + strategyFactory.create = () => undefined as unknown as NgElementStrategy; + const element = new NgElementCtor(injector); + strategyFactory.create = TestStrategyFactory.prototype.create; + + element.fooFoo = 'foo-foo-value'; + element.barBar = 'barBar-value'; + + expect(strategy.inputs.get('fooFoo')).toBe('foo-foo-value'); + expect(strategy.inputs.get('barBar')).toBe('barBar-value'); + }); + + it('should capture properties set before upgrading the element', () => { + // Create a regular element and set properties on it. + const {selector, ElementCtor} = createTestCustomElement(); + const element = Object.assign(document.createElement(selector), { + fooFoo: 'foo-prop-value', + barBar: 'bar-prop-value', + }); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value'); + + // Upgrade the element to a Custom Element and insert it into the DOM. + customElements.define(selector, ElementCtor); + testContainer.appendChild(element); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value'); + + expect(strategy.inputs.get('fooFoo')).toBe('foo-prop-value'); + expect(strategy.inputs.get('barBar')).toBe('bar-prop-value'); + }); + + it('should capture properties set after upgrading the element but before inserting it into the DOM', + () => { + // Create a regular element and set properties on it. + const {selector, ElementCtor} = createTestCustomElement(); + const element = Object.assign(document.createElement(selector), { + fooFoo: 'foo-prop-value', + barBar: 'bar-prop-value', + }); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value'); + + // Upgrade the element to a Custom Element (without inserting it into the DOM) and update a + // property. + customElements.define(selector, ElementCtor); + customElements.upgrade(element); + element.barBar = 'bar-prop-value-2'; + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value-2'); + + // Insert the element into the DOM. + testContainer.appendChild(element); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value-2'); + + expect(strategy.inputs.get('fooFoo')).toBe('foo-prop-value'); + expect(strategy.inputs.get('barBar')).toBe('bar-prop-value-2'); + }); + + it('should allow overwriting properties with attributes after upgrading the element but before inserting it into the DOM', + () => { + // Create a regular element and set properties on it. + const {selector, ElementCtor} = createTestCustomElement(); + const element = Object.assign(document.createElement(selector), { + fooFoo: 'foo-prop-value', + barBar: 'bar-prop-value', + }); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-prop-value'); + + // Upgrade the element to a Custom Element (without inserting it into the DOM) and set an + // attribute. + customElements.define(selector, ElementCtor); + customElements.upgrade(element); + element.setAttribute('barbar', 'bar-attr-value'); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-attr-value'); + + // Insert the element into the DOM. + testContainer.appendChild(element); + expect(element.fooFoo).toBe('foo-prop-value'); + expect(element.barBar).toBe('bar-attr-value'); + + expect(strategy.inputs.get('fooFoo')).toBe('foo-prop-value'); + expect(strategy.inputs.get('barBar')).toBe('bar-attr-value'); + }); + + // Helpers + function createTestCustomElement() { + return { + selector: `test-element-${++selectorUid}`, + ElementCtor: createCustomElement(TestComponent, {injector, strategyFactory}), + }; + } + + @Component({ + selector: 'test-component', + template: 'TestComponent|foo({{ fooFoo }})|bar({{ barBar }})', + }) + class TestComponent { + @Input() fooFoo: string = 'foo'; + // TODO(issue/24571): remove '!'. + @Input('barbar') barBar!: string; + + @Output() bazBaz = new EventEmitter(); + @Output('quxqux') quxQux = new EventEmitter(); + } + @NgModule({ + imports: [BrowserModule], + declarations: [TestComponent], + entryComponents: [TestComponent], + }) + class TestModule implements DoBootstrap { + ngDoBootstrap() {} + } + + class TestStrategy implements NgElementStrategy { + connectedElement: HTMLElement|null = null; + disconnectCalled = false; + inputs = new Map(); + + events = new Subject(); + + connect(element: HTMLElement): void { + this.connectedElement = element; + } + + disconnect(): void { + this.disconnectCalled = true; + } + + getInputValue(propName: string): any { + return this.inputs.get(propName); + } + + setInputValue(propName: string, value: string): void { + this.inputs.set(propName, value); + } + + reset(): void { + this.connectedElement = null; + this.disconnectCalled = false; + this.inputs.clear(); + } + } + + class TestStrategyFactory implements NgElementStrategyFactory { + testStrategy = new TestStrategy(); + + create(injector: Injector): NgElementStrategy { + // Although not used by the `TestStrategy`, verify that the injector is provided. + if (!injector) { + throw new Error( + 'Expected injector to be passed to `TestStrategyFactory#create()`, but received ' + + `value of type ${typeof injector}: ${injector}`); + } + + return this.testStrategy; + } + } }); } - -// Helpers -@Component({ - selector: 'test-component', - template: 'TestComponent|foo({{ fooFoo }})|bar({{ barBar }})', -}) -class TestComponent { - @Input() fooFoo: string = 'foo'; - // TODO(issue/24571): remove '!'. - @Input('barbar') barBar!: string; - - @Output() bazBaz = new EventEmitter(); - @Output('quxqux') quxQux = new EventEmitter(); -} -@NgModule({ - imports: [BrowserModule], - declarations: [TestComponent], - entryComponents: [TestComponent], -}) -class TestModule implements DoBootstrap { - ngDoBootstrap() {} -} - -export class TestStrategy implements NgElementStrategy { - connectedElement: HTMLElement|null = null; - disconnectCalled = false; - inputs = new Map(); - - events = new Subject(); - - connect(element: HTMLElement): void { - this.connectedElement = element; - } - - disconnect(): void { - this.disconnectCalled = true; - } - - getInputValue(propName: string): any { - return this.inputs.get(propName); - } - - setInputValue(propName: string, value: string): void { - this.inputs.set(propName, value); - } -} - -export class TestStrategyFactory implements NgElementStrategyFactory { - testStrategy = new TestStrategy(); - - create(): NgElementStrategy { - return this.testStrategy; - } -} diff --git a/packages/elements/test/extract-projectable-nodes_spec.ts b/packages/elements/test/extract-projectable-nodes_spec.ts index b03d9491a9..2f15d3f263 100644 --- a/packages/elements/test/extract-projectable-nodes_spec.ts +++ b/packages/elements/test/extract-projectable-nodes_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/test/slots_spec.ts b/packages/elements/test/slots_spec.ts index f69c526c95..39a68b5271 100644 --- a/packages/elements/test/slots_spec.ts +++ b/packages/elements/test/slots_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/elements/test/utils_spec.ts b/packages/elements/test/utils_spec.ts index 97cc62b7a5..0f81663247 100644 --- a/packages/elements/test/utils_spec.ts +++ b/packages/elements/test/utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/empty.ts b/packages/empty.ts index 540a7a0ad7..2ce4265f19 100644 --- a/packages/empty.ts +++ b/packages/empty.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/BUILD.bazel b/packages/examples/common/BUILD.bazel index 5231f5809e..d813eb928e 100644 --- a/packages/examples/common/BUILD.bazel +++ b/packages/examples/common/BUILD.bazel @@ -35,7 +35,7 @@ ts_library( ts_devserver( name = "devserver", additional_root_paths = ["angular/packages/examples"], - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], entry_module = "@angular/examples/common/main", port = 4200, scripts = [ diff --git a/packages/examples/common/location/ts/e2e_test/location_component_spec.ts b/packages/examples/common/location/ts/e2e_test/location_component_spec.ts index 917b3f43c1..06bcfc061c 100644 --- a/packages/examples/common/location/ts/e2e_test/location_component_spec.ts +++ b/packages/examples/common/location/ts/e2e_test/location_component_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/location/ts/hash_location_component.ts b/packages/examples/common/location/ts/hash_location_component.ts index 3bff5e48e4..f44c367e87 100644 --- a/packages/examples/common/location/ts/hash_location_component.ts +++ b/packages/examples/common/location/ts/hash_location_component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/location/ts/module.ts b/packages/examples/common/location/ts/module.ts index 76a902de2a..b0d11b81bb 100644 --- a/packages/examples/common/location/ts/module.ts +++ b/packages/examples/common/location/ts/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/location/ts/path_location_component.ts b/packages/examples/common/location/ts/path_location_component.ts index 7718afbb17..820517f5b3 100644 --- a/packages/examples/common/location/ts/path_location_component.ts +++ b/packages/examples/common/location/ts/path_location_component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/main.ts b/packages/examples/common/main.ts index b5ec0fb33e..1824dddf02 100644 --- a/packages/examples/common/main.ts +++ b/packages/examples/common/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/ngComponentOutlet/ts/e2e_test/ngComponentOutlet_spec.ts b/packages/examples/common/ngComponentOutlet/ts/e2e_test/ngComponentOutlet_spec.ts index fb89220608..21b6aa32be 100644 --- a/packages/examples/common/ngComponentOutlet/ts/e2e_test/ngComponentOutlet_spec.ts +++ b/packages/examples/common/ngComponentOutlet/ts/e2e_test/ngComponentOutlet_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/ngComponentOutlet/ts/module.ts b/packages/examples/common/ngComponentOutlet/ts/module.ts index 98b36dc730..68cadf6255 100644 --- a/packages/examples/common/ngComponentOutlet/ts/module.ts +++ b/packages/examples/common/ngComponentOutlet/ts/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -42,8 +42,8 @@ export class CompleteComponent { @Component({ selector: 'ng-component-outlet-complete-example', template: ` - ` }) export class NgComponentOutletCompleteExample { diff --git a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts index 7ebd8299c9..d09450b14d 100644 --- a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts +++ b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/ngIf/ts/module.ts b/packages/examples/common/ngIf/ts/module.ts index 9a258fbf2f..b50113a0b0 100644 --- a/packages/examples/common/ngIf/ts/module.ts +++ b/packages/examples/common/ngIf/ts/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/ngTemplateOutlet/ts/e2e_test/ngTemplateOutlet_spec.ts b/packages/examples/common/ngTemplateOutlet/ts/e2e_test/ngTemplateOutlet_spec.ts index cbdf0958ec..467f03f4bf 100644 --- a/packages/examples/common/ngTemplateOutlet/ts/e2e_test/ngTemplateOutlet_spec.ts +++ b/packages/examples/common/ngTemplateOutlet/ts/e2e_test/ngTemplateOutlet_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/ngTemplateOutlet/ts/module.ts b/packages/examples/common/ngTemplateOutlet/ts/module.ts index 22e371a38b..6c78dd9e5b 100644 --- a/packages/examples/common/ngTemplateOutlet/ts/module.ts +++ b/packages/examples/common/ngTemplateOutlet/ts/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,7 +20,7 @@ import {BrowserModule} from '@angular/platform-browser';

    - + Hello Hello {{name}}! Ahoj {{person}}! diff --git a/packages/examples/common/pipes/ts/async_pipe.ts b/packages/examples/common/pipes/ts/async_pipe.ts index 109e83f57d..05fb1056e9 100644 --- a/packages/examples/common/pipes/ts/async_pipe.ts +++ b/packages/examples/common/pipes/ts/async_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,7 +13,7 @@ import {Observable, Observer} from 'rxjs'; @Component({ selector: 'async-promise-pipe', template: `
    - promise|async: + promise|async: Wait for it... {{ greeting | async }}
    ` diff --git a/packages/examples/common/pipes/ts/currency_pipe.ts b/packages/examples/common/pipes/ts/currency_pipe.ts index 27565594cc..f9c2199611 100644 --- a/packages/examples/common/pipes/ts/currency_pipe.ts +++ b/packages/examples/common/pipes/ts/currency_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/date_pipe.ts b/packages/examples/common/pipes/ts/date_pipe.ts index 408759dcda..4c0c3ad764 100644 --- a/packages/examples/common/pipes/ts/date_pipe.ts +++ b/packages/examples/common/pipes/ts/date_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/e2e_test/pipe_spec.ts b/packages/examples/common/pipes/ts/e2e_test/pipe_spec.ts index 00224b17f8..be8b80965d 100644 --- a/packages/examples/common/pipes/ts/e2e_test/pipe_spec.ts +++ b/packages/examples/common/pipes/ts/e2e_test/pipe_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/i18n_pipe.ts b/packages/examples/common/pipes/ts/i18n_pipe.ts index 98088e3eb7..14c8401554 100644 --- a/packages/examples/common/pipes/ts/i18n_pipe.ts +++ b/packages/examples/common/pipes/ts/i18n_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/json_pipe.ts b/packages/examples/common/pipes/ts/json_pipe.ts index 68a8035e60..0567273a10 100644 --- a/packages/examples/common/pipes/ts/json_pipe.ts +++ b/packages/examples/common/pipes/ts/json_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/keyvalue_pipe.ts b/packages/examples/common/pipes/ts/keyvalue_pipe.ts index 3f482a3b3e..017b6e0da5 100644 --- a/packages/examples/common/pipes/ts/keyvalue_pipe.ts +++ b/packages/examples/common/pipes/ts/keyvalue_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/locale-fr.ts b/packages/examples/common/pipes/ts/locale-fr.ts index 991e0ad0cc..be7a9a13ac 100644 --- a/packages/examples/common/pipes/ts/locale-fr.ts +++ b/packages/examples/common/pipes/ts/locale-fr.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/lowerupper_pipe.ts b/packages/examples/common/pipes/ts/lowerupper_pipe.ts index 9783156c20..1bd6d37a2c 100644 --- a/packages/examples/common/pipes/ts/lowerupper_pipe.ts +++ b/packages/examples/common/pipes/ts/lowerupper_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/module.ts b/packages/examples/common/pipes/ts/module.ts index 5600dda996..47b52b508f 100644 --- a/packages/examples/common/pipes/ts/module.ts +++ b/packages/examples/common/pipes/ts/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/number_pipe.ts b/packages/examples/common/pipes/ts/number_pipe.ts index 40388a670d..6ce1689f6e 100644 --- a/packages/examples/common/pipes/ts/number_pipe.ts +++ b/packages/examples/common/pipes/ts/number_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,19 +20,19 @@ registerLocaleData(localeFr); template: `

    e (no formatting): {{e | number}}

    - +

    e (3.1-5): {{e | number:'3.1-5'}}

    e (4.5-5): {{e | number:'4.5-5'}}

    - +

    e (french): {{e | number:'4.5-5':'fr'}}

    pi (no formatting): {{pi | number}}

    - +

    pi (3.1-5): {{pi | number:'3.1-5'}}

    diff --git a/packages/examples/common/pipes/ts/percent_pipe.ts b/packages/examples/common/pipes/ts/percent_pipe.ts index 665500aafe..68cf159b33 100644 --- a/packages/examples/common/pipes/ts/percent_pipe.ts +++ b/packages/examples/common/pipes/ts/percent_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/slice_pipe.ts b/packages/examples/common/pipes/ts/slice_pipe.ts index cccb625c5a..e4b5afc6cb 100644 --- a/packages/examples/common/pipes/ts/slice_pipe.ts +++ b/packages/examples/common/pipes/ts/slice_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/pipes/ts/titlecase_pipe.ts b/packages/examples/common/pipes/ts/titlecase_pipe.ts index 21af7ce79f..941d065d12 100644 --- a/packages/examples/common/pipes/ts/titlecase_pipe.ts +++ b/packages/examples/common/pipes/ts/titlecase_pipe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -12,9 +12,9 @@ import {Component} from '@angular/core'; @Component({ selector: 'titlecase-pipe', template: `
    -

    {{'some string' | titlecase}}

    -

    {{'tHIs is mIXeD CaSe' | titlecase}}

    -

    {{'it\\'s non-trivial question' | titlecase}}

    +

    {{'some string' | titlecase}}

    +

    {{'tHIs is mIXeD CaSe' | titlecase}}

    +

    {{'it\\'s non-trivial question' | titlecase}}

    {{'one,two,three' | titlecase}}

    {{'true|false' | titlecase}}

    {{'foo-vs-bar' | titlecase}}

    diff --git a/packages/examples/common/start-server.js b/packages/examples/common/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/common/start-server.js +++ b/packages/examples/common/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/common/test_module.ts b/packages/examples/common/test_module.ts index 03e78df027..6385cb7f95 100644 --- a/packages/examples/common/test_module.ts +++ b/packages/examples/common/test_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/compiler/ts/url_resolver/url_resolver.ts b/packages/examples/compiler/ts/url_resolver/url_resolver.ts index 4519132045..e89c2dee07 100644 --- a/packages/examples/compiler/ts/url_resolver/url_resolver.ts +++ b/packages/examples/compiler/ts/url_resolver/url_resolver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/BUILD.bazel b/packages/examples/core/BUILD.bazel index 8ee6574f02..2befe31a35 100644 --- a/packages/examples/core/BUILD.bazel +++ b/packages/examples/core/BUILD.bazel @@ -53,8 +53,8 @@ ts_devserver( name = "devserver", additional_root_paths = ["angular/packages/examples"], bootstrap = [ - "//packages/zone.js/dist:zone.js", - "//packages/zone.js/dist:task-tracking.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:task-tracking.umd.js", ], entry_module = "@angular/examples/core/main", port = 4200, diff --git a/packages/examples/core/animation/ts/dsl/animation_example.ts b/packages/examples/core/animation/ts/dsl/animation_example.ts index 3b8a563b22..6178c4eb27 100644 --- a/packages/examples/core/animation/ts/dsl/animation_example.ts +++ b/packages/examples/core/animation/ts/dsl/animation_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/animation/ts/dsl/e2e_test/animation_example_spec.ts b/packages/examples/core/animation/ts/dsl/e2e_test/animation_example_spec.ts index c10a054fb3..88b50d19b6 100644 --- a/packages/examples/core/animation/ts/dsl/e2e_test/animation_example_spec.ts +++ b/packages/examples/core/animation/ts/dsl/e2e_test/animation_example_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/animation/ts/dsl/module.ts b/packages/examples/core/animation/ts/dsl/module.ts index b98014f470..798220deb9 100644 --- a/packages/examples/core/animation/ts/dsl/module.ts +++ b/packages/examples/core/animation/ts/dsl/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/debug/ts/debug_element/debug_element.ts b/packages/examples/core/debug/ts/debug_element/debug_element.ts index ba2edc338d..de7789cf6c 100644 --- a/packages/examples/core/debug/ts/debug_element/debug_element.ts +++ b/packages/examples/core/debug/ts/debug_element/debug_element.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChild/content_child_example.ts b/packages/examples/core/di/ts/contentChild/content_child_example.ts index 5ffd18fed9..45e379bda7 100644 --- a/packages/examples/core/di/ts/contentChild/content_child_example.ts +++ b/packages/examples/core/di/ts/contentChild/content_child_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChild/content_child_howto.ts b/packages/examples/core/di/ts/contentChild/content_child_howto.ts index b8786393ea..c2d775cc5b 100644 --- a/packages/examples/core/di/ts/contentChild/content_child_howto.ts +++ b/packages/examples/core/di/ts/contentChild/content_child_howto.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChild/e2e_test/content_child_spec.ts b/packages/examples/core/di/ts/contentChild/e2e_test/content_child_spec.ts index 96290c5f65..1a02680009 100644 --- a/packages/examples/core/di/ts/contentChild/e2e_test/content_child_spec.ts +++ b/packages/examples/core/di/ts/contentChild/e2e_test/content_child_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChild/module.ts b/packages/examples/core/di/ts/contentChild/module.ts index 57a4d9378c..ac9816ef5b 100644 --- a/packages/examples/core/di/ts/contentChild/module.ts +++ b/packages/examples/core/di/ts/contentChild/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChildren/content_children_example.ts b/packages/examples/core/di/ts/contentChildren/content_children_example.ts index d4de03552e..8067db8ebb 100644 --- a/packages/examples/core/di/ts/contentChildren/content_children_example.ts +++ b/packages/examples/core/di/ts/contentChildren/content_children_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChildren/content_children_howto.ts b/packages/examples/core/di/ts/contentChildren/content_children_howto.ts index 6cec0762d1..16913096f9 100644 --- a/packages/examples/core/di/ts/contentChildren/content_children_howto.ts +++ b/packages/examples/core/di/ts/contentChildren/content_children_howto.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,4 +21,4 @@ class SomeDir implements AfterContentInit { // contentChildren is set } } -// #enddocregion \ No newline at end of file +// #enddocregion diff --git a/packages/examples/core/di/ts/contentChildren/e2e_test/content_children_spec.ts b/packages/examples/core/di/ts/contentChildren/e2e_test/content_children_spec.ts index fcf4f2ddd1..b27b17606a 100644 --- a/packages/examples/core/di/ts/contentChildren/e2e_test/content_children_spec.ts +++ b/packages/examples/core/di/ts/contentChildren/e2e_test/content_children_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/contentChildren/module.ts b/packages/examples/core/di/ts/contentChildren/module.ts index 1182507812..5b1b9d4c24 100644 --- a/packages/examples/core/di/ts/contentChildren/module.ts +++ b/packages/examples/core/di/ts/contentChildren/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/forward_ref/forward_ref_spec.ts b/packages/examples/core/di/ts/forward_ref/forward_ref_spec.ts index a9e9ad5d7e..cbbbd61252 100644 --- a/packages/examples/core/di/ts/forward_ref/forward_ref_spec.ts +++ b/packages/examples/core/di/ts/forward_ref/forward_ref_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/injector_spec.ts b/packages/examples/core/di/ts/injector_spec.ts index d89f6c8fe3..fc599494d3 100644 --- a/packages/examples/core/di/ts/injector_spec.ts +++ b/packages/examples/core/di/ts/injector_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/metadata_spec.ts b/packages/examples/core/di/ts/metadata_spec.ts index 48d2f03878..7fde3262f3 100644 --- a/packages/examples/core/di/ts/metadata_spec.ts +++ b/packages/examples/core/di/ts/metadata_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/provider_spec.ts b/packages/examples/core/di/ts/provider_spec.ts index 17462158cf..266c02fbd7 100644 --- a/packages/examples/core/di/ts/provider_spec.ts +++ b/packages/examples/core/di/ts/provider_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChild/e2e_test/view_child_spec.ts b/packages/examples/core/di/ts/viewChild/e2e_test/view_child_spec.ts index dae43e8b59..d243185b4b 100644 --- a/packages/examples/core/di/ts/viewChild/e2e_test/view_child_spec.ts +++ b/packages/examples/core/di/ts/viewChild/e2e_test/view_child_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChild/module.ts b/packages/examples/core/di/ts/viewChild/module.ts index de45d067f3..8aeadbfbab 100644 --- a/packages/examples/core/di/ts/viewChild/module.ts +++ b/packages/examples/core/di/ts/viewChild/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChild/view_child_example.ts b/packages/examples/core/di/ts/viewChild/view_child_example.ts index 50b72216d1..5c5a6ee14f 100644 --- a/packages/examples/core/di/ts/viewChild/view_child_example.ts +++ b/packages/examples/core/di/ts/viewChild/view_child_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChild/view_child_howto.ts b/packages/examples/core/di/ts/viewChild/view_child_howto.ts index cfa5f923ac..92f30d9dab 100644 --- a/packages/examples/core/di/ts/viewChild/view_child_howto.ts +++ b/packages/examples/core/di/ts/viewChild/view_child_howto.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChildren/e2e_test/view_children_spec.ts b/packages/examples/core/di/ts/viewChildren/e2e_test/view_children_spec.ts index 09cd00945d..cc604c4acd 100644 --- a/packages/examples/core/di/ts/viewChildren/e2e_test/view_children_spec.ts +++ b/packages/examples/core/di/ts/viewChildren/e2e_test/view_children_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChildren/module.ts b/packages/examples/core/di/ts/viewChildren/module.ts index 59c07ea88d..8e216fc183 100644 --- a/packages/examples/core/di/ts/viewChildren/module.ts +++ b/packages/examples/core/di/ts/viewChildren/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChildren/view_children_example.ts b/packages/examples/core/di/ts/viewChildren/view_children_example.ts index 3f8fa48b99..e43cfc7db1 100644 --- a/packages/examples/core/di/ts/viewChildren/view_children_example.ts +++ b/packages/examples/core/di/ts/viewChildren/view_children_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/di/ts/viewChildren/view_children_howto.ts b/packages/examples/core/di/ts/viewChildren/view_children_howto.ts index efb68d7394..9e22504e56 100644 --- a/packages/examples/core/di/ts/viewChildren/view_children_howto.ts +++ b/packages/examples/core/di/ts/viewChildren/view_children_howto.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,4 +21,4 @@ class SomeCmp implements AfterViewInit { // viewChildren is set } } -// #enddocregion \ No newline at end of file +// #enddocregion diff --git a/packages/examples/core/main.ts b/packages/examples/core/main.ts index b5ec0fb33e..1824dddf02 100644 --- a/packages/examples/core/main.ts +++ b/packages/examples/core/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/start-server.js b/packages/examples/core/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/core/start-server.js +++ b/packages/examples/core/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/test_module.ts b/packages/examples/core/test_module.ts index 933ed95b81..8cb079f2a7 100644 --- a/packages/examples/core/test_module.ts +++ b/packages/examples/core/test_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/testability/ts/whenStable/e2e_test/testability_example_spec.ts b/packages/examples/core/testability/ts/whenStable/e2e_test/testability_example_spec.ts index 5bf7a58c82..b8dc3e5180 100644 --- a/packages/examples/core/testability/ts/whenStable/e2e_test/testability_example_spec.ts +++ b/packages/examples/core/testability/ts/whenStable/e2e_test/testability_example_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/testability/ts/whenStable/module.ts b/packages/examples/core/testability/ts/whenStable/module.ts index 51fe049302..b9be138c04 100644 --- a/packages/examples/core/testability/ts/whenStable/module.ts +++ b/packages/examples/core/testability/ts/whenStable/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/testability/ts/whenStable/testability_example.ts b/packages/examples/core/testability/ts/whenStable/testability_example.ts index ec5633e237..b103918f7b 100644 --- a/packages/examples/core/testability/ts/whenStable/testability_example.ts +++ b/packages/examples/core/testability/ts/whenStable/testability_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/testing/ts/example_spec.ts b/packages/examples/core/testing/ts/example_spec.ts index 880c5f975a..70c544c5fa 100644 --- a/packages/examples/core/testing/ts/example_spec.ts +++ b/packages/examples/core/testing/ts/example_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/testing/ts/fake_async.ts b/packages/examples/core/testing/ts/fake_async.ts index 805289003a..a09231d2fe 100644 --- a/packages/examples/core/testing/ts/fake_async.ts +++ b/packages/examples/core/testing/ts/fake_async.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/bootstrap/bootstrap.ts b/packages/examples/core/ts/bootstrap/bootstrap.ts index 26d3c81994..af2f28c610 100644 --- a/packages/examples/core/ts/bootstrap/bootstrap.ts +++ b/packages/examples/core/ts/bootstrap/bootstrap.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/change_detect/change-detection.ts b/packages/examples/core/ts/change_detect/change-detection.ts index c78d345e1d..c6d4960cc0 100644 --- a/packages/examples/core/ts/change_detect/change-detection.ts +++ b/packages/examples/core/ts/change_detect/change-detection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -106,4 +106,4 @@ class App1 { @NgModule({declarations: [AppComponent, GiantList, App, LiveData, App1], imports: [FormsModule]}) class CoreExamplesModule { -} \ No newline at end of file +} diff --git a/packages/examples/core/ts/metadata/directives.ts b/packages/examples/core/ts/metadata/directives.ts index 9443de82d0..8c03f653d5 100644 --- a/packages/examples/core/ts/metadata/directives.ts +++ b/packages/examples/core/ts/metadata/directives.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/metadata/encapsulation.ts b/packages/examples/core/ts/metadata/encapsulation.ts index 04ac6928cc..9babc13deb 100644 --- a/packages/examples/core/ts/metadata/encapsulation.ts +++ b/packages/examples/core/ts/metadata/encapsulation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/metadata/lifecycle_hooks_spec.ts b/packages/examples/core/ts/metadata/lifecycle_hooks_spec.ts index 7eac18007c..185d265d51 100644 --- a/packages/examples/core/ts/metadata/lifecycle_hooks_spec.ts +++ b/packages/examples/core/ts/metadata/lifecycle_hooks_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/metadata/metadata.ts b/packages/examples/core/ts/metadata/metadata.ts index 9d7bdb02d1..7b5bec14d9 100644 --- a/packages/examples/core/ts/metadata/metadata.ts +++ b/packages/examples/core/ts/metadata/metadata.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/platform/platform.ts b/packages/examples/core/ts/platform/platform.ts index f66891fe75..361545bc86 100644 --- a/packages/examples/core/ts/platform/platform.ts +++ b/packages/examples/core/ts/platform/platform.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/prod_mode/my_component.ts b/packages/examples/core/ts/prod_mode/my_component.ts index 392d1d45f5..d21734874b 100644 --- a/packages/examples/core/ts/prod_mode/my_component.ts +++ b/packages/examples/core/ts/prod_mode/my_component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/core/ts/prod_mode/prod_mode_example.ts b/packages/examples/core/ts/prod_mode/prod_mode_example.ts index d71b801a4b..665d066b09 100644 --- a/packages/examples/core/ts/prod_mode/prod_mode_example.ts +++ b/packages/examples/core/ts/prod_mode/prod_mode_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/BUILD.bazel b/packages/examples/forms/BUILD.bazel index 21a199e34b..69d52e11a4 100644 --- a/packages/examples/forms/BUILD.bazel +++ b/packages/examples/forms/BUILD.bazel @@ -35,7 +35,7 @@ ts_library( ts_devserver( name = "devserver", additional_root_paths = ["angular/packages/examples"], - bootstrap = ["//packages/zone.js/dist:zone.js"], + bootstrap = ["//packages/zone.js/bundles:zone.umd.js"], entry_module = "@angular/examples/forms/main", port = 4200, scripts = [ diff --git a/packages/examples/forms/main.ts b/packages/examples/forms/main.ts index b5ec0fb33e..1824dddf02 100644 --- a/packages/examples/forms/main.ts +++ b/packages/examples/forms/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/start-server.js b/packages/examples/forms/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/forms/start-server.js +++ b/packages/examples/forms/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/test_module.ts b/packages/examples/forms/test_module.ts index 95d02990f2..249d8e3579 100644 --- a/packages/examples/forms/test_module.ts +++ b/packages/examples/forms/test_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/formBuilder/e2e_test/form_builder_spec.ts b/packages/examples/forms/ts/formBuilder/e2e_test/form_builder_spec.ts index f7147df783..ae0f1d8633 100644 --- a/packages/examples/forms/ts/formBuilder/e2e_test/form_builder_spec.ts +++ b/packages/examples/forms/ts/formBuilder/e2e_test/form_builder_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/formBuilder/form_builder_example.ts b/packages/examples/forms/ts/formBuilder/form_builder_example.ts index c71f8f0816..de94331989 100644 --- a/packages/examples/forms/ts/formBuilder/form_builder_example.ts +++ b/packages/examples/forms/ts/formBuilder/form_builder_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/formBuilder/module.ts b/packages/examples/forms/ts/formBuilder/module.ts index 7e94ea650a..ce03c9c6bd 100644 --- a/packages/examples/forms/ts/formBuilder/module.ts +++ b/packages/examples/forms/ts/formBuilder/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/nestedFormArray/e2e_test/nested_form_array_spec.ts b/packages/examples/forms/ts/nestedFormArray/e2e_test/nested_form_array_spec.ts index 8f67dfd19d..1cfec0186b 100644 --- a/packages/examples/forms/ts/nestedFormArray/e2e_test/nested_form_array_spec.ts +++ b/packages/examples/forms/ts/nestedFormArray/e2e_test/nested_form_array_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/nestedFormArray/module.ts b/packages/examples/forms/ts/nestedFormArray/module.ts index 0d1d9b2f61..4457dbe514 100644 --- a/packages/examples/forms/ts/nestedFormArray/module.ts +++ b/packages/examples/forms/ts/nestedFormArray/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/nestedFormArray/nested_form_array_example.ts b/packages/examples/forms/ts/nestedFormArray/nested_form_array_example.ts index 6713e04ac9..2f90efcc02 100644 --- a/packages/examples/forms/ts/nestedFormArray/nested_form_array_example.ts +++ b/packages/examples/forms/ts/nestedFormArray/nested_form_array_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,7 +22,7 @@ import {FormArray, FormControl, FormGroup} from '@angular/forms';
    - + `, diff --git a/packages/examples/forms/ts/nestedFormGroup/e2e_test/nested_form_group_spec.ts b/packages/examples/forms/ts/nestedFormGroup/e2e_test/nested_form_group_spec.ts index 3049a4cd6c..b1efef97f6 100644 --- a/packages/examples/forms/ts/nestedFormGroup/e2e_test/nested_form_group_spec.ts +++ b/packages/examples/forms/ts/nestedFormGroup/e2e_test/nested_form_group_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/nestedFormGroup/module.ts b/packages/examples/forms/ts/nestedFormGroup/module.ts index 851450eb5e..f979575241 100644 --- a/packages/examples/forms/ts/nestedFormGroup/module.ts +++ b/packages/examples/forms/ts/nestedFormGroup/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/nestedFormGroup/nested_form_group_example.ts b/packages/examples/forms/ts/nestedFormGroup/nested_form_group_example.ts index d5e56370dc..50cc8a55aa 100644 --- a/packages/examples/forms/ts/nestedFormGroup/nested_form_group_example.ts +++ b/packages/examples/forms/ts/nestedFormGroup/nested_form_group_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts b/packages/examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts index e27a692309..e725564fab 100644 --- a/packages/examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts +++ b/packages/examples/forms/ts/ngModelGroup/e2e_test/ng_model_group_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/ngModelGroup/module.ts b/packages/examples/forms/ts/ngModelGroup/module.ts index 692f6edb46..9371f09ba5 100644 --- a/packages/examples/forms/ts/ngModelGroup/module.ts +++ b/packages/examples/forms/ts/ngModelGroup/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/ngModelGroup/ng_model_group_example.ts b/packages/examples/forms/ts/ngModelGroup/ng_model_group_example.ts index a0f6b853b4..f610aafa90 100644 --- a/packages/examples/forms/ts/ngModelGroup/ng_model_group_example.ts +++ b/packages/examples/forms/ts/ngModelGroup/ng_model_group_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,16 +16,16 @@ import {NgForm} from '@angular/forms'; template: `

    Name is invalid.

    - +
    - - + +
    - + `, }) diff --git a/packages/examples/forms/ts/radioButtons/e2e_test/radio_button_spec.ts b/packages/examples/forms/ts/radioButtons/e2e_test/radio_button_spec.ts index 8976d9b77c..a88ab8ee64 100644 --- a/packages/examples/forms/ts/radioButtons/e2e_test/radio_button_spec.ts +++ b/packages/examples/forms/ts/radioButtons/e2e_test/radio_button_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/radioButtons/module.ts b/packages/examples/forms/ts/radioButtons/module.ts index 4a146db88f..054ce78283 100644 --- a/packages/examples/forms/ts/radioButtons/module.ts +++ b/packages/examples/forms/ts/radioButtons/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/radioButtons/radio_button_example.ts b/packages/examples/forms/ts/radioButtons/radio_button_example.ts index d5a331b3a1..5066404bf8 100644 --- a/packages/examples/forms/ts/radioButtons/radio_button_example.ts +++ b/packages/examples/forms/ts/radioButtons/radio_button_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,7 +17,7 @@ import {Component} from '@angular/core'; Lamb Fish - +

    Form value: {{ f.value | json }}

    myFood value: {{ myFood }}

    `, diff --git a/packages/examples/forms/ts/reactiveRadioButtons/e2e_test/reactive_radio_button_spec.ts b/packages/examples/forms/ts/reactiveRadioButtons/e2e_test/reactive_radio_button_spec.ts index 14f4870d2a..cc40e5df42 100644 --- a/packages/examples/forms/ts/reactiveRadioButtons/e2e_test/reactive_radio_button_spec.ts +++ b/packages/examples/forms/ts/reactiveRadioButtons/e2e_test/reactive_radio_button_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/reactiveRadioButtons/module.ts b/packages/examples/forms/ts/reactiveRadioButtons/module.ts index acf2040f9e..d5d5bf549a 100644 --- a/packages/examples/forms/ts/reactiveRadioButtons/module.ts +++ b/packages/examples/forms/ts/reactiveRadioButtons/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts b/packages/examples/forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts index f227acf303..edb6b9c1dd 100644 --- a/packages/examples/forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts +++ b/packages/examples/forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,7 +18,7 @@ import {FormControl, FormGroup} from '@angular/forms'; Lamb Fish - +

    Form value: {{ form.value | json }}

    `, }) diff --git a/packages/examples/forms/ts/reactiveSelectControl/e2e_test/reactive_select_control_spec.ts b/packages/examples/forms/ts/reactiveSelectControl/e2e_test/reactive_select_control_spec.ts index a3b406eef7..ab8231af27 100644 --- a/packages/examples/forms/ts/reactiveSelectControl/e2e_test/reactive_select_control_spec.ts +++ b/packages/examples/forms/ts/reactiveSelectControl/e2e_test/reactive_select_control_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/reactiveSelectControl/module.ts b/packages/examples/forms/ts/reactiveSelectControl/module.ts index eace263e9b..2f2b80d490 100644 --- a/packages/examples/forms/ts/reactiveSelectControl/module.ts +++ b/packages/examples/forms/ts/reactiveSelectControl/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/reactiveSelectControl/reactive_select_control_example.ts b/packages/examples/forms/ts/reactiveSelectControl/reactive_select_control_example.ts index d8a080fa8a..0649489a9b 100644 --- a/packages/examples/forms/ts/reactiveSelectControl/reactive_select_control_example.ts +++ b/packages/examples/forms/ts/reactiveSelectControl/reactive_select_control_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,8 +20,8 @@ import {FormControl, FormGroup} from '@angular/forms'; - -

    Form value: {{ form.value | json }}

    + +

    Form value: {{ form.value | json }}

    `, }) diff --git a/packages/examples/forms/ts/selectControl/e2e_test/select_control_spec.ts b/packages/examples/forms/ts/selectControl/e2e_test/select_control_spec.ts index 53397400b6..14e57dfb61 100644 --- a/packages/examples/forms/ts/selectControl/e2e_test/select_control_spec.ts +++ b/packages/examples/forms/ts/selectControl/e2e_test/select_control_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/selectControl/module.ts b/packages/examples/forms/ts/selectControl/module.ts index 722f3baf43..177f46c96f 100644 --- a/packages/examples/forms/ts/selectControl/module.ts +++ b/packages/examples/forms/ts/selectControl/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/selectControl/select_control_example.ts b/packages/examples/forms/ts/selectControl/select_control_example.ts index a1527bc973..2d0f506ce1 100644 --- a/packages/examples/forms/ts/selectControl/select_control_example.ts +++ b/packages/examples/forms/ts/selectControl/select_control_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -20,7 +20,7 @@ import {Component} from '@angular/core'; - +

    Form value: {{ f.value | json }}

    `, diff --git a/packages/examples/forms/ts/simpleForm/e2e_test/simple_form_spec.ts b/packages/examples/forms/ts/simpleForm/e2e_test/simple_form_spec.ts index a97431bf33..b977f7e6c6 100644 --- a/packages/examples/forms/ts/simpleForm/e2e_test/simple_form_spec.ts +++ b/packages/examples/forms/ts/simpleForm/e2e_test/simple_form_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleForm/module.ts b/packages/examples/forms/ts/simpleForm/module.ts index 5b004e6ffe..0cca3c0f58 100644 --- a/packages/examples/forms/ts/simpleForm/module.ts +++ b/packages/examples/forms/ts/simpleForm/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleForm/simple_form_example.ts b/packages/examples/forms/ts/simpleForm/simple_form_example.ts index b648cab7ca..102eb681a3 100644 --- a/packages/examples/forms/ts/simpleForm/simple_form_example.ts +++ b/packages/examples/forms/ts/simpleForm/simple_form_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -19,7 +19,7 @@ import {NgForm} from '@angular/forms'; - +

    First name value: {{ first.value }}

    First name valid: {{ first.valid }}

    Form value: {{ f.value | json }}

    diff --git a/packages/examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts b/packages/examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts index 240e3df9dc..ed156ad7e9 100644 --- a/packages/examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts +++ b/packages/examples/forms/ts/simpleFormControl/e2e_test/simple_form_control_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleFormControl/module.ts b/packages/examples/forms/ts/simpleFormControl/module.ts index 860756856e..e49ea7af24 100644 --- a/packages/examples/forms/ts/simpleFormControl/module.ts +++ b/packages/examples/forms/ts/simpleFormControl/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleFormControl/simple_form_control_example.ts b/packages/examples/forms/ts/simpleFormControl/simple_form_control_example.ts index 782e89b79d..6b8fca6327 100644 --- a/packages/examples/forms/ts/simpleFormControl/simple_form_control_example.ts +++ b/packages/examples/forms/ts/simpleFormControl/simple_form_control_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,10 +14,10 @@ import {FormControl, Validators} from '@angular/forms'; selector: 'example-app', template: ` - +

    Value: {{ control.value }}

    Validation status: {{ control.status }}

    - + `, }) diff --git a/packages/examples/forms/ts/simpleFormGroup/e2e_test/simple_form_group_spec.ts b/packages/examples/forms/ts/simpleFormGroup/e2e_test/simple_form_group_spec.ts index 9bca0217d2..2403d56135 100644 --- a/packages/examples/forms/ts/simpleFormGroup/e2e_test/simple_form_group_spec.ts +++ b/packages/examples/forms/ts/simpleFormGroup/e2e_test/simple_form_group_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleFormGroup/module.ts b/packages/examples/forms/ts/simpleFormGroup/module.ts index e5749d0d56..5cb09926c7 100644 --- a/packages/examples/forms/ts/simpleFormGroup/module.ts +++ b/packages/examples/forms/ts/simpleFormGroup/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleFormGroup/simple_form_group_example.ts b/packages/examples/forms/ts/simpleFormGroup/simple_form_group_example.ts index 15dced1bcd..f8226f109b 100644 --- a/packages/examples/forms/ts/simpleFormGroup/simple_form_group_example.ts +++ b/packages/examples/forms/ts/simpleFormGroup/simple_form_group_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleNgModel/e2e_test/simple_ng_model_spec.ts b/packages/examples/forms/ts/simpleNgModel/e2e_test/simple_ng_model_spec.ts index 4791139f50..5809bce532 100644 --- a/packages/examples/forms/ts/simpleNgModel/e2e_test/simple_ng_model_spec.ts +++ b/packages/examples/forms/ts/simpleNgModel/e2e_test/simple_ng_model_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleNgModel/module.ts b/packages/examples/forms/ts/simpleNgModel/module.ts index 86e1e7d726..6988933b54 100644 --- a/packages/examples/forms/ts/simpleNgModel/module.ts +++ b/packages/examples/forms/ts/simpleNgModel/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/forms/ts/simpleNgModel/simple_ng_model_example.ts b/packages/examples/forms/ts/simpleNgModel/simple_ng_model_example.ts index 50775cec16..a8574d5e89 100644 --- a/packages/examples/forms/ts/simpleNgModel/simple_ng_model_example.ts +++ b/packages/examples/forms/ts/simpleNgModel/simple_ng_model_example.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,7 +16,7 @@ import {Component} from '@angular/core';

    Value: {{ name }}

    Valid: {{ ctrl.valid }}

    - + `, }) diff --git a/packages/examples/platform-browser/dom/debug/ts/by/by.ts b/packages/examples/platform-browser/dom/debug/ts/by/by.ts index 4bdffd8585..a9c5c4d702 100644 --- a/packages/examples/platform-browser/dom/debug/ts/by/by.ts +++ b/packages/examples/platform-browser/dom/debug/ts/by/by.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts b/packages/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts index 1e4c53dea6..b8b4a66dbc 100644 --- a/packages/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts +++ b/packages/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/router/activated-route/BUILD.bazel b/packages/examples/router/activated-route/BUILD.bazel index f9dac5b28f..56fe54909b 100644 --- a/packages/examples/router/activated-route/BUILD.bazel +++ b/packages/examples/router/activated-route/BUILD.bazel @@ -27,7 +27,7 @@ ts_devserver( ], static_files = [ "//packages/examples:index.html", - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", ], deps = [":router_activated_route_examples"], ) diff --git a/packages/examples/router/activated-route/main.ts b/packages/examples/router/activated-route/main.ts index 5ac1a58e47..de89273a9f 100644 --- a/packages/examples/router/activated-route/main.ts +++ b/packages/examples/router/activated-route/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/router/activated-route/module.ts b/packages/examples/router/activated-route/module.ts index 63c2b9a47e..0c5eeea5c1 100644 --- a/packages/examples/router/activated-route/module.ts +++ b/packages/examples/router/activated-route/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/push/BUILD.bazel b/packages/examples/service-worker/push/BUILD.bazel index 568ddf4354..c6b89efa45 100644 --- a/packages/examples/service-worker/push/BUILD.bazel +++ b/packages/examples/service-worker/push/BUILD.bazel @@ -34,7 +34,7 @@ ts_devserver( name = "devserver", additional_root_paths = ["angular/packages/examples"], bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "ngsw-worker.js", ], entry_module = "@angular/examples/service-worker/push/main", diff --git a/packages/examples/service-worker/push/e2e_test/push_spec.ts b/packages/examples/service-worker/push/e2e_test/push_spec.ts index bf01e83a49..ef1d558728 100644 --- a/packages/examples/service-worker/push/e2e_test/push_spec.ts +++ b/packages/examples/service-worker/push/e2e_test/push_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/push/main.ts b/packages/examples/service-worker/push/main.ts index 5ac1a58e47..de89273a9f 100644 --- a/packages/examples/service-worker/push/main.ts +++ b/packages/examples/service-worker/push/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/push/module.ts b/packages/examples/service-worker/push/module.ts index e0c06440ee..9e1a88ce71 100644 --- a/packages/examples/service-worker/push/module.ts +++ b/packages/examples/service-worker/push/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/push/ngsw-worker.js b/packages/examples/service-worker/push/ngsw-worker.js index 45b1769cca..21cb6ab65a 100644 --- a/packages/examples/service-worker/push/ngsw-worker.js +++ b/packages/examples/service-worker/push/ngsw-worker.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/push/start-server.js b/packages/examples/service-worker/push/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/service-worker/push/start-server.js +++ b/packages/examples/service-worker/push/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/registration-options/BUILD.bazel b/packages/examples/service-worker/registration-options/BUILD.bazel index 7b451088ca..147a428972 100644 --- a/packages/examples/service-worker/registration-options/BUILD.bazel +++ b/packages/examples/service-worker/registration-options/BUILD.bazel @@ -34,7 +34,7 @@ ts_devserver( name = "devserver", additional_root_paths = ["angular/packages/examples"], bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "ngsw-worker.js", ], entry_module = "@angular/examples/service-worker/registration-options/main", diff --git a/packages/examples/service-worker/registration-options/e2e_test/registration-options_spec.ts b/packages/examples/service-worker/registration-options/e2e_test/registration-options_spec.ts index 5af093b1f4..015f344eef 100644 --- a/packages/examples/service-worker/registration-options/e2e_test/registration-options_spec.ts +++ b/packages/examples/service-worker/registration-options/e2e_test/registration-options_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/registration-options/main.ts b/packages/examples/service-worker/registration-options/main.ts index 5ac1a58e47..de89273a9f 100644 --- a/packages/examples/service-worker/registration-options/main.ts +++ b/packages/examples/service-worker/registration-options/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/registration-options/module.ts b/packages/examples/service-worker/registration-options/module.ts index c7128ccc02..f72b886acb 100644 --- a/packages/examples/service-worker/registration-options/module.ts +++ b/packages/examples/service-worker/registration-options/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/registration-options/ngsw-worker.js b/packages/examples/service-worker/registration-options/ngsw-worker.js index 45b1769cca..21cb6ab65a 100644 --- a/packages/examples/service-worker/registration-options/ngsw-worker.js +++ b/packages/examples/service-worker/registration-options/ngsw-worker.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/service-worker/registration-options/start-server.js b/packages/examples/service-worker/registration-options/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/service-worker/registration-options/start-server.js +++ b/packages/examples/service-worker/registration-options/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/test-utils/index.ts b/packages/examples/test-utils/index.ts index 61d4c39508..79c8a53afc 100644 --- a/packages/examples/test-utils/index.ts +++ b/packages/examples/test-utils/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/testing/ts/testing.ts b/packages/examples/testing/ts/testing.ts index c859f84217..c17fa3c05b 100644 --- a/packages/examples/testing/ts/testing.ts +++ b/packages/examples/testing/ts/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/start-server.js b/packages/examples/upgrade/start-server.js index cd47c54c05..540d40ed2c 100644 --- a/packages/examples/upgrade/start-server.js +++ b/packages/examples/upgrade/start-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts b/packages/examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts index 442802edd7..f8cab809bf 100644 --- a/packages/examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts +++ b/packages/examples/upgrade/static/ts/full/e2e_test/static_full_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/full/module.spec.ts b/packages/examples/upgrade/static/ts/full/module.spec.ts index 2f6db0bdb9..8cdaed3435 100644 --- a/packages/examples/upgrade/static/ts/full/module.spec.ts +++ b/packages/examples/upgrade/static/ts/full/module.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/full/module.ts b/packages/examples/upgrade/static/ts/full/module.ts index 8c84f4787a..4ca5413201 100644 --- a/packages/examples/upgrade/static/ts/full/module.ts +++ b/packages/examples/upgrade/static/ts/full/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts b/packages/examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts index bb493e641a..df78b81888 100644 --- a/packages/examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts +++ b/packages/examples/upgrade/static/ts/lite-multi-shared/e2e_test/static_lite_multi_shared_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite-multi-shared/module.ts b/packages/examples/upgrade/static/ts/lite-multi-shared/module.ts index 48ecc21156..74307bfdb2 100644 --- a/packages/examples/upgrade/static/ts/lite-multi-shared/module.ts +++ b/packages/examples/upgrade/static/ts/lite-multi-shared/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts b/packages/examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts index 2b9c846b74..2691a2bbdb 100644 --- a/packages/examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts +++ b/packages/examples/upgrade/static/ts/lite-multi/e2e_test/static_lite_multi_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite-multi/module.ts b/packages/examples/upgrade/static/ts/lite-multi/module.ts index efe7bf3889..f6f9c02358 100644 --- a/packages/examples/upgrade/static/ts/lite-multi/module.ts +++ b/packages/examples/upgrade/static/ts/lite-multi/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts b/packages/examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts index 778e7fd35d..d929b67794 100644 --- a/packages/examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts +++ b/packages/examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts b/packages/examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts index cbf61a7506..6d697d728a 100644 --- a/packages/examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts +++ b/packages/examples/upgrade/static/ts/lite/e2e_test/static_lite_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/static/ts/lite/module.ts b/packages/examples/upgrade/static/ts/lite/module.ts index a99d1350d1..66047b65c5 100644 --- a/packages/examples/upgrade/static/ts/lite/module.ts +++ b/packages/examples/upgrade/static/ts/lite/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/examples/upgrade/tsconfig-build.json b/packages/examples/upgrade/tsconfig-build.json index 70ccf09202..eb79d48482 100644 --- a/packages/examples/upgrade/tsconfig-build.json +++ b/packages/examples/upgrade/tsconfig-build.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "importHelpers": true, "lib": ["dom", "es2015"], "types": ["angular"] } diff --git a/packages/examples/upgrade/upgrade_example.bzl b/packages/examples/upgrade/upgrade_example.bzl index e6b8a45a27..d3bca942a7 100644 --- a/packages/examples/upgrade/upgrade_example.bzl +++ b/packages/examples/upgrade/upgrade_example.bzl @@ -44,7 +44,7 @@ def create_upgrade_example_targets(name, srcs, e2e_srcs, entry_module, assets = entry_module = entry_module, additional_root_paths = ["angular/packages/examples"], bootstrap = [ - "//packages/zone.js/dist:zone.js", + "//packages/zone.js/bundles:zone.umd.js", "@npm//:node_modules/angular/angular.js", "@npm//:node_modules/reflect-metadata/Reflect.js", ], diff --git a/packages/forms/index.ts b/packages/forms/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/forms/index.ts +++ b/packages/forms/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/package.json b/packages/forms/package.json index 0b53a28e03..90d056a38b 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -4,12 +4,14 @@ "description": "Angular - directives and services for creating forms", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "rxjs": "^6.5.3", - "tslib": "^1.10.0" + "rxjs": "^6.5.3" }, "repository": { "type": "git", diff --git a/packages/forms/public_api.ts b/packages/forms/public_api.ts index eb91a3bb4f..1aae2130ef 100644 --- a/packages/forms/public_api.ts +++ b/packages/forms/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives.ts b/packages/forms/src/directives.ts index 53c669c784..1ef6b4cef9 100644 --- a/packages/forms/src/directives.ts +++ b/packages/forms/src/directives.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/abstract_control_directive.ts b/packages/forms/src/directives/abstract_control_directive.ts index 61e9bf84d9..54e5eeeace 100644 --- a/packages/forms/src/directives/abstract_control_directive.ts +++ b/packages/forms/src/directives/abstract_control_directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/abstract_form_group_directive.ts b/packages/forms/src/directives/abstract_form_group_directive.ts index 42a0a03b28..449cf8cbf9 100644 --- a/packages/forms/src/directives/abstract_form_group_directive.ts +++ b/packages/forms/src/directives/abstract_form_group_directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/checkbox_value_accessor.ts b/packages/forms/src/directives/checkbox_value_accessor.ts index 4a1dd17654..b7fdfa15cb 100644 --- a/packages/forms/src/directives/checkbox_value_accessor.ts +++ b/packages/forms/src/directives/checkbox_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/control_container.ts b/packages/forms/src/directives/control_container.ts index 678b18f473..3b160a686f 100644 --- a/packages/forms/src/directives/control_container.ts +++ b/packages/forms/src/directives/control_container.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/control_value_accessor.ts b/packages/forms/src/directives/control_value_accessor.ts index 684d6a0500..808ebe7c9a 100644 --- a/packages/forms/src/directives/control_value_accessor.ts +++ b/packages/forms/src/directives/control_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -80,7 +80,7 @@ export interface ControlValueAccessor { /** * @description - * Registers a callback function is called by the forms API on initialization + * Registers a callback function that is called by the forms API on initialization * to update the form model on blur. * * When implementing `registerOnTouched` in your own value accessor, save the given diff --git a/packages/forms/src/directives/default_value_accessor.ts b/packages/forms/src/directives/default_value_accessor.ts index b900b5fbe3..8351aa634e 100644 --- a/packages/forms/src/directives/default_value_accessor.ts +++ b/packages/forms/src/directives/default_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/error_examples.ts b/packages/forms/src/directives/error_examples.ts index d68553b88c..e792ada71b 100644 --- a/packages/forms/src/directives/error_examples.ts +++ b/packages/forms/src/directives/error_examples.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/form_interface.ts b/packages/forms/src/directives/form_interface.ts index 3da085c08d..a14fcc9bc8 100644 --- a/packages/forms/src/directives/form_interface.ts +++ b/packages/forms/src/directives/form_interface.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_control.ts b/packages/forms/src/directives/ng_control.ts index 47e92f6db4..d8185e7381 100644 --- a/packages/forms/src/directives/ng_control.ts +++ b/packages/forms/src/directives/ng_control.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_control_status.ts b/packages/forms/src/directives/ng_control_status.ts index 12c7f5d525..c877309729 100644 --- a/packages/forms/src/directives/ng_control_status.ts +++ b/packages/forms/src/directives/ng_control_status.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_form.ts b/packages/forms/src/directives/ng_form.ts index fdc207d018..a3482d5444 100644 --- a/packages/forms/src/directives/ng_form.ts +++ b/packages/forms/src/directives/ng_form.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_model.ts b/packages/forms/src/directives/ng_model.ts index 354d35a5ea..71562a5743 100644 --- a/packages/forms/src/directives/ng_model.ts +++ b/packages/forms/src/directives/ng_model.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_model_group.ts b/packages/forms/src/directives/ng_model_group.ts index 55ec88d51d..d5995df8a7 100644 --- a/packages/forms/src/directives/ng_model_group.ts +++ b/packages/forms/src/directives/ng_model_group.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/ng_no_validate_directive.ts b/packages/forms/src/directives/ng_no_validate_directive.ts index 448339f3dd..25a6dfce4a 100644 --- a/packages/forms/src/directives/ng_no_validate_directive.ts +++ b/packages/forms/src/directives/ng_no_validate_directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/normalize_validator.ts b/packages/forms/src/directives/normalize_validator.ts index f12aa0aae5..3246bdd4f9 100644 --- a/packages/forms/src/directives/normalize_validator.ts +++ b/packages/forms/src/directives/normalize_validator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,7 @@ import {AbstractControl} from '../model'; import {AsyncValidator, AsyncValidatorFn, Validator, ValidatorFn} from './validators'; export function normalizeValidator(validator: ValidatorFn|Validator): ValidatorFn { - if ((validator).validate) { + if (!!(validator).validate) { return (c: AbstractControl) => (validator).validate(c); } else { return validator; @@ -19,7 +19,7 @@ export function normalizeValidator(validator: ValidatorFn|Validator): ValidatorF export function normalizeAsyncValidator(validator: AsyncValidatorFn| AsyncValidator): AsyncValidatorFn { - if ((validator).validate) { + if (!!(validator).validate) { return (c: AbstractControl) => (validator).validate(c); } else { return validator; diff --git a/packages/forms/src/directives/number_value_accessor.ts b/packages/forms/src/directives/number_value_accessor.ts index 2a2b8e50d1..675f174471 100644 --- a/packages/forms/src/directives/number_value_accessor.ts +++ b/packages/forms/src/directives/number_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/radio_control_value_accessor.ts b/packages/forms/src/directives/radio_control_value_accessor.ts index 6f5ee4905b..4de1274f2d 100644 --- a/packages/forms/src/directives/radio_control_value_accessor.ts +++ b/packages/forms/src/directives/radio_control_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/range_value_accessor.ts b/packages/forms/src/directives/range_value_accessor.ts index 7a01f7c1d8..0dec1920ed 100644 --- a/packages/forms/src/directives/range_value_accessor.ts +++ b/packages/forms/src/directives/range_value_accessor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/reactive_directives/form_control_directive.ts b/packages/forms/src/directives/reactive_directives/form_control_directive.ts index 0d9711fc03..2f288fbe3c 100644 --- a/packages/forms/src/directives/reactive_directives/form_control_directive.ts +++ b/packages/forms/src/directives/reactive_directives/form_control_directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/reactive_directives/form_control_name.ts b/packages/forms/src/directives/reactive_directives/form_control_name.ts index bb74485449..d2aa5bc07f 100644 --- a/packages/forms/src/directives/reactive_directives/form_control_name.ts +++ b/packages/forms/src/directives/reactive_directives/form_control_name.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/reactive_directives/form_group_directive.ts b/packages/forms/src/directives/reactive_directives/form_group_directive.ts index 4fabe81ea4..f6ef709f55 100644 --- a/packages/forms/src/directives/reactive_directives/form_group_directive.ts +++ b/packages/forms/src/directives/reactive_directives/form_group_directive.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/reactive_directives/form_group_name.ts b/packages/forms/src/directives/reactive_directives/form_group_name.ts index c3f48352fe..6a3aa99ba5 100644 --- a/packages/forms/src/directives/reactive_directives/form_group_name.ts +++ b/packages/forms/src/directives/reactive_directives/form_group_name.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/reactive_errors.ts b/packages/forms/src/directives/reactive_errors.ts index b7e46673e6..835f358aa6 100644 --- a/packages/forms/src/directives/reactive_errors.ts +++ b/packages/forms/src/directives/reactive_errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -66,8 +66,8 @@ export class ReactiveErrors { It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true when you set up this control in your component class, the disabled attribute will actually be set in the DOM for you. We recommend using this approach to avoid 'changed after checked' errors. - - Example: + + Example: form = new FormGroup({ first: new FormControl({value: 'Nancy', disabled: true}, Validators.required), last: new FormControl('Drew', Validators.required) @@ -77,11 +77,11 @@ export class ReactiveErrors { static ngModelWarning(directiveName: string): void { console.warn(` - It looks like you're using ngModel on the same form field as ${directiveName}. - Support for using the ngModel input property and ngModelChange event with - reactive form directives has been deprecated in Angular v6 and will be removed - in Angular v7. - + It looks like you're using ngModel on the same form field as ${directiveName}. + Support for using the ngModel input property and ngModelChange event with + reactive form directives has been deprecated in Angular v6 and will be removed + in a future version of Angular. + For more information on this, see our API docs here: https://angular.io/api/forms/${ directiveName === 'formControl' ? 'FormControlDirective' : diff --git a/packages/forms/src/directives/select_control_value_accessor.ts b/packages/forms/src/directives/select_control_value_accessor.ts index f7ef1582ce..ffecce323a 100644 --- a/packages/forms/src/directives/select_control_value_accessor.ts +++ b/packages/forms/src/directives/select_control_value_accessor.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Directive, ElementRef, forwardRef, Host, Input, OnDestroy, Optional, Renderer2, StaticProvider, ɵlooseIdentical as looseIdentical} from '@angular/core'; +import {Directive, ElementRef, forwardRef, Host, Input, OnDestroy, Optional, Renderer2, StaticProvider} from '@angular/core'; import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor'; @@ -144,7 +144,7 @@ export class SelectControlValueAccessor implements ControlValueAccessor { this._compareWith = fn; } - private _compareWith: (o1: any, o2: any) => boolean = looseIdentical; + private _compareWith: (o1: any, o2: any) => boolean = Object.is; constructor(private _renderer: Renderer2, private _elementRef: ElementRef) {} diff --git a/packages/forms/src/directives/select_multiple_control_value_accessor.ts b/packages/forms/src/directives/select_multiple_control_value_accessor.ts index 5bc28e20c0..ebee781504 100644 --- a/packages/forms/src/directives/select_multiple_control_value_accessor.ts +++ b/packages/forms/src/directives/select_multiple_control_value_accessor.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Directive, ElementRef, forwardRef, Host, Input, OnDestroy, Optional, Renderer2, StaticProvider, ɵlooseIdentical as looseIdentical} from '@angular/core'; +import {Directive, ElementRef, forwardRef, Host, Input, OnDestroy, Optional, Renderer2, StaticProvider} from '@angular/core'; import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor'; @@ -118,7 +118,7 @@ export class SelectMultipleControlValueAccessor implements ControlValueAccessor this._compareWith = fn; } - private _compareWith: (o1: any, o2: any) => boolean = looseIdentical; + private _compareWith: (o1: any, o2: any) => boolean = Object.is; constructor(private _renderer: Renderer2, private _elementRef: ElementRef) {} @@ -156,7 +156,7 @@ export class SelectMultipleControlValueAccessor implements ControlValueAccessor registerOnChange(fn: (value: any) => any): void { this.onChange = (_: any) => { const selected: Array = []; - if (_.hasOwnProperty('selectedOptions')) { + if (_.selectedOptions !== undefined) { const options: HTMLCollection = _.selectedOptions; for (let i = 0; i < options.length; i++) { const opt: any = options.item(i); diff --git a/packages/forms/src/directives/shared.ts b/packages/forms/src/directives/shared.ts index 2bdf5e51b4..51c9182bae 100644 --- a/packages/forms/src/directives/shared.ts +++ b/packages/forms/src/directives/shared.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {isDevMode, ɵlooseIdentical as looseIdentical} from '@angular/core'; +import {isDevMode} from '@angular/core'; import {FormArray, FormControl, FormGroup} from '../model'; import {Validators} from '../validators'; @@ -156,7 +156,7 @@ export function isPropertyUpdated(changes: {[key: string]: any}, viewModel: any) const change = changes['model']; if (change.isFirstChange()) return true; - return !looseIdentical(viewModel, change.currentValue); + return !Object.is(viewModel, change.currentValue); } const BUILTIN_ACCESSORS = [ diff --git a/packages/forms/src/directives/template_driven_errors.ts b/packages/forms/src/directives/template_driven_errors.ts index 2fcc0785e6..05e70a9362 100644 --- a/packages/forms/src/directives/template_driven_errors.ts +++ b/packages/forms/src/directives/template_driven_errors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/directives/validators.ts b/packages/forms/src/directives/validators.ts index 52e5a781d5..b3e6798d87 100644 --- a/packages/forms/src/directives/validators.ts +++ b/packages/forms/src/directives/validators.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/form_builder.ts b/packages/forms/src/form_builder.ts index f7dba91b15..b5408ffb8e 100644 --- a/packages/forms/src/form_builder.ts +++ b/packages/forms/src/form_builder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/form_providers.ts b/packages/forms/src/form_providers.ts index e5cd3fc587..2b7f2ef035 100644 --- a/packages/forms/src/form_providers.ts +++ b/packages/forms/src/form_providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/forms.ts b/packages/forms/src/forms.ts index 84ef140a6f..aff0c28a27 100644 --- a/packages/forms/src/forms.ts +++ b/packages/forms/src/forms.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/model.ts b/packages/forms/src/model.ts index c87d4fde1c..fa7c028b7a 100644 --- a/packages/forms/src/model.ts +++ b/packages/forms/src/model.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -79,11 +79,7 @@ function _find(control: AbstractControl, path: Array|string, deli function coerceToValidator(validatorOrOpts?: ValidatorFn|ValidatorFn[]|AbstractControlOptions| null): ValidatorFn|null { - const validator = - (isOptionsObj(validatorOrOpts) ? (validatorOrOpts as AbstractControlOptions).validators : - validatorOrOpts) as ValidatorFn | - ValidatorFn[] | null; - + const validator = isOptionsObj(validatorOrOpts) ? validatorOrOpts.validators : validatorOrOpts; return Array.isArray(validator) ? composeValidators(validator) : validator || null; } @@ -92,10 +88,7 @@ function coerceToAsyncValidator( validatorOrOpts?: ValidatorFn|ValidatorFn[]|AbstractControlOptions|null): AsyncValidatorFn| null { const origAsyncValidator = - (isOptionsObj(validatorOrOpts) ? (validatorOrOpts as AbstractControlOptions).asyncValidators : - asyncValidator) as AsyncValidatorFn | - AsyncValidatorFn | null; - + isOptionsObj(validatorOrOpts) ? validatorOrOpts.asyncValidators : asyncValidator; return Array.isArray(origAsyncValidator) ? composeAsyncValidators(origAsyncValidator) : origAsyncValidator || null; } @@ -138,7 +131,7 @@ export interface AbstractControlOptions { function isOptionsObj(validatorOrOpts?: ValidatorFn|ValidatorFn[]|AbstractControlOptions| - null): boolean { + null): validatorOrOpts is AbstractControlOptions { return validatorOrOpts != null && !Array.isArray(validatorOrOpts) && typeof validatorOrOpts === 'object'; } @@ -176,6 +169,13 @@ export abstract class AbstractControl { // TODO(issue/24571): remove '!'. _pendingDirty!: boolean; + /** + * Indicates that a control has its own pending asynchronous validation in progress. + * + * @internal + */ + _hasOwnPendingAsyncValidator = false; + /** @internal */ // TODO(issue/24571): remove '!'. _pendingTouched!: boolean; @@ -906,15 +906,22 @@ export abstract class AbstractControl { private _runAsyncValidator(emitEvent?: boolean): void { if (this.asyncValidator) { (this as {status: string}).status = PENDING; + this._hasOwnPendingAsyncValidator = true; const obs = toObservable(this.asyncValidator(this)); - this._asyncValidationSubscription = - obs.subscribe((errors: ValidationErrors|null) => this.setErrors(errors, {emitEvent})); + this._asyncValidationSubscription = obs.subscribe((errors: ValidationErrors|null) => { + this._hasOwnPendingAsyncValidator = false; + // This will trigger the recalculation of the validation status, which depends on + // the state of the asynchronous validation (whether it is in progress or not). So, it is + // necessary that we have updated the `_hasOwnPendingAsyncValidator` boolean flag first. + this.setErrors(errors, {emitEvent}); + }); } } private _cancelExistingSubscription(): void { if (this._asyncValidationSubscription) { this._asyncValidationSubscription.unsubscribe(); + this._hasOwnPendingAsyncValidator = false; } } @@ -1120,7 +1127,7 @@ export abstract class AbstractControl { private _calculateStatus(): string { if (this._allControlsDisabled()) return DISABLED; if (this.errors) return INVALID; - if (this._anyControlsHaveStatus(PENDING)) return PENDING; + if (this._hasOwnPendingAsyncValidator || this._anyControlsHaveStatus(PENDING)) return PENDING; if (this._anyControlsHaveStatus(INVALID)) return INVALID; return VALID; } @@ -1189,8 +1196,8 @@ export abstract class AbstractControl { /** @internal */ _setUpdateStrategy(opts?: ValidatorFn|ValidatorFn[]|AbstractControlOptions|null): void { - if (isOptionsObj(opts) && (opts as AbstractControlOptions).updateOn != null) { - this._updateOn = (opts as AbstractControlOptions).updateOn!; + if (isOptionsObj(opts) && opts.updateOn != null) { + this._updateOn = opts.updateOn!; } } @@ -2110,11 +2117,13 @@ export class FormGroup extends AbstractControl { /** @internal */ _anyControls(condition: Function): boolean { - let res = false; - this._forEachChild((control: AbstractControl, name: string) => { - res = res || (this.contains(name) && condition(control)); - }); - return res; + for (const controlName of Object.keys(this.controls)) { + const control = this.controls[controlName]; + if (this.contains(controlName) && condition(control)) { + return true; + } + } + return false; } /** @internal */ diff --git a/packages/forms/src/validators.ts b/packages/forms/src/validators.ts index 98e93c6a5e..c2c785acb0 100644 --- a/packages/forms/src/validators.ts +++ b/packages/forms/src/validators.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/src/version.ts b/packages/forms/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/forms/src/version.ts +++ b/packages/forms/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/directives_spec.ts b/packages/forms/test/directives_spec.ts index 06e72afbe5..0f395e52cf 100644 --- a/packages/forms/test/directives_spec.ts +++ b/packages/forms/test/directives_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/form_array_spec.ts b/packages/forms/test/form_array_spec.ts index 1bdc729233..68477d384a 100644 --- a/packages/forms/test/form_array_spec.ts +++ b/packages/forms/test/form_array_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/form_builder_spec.ts b/packages/forms/test/form_builder_spec.ts index 05e2a735ce..e0d0da0b03 100644 --- a/packages/forms/test/form_builder_spec.ts +++ b/packages/forms/test/form_builder_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/form_control_spec.ts b/packages/forms/test/form_control_spec.ts index 2f40bc982e..9045cbd36c 100644 --- a/packages/forms/test/form_control_spec.ts +++ b/packages/forms/test/form_control_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -36,7 +36,7 @@ function asyncValidator(expected: string, timeouts = {}): AsyncValidatorFn { } function asyncValidatorReturningObservable(c: AbstractControl) { - const e = new EventEmitter(); + const e = new EventEmitter>(); Promise.resolve(null).then(() => { e.emit({'async': true}); }); diff --git a/packages/forms/test/form_group_spec.ts b/packages/forms/test/form_group_spec.ts index ec90568a2e..c46026e515 100644 --- a/packages/forms/test/form_group_spec.ts +++ b/packages/forms/test/form_group_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -39,6 +39,39 @@ function asyncValidator(expected: string, timeouts = {}) { }; } +function simpleAsyncValidator({ + timeout = 0, + shouldFail, + customError = + { + async: true + } +}: {timeout?: number, shouldFail: boolean, customError?: any}) { + return (c: AbstractControl) => { + const res = shouldFail ? customError : null; + + if (timeout === 0) { + return of(res); + } + + let resolve: (result: any) => void = undefined!; + const promise = new Promise(res => { + resolve = res; + }); + + setTimeout(() => { + resolve(res); + }, timeout); + + return promise; + }; +} + +function currentStateOf(controls: AbstractControl[]): + {errors: any; pending: boolean; status: string;}[] { + return controls.map(c => ({errors: c.errors, pending: c.pending, status: c.status})); +} + function asyncValidatorReturningObservable(c: AbstractControl) { const e = new EventEmitter(); Promise.resolve(null).then(() => { @@ -981,6 +1014,538 @@ describe('FormGroup', () => { expect(g.errors).toEqual({'async': true}); expect(g.get('one')!.errors).toEqual({'async': true}); })); + + it('should handle successful async FormGroup resolving synchronously before a successful async child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup( + {'one': c}, null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + + // Initially, the form control validation is pending, and the form group own validation has + // synchronously resolved. Still, the form is in pending state due to its child + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, the form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle successful async FormGroup resolving after a synchronously and successfully resolving child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + const g = new FormGroup( + {'one': c}, null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + + // Initially, form control validator has synchronously resolved. However, g has its own + // pending validation + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle successful async FormGroup and child control validators resolving synchronously', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + const g = new FormGroup( + {'one': c}, null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + + // Both form control and form group successful async validators have resolved synchronously + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle failing async FormGroup and failing child control validators resolving synchronously', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 0, shouldFail: true})); + const g = + new FormGroup({'one': c}, null!, simpleAsyncValidator({timeout: 0, shouldFail: true})); + + // FormControl async validator has executed and failed synchronously with the default error + // `{async: true}`. Next, the form group status is calculated. Since one of its children is + // failing, the form group itself is marked `INVALID`. And its asynchronous validation is + // not even triggered. Therefore, we end up with form group that is `INVALID` but whose + // errors are null (child errors do not propagate and own async validation not event + // triggered). + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'INVALID'}, // Group + {errors: {async: true}, pending: false, status: 'INVALID'}, // Control + ]); + })); + + it('should handle failing async FormGroup and successful child control validators resolving synchronously', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + const g = + new FormGroup({'one': c}, null!, simpleAsyncValidator({timeout: 0, shouldFail: true})); + + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle failing async FormArray and successful children validators resolving synchronously', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + const g = new FormGroup( + {'one': c}, null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + + const c2 = + new FormControl('fcVal', null!, simpleAsyncValidator({timeout: 0, shouldFail: false})); + + const a = + new FormArray([g, c2], null!, simpleAsyncValidator({timeout: 0, shouldFail: true})); + + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Array + {errors: null, pending: false, status: 'VALID'}, // Group p + {errors: null, pending: false, status: 'VALID'}, // Control c2 + ]); + })); + + it('should handle failing FormGroup validator resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = + new FormGroup({'one': c}, null!, simpleAsyncValidator({timeout: 2, shouldFail: true})); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation fails + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle failing FormArray validator resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const a = new FormArray([c], null!, simpleAsyncValidator({timeout: 2, shouldFail: true})); + + // Initially, the form array and nested control are in pending state + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form array validation fails + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle successful FormGroup validator resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup( + {'one': c}, null!, simpleAsyncValidator({timeout: 2, shouldFail: false})); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation resolves + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle successful FormArray validator resolving after successful child validators', + fakeAsync(() => { + const c1 = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup( + {'one': c1}, null!, simpleAsyncValidator({timeout: 2, shouldFail: false})); + const c2 = + new FormControl('fcVal', null!, simpleAsyncValidator({timeout: 3, shouldFail: false})); + + const a = + new FormArray([g, c2], null!, simpleAsyncValidator({timeout: 4, shouldFail: false})); + + // Initially, the form array and the tested form group and form control c2 are in pending + // state + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: true, status: 'PENDING'}, // g + {errors: null, pending: true, status: 'PENDING'}, // c2 + ]); + + tick(2); + + // After 2ms, g validation has resolved + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: true, status: 'PENDING'}, // c2 + ]); + + tick(1); + + // After 1ms, c2 validation has resolved + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: false, status: 'VALID'}, // c2 + ]); + + tick(1); + + // After 1ms, FormArray own validation has resolved + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: false, status: 'VALID'}, // c2 + ]); + })); + + it('should handle failing FormArray validator resolving after successful child validators', + fakeAsync(() => { + const c1 = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup( + {'one': c1}, null!, simpleAsyncValidator({timeout: 2, shouldFail: false})); + const c2 = + new FormControl('fcVal', null!, simpleAsyncValidator({timeout: 3, shouldFail: false})); + + const a = + new FormArray([g, c2], null!, simpleAsyncValidator({timeout: 4, shouldFail: true})); + + // Initially, the form array and the tested form group and form control c2 are in pending + // state + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: true, status: 'PENDING'}, // g + {errors: null, pending: true, status: 'PENDING'}, // c2 + ]); + + tick(2); + + // After 2ms, g validation has resolved + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: true, status: 'PENDING'}, // c2 + ]); + + tick(1); + + // After 1ms, c2 validation has resolved + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: false, status: 'VALID'}, // c2 + ]); + + tick(1); + + // After 1ms, FormArray own validation has failed + expect(currentStateOf([a, a.at(0)!, a.at(1)!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // g + {errors: null, pending: false, status: 'VALID'}, // c2 + ]); + })); + + it('should handle multiple successful FormGroup validators resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup({'one': c}, null!, [ + simpleAsyncValidator({timeout: 2, shouldFail: false}), + simpleAsyncValidator({timeout: 3, shouldFail: false}) + ]); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, one form async validator has resolved but not the second + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation resolves + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: false, status: 'VALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle multiple FormGroup validators (success then failure) resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup({'one': c}, null!, [ + simpleAsyncValidator({timeout: 2, shouldFail: false}), + simpleAsyncValidator({timeout: 3, shouldFail: true}) + ]); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, one form async validator has resolved but not the second + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation fails + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + + it('should handle multiple FormGroup validators (failure then success) resolving after successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + const g = new FormGroup({'one': c}, null!, [ + simpleAsyncValidator({timeout: 2, shouldFail: true}), + simpleAsyncValidator({timeout: 3, shouldFail: false}) + ]); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, only form control validation has resolved + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + + tick(1); + + // All async validators are composed into one function. So, after 2ms, the FormGroup g is + // still in pending state without errors + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + + tick(1); + + // After 1ms, the form group validation fails + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + + it('should handle async validators in nested form groups / arrays', fakeAsync(() => { + const c1 = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 1, shouldFail: false})); + + const g1 = new FormGroup( + {'one': c1}, null!, simpleAsyncValidator({timeout: 2, shouldFail: true})); + + const c2 = + new FormControl('fcVal', null!, simpleAsyncValidator({timeout: 3, shouldFail: false})); + + const g2 = + new FormArray([c2], null!, simpleAsyncValidator({timeout: 4, shouldFail: false})); + + const g = new FormGroup( + {'g1': g1, 'g2': g2}, null!, simpleAsyncValidator({timeout: 5, shouldFail: false})); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('g1')!, g.get('g2')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group g + {errors: null, pending: true, status: 'PENDING'}, // Group g1 + {errors: null, pending: true, status: 'PENDING'}, // Group g2 + ]); + + tick(2); + + // After 2ms, g1 validation fails + expect(currentStateOf([g, g.get('g1')!, g.get('g2')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group g + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group g1 + {errors: null, pending: true, status: 'PENDING'}, // Group g2 + ]); + + tick(2); + + // After 2ms, g2 validation resolves + expect(currentStateOf([g, g.get('g1')!, g.get('g2')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group g + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group g1 + {errors: null, pending: false, status: 'VALID'}, // Group g2 + ]); + + tick(1); + + // After 1ms, g validation fails because g1 is invalid, but since errors do not cascade, so + // we still have null errors for g + expect(currentStateOf([g, g.get('g1')!, g.get('g2')!])).toEqual([ + {errors: null, pending: false, status: 'INVALID'}, // Group g + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group g1 + {errors: null, pending: false, status: 'VALID'}, // Group g2 + ]); + })); + + it('should handle failing FormGroup validator resolving before successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 2, shouldFail: false})); + const g = + new FormGroup({'one': c}, null!, simpleAsyncValidator({timeout: 1, shouldFail: true})); + + // Initially, the form group and nested control are in pending state + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, form group validation fails + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, child validation resolves + expect(currentStateOf([g, g.get('one')!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // Group + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); + + it('should handle failing FormArray validator resolving before successful child validator', + fakeAsync(() => { + const c = new FormControl( + 'fcValue', null!, simpleAsyncValidator({timeout: 2, shouldFail: false})); + const a = new FormArray([c], null!, simpleAsyncValidator({timeout: 1, shouldFail: true})); + + // Initially, the form array and nested control are in pending state + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: null, pending: true, status: 'PENDING'}, // FormArray + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, form array validation fails + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // FormArray + {errors: null, pending: true, status: 'PENDING'}, // Control + ]); + + tick(1); + + // After 1ms, child validation resolves + expect(currentStateOf([a, a.at(0)!])).toEqual([ + {errors: {async: true}, pending: false, status: 'INVALID'}, // FormArray + {errors: null, pending: false, status: 'VALID'}, // Control + ]); + })); }); describe('disable() & enable()', () => { diff --git a/packages/forms/test/reactive_integration_spec.ts b/packages/forms/test/reactive_integration_spec.ts index 8e8d5e0f4c..b6e3fb3740 100644 --- a/packages/forms/test/reactive_integration_spec.ts +++ b/packages/forms/test/reactive_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -2074,6 +2074,72 @@ import {MyInput, MyInputForm} from './value_accessor_integration_spec'; expect(control.valid).toEqual(false); })); + it('should handle async validation changes in parent and child controls', fakeAsync(() => { + const fixture = initTest(FormGroupComp); + const control = new FormControl( + '', Validators.required, asyncValidator(c => !!c.value && c.value.length > 3, 100)); + const form = new FormGroup( + {'login': control}, null, + asyncValidator(c => c.get('login')!.value.includes('angular'), 200)); + fixture.componentInstance.form = form; + fixture.detectChanges(); + tick(); + + // Initially, the form is invalid because the nested mandatory control is empty + expect(control.hasError('required')).toEqual(true); + expect(form.value).toEqual({'login': ''}); + expect(form.invalid).toEqual(true); + + // Setting a value in the form control that will trigger the registered asynchronous + // validation + const input = fixture.debugElement.query(By.css('input')); + input.nativeElement.value = 'angul'; + dispatchEvent(input.nativeElement, 'input'); + + // The form control asynchronous validation is in progress (for 100 ms) + expect(control.pending).toEqual(true); + + tick(100); + + // Now the asynchronous validation has resolved, and since the form control value + // (`angul`) has a length > 3, the validation is successful + expect(control.invalid).toEqual(false); + + // Even if the child control is valid, the form control is pending because it is still + // waiting for its own validation + expect(form.pending).toEqual(true); + + tick(100); + + // Login form control is valid. However, the form control is invalid because `angul` does + // not include `angular` + expect(control.invalid).toEqual(false); + expect(form.pending).toEqual(false); + expect(form.invalid).toEqual(true); + + // Setting a value that would be trigger "VALID" form state + input.nativeElement.value = 'angular!'; + dispatchEvent(input.nativeElement, 'input'); + + // Since the form control value changed, its asynchronous validation runs for 100ms + expect(control.pending).toEqual(true); + + tick(100); + + // Even if the child control is valid, the form control is pending because it is still + // waiting for its own validation + expect(control.invalid).toEqual(false); + expect(form.pending).toEqual(true); + + tick(100); + + // Now, the form is valid because its own asynchronous validation has resolved + // successfully, because the form control value `angular` includes the `angular` string + expect(control.invalid).toEqual(false); + expect(form.pending).toEqual(false); + expect(form.invalid).toEqual(false); + })); + it('should cancel observable properly between validation runs', fakeAsync(() => { const fixture = initTest(FormControlComp); const resultArr: number[] = []; @@ -2383,18 +2449,36 @@ import {MyInput, MyInputForm} from './value_accessor_integration_spec'; }); } -function uniqLoginAsyncValidator(expectedValue: string, timeout: number = 0) { +/** + * Creates an async validator using a checker function, a timeout and the error to emit in case of + * validation failure + * + * @param checker A function to decide whether the validator will resolve with success or failure + * @param timeout When the validation will resolve + * @param error The error message to be emitted in case of validation failure + * + * @returns An async validator created using a checker function, a timeout and the error to emit in + * case of validation failure + */ +function asyncValidator( + checker: (c: AbstractControl) => boolean, timeout: number = 0, error: any = { + 'async': true + }) { return (c: AbstractControl) => { let resolve: (result: any) => void; const promise = new Promise(res => { resolve = res; }); - const res = (c.value == expectedValue) ? null : {'uniqLogin': true}; + const res = checker(c) ? null : error; setTimeout(() => resolve(res), timeout); return promise; }; } +function uniqLoginAsyncValidator(expectedValue: string, timeout: number = 0) { + return asyncValidator(c => c.value === expectedValue, timeout, {'uniqLogin': true}); +} + function observableValidator(resultArr: number[]): AsyncValidatorFn { return (c: AbstractControl) => { return timer(100).pipe(tap((resp: any) => resultArr.push(resp))); diff --git a/packages/forms/test/spies.ts b/packages/forms/test/spies.ts index 27bbcd0d98..d90f06f324 100644 --- a/packages/forms/test/spies.ts +++ b/packages/forms/test/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/template_integration_spec.ts b/packages/forms/test/template_integration_spec.ts index 0cde9665d1..ed85da7131 100644 --- a/packages/forms/test/template_integration_spec.ts +++ b/packages/forms/test/template_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/validators_spec.ts b/packages/forms/test/validators_spec.ts index 8cbbf223bf..9450cfee17 100644 --- a/packages/forms/test/validators_spec.ts +++ b/packages/forms/test/validators_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/forms/test/value_accessor_integration_spec.ts b/packages/forms/test/value_accessor_integration_spec.ts index b00207e377..f6cce04653 100644 --- a/packages/forms/test/value_accessor_integration_spec.ts +++ b/packages/forms/test/value_accessor_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -499,6 +499,18 @@ import {dispatchEvent} from '@angular/platform-browser/testing/src/browser_util' } }; + it('verify that native `selectedOptions` field is used while detecting the list of selected options', + fakeAsync(() => { + if (isNode || !HTMLSelectElement.prototype.hasOwnProperty('selectedOptions')) return; + const spy = spyOnProperty(HTMLSelectElement.prototype, 'selectedOptions', 'get') + .and.callThrough(); + setSelectedCities([]); + + selectOptionViaUI('1: Object'); + assertOptionElementSelectedState([false, true, false]); + expect(spy.calls.count()).toBe(2); + })); + it('should reflect state of model after option selected and new options subsequently added', fakeAsync(() => { if (isNode) return; diff --git a/packages/goog.d.ts b/packages/goog.d.ts index 25c828eb15..1ea0320485 100644 --- a/packages/goog.d.ts +++ b/packages/goog.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/bundles/BUILD.bazel b/packages/language-service/bundles/BUILD.bazel index ba95926d85..698e333666 100644 --- a/packages/language-service/bundles/BUILD.bazel +++ b/packages/language-service/bundles/BUILD.bazel @@ -1,4 +1,4 @@ -load("//tools/ng_rollup_bundle:ng_rollup_bundle.bzl", "ls_rollup_bundle") +load("//packages/language-service/bundles:index.bzl", "ls_rollup_bundle") ls_rollup_bundle( name = "language-service", diff --git a/packages/language-service/bundles/banner.js b/packages/language-service/bundles/banner.js index 28ed36515f..b726d9e7f4 100644 --- a/packages/language-service/bundles/banner.js +++ b/packages/language-service/bundles/banner.js @@ -1,6 +1,6 @@ /** * @license Angular v0.0.0-PLACEHOLDER - * Copyright Google Inc. All Rights Reserved. + * Copyright Google LLC All Rights Reserved. * License: MIT */ diff --git a/packages/language-service/bundles/index.bzl b/packages/language-service/bundles/index.bzl new file mode 100644 index 0000000000..ca2498d940 --- /dev/null +++ b/packages/language-service/bundles/index.bzl @@ -0,0 +1,25 @@ +load("//dev-infra/benchmark/ng_rollup_bundle:ng_rollup_bundle.bzl", "ng_rollup_bundle") + +def ls_rollup_bundle(name, **kwargs): + """ + A variant of ng_rollup_bundle for the language-service bundle that + outputs in AMD format. + """ + visibility = kwargs.pop("visibility", None) + + # Note: the output file is called "umd.js" because of historical reasons. + # The format is actually AMD and not UMD, but we are afraid to rename + # the file because that would likely break the IDE and other integrations that + # have the path hardcoded in them. + ng_rollup_bundle( + name = name + ".umd", + build_optimizer = False, + format = "amd", + visibility = visibility, + **kwargs + ) + native.alias( + name = name, + actual = name + ".umd", + visibility = visibility, + ) diff --git a/packages/language-service/index.ts b/packages/language-service/index.ts index f258660ce2..89b3d0566a 100644 --- a/packages/language-service/index.ts +++ b/packages/language-service/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/compiler/BUILD.bazel b/packages/language-service/ivy/compiler/BUILD.bazel index 6cf1cdde6b..bd4910a42e 100644 --- a/packages/language-service/ivy/compiler/BUILD.bazel +++ b/packages/language-service/ivy/compiler/BUILD.bazel @@ -9,6 +9,7 @@ ts_library( "//packages/compiler-cli", "//packages/compiler-cli/src/ngtsc/core", "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/incremental", "//packages/compiler-cli/src/ngtsc/typecheck", "@npm//typescript", ], diff --git a/packages/language-service/ivy/compiler/compiler.ts b/packages/language-service/ivy/compiler/compiler.ts index 200bb82384..0daa13355d 100644 --- a/packages/language-service/ivy/compiler/compiler.ts +++ b/packages/language-service/ivy/compiler/compiler.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,6 +10,7 @@ import {CompilerOptions} from '@angular/compiler-cli'; import {NgCompiler, NgCompilerHost} from '@angular/compiler-cli/src/ngtsc/core'; import {AbsoluteFsPath} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {PatchedProgramIncrementalBuildStrategy} from '@angular/compiler-cli/src/ngtsc/incremental'; import {TypeCheckingProgramStrategy, UpdateMode} from '@angular/compiler-cli/src/ngtsc/typecheck'; import * as ts from 'typescript/lib/tsserverlibrary'; @@ -31,7 +32,9 @@ export class Compiler { ); this.strategy = createTypeCheckingProgramStrategy(project); this.lastKnownProgram = this.strategy.getProgram(); - this.compiler = new NgCompiler(ngCompilerHost, options, this.lastKnownProgram, this.strategy); + this.compiler = new NgCompiler( + ngCompilerHost, options, this.lastKnownProgram, this.strategy, + new PatchedProgramIncrementalBuildStrategy()); } setCompilerOptions(options: CompilerOptions) { @@ -43,8 +46,9 @@ export class Compiler { const ngCompilerHost = NgCompilerHost.wrap(this.tsCompilerHost, inputFiles, this.options, this.lastKnownProgram); const program = this.strategy.getProgram(); - this.compiler = - new NgCompiler(ngCompilerHost, this.options, program, this.strategy, this.lastKnownProgram); + this.compiler = new NgCompiler( + ngCompilerHost, this.options, program, this.strategy, + new PatchedProgramIncrementalBuildStrategy(), this.lastKnownProgram); try { // This is the only way to force the compiler to update the typecheck file // in the program. We have to do try-catch because the compiler immediately diff --git a/packages/language-service/ivy/compiler/compiler_host.ts b/packages/language-service/ivy/compiler/compiler_host.ts index 0dc0cd6db4..f417ed2541 100644 --- a/packages/language-service/ivy/compiler/compiler_host.ts +++ b/packages/language-service/ivy/compiler/compiler_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/language_service.ts b/packages/language-service/ivy/language_service.ts index cd57a8c36b..fe49c13a75 100644 --- a/packages/language-service/ivy/language_service.ts +++ b/packages/language-service/ivy/language_service.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/test/BUILD.bazel b/packages/language-service/ivy/test/BUILD.bazel index 7d539e9e6b..941062a1ef 100644 --- a/packages/language-service/ivy/test/BUILD.bazel +++ b/packages/language-service/ivy/test/BUILD.bazel @@ -25,6 +25,7 @@ jasmine_node_test( ], tags = [ "ivy-only", + "manual", # do not run this on CI since compiler APIs are not yet stable ], deps = [ ":test_lib", diff --git a/packages/language-service/ivy/test/diagnostic_spec.ts b/packages/language-service/ivy/test/diagnostic_spec.ts index 29df671de7..5ebeb615b8 100644 --- a/packages/language-service/ivy/test/diagnostic_spec.ts +++ b/packages/language-service/ivy/test/diagnostic_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/test/language_service_spec.ts b/packages/language-service/ivy/test/language_service_spec.ts index 0363f1a504..99cc6e531c 100644 --- a/packages/language-service/ivy/test/language_service_spec.ts +++ b/packages/language-service/ivy/test/language_service_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/test/mock_host.ts b/packages/language-service/ivy/test/mock_host.ts index 25165025aa..8541399306 100644 --- a/packages/language-service/ivy/test/mock_host.ts +++ b/packages/language-service/ivy/test/mock_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/test/mock_host_spec.ts b/packages/language-service/ivy/test/mock_host_spec.ts index 5a2d685f82..cb4b3d7427 100644 --- a/packages/language-service/ivy/test/mock_host_spec.ts +++ b/packages/language-service/ivy/test/mock_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/ivy/ts_plugin.ts b/packages/language-service/ivy/ts_plugin.ts index 053adbb2cf..d1754e9175 100644 --- a/packages/language-service/ivy/ts_plugin.ts +++ b/packages/language-service/ivy/ts_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/language-service.ts b/packages/language-service/language-service.ts index 3ddd039a9b..4b37605cf5 100644 --- a/packages/language-service/language-service.ts +++ b/packages/language-service/language-service.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/package.json b/packages/language-service/package.json index cd4ecf43bb..e8a25ad500 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -3,7 +3,6 @@ "version": "0.0.0-PLACEHOLDER", "description": "Angular - language services", "main": "./bundles/language-service.umd.js", - "module": "./fesm5/language-service.js", "typings": "./index.d.ts", "author": "angular", "license": "MIT", diff --git a/packages/language-service/src/binding_utils.ts b/packages/language-service/src/binding_utils.ts index 99902a8aac..0a581618c1 100644 --- a/packages/language-service/src/binding_utils.ts +++ b/packages/language-service/src/binding_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/completions.ts b/packages/language-service/src/completions.ts index a354ed3ae7..f4fbdcb3f3 100644 --- a/packages/language-service/src/completions.ts +++ b/packages/language-service/src/completions.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteSourceSpan, AST, AstPath, AttrAst, Attribute, BoundDirectivePropertyAst, BoundElementPropertyAst, BoundEventAst, BoundTextAst, Element, ElementAst, EmptyExpr, ExpressionBinding, getHtmlTagDefinition, HtmlAstPath, NAMED_ENTITIES, Node as HtmlAst, NullTemplateVisitor, ParseSpan, ReferenceAst, TagContentType, TemplateBinding, Text, VariableBinding} from '@angular/compiler'; +import {AbsoluteSourceSpan, AST, AstPath, AttrAst, Attribute, BoundDirectivePropertyAst, BoundElementPropertyAst, BoundEventAst, BoundTextAst, Element, ElementAst, EmptyExpr, ExpressionBinding, getHtmlTagDefinition, HtmlAstPath, Node as HtmlAst, NullTemplateVisitor, ParseSpan, ReferenceAst, TagContentType, TemplateBinding, Text, VariableBinding} from '@angular/compiler'; import {$$, $_, isAsciiLetter, isDigit} from '@angular/compiler/src/chars'; import {ATTR, getBindingDescriptor} from './binding_utils'; @@ -164,9 +164,6 @@ export function getTemplateCompletions( } }, visitText(ast) { - // Check if we are in a entity. - result = entityCompletions(getSourceText(template, spanOf(ast)), astPosition); - if (result.length) return result; result = interpolationCompletions(templateInfo, templatePosition); if (result.length) return result; const element = path.first(Element); @@ -359,27 +356,6 @@ function elementCompletions(info: ng.AstResult): ng.CompletionEntry[] { return results; } -function entityCompletions(value: string, position: number): ng.CompletionEntry[] { - // Look for entity completions - const re = /&[A-Za-z]*;?(?!\d)/g; - let found: RegExpExecArray|null; - let result: ng.CompletionEntry[] = []; - while (found = re.exec(value)) { - let len = found[0].length; - if (position >= found.index && position < (found.index + len)) { - result = Object.keys(NAMED_ENTITIES).map(name => { - return { - name: `&${name};`, - kind: ng.CompletionKind.ENTITY, - sortText: name, - }; - }); - break; - } - } - return result; -} - function interpolationCompletions(info: ng.AstResult, position: number): ng.CompletionEntry[] { // Look for an interpolation in at the position. const templatePath = findTemplateAstAt(info.templateAst, position); @@ -592,10 +568,6 @@ class ExpressionVisitor extends NullTemplateVisitor { } } -function getSourceText(template: ng.TemplateSource, span: ng.Span): string { - return template.source.substring(span.start, span.end); -} - interface AngularAttributes { /** * Attributes that support the * syntax. See https://angular.io/api/core/TemplateRef diff --git a/packages/language-service/src/definitions.ts b/packages/language-service/src/definitions.ts index eb10625d7a..f986ac1eb2 100644 --- a/packages/language-service/src/definitions.ts +++ b/packages/language-service/src/definitions.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/diagnostic_messages.ts b/packages/language-service/src/diagnostic_messages.ts index f045d7f751..6d94bbaf0d 100644 --- a/packages/language-service/src/diagnostic_messages.ts +++ b/packages/language-service/src/diagnostic_messages.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/diagnostics.ts b/packages/language-service/src/diagnostics.ts index e50686677c..adbf824a04 100644 --- a/packages/language-service/src/diagnostics.ts +++ b/packages/language-service/src/diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/expression_diagnostics.ts b/packages/language-service/src/expression_diagnostics.ts index 1baa12c50b..bd6e66a961 100644 --- a/packages/language-service/src/expression_diagnostics.ts +++ b/packages/language-service/src/expression_diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/expression_type.ts b/packages/language-service/src/expression_type.ts index 73912a85f0..50b179d2af 100644 --- a/packages/language-service/src/expression_type.ts +++ b/packages/language-service/src/expression_type.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/expressions.ts b/packages/language-service/src/expressions.ts index 40f9024a6f..7eff222f58 100644 --- a/packages/language-service/src/expressions.ts +++ b/packages/language-service/src/expressions.ts @@ -1,16 +1,16 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AST, AstPath as AstPathBase, ASTWithName, ASTWithSource, RecursiveAstVisitor} from '@angular/compiler'; +import {AST, AstPath as AstPathBase, ASTWithName, ASTWithSource, Interpolation, RecursiveAstVisitor} from '@angular/compiler'; import {AstType} from './expression_type'; import {BuiltinType, Span, Symbol, SymbolTable, TemplateSource} from './types'; -import {inSpan} from './utils'; +import {inSpan, isNarrower} from './utils'; type AstPath = AstPathBase; @@ -20,7 +20,10 @@ function findAstAt(ast: AST, position: number, excludeEmpty: boolean = false): A visit(ast: AST) { if ((!excludeEmpty || ast.sourceSpan.start < ast.sourceSpan.end) && inSpan(position, ast.sourceSpan)) { - path.push(ast); + const isNotNarrower = path.length && !isNarrower(ast.span, path[path.length - 1].span); + if (!isNotNarrower) { + path.push(ast); + } ast.visit(this); } } @@ -32,7 +35,14 @@ function findAstAt(ast: AST, position: number, excludeEmpty: boolean = false): A ast = ast.ast; } - visitor.visit(ast); + // `Interpolation` is useless here except the `expressions` of it. + if (ast instanceof Interpolation) { + ast = ast.expressions.filter((_ast: AST) => inSpan(position, _ast.sourceSpan))[0]; + } + + if (ast) { + visitor.visit(ast); + } return new AstPathBase(path, position); } diff --git a/packages/language-service/src/global_symbols.ts b/packages/language-service/src/global_symbols.ts index 4c0325ab62..74f00af354 100644 --- a/packages/language-service/src/global_symbols.ts +++ b/packages/language-service/src/global_symbols.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/hover.ts b/packages/language-service/src/hover.ts index 9e30ac8614..8940d2db09 100644 --- a/packages/language-service/src/hover.ts +++ b/packages/language-service/src/hover.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/html_info.ts b/packages/language-service/src/html_info.ts index 934c988981..0990d31f11 100644 --- a/packages/language-service/src/html_info.ts +++ b/packages/language-service/src/html_info.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/language_service.ts b/packages/language-service/src/language_service.ts index 375a6f39d0..da40fb7cb8 100644 --- a/packages/language-service/src/language_service.ts +++ b/packages/language-service/src/language_service.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -98,4 +98,17 @@ class LanguageServiceImpl implements ng.LanguageService { const declarations = this.host.getDeclarations(fileName); return getTsHover(position, declarations, analyzedModules); } + + getReferencesAtPosition(fileName: string, position: number): tss.ReferenceEntry[]|undefined { + const defAndSpan = this.getDefinitionAndBoundSpan(fileName, position); + if (!defAndSpan?.definitions) { + return; + } + const {definitions} = defAndSpan; + const tsDef = definitions.find(def => def.fileName.endsWith('.ts')); + if (!tsDef) { + return; + } + return this.host.tsLS.getReferencesAtPosition(tsDef.fileName, tsDef.textSpan.start); + } } diff --git a/packages/language-service/src/locate_symbol.ts b/packages/language-service/src/locate_symbol.ts index 3b6e4024dc..1017117fb3 100644 --- a/packages/language-service/src/locate_symbol.ts +++ b/packages/language-service/src/locate_symbol.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/reflector_host.ts b/packages/language-service/src/reflector_host.ts index 6a1b837932..af2e20b1d8 100644 --- a/packages/language-service/src/reflector_host.ts +++ b/packages/language-service/src/reflector_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/symbols.ts b/packages/language-service/src/symbols.ts index a3d3426db0..585b743a7d 100644 --- a/packages/language-service/src/symbols.ts +++ b/packages/language-service/src/symbols.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/template.ts b/packages/language-service/src/template.ts index 5e88bf9724..c5aafa072d 100644 --- a/packages/language-service/src/template.ts +++ b/packages/language-service/src/template.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/ts_plugin.ts b/packages/language-service/src/ts_plugin.ts index d7774bf222..d0a3a5005f 100644 --- a/packages/language-service/src/ts_plugin.ts +++ b/packages/language-service/src/ts_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/ts_utils.ts b/packages/language-service/src/ts_utils.ts index ea64381317..741201765c 100644 --- a/packages/language-service/src/ts_utils.ts +++ b/packages/language-service/src/ts_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/src/types.ts b/packages/language-service/src/types.ts index c76d83a373..d024c2530d 100644 --- a/packages/language-service/src/types.ts +++ b/packages/language-service/src/types.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -254,7 +254,7 @@ export interface Diagnostic { export type LanguageService = Pick< ts.LanguageService, 'getCompletionsAtPosition'|'getDefinitionAndBoundSpan'|'getQuickInfoAtPosition'| - 'getSemanticDiagnostics'>; + 'getSemanticDiagnostics'|'getReferencesAtPosition'>; /** Information about an Angular template AST. */ export interface AstResult { diff --git a/packages/language-service/src/typescript_host.ts b/packages/language-service/src/typescript_host.ts index ff36ead24e..cf4bf437b0 100644 --- a/packages/language-service/src/typescript_host.ts +++ b/packages/language-service/src/typescript_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -72,8 +72,7 @@ export class TypeScriptServiceHost implements LanguageServiceHost { ngModules: [], }; - constructor( - readonly tsLsHost: tss.LanguageServiceHost, private readonly tsLS: tss.LanguageService) { + constructor(readonly tsLsHost: tss.LanguageServiceHost, readonly tsLS: tss.LanguageService) { this.summaryResolver = new AotSummaryResolver( { loadSummary(_filePath: string) { @@ -175,8 +174,15 @@ export class TypeScriptServiceHost implements LanguageServiceHost { } }; const programFiles = this.program.getSourceFiles().map(sf => sf.fileName); - this.analyzedModules = - analyzeNgModules(programFiles, analyzeHost, this.staticSymbolResolver, this.resolver); + + try { + this.analyzedModules = + analyzeNgModules(programFiles, analyzeHost, this.staticSymbolResolver, this.resolver); + } catch (e) { + // Analyzing modules may throw; in that case, reuse the old modules. + this.error(`Analyzing NgModules failed. ${e}`); + return this.analyzedModules; + } // update template references and fileToComponent const urlResolver = createOfflineCompileUrlResolver(); diff --git a/packages/language-service/src/typescript_symbols.ts b/packages/language-service/src/typescript_symbols.ts index dabd772459..408adff8c5 100644 --- a/packages/language-service/src/typescript_symbols.ts +++ b/packages/language-service/src/typescript_symbols.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -222,13 +222,35 @@ function signaturesOf(type: ts.Type, context: TypeContext): Signature[] { return type.getCallSignatures().map(s => new SignatureWrapper(s, context)); } -function selectSignature(type: ts.Type, context: TypeContext, _types: Symbol[]): Signature| +function selectSignature(type: ts.Type, context: TypeContext, types: Symbol[]): Signature| undefined { // TODO: Do a better job of selecting the right signature. TypeScript does not currently support a // Type Relationship API (see https://github.com/angular/vscode-ng-language-service/issues/143). // Consider creating a TypeCheckBlock host in the language service that may also act as a // scratchpad for type comparisons. const signatures = type.getCallSignatures(); + const passedInTypes: Array = types.map(type => { + if (type instanceof TypeWrapper) { + return type.tsType; + } + }); + // Try to select a matching signature in which all parameter types match. + // Note that this is just a best-effort approach, because we're checking for + // strict type equality rather than compatibility. + // For example, if the signature contains a ReadonlyArray and the + // passed parameter type is an Array, this will fail. + function allParameterTypesMatch(signature: ts.Signature) { + const tc = context.checker; + return signature.getParameters().every((parameter: ts.Symbol, i: number) => { + const type = tc.getTypeOfSymbolAtLocation(parameter, parameter.valueDeclaration); + return type === passedInTypes[i]; + }); + } + const exactMatch = signatures.find(allParameterTypesMatch); + if (exactMatch) { + return new SignatureWrapper(exactMatch, context); + } + // If not, fallback to a naive selection return signatures.length ? new SignatureWrapper(signatures[0], context) : undefined; } @@ -827,7 +849,7 @@ function getTsTypeFromBuiltinType(builtinType: BuiltinType, ctx: TypeContext): t `Internal error, unhandled literal kind ${builtinType}:${BuiltinType[builtinType]}`); } const node = ts.createNode(syntaxKind); - node.parent = ctx.node; + node.parent = ts.createEmptyStatement(); return ctx.checker.getTypeAtLocation(node); } diff --git a/packages/language-service/src/utils.ts b/packages/language-service/src/utils.ts index 5969116627..7a1332030c 100644 --- a/packages/language-service/src/utils.ts +++ b/packages/language-service/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/BUILD.bazel b/packages/language-service/test/BUILD.bazel index f2f0a5959c..553002ddfe 100644 --- a/packages/language-service/test/BUILD.bazel +++ b/packages/language-service/test/BUILD.bazel @@ -29,6 +29,7 @@ ts_library( "definitions_spec.ts", "diagnostics_spec.ts", "hover_spec.ts", + "references_spec.ts", ], data = [":project"], deps = [ diff --git a/packages/language-service/test/completions_spec.ts b/packages/language-service/test/completions_spec.ts index 868ac384ad..c704ec78aa 100644 --- a/packages/language-service/test/completions_spec.ts +++ b/packages/language-service/test/completions_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,9 +15,7 @@ import {TypeScriptServiceHost} from '../src/typescript_host'; import {MockTypescriptHost} from './test_utils'; const APP_COMPONENT = '/app/app.component.ts'; -const PARSING_CASES = '/app/parsing-cases.ts'; const TEST_TEMPLATE = '/app/test.ng'; -const EXPRESSION_CASES = '/app/expression-cases.ts'; describe('completions', () => { const mockHost = new MockTypescriptHost(['/app/main.ts']); @@ -29,23 +27,16 @@ describe('completions', () => { mockHost.reset(); }); - it('should be able to get entity completions', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'entity-amp'); - const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); - expectContain(completions, CompletionKind.ENTITY, ['&', '>', '<', 'ι']); - }); - it('should be able to return html elements', () => { - const locations = ['empty', 'start-tag-h1', 'h1-content', 'start-tag', 'start-tag-after-h']; - for (const location of locations) { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, location); - const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); - expectContain(completions, CompletionKind.HTML_ELEMENT, ['div', 'h1', 'h2', 'span']); - } + mockHost.overrideInlineTemplate(APP_COMPONENT, '<~{cursor}'); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); + const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); + expectContain(completions, CompletionKind.HTML_ELEMENT, ['div', 'h1', 'h2', 'span']); }); it('should be able to return component directives', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'empty'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '<~{cursor}'); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.COMPONENT, [ 'ng-form', @@ -56,13 +47,15 @@ describe('completions', () => { }); it('should be able to return attribute directives', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'h1-after-space'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '

    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.ATTRIBUTE, ['string-model', 'number-model']); }); it('should be able to return angular pseudo elements', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'empty'); + mockHost.overrideInlineTemplate(APP_COMPONENT, `<~{cursor}`); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.ANGULAR_ELEMENT, [ 'ng-container', @@ -72,7 +65,8 @@ describe('completions', () => { }); it('should be able to return h1 attributes', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'h1-after-space'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '

    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.HTML_ATTRIBUTE, [ 'class', @@ -83,7 +77,8 @@ describe('completions', () => { }); it('should be able to find common Angular attributes', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'div-attributes'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '
    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.ATTRIBUTE, [ 'ngClass', @@ -95,13 +90,15 @@ describe('completions', () => { }); it('should be able to get the completions at the beginning of an interpolation', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'h2-hero'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '

    {{ ~{cursor} }}

    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.PROPERTY, ['title', 'hero']); }); it('should not include private members of a class', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'h2-hero'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '

    {{ ~{cursor} }}

    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expect(completions).toBeDefined(); const internal = completions!.entries.find(e => e.name === 'internal'); @@ -109,13 +106,15 @@ describe('completions', () => { }); it('should be able to get the completions at the end of an interpolation', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'sub-end'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '{{ti~{cursor}}}'); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.PROPERTY, ['title', 'hero']); }); it('should be able to get the completions in a property', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'h2-name'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '

    {{ hero.~{cursor} }}

    '); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.PROPERTY, ['id', 'name']); }); @@ -184,7 +183,8 @@ describe('completions', () => { }); it('should suggest $any() type cast function in an interpolation', () => { - const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'sub-start'); + mockHost.overrideInlineTemplate(APP_COMPONENT, '{{ ~{cursor} }}'); + const marker = mockHost.getLocationMarkerFor(APP_COMPONENT, 'cursor'); const completions = ngLS.getCompletionsAtPosition(APP_COMPONENT, marker.start); expectContain(completions, CompletionKind.METHOD, ['$any']); }); @@ -234,28 +234,21 @@ describe('completions', () => { }); describe('in external template', () => { - it('should be able to get entity completions in external template', () => { - const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'entity-amp'); - const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); - expectContain(completions, CompletionKind.ENTITY, ['&', '>', '<', 'ι']); - }); - it('should not return html elements', () => { - const locations = ['empty', 'start-tag-h1', 'h1-content', 'start-tag', 'start-tag-after-h']; - for (const location of locations) { - const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, location); - const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); - expect(completions).toBeDefined(); - const {entries} = completions!; - expect(entries).not.toContain(jasmine.objectContaining({name: 'div'})); - expect(entries).not.toContain(jasmine.objectContaining({name: 'h1'})); - expect(entries).not.toContain(jasmine.objectContaining({name: 'h2'})); - expect(entries).not.toContain(jasmine.objectContaining({name: 'span'})); - } + mockHost.override(TEST_TEMPLATE, '<~{cursor}'); + const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); + const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); + expect(completions).toBeDefined(); + const {entries} = completions!; + expect(entries).not.toContain(jasmine.objectContaining({name: 'div'})); + expect(entries).not.toContain(jasmine.objectContaining({name: 'h1'})); + expect(entries).not.toContain(jasmine.objectContaining({name: 'h2'})); + expect(entries).not.toContain(jasmine.objectContaining({name: 'span'})); }); it('should be able to return element directives', () => { - const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'empty'); + mockHost.override(TEST_TEMPLATE, '<~{cursor}'); + const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); expectContain(completions, CompletionKind.COMPONENT, [ 'ng-form', @@ -266,7 +259,8 @@ describe('completions', () => { }); it('should not return html attributes', () => { - const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'h1-after-space'); + mockHost.override(TEST_TEMPLATE, '

    '); + const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); expect(completions).toBeDefined(); const {entries} = completions!; @@ -824,6 +818,29 @@ describe('completions', () => { expectContain(completions, CompletionKind.METHOD, ['charAt', 'substring']); }); }); + + it('should select the right signature for a pipe given exact type', () => { + mockHost.override(TEST_TEMPLATE, '{{ ("world" | prefixPipe:"hello").~{cursor} }}'); + const m1 = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); + const c1 = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, m1.start); + // should resolve to transform(value: string, prefix: string): string + expectContain(c1, CompletionKind.METHOD, ['charCodeAt', 'trim']); + + mockHost.override(TEST_TEMPLATE, '{{ (456 | prefixPipe:123).~{cursor} }}'); + const m2 = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); + const c2 = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, m2.start); + // should resolve to transform(value: number, prefix: number): number + expectContain(c2, CompletionKind.METHOD, ['toFixed', 'toExponential']); + }); + + it('should work in the conditional operator', () => { + mockHost.override(TEST_TEMPLATE, '{{ title ? title.~{cursor} }}'); + const marker = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor'); + const completions = ngLS.getCompletionsAtPosition(TEST_TEMPLATE, marker.start); + expectContain(completions, CompletionKind.METHOD, [ + 'trim', + ]); + }); }); function expectContain( diff --git a/packages/language-service/test/definitions_spec.ts b/packages/language-service/test/definitions_spec.ts index 31baaddb37..0a3bed10e8 100644 --- a/packages/language-service/test/definitions_spec.ts +++ b/packages/language-service/test/definitions_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -71,7 +71,7 @@ describe('definitions', () => { const fileContent = mockHost.readFile(def.fileName); expect(fileContent!.substring(def.textSpan.start, def.textSpan.start + def.textSpan.length)) - .toEqual(`title = 'Some title';`); + .toEqual(`title = 'Tour of Heroes';`); }); it('should be able to find a method from a call', () => { diff --git a/packages/language-service/test/diagnostic_messages_spec.ts b/packages/language-service/test/diagnostic_messages_spec.ts index cc44671fa0..2409f0f4d2 100644 --- a/packages/language-service/test/diagnostic_messages_spec.ts +++ b/packages/language-service/test/diagnostic_messages_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/diagnostics_spec.ts b/packages/language-service/test/diagnostics_spec.ts index 9a9054c1e0..09fea059b4 100644 --- a/packages/language-service/test/diagnostics_spec.ts +++ b/packages/language-service/test/diagnostics_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/expression_diagnostics_spec.ts b/packages/language-service/test/expression_diagnostics_spec.ts index 43640d2443..31eedf8608 100644 --- a/packages/language-service/test/expression_diagnostics_spec.ts +++ b/packages/language-service/test/expression_diagnostics_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/global_symbols_spec.ts b/packages/language-service/test/global_symbols_spec.ts index bb0aee8a77..b4a6269d09 100644 --- a/packages/language-service/test/global_symbols_spec.ts +++ b/packages/language-service/test/global_symbols_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/hover_spec.ts b/packages/language-service/test/hover_spec.ts index b6d3f8578e..ce2147c924 100644 --- a/packages/language-service/test/hover_spec.ts +++ b/packages/language-service/test/hover_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/html_info_spec.ts b/packages/language-service/test/html_info_spec.ts index 9007a3f493..da7550c50f 100644 --- a/packages/language-service/test/html_info_spec.ts +++ b/packages/language-service/test/html_info_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/language_service_spec.ts b/packages/language-service/test/language_service_spec.ts index 3fd10de9cd..46742f7cce 100644 --- a/packages/language-service/test/language_service_spec.ts +++ b/packages/language-service/test/language_service_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -18,27 +18,28 @@ describe('service without angular', () => { const service = ts.createLanguageService(mockHost); const ngHost = new TypeScriptServiceHost(mockHost, service); const ngService = createLanguageService(ngHost); - const fileName = '/app/test.ng'; - const position = mockHost.getLocationMarkerFor(fileName, 'h1-content').start; + const TEST_TEMPLATE = '/app/test.ng'; + mockHost.override(TEST_TEMPLATE, '

    ~{cursor}

    '); + const position = mockHost.getLocationMarkerFor(TEST_TEMPLATE, 'cursor').start; beforeEach(() => { mockHost.reset(); }); it('should not crash a get diagnostics', () => { - expect(() => ngService.getSemanticDiagnostics(fileName)).not.toThrow(); + expect(() => ngService.getSemanticDiagnostics(TEST_TEMPLATE)).not.toThrow(); }); it('should not crash a completion', () => { - expect(() => ngService.getCompletionsAtPosition(fileName, position)).not.toThrow(); + expect(() => ngService.getCompletionsAtPosition(TEST_TEMPLATE, position)).not.toThrow(); }); it('should not crash a get definition', () => { - expect(() => ngService.getDefinitionAndBoundSpan(fileName, position)).not.toThrow(); + expect(() => ngService.getDefinitionAndBoundSpan(TEST_TEMPLATE, position)).not.toThrow(); }); it('should not crash a hover', () => { - expect(() => ngService.getQuickInfoAtPosition(fileName, position)).not.toThrow(); + expect(() => ngService.getQuickInfoAtPosition(TEST_TEMPLATE, position)).not.toThrow(); }); it('should not crash with an incomplete class', () => { diff --git a/packages/language-service/test/mocks.ts b/packages/language-service/test/mocks.ts index 4046ae37ad..45f3ba6a6e 100644 --- a/packages/language-service/test/mocks.ts +++ b/packages/language-service/test/mocks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/project/app/app.component.ts b/packages/language-service/test/project/app/app.component.ts index d6cbb73f70..e1ac8cd409 100644 --- a/packages/language-service/test/project/app/app.component.ts +++ b/packages/language-service/test/project/app/app.component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -15,20 +15,16 @@ export interface Hero { @Component({ selector: 'my-app', - template: `~{empty} - <~{start-tag}h~{start-tag-after-h}1~{start-tag-h1} ~{h1-after-space}> - ~{h1-content} {{~{sub-start}title~{sub-end}}} -

    - ~{after-h1}

    {{~{h2-hero}hero.~{h2-name}name}} details!

    -
    {{~{label-hero}hero.~{label-id}id}}
    -
    - -
    - &~{entity-amp}amp; + template: ` +

    {{title}}

    +

    {{hero.name}} details!

    ` }) export class AppComponent { title = 'Tour of Heroes'; hero: Hero = {id: 1, name: 'Windstorm'}; private internal: string = 'internal'; + setTitle(newTitle: string) { + this.title = newTitle; + } } diff --git a/packages/language-service/test/project/app/main.ts b/packages/language-service/test/project/app/main.ts index d79be4001f..3206ad2be6 100644 --- a/packages/language-service/test/project/app/main.ts +++ b/packages/language-service/test/project/app/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,12 +22,9 @@ import * as ParsingCases from './parsing-cases'; ParsingCases.StringModel, ParsingCases.TemplateReference, ParsingCases.TestComponent, + ParsingCases.TestPipe, ParsingCases.WithContextDirective, ] }) export class AppModule { } - -declare function bootstrap(v: any): void; - -bootstrap(AppComponent); diff --git a/packages/language-service/test/project/app/parsing-cases.ts b/packages/language-service/test/project/app/parsing-cases.ts index 65bbbf90c6..0d478db136 100644 --- a/packages/language-service/test/project/app/parsing-cases.ts +++ b/packages/language-service/test/project/app/parsing-cases.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Component, Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges, TemplateRef, ViewContainerRef} from '@angular/core'; +import {Component, Directive, EventEmitter, Input, OnChanges, Output, Pipe, PipeTransform, SimpleChanges, TemplateRef, ViewContainerRef} from '@angular/core'; import {Hero} from './app.component'; @@ -49,7 +49,7 @@ export class CounterDirective implements OnChanges { ngOnChanges(_changes: SimpleChanges) { this.container.clear(); for (let i = 0; i < this.counter; ++i) { - this.container.createEmbeddedView(this.template, new CounterDirectiveContext(i + 1)); + this.container.createEmbeddedView(this.template, new CounterDirectiveContext(i + 1)); } } } @@ -69,6 +69,20 @@ export class WithContextDirective { } } +@Pipe({ + name: 'prefixPipe', +}) +export class TestPipe implements PipeTransform { + transform(value: string, prefix: string): string; + transform(value: number, prefix: number): number; + transform(value: string|number, prefix: string|number): string|number { + if (typeof value === 'string') { + return `${prefix} ${value}`; + } + return parseInt(`${prefix}${value}`, 10 /* radix */); + } +} + /** * This Component provides the `test-comp` selector. */ @@ -88,7 +102,7 @@ export class TemplateReference { /** * This is the title of the `TemplateReference` Component. */ - title = 'Some title'; + title = 'Tour of Heroes'; hero: Hero = {id: 1, name: 'Windstorm'}; heroP = Promise.resolve(this.hero); heroes: Hero[] = [this.hero]; @@ -107,4 +121,7 @@ export class TemplateReference { constNames = [{name: 'name'}] as const; private myField = 'My Field'; strOrNumber: string|number = ''; + setTitle(newTitle: string) { + this.title = newTitle; + } } diff --git a/packages/language-service/test/project/app/test.ng b/packages/language-service/test/project/app/test.ng index d6717b81b5..ba6fb35be3 100644 --- a/packages/language-service/test/project/app/test.ng +++ b/packages/language-service/test/project/app/test.ng @@ -1,7 +1,2 @@ -~{empty} -<~{start-tag}h~{start-tag-after-h}1~{start-tag-h1} ~{h1-after-space}> - ~{h1-content} {{~{sub-start}title~{sub-end}}} - -~{after-h1}

    {{~{h2-hero}hero.~{h2-name}name}} details!

    -
    {{~{label-hero}hero.~{label-id}id}}
    -&~{entity-amp}amp; +

    {{title}}

    +

    {{hero.name}} details!

    diff --git a/packages/language-service/test/references_spec.ts b/packages/language-service/test/references_spec.ts new file mode 100644 index 0000000000..0d9ab36100 --- /dev/null +++ b/packages/language-service/test/references_spec.ts @@ -0,0 +1,78 @@ +/** + * @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 * as ts from 'typescript'; + +import {createLanguageService} from '../src/language_service'; +import {TypeScriptServiceHost} from '../src/typescript_host'; + +import {MockTypescriptHost} from './test_utils'; + +const APP_COMPONENT = '/app/app.component.ts'; +const TEST_TEMPLATE = '/app/test.ng'; + +describe('references', () => { + const mockHost = new MockTypescriptHost(['/app/main.ts']); + const tsLS = ts.createLanguageService(mockHost); + const ngHost = new TypeScriptServiceHost(mockHost, tsLS); + const ngLS = createLanguageService(ngHost); + + beforeEach(() => { + mockHost.reset(); + }); + + for (const templateStrategy of ['inline', 'external'] as const) { + describe(`template: ${templateStrategy}`, () => { + describe('component members', () => { + it('should get TS references for a member in template', () => { + const fileName = overrideTemplate('{{«title»}}'); + const marker = mockHost.getReferenceMarkerFor(fileName, 'title'); + const references = ngLS.getReferencesAtPosition(fileName, marker.start)!; + + expect(references).toBeDefined(); + expect(references.length).toBe(2); + + for (let i = 0; i < references.length; ++i) { + // The first reference is declared as a class member. + // The second is in `setTitle`. + const ref = references[i]; + expect(getSource(ref)).toBe('title'); + if (i == 0) { + // The first reference is the member declaration, so it should + // have a context span pointing to the whole declaration. + expect(getSource(ref, 'contextSpan')).toBe('title = \'Tour of Heroes\';'); + } + } + }); + }); + }); + + // TODO: override parsing-cases#TemplateReference for inline templates. + const overrideTemplate = (template: string): string => { + if (templateStrategy === 'inline') { + mockHost.overrideInlineTemplate(APP_COMPONENT, template); + return APP_COMPONENT; + } else { + mockHost.override(TEST_TEMPLATE, template); + return TEST_TEMPLATE; + } + }; + } + + /** + * Gets the source code of a reference entry. By default the reference + * `textSpan` is checked, but this can be overridden by specifying `spanKind`. + */ + function getSource( + reference: ts.ReferenceEntry, spanKind: 'textSpan'|'contextSpan' = 'textSpan'): string { + const span = reference[spanKind]!; + const fileName = reference.fileName; + const content = mockHost.readFile(fileName)!; + return content.substring(span.start, span.start + span.length); + } +}); diff --git a/packages/language-service/test/reflector_host_spec.ts b/packages/language-service/test/reflector_host_spec.ts index 39aa4cc922..efc682f011 100644 --- a/packages/language-service/test/reflector_host_spec.ts +++ b/packages/language-service/test/reflector_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -59,8 +59,8 @@ describe('reflector_host_spec', () => { // This resolves all Angular directives in the project. ngLSHost.getAnalyzedModules(); const secondCount = spy.calls.count(); - expect(secondCount).toBeGreaterThan(700); - expect(secondCount).toBeLessThan(800); + expect(secondCount).toBeGreaterThan(500); + expect(secondCount).toBeLessThan(600); spy.calls.reset(); // Third count is due to recompution after the program changes. diff --git a/packages/language-service/test/test_utils.ts b/packages/language-service/test/test_utils.ts index ffbd45bb61..ee3c3d7eee 100644 --- a/packages/language-service/test/test_utils.ts +++ b/packages/language-service/test/test_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -101,6 +101,7 @@ export class MockTypescriptHost implements ts.LanguageServiceHost { private readonly overrideDirectory = new Set(); private readonly existsCache = new Map(); private readonly fileCache = new Map(); + errors: string[] = []; constructor( private readonly scriptNames: string[], @@ -398,6 +399,10 @@ export class MockTypescriptHost implements ts.LanguageServiceHost { } throw new Error(`Failed to find marker '${selector}' in ${fileName}`); } + + error(msg: string) { + this.errors.push(msg); + } } const locationMarker = /\~\{(\w+(-\w+)*)\}/g; diff --git a/packages/language-service/test/ts_plugin_spec.ts b/packages/language-service/test/ts_plugin_spec.ts index 3831e67fe2..eecf101257 100644 --- a/packages/language-service/test/ts_plugin_spec.ts +++ b/packages/language-service/test/ts_plugin_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/typescript_host_spec.ts b/packages/language-service/test/typescript_host_spec.ts index 80682966b8..4719150fdb 100644 --- a/packages/language-service/test/typescript_host_spec.ts +++ b/packages/language-service/test/typescript_host_spec.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * as ngc from '@angular/compiler'; import * as ts from 'typescript'; import {TypeScriptServiceHost} from '../src/typescript_host'; @@ -170,9 +171,10 @@ describe('TypeScriptServiceHost', () => { tsLSHost.override('/app/test.ng', '
    '); const newModules = ngLSHost.getAnalyzedModules(); const newProgram = ngLSHost.program; - // Assert that the program has changed because external template was updated - expect(newProgram).not.toBe(oldProgram); - // But, analyzed modules should remain the same because none of the source + // The program should not have changed since external templates are not part of + // the TS source files. This is an improvement in TS 3.9 over previous versions. + expect(newProgram).toBe(oldProgram); + // And also analyzed modules should remain the same because none of the source // files have changed. expect(newModules).toBe(oldModules); }); @@ -215,4 +217,44 @@ describe('TypeScriptServiceHost', () => { // But the content should be exactly the same expect(newModules).toEqual(oldModules); }); + + it('should recover from error in analyzing ng modules', () => { + // First create a TypescriptHost with empty script names + const tsLSHost = new MockTypescriptHost([]); + const tsLS = ts.createLanguageService(tsLSHost); + const ngLSHost = new TypeScriptServiceHost(tsLSHost, tsLS); + const oldModules = ngLSHost.getAnalyzedModules(); + expect(oldModules.ngModules).toEqual([]); + // Now add a script, this would change the program + let fileName = '/app/main.ts'; + let content = ` + import {CommonModule} from '@angular/common'; + import {NgModule} from '@angular/core'; + + @NgModule({ + entryComponents: [CommonModule], + }) + export class AppModule {} + `; + tsLSHost.addScript(fileName, content); + + // If analyzing modules throws, the old modules should be returned. + let newModules = ngLSHost.getAnalyzedModules(); + expect(newModules.ngModules).toEqual([]); + expect(tsLSHost.errors).toEqual([ + 'Analyzing NgModules failed. Error: CommonModule cannot be used as an entry component.' + ]); + + content = ` + import {CommonModule} from '@angular/common'; + import {NgModule} from '@angular/core'; + + @NgModule({}) + export class AppModule {} + `; + tsLSHost.override(fileName, content); + // Check that analyzing modules successfully still works. + newModules = ngLSHost.getAnalyzedModules(); + expect(newModules.ngModules.length).toBeGreaterThan(0); + }); }); diff --git a/packages/language-service/test/typescript_symbols_spec.ts b/packages/language-service/test/typescript_symbols_spec.ts index 7c901f9eda..73dfb20564 100644 --- a/packages/language-service/test/typescript_symbols_spec.ts +++ b/packages/language-service/test/typescript_symbols_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/language-service/test/utils_spec.ts b/packages/language-service/test/utils_spec.ts index 69cc2b9274..b29b7cccb0 100644 --- a/packages/language-service/test/utils_spec.ts +++ b/packages/language-service/test/utils_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/index.ts b/packages/localize/index.ts index 1f5ed0ec2c..7e531e0d29 100644 --- a/packages/localize/index.ts +++ b/packages/localize/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,4 +10,4 @@ // The public API exports are specified in the `./localize` module, which is checked by the // public_api_guard rules -export * from './localize'; \ No newline at end of file +export * from './localize'; diff --git a/packages/localize/init/index.ts b/packages/localize/init/index.ts index 6361e0371e..db1495a29d 100644 --- a/packages/localize/init/index.ts +++ b/packages/localize/init/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/localize.ts b/packages/localize/localize.ts index d1ebb08c04..a9c7ccbfc2 100644 --- a/packages/localize/localize.ts +++ b/packages/localize/localize.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ export {clearTranslations, loadTranslations} from './src/translate'; // Exports that are not part of the public API -export * from './private'; \ No newline at end of file +export * from './private'; diff --git a/packages/localize/package.json b/packages/localize/package.json index 53dc3de304..37a802f06c 100644 --- a/packages/localize/package.json +++ b/packages/localize/package.json @@ -3,7 +3,8 @@ "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for localizing messages", "bin": { - "localize-translate": "./src/tools/src/translate/main.js" + "localize-translate": "./src/tools/src/translate/main.js", + "localize-extract": "./src/tools/src/extract/main.js" }, "author": "angular", "license": "MIT", @@ -28,7 +29,11 @@ "glob": "7.1.2", "yargs": "15.3.0" }, - "publishConfig":{ - "registry":"https://wombat-dressing-room.appspot.com" + "peerDependencies": { + "@angular/compiler": "0.0.0-PLACEHOLDER", + "@angular/compiler-cli": "0.0.0-PLACEHOLDER" + }, + "publishConfig": { + "registry": "https://wombat-dressing-room.appspot.com" } -} +} \ No newline at end of file diff --git a/packages/localize/private.ts b/packages/localize/private.ts index b686e7b5ba..1e4ea97cdf 100644 --- a/packages/localize/private.ts +++ b/packages/localize/private.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/schematics/ng-add/index.ts b/packages/localize/schematics/ng-add/index.ts index 52c459db72..823c68b0ca 100644 --- a/packages/localize/schematics/ng-add/index.ts +++ b/packages/localize/schematics/ng-add/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/schematics/ng-add/index_spec.ts b/packages/localize/schematics/ng-add/index_spec.ts index 7a69add8f7..5f5690f4ff 100644 --- a/packages/localize/schematics/ng-add/index_spec.ts +++ b/packages/localize/schematics/ng-add/index_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/schematics/ng-add/schema.d.ts b/packages/localize/schematics/ng-add/schema.d.ts index 24e9c54d32..d7bb6dc326 100644 --- a/packages/localize/schematics/ng-add/schema.d.ts +++ b/packages/localize/schematics/ng-add/schema.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/localize/index.ts b/packages/localize/src/localize/index.ts index 0f9d07ab32..b0d13050f8 100644 --- a/packages/localize/src/localize/index.ts +++ b/packages/localize/src/localize/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/localize/src/global.ts b/packages/localize/src/localize/src/global.ts index ea120571f7..81fff28bfe 100644 --- a/packages/localize/src/localize/src/global.ts +++ b/packages/localize/src/localize/src/global.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/localize/src/localize.ts b/packages/localize/src/localize/src/localize.ts index dbed0e879f..071de81bd0 100644 --- a/packages/localize/src/localize/src/localize.ts +++ b/packages/localize/src/localize/src/localize.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -194,4 +194,4 @@ function findEndOfBlock(cooked: string, raw: string): number { } } throw new Error(`Unterminated $localize metadata block in "${raw}".`); -} \ No newline at end of file +} diff --git a/packages/localize/src/localize/test/localize_spec.ts b/packages/localize/src/localize/test/localize_spec.ts index 6fdf9f5a16..ec58f15bc8 100644 --- a/packages/localize/src/localize/test/localize_spec.ts +++ b/packages/localize/src/localize/test/localize_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/BUILD.bazel b/packages/localize/src/tools/BUILD.bazel index daf193f862..c13422f9d8 100644 --- a/packages/localize/src/tools/BUILD.bazel +++ b/packages/localize/src/tools/BUILD.bazel @@ -19,6 +19,9 @@ ts_library( tsconfig = ":tsconfig", deps = [ "//packages/compiler", + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/logging", + "//packages/compiler-cli/src/ngtsc/sourcemaps", "//packages/localize", "@npm//@babel/core", "@npm//@babel/types", diff --git a/packages/localize/src/tools/src/diagnostics.ts b/packages/localize/src/tools/src/diagnostics.ts index 7e3ef838db..4afadcdb76 100644 --- a/packages/localize/src/tools/src/diagnostics.ts +++ b/packages/localize/src/tools/src/diagnostics.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/extract/extraction.ts b/packages/localize/src/tools/src/extract/extraction.ts new file mode 100644 index 0000000000..242e88df9e --- /dev/null +++ b/packages/localize/src/tools/src/extract/extraction.ts @@ -0,0 +1,108 @@ +/** + * @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 {AbsoluteFsPath, FileSystem, PathSegment} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {Logger} from '@angular/compiler-cli/src/ngtsc/logging'; +import {SourceFile, SourceFileLoader} from '@angular/compiler-cli/src/ngtsc/sourcemaps'; +import {ɵParsedMessage, ɵSourceLocation} from '@angular/localize'; +import {transformSync} from '@babel/core'; + +import {makeEs2015ExtractPlugin} from './source_files/es2015_extract_plugin'; +import {makeEs5ExtractPlugin} from './source_files/es5_extract_plugin'; + +export interface ExtractionOptions { + basePath: AbsoluteFsPath; + useSourceMaps?: boolean; + localizeName?: string; +} + +/** + * Extracts parsed messages from file contents, by parsing the contents as JavaScript + * and looking for occurrences of `$localize` in the source code. + */ +export class MessageExtractor { + private basePath: AbsoluteFsPath; + private useSourceMaps: boolean; + private localizeName: string; + private loader: SourceFileLoader; + + constructor( + private fs: FileSystem, private logger: Logger, + {basePath, useSourceMaps = true, localizeName = '$localize'}: ExtractionOptions) { + this.basePath = basePath; + this.useSourceMaps = useSourceMaps; + this.localizeName = localizeName; + this.loader = new SourceFileLoader(this.fs, this.logger, {webpack: basePath}); + } + + extractMessages( + filename: string, + ): ɵParsedMessage[] { + const messages: ɵParsedMessage[] = []; + const sourceCode = this.fs.readFile(this.fs.resolve(this.basePath, filename)); + if (sourceCode.includes(this.localizeName)) { + // Only bother to parse the file if it contains a reference to `$localize`. + transformSync(sourceCode, { + sourceRoot: this.basePath, + filename, + plugins: [ + makeEs2015ExtractPlugin(messages, this.localizeName), + makeEs5ExtractPlugin(messages, this.localizeName), + ], + code: false, + ast: false + }); + } + if (this.useSourceMaps) { + this.updateSourceLocations(filename, sourceCode, messages); + } + return messages; + } + + /** + * Update the location of each message to point to the source-mapped original source location, if + * available. + */ + private updateSourceLocations(filename: string, contents: string, messages: ɵParsedMessage[]): + void { + const sourceFile = + this.loader.loadSourceFile(this.fs.resolve(this.basePath, filename), contents); + if (sourceFile === null) { + return; + } + for (const message of messages) { + if (message.location !== undefined) { + message.location = this.getOriginalLocation(sourceFile, message.location); + } + } + } + + /** + * Find the original location using source-maps if available. + * + * @param sourceFile The generated `sourceFile` that contains the `location`. + * @param location The location within the generated `sourceFile` that needs mapping. + * + * @returns A new location that refers to the original source location mapped from the given + * `location` in the generated `sourceFile`. + */ + private getOriginalLocation(sourceFile: SourceFile, location: ɵSourceLocation): ɵSourceLocation { + const originalStart = + sourceFile.getOriginalLocation(location.start.line, location.start.column); + if (originalStart === null) { + return location; + } + const originalEnd = sourceFile.getOriginalLocation(location.end.line, location.end.column); + const start = {line: originalStart.line, column: originalStart.column}; + // We check whether the files are the same, since the returned location can only have a single + // `file` and it would not make sense to store the end position from a different source file. + const end = (originalEnd !== null && originalEnd.file === originalStart.file) ? + {line: originalEnd.line, column: originalEnd.column} : + start; + return {file: originalStart.file, start, end}; + } +} diff --git a/packages/localize/src/tools/src/extract/main.ts b/packages/localize/src/tools/src/extract/main.ts new file mode 100644 index 0000000000..517146945b --- /dev/null +++ b/packages/localize/src/tools/src/extract/main.ts @@ -0,0 +1,178 @@ +#!/usr/bin/env node +/** + * @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 {getFileSystem, setFileSystem, NodeJSFileSystem, AbsoluteFsPath} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {ConsoleLogger, Logger, LogLevel} from '@angular/compiler-cli/src/ngtsc/logging'; +import {ɵParsedMessage} from '@angular/localize'; +import * as glob from 'glob'; +import * as yargs from 'yargs'; +import {MessageExtractor} from './extraction'; +import {TranslationSerializer} from './translation_files/translation_serializer'; +import {SimpleJsonTranslationSerializer} from './translation_files/json_translation_serializer'; +import {Xliff1TranslationSerializer} from './translation_files/xliff1_translation_serializer'; +import {Xliff2TranslationSerializer} from './translation_files/xliff2_translation_serializer'; +import {XmbTranslationSerializer} from './translation_files/xmb_translation_serializer'; + +if (require.main === module) { + const args = process.argv.slice(2); + const options = + yargs + .option('l', { + alias: 'locale', + describe: 'The locale of the source being processed', + default: 'en', + }) + .option('r', { + alias: 'root', + default: '.', + describe: 'The root path for other paths provided in these options.\n' + + 'This should either be absolute or relative to the current working directory.' + }) + .option('s', { + alias: 'source', + required: true, + describe: + 'A glob pattern indicating what files to search for translations, e.g. `./dist/**/*.js`.\n' + + 'This should be relative to the root path.', + }) + .option('f', { + alias: 'format', + required: true, + choices: ['xmb', 'xlf', 'xlif', 'xliff', 'xlf2', 'xlif2', 'xliff2', 'json'], + describe: 'The format of the translation file.', + }) + .option('o', { + alias: 'outputPath', + required: true, + describe: + 'A path to where the translation file will be written. This should be relative to the root path.' + }) + .option('loglevel', { + describe: 'The lowest severity logging message that should be output.', + choices: ['debug', 'info', 'warn', 'error'], + }) + .option('useSourceMaps', { + type: 'boolean', + default: true, + describe: + 'Whether to generate source information in the output files by following source-map mappings found in the source files' + }) + .option('useLegacyIds', { + type: 'boolean', + default: true, + describe: + 'Whether to use the legacy id format for messages that were extracted from Angular templates.' + }) + .strict() + .help() + .parse(args); + + const fs = new NodeJSFileSystem(); + setFileSystem(fs); + + const rootPath = options['root']; + const sourceFilePaths = glob.sync(options['source'], {cwd: rootPath, nodir: true}); + const logLevel = options['loglevel'] as (keyof typeof LogLevel) | undefined; + const logger = new ConsoleLogger(logLevel ? LogLevel[logLevel] : LogLevel.warn); + + + extractTranslations({ + rootPath, + sourceFilePaths, + sourceLocale: options['locale'], + format: options['format'], + outputPath: options['outputPath'], + logger, + useSourceMaps: options['useSourceMaps'], + useLegacyIds: options['useLegacyIds'], + }); +} + +export interface ExtractTranslationsOptions { + /** + * The locale of the source being processed. + */ + sourceLocale: string; + /** + * The base path for other paths provided in these options. + * This should either be absolute or relative to the current working directory. + */ + rootPath: string; + /** + * An array of paths to files to search for translations. These should be relative to the + * rootPath. + */ + sourceFilePaths: string[]; + /** + * The format of the translation file. + */ + format: string; + /** + * A path to where the translation file will be written. This should be relative to the rootPath. + */ + outputPath: string; + /** + * The logger to use for diagnostic messages. + */ + logger: Logger; + /** + * Whether to generate source information in the output files by following source-map mappings + * found in the source file. + */ + useSourceMaps: boolean; + /** + * Whether to use the legacy id format for messages that were extracted from Angular templates + */ + useLegacyIds: boolean; +} + +export function extractTranslations({ + rootPath, + sourceFilePaths, + sourceLocale, + format, + outputPath: output, + logger, + useSourceMaps, + useLegacyIds +}: ExtractTranslationsOptions) { + const fs = getFileSystem(); + const extractor = + new MessageExtractor(fs, logger, {basePath: fs.resolve(rootPath), useSourceMaps}); + + const messages: ɵParsedMessage[] = []; + for (const file of sourceFilePaths) { + messages.push(...extractor.extractMessages(file)); + } + + const outputPath = fs.resolve(rootPath, output); + const serializer = getSerializer(format, sourceLocale, fs.dirname(outputPath), useLegacyIds); + const translationFile = serializer.serialize(messages); + fs.ensureDir(fs.dirname(outputPath)); + fs.writeFile(outputPath, translationFile); +} + +export function getSerializer( + format: string, sourceLocale: string, rootPath: AbsoluteFsPath, + useLegacyIds: boolean): TranslationSerializer { + switch (format) { + case 'xlf': + case 'xlif': + case 'xliff': + return new Xliff1TranslationSerializer(sourceLocale, rootPath, useLegacyIds); + case 'xlf2': + case 'xlif2': + case 'xliff2': + return new Xliff2TranslationSerializer(sourceLocale, rootPath, useLegacyIds); + case 'xmb': + return new XmbTranslationSerializer(rootPath, useLegacyIds); + case 'json': + return new SimpleJsonTranslationSerializer(sourceLocale); + } + throw new Error(`No translation serializer can handle the provided format: ${format}`); +} \ No newline at end of file diff --git a/packages/localize/src/tools/src/extract/source_files/es2015_extract_plugin.ts b/packages/localize/src/tools/src/extract/source_files/es2015_extract_plugin.ts new file mode 100644 index 0000000000..cada054ef4 --- /dev/null +++ b/packages/localize/src/tools/src/extract/source_files/es2015_extract_plugin.ts @@ -0,0 +1,29 @@ +/** + * @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 {ɵParsedMessage, ɵparseMessage} from '@angular/localize'; +import {NodePath, PluginObj} from '@babel/core'; +import {TaggedTemplateExpression} from '@babel/types'; + +import {getLocation, isGlobalIdentifier, isNamedIdentifier, unwrapMessagePartsFromTemplateLiteral} from '../../source_file_utils'; + +export function makeEs2015ExtractPlugin( + messages: ɵParsedMessage[], localizeName = '$localize'): PluginObj { + return { + visitor: { + TaggedTemplateExpression(path: NodePath) { + const tag = path.get('tag'); + if (isNamedIdentifier(tag, localizeName) && isGlobalIdentifier(tag)) { + const messageParts = unwrapMessagePartsFromTemplateLiteral(path.node.quasi.quasis); + const location = getLocation(path.get('quasi')); + const message = ɵparseMessage(messageParts, path.node.quasi.expressions, location); + messages.push(message); + } + } + } + }; +} diff --git a/packages/localize/src/tools/src/extract/source_files/es5_extract_plugin.ts b/packages/localize/src/tools/src/extract/source_files/es5_extract_plugin.ts new file mode 100644 index 0000000000..4312f1e3c3 --- /dev/null +++ b/packages/localize/src/tools/src/extract/source_files/es5_extract_plugin.ts @@ -0,0 +1,30 @@ +/** + * @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 {ɵParsedMessage, ɵparseMessage} from '@angular/localize'; +import {NodePath, PluginObj} from '@babel/core'; +import {CallExpression} from '@babel/types'; + +import {getLocation, isGlobalIdentifier, isNamedIdentifier, unwrapMessagePartsFromLocalizeCall, unwrapSubstitutionsFromLocalizeCall} from '../../source_file_utils'; + +export function makeEs5ExtractPlugin( + messages: ɵParsedMessage[], localizeName = '$localize'): PluginObj { + return { + visitor: { + CallExpression(callPath: NodePath) { + const calleePath = callPath.get('callee'); + if (isNamedIdentifier(calleePath, localizeName) && isGlobalIdentifier(calleePath)) { + const messageParts = unwrapMessagePartsFromLocalizeCall(callPath); + const expressions = unwrapSubstitutionsFromLocalizeCall(callPath.node); + const location = getLocation(callPath); + const message = ɵparseMessage(messageParts, expressions, location); + messages.push(message); + } + } + } + }; +} diff --git a/packages/localize/src/tools/src/extract/translation_files/json_translation_serializer.ts b/packages/localize/src/tools/src/extract/translation_files/json_translation_serializer.ts new file mode 100644 index 0000000000..9c27ef8b70 --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/json_translation_serializer.ts @@ -0,0 +1,32 @@ +/** + * @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 {ɵMessageId, ɵParsedMessage, ɵSourceMessage} from '@angular/localize'; +import {TranslationSerializer} from './translation_serializer'; + + +interface SimpleJsonTranslationFile { + locale: string; + translations: Record<ɵMessageId, ɵSourceMessage>; +} + +/** + * This is a semi-public bespoke serialization format that is used for testing and sometimes as a + * format for storing translations that will be inlined at runtime. + * + * @see SimpleJsonTranslationParser + */ +export class SimpleJsonTranslationSerializer implements TranslationSerializer { + constructor(private sourceLocale: string) {} + serialize(messages: ɵParsedMessage[]): string { + const fileObj: SimpleJsonTranslationFile = {locale: this.sourceLocale, translations: {}}; + for (const message of messages) { + fileObj.translations[message.id] = message.text; + } + return JSON.stringify(fileObj, null, 2); + } +} diff --git a/packages/localize/src/tools/src/extract/translation_files/translation_serializer.ts b/packages/localize/src/tools/src/extract/translation_files/translation_serializer.ts new file mode 100644 index 0000000000..a313966bbe --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/translation_serializer.ts @@ -0,0 +1,21 @@ +/** + * @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 {ɵParsedMessage} from '@angular/localize'; + +/** + * Implement this interface to provide a class that can render messages into a translation file. + */ +export interface TranslationSerializer { + /** + * Serialize the contents of a translation file containing the given `messages`. + * + * @param messages The messages to render to the file. + * @returns The contents of the serialized file. + */ + serialize(messages: ɵParsedMessage[]): string; +} diff --git a/packages/localize/src/tools/src/extract/translation_files/xliff1_translation_serializer.ts b/packages/localize/src/tools/src/extract/translation_files/xliff1_translation_serializer.ts new file mode 100644 index 0000000000..8c1afb69f2 --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/xliff1_translation_serializer.ts @@ -0,0 +1,111 @@ +/** + * @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 {AbsoluteFsPath, relative} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {ɵParsedMessage, ɵSourceLocation} from '@angular/localize'; + +import {TranslationSerializer} from './translation_serializer'; +import {XmlFile} from './xml_file'; + +/** This is the number of characters that a legacy Xliff 1.2 message id has. */ +const LEGACY_XLIFF_MESSAGE_LENGTH = 40; + +/** + * A translation serializer that can write XLIFF 1.2 formatted files. + * + * http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html + * http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html + * + * @see Xliff1TranslationParser + */ +export class Xliff1TranslationSerializer implements TranslationSerializer { + constructor( + private sourceLocale: string, private basePath: AbsoluteFsPath, + private useLegacyIds: boolean) {} + + serialize(messages: ɵParsedMessage[]): string { + const ids = new Set(); + const xml = new XmlFile(); + xml.startTag('xliff', {'version': '1.2', 'xmlns': 'urn:oasis:names:tc:xliff:document:1.2'}); + xml.startTag('file', {'source-language': this.sourceLocale, 'datatype': 'plaintext'}); + xml.startTag('body'); + for (const message of messages) { + const id = this.getMessageId(message); + if (ids.has(id)) { + // Do not render the same message more than once + continue; + } + ids.add(id); + + xml.startTag('trans-unit', {id, datatype: 'html'}); + xml.startTag('source', {}, {preserveWhitespace: true}); + this.serializeMessage(xml, message); + xml.endTag('source', {preserveWhitespace: false}); + if (message.location) { + this.serializeLocation(xml, message.location); + } + if (message.description) { + this.serializeNote(xml, 'description', message.description); + } + if (message.meaning) { + this.serializeNote(xml, 'meaning', message.meaning); + } + xml.endTag('trans-unit'); + } + xml.endTag('body'); + xml.endTag('file'); + xml.endTag('xliff'); + return xml.toString(); + } + + private serializeMessage(xml: XmlFile, message: ɵParsedMessage): void { + xml.text(message.messageParts[0]); + for (let i = 1; i < message.messageParts.length; i++) { + xml.startTag('x', {id: message.placeholderNames[i - 1]}, {selfClosing: true}); + xml.text(message.messageParts[i]); + } + } + + private serializeNote(xml: XmlFile, name: string, value: string): void { + xml.startTag('note', {priority: '1', from: name}, {preserveWhitespace: true}); + xml.text(value); + xml.endTag('note', {preserveWhitespace: false}); + } + + private serializeLocation(xml: XmlFile, location: ɵSourceLocation): void { + xml.startTag('context-group', {purpose: 'location'}); + this.renderContext(xml, 'sourcefile', relative(this.basePath, location.file)); + const endLineString = location.end !== undefined && location.end.line !== location.start.line ? + `,${location.end.line + 1}` : + ''; + this.renderContext(xml, 'linenumber', `${location.start.line + 1}${endLineString}`); + xml.endTag('context-group'); + } + + private renderContext(xml: XmlFile, type: string, value: string): void { + xml.startTag('context', {'context-type': type}, {preserveWhitespace: true}); + xml.text(value); + xml.endTag('context', {preserveWhitespace: false}); + } + + /** + * Get the id for the given `message`. + * + * If we have requested legacy message ids, then try to return the appropriate id + * from the list of legacy ids that were extracted. + * + * Otherwise return the canonical message id. + * + * An Xliff 1.2 legacy message id is a hex encoded SHA-1 string, which is 40 characters long. See + * https://csrc.nist.gov/csrc/media/publications/fips/180/4/final/documents/fips180-4-draft-aug2014.pdf + */ + private getMessageId(message: ɵParsedMessage): string { + return this.useLegacyIds && message.legacyIds !== undefined && + message.legacyIds.find(id => id.length === LEGACY_XLIFF_MESSAGE_LENGTH) || + message.id; + } +} diff --git a/packages/localize/src/tools/src/extract/translation_files/xliff2_translation_serializer.ts b/packages/localize/src/tools/src/extract/translation_files/xliff2_translation_serializer.ts new file mode 100644 index 0000000000..31f2a42eeb --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/xliff2_translation_serializer.ts @@ -0,0 +1,119 @@ +/** + * @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 {AbsoluteFsPath, relative} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {ɵParsedMessage} from '@angular/localize'; + +import {TranslationSerializer} from './translation_serializer'; +import {XmlFile} from './xml_file'; + +/** This is the maximum number of characters that can appear in a legacy XLIFF 2.0 message id. */ +const MAX_LEGACY_XLIFF_2_MESSAGE_LENGTH = 20; + +/** + * A translation serializer that can write translations in XLIFF 2 format. + * + * http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html + * + * @see Xliff2TranslationParser + */ +export class Xliff2TranslationSerializer implements TranslationSerializer { + constructor( + private sourceLocale: string, private basePath: AbsoluteFsPath, + private useLegacyIds: boolean) {} + + serialize(messages: ɵParsedMessage[]): string { + const ids = new Set(); + const xml = new XmlFile(); + xml.startTag('xliff', { + 'version': '2.0', + 'xmlns': 'urn:oasis:names:tc:xliff:document:2.0', + 'srcLang': this.sourceLocale + }); + xml.startTag('file'); + for (const message of messages) { + const id = this.getMessageId(message); + if (ids.has(id)) { + // Do not render the same message more than once + continue; + } + ids.add(id); + xml.startTag('unit', {id}); + if (message.meaning || message.description) { + xml.startTag('notes'); + if (message.location) { + const {file, start, end} = message.location; + const endLineString = + end !== undefined && end.line !== start.line ? `,${end.line + 1}` : ''; + this.serializeNote( + xml, 'location', + `${relative(this.basePath, file)}:${start.line + 1}${endLineString}`); + } + if (message.description) { + this.serializeNote(xml, 'description', message.description); + } + if (message.meaning) { + this.serializeNote(xml, 'meaning', message.meaning); + } + xml.endTag('notes'); + } + xml.startTag('segment'); + xml.startTag('source', {}, {preserveWhitespace: true}); + this.serializeMessage(xml, message); + xml.endTag('source', {preserveWhitespace: false}); + xml.endTag('segment'); + xml.endTag('unit'); + } + xml.endTag('file'); + xml.endTag('xliff'); + return xml.toString(); + } + + private serializeMessage(xml: XmlFile, message: ɵParsedMessage): void { + xml.text(message.messageParts[0]); + for (let i = 1; i < message.messageParts.length; i++) { + const placeholderName = message.placeholderNames[i - 1]; + if (placeholderName.startsWith('START_')) { + xml.startTag('pc', { + id: `${i}`, + equivStart: placeholderName, + equivEnd: placeholderName.replace(/^START/, 'CLOSE') + }); + } else if (placeholderName.startsWith('CLOSE_')) { + xml.endTag('pc'); + } else { + xml.startTag('ph', {id: `${i}`, equiv: placeholderName}, {selfClosing: true}); + } + xml.text(message.messageParts[i]); + } + } + + private serializeNote(xml: XmlFile, name: string, value: string) { + xml.startTag('note', {category: name}, {preserveWhitespace: true}); + xml.text(value); + xml.endTag('note', {preserveWhitespace: false}); + } + + /** + * Get the id for the given `message`. + * + * If we have requested legacy message ids, then try to return the appropriate id + * from the list of legacy ids that were extracted. + * + * Otherwise return the canonical message id. + * + * An Xliff 2.0 legacy message id is a 64 bit number encoded as a decimal string, which will have + * at most 20 digits, since 2^65-1 = 36,893,488,147,419,103,231. This digest is based on: + * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java + */ + private getMessageId(message: ɵParsedMessage): string { + return this.useLegacyIds && message.legacyIds !== undefined && + message.legacyIds.find( + id => id.length <= MAX_LEGACY_XLIFF_2_MESSAGE_LENGTH && !/[^0-9]/.test(id)) || + message.id; + } +} diff --git a/packages/localize/src/tools/src/extract/translation_files/xmb_translation_serializer.ts b/packages/localize/src/tools/src/extract/translation_files/xmb_translation_serializer.ts new file mode 100644 index 0000000000..ffb4383409 --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/xmb_translation_serializer.ts @@ -0,0 +1,104 @@ +/** + * @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 {AbsoluteFsPath, relative} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {ɵParsedMessage, ɵSourceLocation} from '@angular/localize'; + +import {TranslationSerializer} from './translation_serializer'; +import {XmlFile} from './xml_file'; + +/** + * A translation serializer that can write files in XMB format. + * + * http://cldr.unicode.org/development/development-process/design-proposals/xmb + * + * @see XmbTranslationParser + */ +export class XmbTranslationSerializer implements TranslationSerializer { + constructor(private basePath: AbsoluteFsPath, private useLegacyIds: boolean) {} + + serialize(messages: ɵParsedMessage[]): string { + const ids = new Set(); + const xml = new XmlFile(); + xml.rawText( + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `\n` + + `]>\n`); + xml.startTag('messagebundle'); + for (const message of messages) { + const id = this.getMessageId(message); + if (ids.has(id)) { + // Do not render the same message more than once + continue; + } + ids.add(id); + xml.startTag( + 'msg', {id, desc: message.description, meaning: message.meaning}, + {preserveWhitespace: true}); + if (message.location) { + this.serializeLocation(xml, message.location); + } + this.serializeMessage(xml, message); + xml.endTag('msg', {preserveWhitespace: false}); + } + xml.endTag('messagebundle'); + return xml.toString(); + } + + private serializeLocation(xml: XmlFile, location: ɵSourceLocation): void { + xml.startTag('source'); + const endLineString = location.end !== undefined && location.end.line !== location.start.line ? + `,${location.end.line + 1}` : + ''; + xml.text(`${relative(this.basePath, location.file)}:${location.start.line}${endLineString}`); + xml.endTag('source'); + } + + private serializeMessage(xml: XmlFile, message: ɵParsedMessage): void { + xml.text(message.messageParts[0]); + for (let i = 1; i < message.messageParts.length; i++) { + xml.startTag('ph', {name: message.placeholderNames[i - 1]}, {selfClosing: true}); + xml.text(message.messageParts[i]); + } + } + + /** + * Get the id for the given `message`. + * + * If we have requested legacy message ids, then try to return the appropriate id + * from the list of legacy ids that were extracted. + * + * Otherwise return the canonical message id. + * + * An XMB legacy message id is a 64 bit number encoded as a decimal string, which will have + * at most 20 digits, since 2^65-1 = 36,893,488,147,419,103,231. This digest is based on: + * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java + */ + private getMessageId(message: ɵParsedMessage): string { + return this.useLegacyIds && message.legacyIds !== undefined && + message.legacyIds.find(id => id.length <= 20 && !/[^0-9]/.test(id)) || + message.id; + } +} diff --git a/packages/localize/src/tools/src/extract/translation_files/xml_file.ts b/packages/localize/src/tools/src/extract/translation_files/xml_file.ts new file mode 100644 index 0000000000..a38ca3b11e --- /dev/null +++ b/packages/localize/src/tools/src/extract/translation_files/xml_file.ts @@ -0,0 +1,106 @@ +/** + * @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 + */ + +interface Options { + selfClosing?: boolean; + preserveWhitespace?: boolean; +} + +export class XmlFile { + private output = '\n'; + private indent = ''; + private elements: string[] = []; + private preservingWhitespace = false; + toString() { + return this.output; + } + + startTag( + name: string, attributes: Record = {}, + {selfClosing = false, preserveWhitespace}: Options = {}): this { + if (!this.preservingWhitespace) { + this.output += this.indent; + } + + this.output += `<${name}`; + + for (const [attrName, attrValue] of Object.entries(attributes)) { + if (attrValue) { + this.output += ` ${attrName}="${escapeXml(attrValue)}"`; + } + } + + if (selfClosing) { + this.output += '/>'; + } else { + this.output += '>'; + this.elements.push(name); + this.incIndent(); + } + + if (preserveWhitespace !== undefined) { + this.preservingWhitespace = preserveWhitespace; + } + if (!this.preservingWhitespace) { + this.output += `\n`; + } + return this; + } + + endTag(name: string, {preserveWhitespace}: Options = {}): this { + const expectedTag = this.elements.pop(); + if (expectedTag !== name) { + throw new Error(`Unexpected closing tag: "${name}", expected: "${expectedTag}"`); + } + + this.decIndent(); + + if (!this.preservingWhitespace) { + this.output += this.indent; + } + this.output += ``; + + if (preserveWhitespace !== undefined) { + this.preservingWhitespace = preserveWhitespace; + } + if (!this.preservingWhitespace) { + this.output += `\n`; + } + return this; + } + + text(str: string): this { + this.output += escapeXml(str); + return this; + } + + rawText(str: string): this { + this.output += str; + return this; + } + + private incIndent() { + this.indent = this.indent + ' '; + } + private decIndent() { + this.indent = this.indent.slice(0, -2); + } +} + +const _ESCAPED_CHARS: [RegExp, string][] = [ + [/&/g, '&'], + [/"/g, '"'], + [/'/g, '''], + [//g, '>'], +]; + +function escapeXml(text: string): string { + return _ESCAPED_CHARS.reduce( + (text: string, entry: [RegExp, string]) => text.replace(entry[0], entry[1]), text); +} \ No newline at end of file diff --git a/packages/localize/src/tools/src/file_utils.ts b/packages/localize/src/tools/src/file_utils.ts deleted file mode 100644 index d34f57abcc..0000000000 --- a/packages/localize/src/tools/src/file_utils.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @license - * Copyright Google Inc. 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 * as fs from 'fs'; -import * as path from 'path'; - -export class FileUtils { - static readFile(absolutePath: string): string { - return fs.readFileSync(absolutePath, 'utf8'); - } - - static readFileBuffer(absolutePath: string): Buffer { - return fs.readFileSync(absolutePath); - } - - static writeFile(absolutePath: string, contents: string|Buffer) { - FileUtils.ensureDir(path.dirname(absolutePath)); - fs.writeFileSync(absolutePath, contents); - } - - static ensureDir(absolutePath: string): void { - const parents: string[] = []; - while (!FileUtils.isRoot(absolutePath) && !fs.existsSync(absolutePath)) { - parents.push(absolutePath); - absolutePath = path.dirname(absolutePath); - } - while (parents.length) { - fs.mkdirSync(parents.pop()!); - } - } - - static remove(p: string): void { - const stat = fs.statSync(p); - if (stat.isFile()) { - fs.unlinkSync(p); - } else if (stat.isDirectory()) { - fs.readdirSync(p).forEach(child => { - const absChild = path.resolve(p, child); - FileUtils.remove(absChild); - }); - fs.rmdirSync(p); - } - } - - static isRoot(absolutePath: string): boolean { - return path.dirname(absolutePath) === absolutePath; - } -} diff --git a/packages/localize/src/tools/src/source_file_utils.ts b/packages/localize/src/tools/src/source_file_utils.ts index 34c186f89e..0a5f58ba0b 100644 --- a/packages/localize/src/tools/src/source_file_utils.ts +++ b/packages/localize/src/tools/src/source_file_utils.ts @@ -1,10 +1,11 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, relative, resolve} from '@angular/compiler-cli/src/ngtsc/file_system'; import {ɵisMissingTranslationError, ɵmakeTemplateObject, ɵParsedTranslation, ɵSourceLocation, ɵtranslate} from '@angular/localize'; import {NodePath} from '@babel/traverse'; import * as t from '@babel/types'; @@ -347,15 +348,31 @@ export function buildCodeFrameError(path: NodePath, e: BabelParseError): string return `${filename}: ${message}`; } -export function getLocation(path: NodePath): ɵSourceLocation|undefined { - const location = path.node.loc; - const file = path.hub.file.opts.filename; - - if (!location || !file) { +export function getLocation(startPath: NodePath, endPath?: NodePath): ɵSourceLocation|undefined { + const startLocation = startPath.node.loc; + const file = getFileFromPath(startPath); + if (!startLocation || !file) { return undefined; } - // Note we clone the `start` and `end` objects so that their prototype chains, - // from Babel, do not leak into our code. - return {start: {...location.start}, end: {...location.end}, file}; + const endLocation = + endPath && getFileFromPath(endPath) === file && endPath.node.loc || startLocation; + + return { + start: getLineAndColumn(startLocation.start), + end: getLineAndColumn(endLocation.end), + file + }; +} + +function getFileFromPath(path: NodePath|undefined): AbsoluteFsPath|null { + const opts = path?.hub.file.opts; + return opts?.filename ? + resolve(opts.generatorOpts.sourceRoot, relative(opts.cwd, opts.filename)) : + null; +} + +function getLineAndColumn(loc: {line: number, column: number}): {line: number, column: number} { + // Note we want 0-based line numbers but Babel returns 1-based. + return {line: loc.line - 1, column: loc.column}; } diff --git a/packages/localize/src/tools/src/translate/asset_files/asset_translation_handler.ts b/packages/localize/src/tools/src/translate/asset_files/asset_translation_handler.ts index ae70ba7c86..2a2d6c0501 100644 --- a/packages/localize/src/tools/src/translate/asset_files/asset_translation_handler.ts +++ b/packages/localize/src/tools/src/translate/asset_files/asset_translation_handler.ts @@ -1,12 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, PathSegment} from '@angular/compiler-cli/src/ngtsc/file_system'; + import {Diagnostics} from '../../diagnostics'; -import {FileUtils} from '../../file_utils'; import {OutputPathFn} from '../output_path'; import {TranslationBundle, TranslationHandler} from '../translator'; @@ -14,25 +15,34 @@ import {TranslationBundle, TranslationHandler} from '../translator'; * Translate an asset file by simply copying it to the appropriate translation output paths. */ export class AssetTranslationHandler implements TranslationHandler { - canTranslate(_relativeFilePath: string, _contents: Buffer): boolean { + constructor(private fs: FileSystem) {} + + canTranslate(_relativeFilePath: PathSegment, _contents: Buffer): boolean { return true; } + translate( - diagnostics: Diagnostics, _sourceRoot: string, relativeFilePath: string, contents: Buffer, - outputPathFn: OutputPathFn, translations: TranslationBundle[], sourceLocale?: string): void { + diagnostics: Diagnostics, _sourceRoot: AbsoluteFsPath, relativeFilePath: PathSegment, + contents: Buffer, outputPathFn: OutputPathFn, translations: TranslationBundle[], + sourceLocale?: string): void { for (const translation of translations) { - try { - FileUtils.writeFile(outputPathFn(translation.locale, relativeFilePath), contents); - } catch (e) { - diagnostics.error(e.message); - } + this.writeAssetFile( + diagnostics, outputPathFn, translation.locale, relativeFilePath, contents); } if (sourceLocale !== undefined) { - try { - FileUtils.writeFile(outputPathFn(sourceLocale, relativeFilePath), contents); - } catch (e) { - diagnostics.error(e.message); - } + this.writeAssetFile(diagnostics, outputPathFn, sourceLocale, relativeFilePath, contents); + } + } + + private writeAssetFile( + diagnostics: Diagnostics, outputPathFn: OutputPathFn, locale: string, + relativeFilePath: PathSegment, contents: Buffer): void { + try { + const outputPath = absoluteFrom(outputPathFn(locale, relativeFilePath)); + this.fs.ensureDir(this.fs.dirname(outputPath)); + this.fs.writeFile(outputPath, contents); + } catch (e) { + diagnostics.error(e.message); } } } diff --git a/packages/localize/src/tools/src/translate/main.ts b/packages/localize/src/tools/src/translate/main.ts index 9178ed810d..8db12dc24f 100644 --- a/packages/localize/src/tools/src/translate/main.ts +++ b/packages/localize/src/tools/src/translate/main.ts @@ -1,13 +1,13 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {getFileSystem, NodeJSFileSystem, setFileSystem, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; import * as glob from 'glob'; -import {resolve} from 'path'; import * as yargs from 'yargs'; import {DiagnosticHandlingStrategy, Diagnostics} from '../diagnostics'; @@ -66,8 +66,9 @@ if (require.main === module) { .option('o', { alias: 'outputPath', required: true, - describe: - 'A output path pattern to where the translated files will be written. The marker `{{LOCALE}}` will be replaced with the target locale. E.g. `dist/{{LOCALE}}`.' + describe: 'A output path pattern to where the translated files will be written.\n' + + 'The path must be either absolute or relative to the current working directory.\n' + + 'The marker `{{LOCALE}}` will be replaced with the target locale. E.g. `dist/{{LOCALE}}`.' }) .option('m', { @@ -88,11 +89,13 @@ if (require.main === module) { .help() .parse(args); + const fs = new NodeJSFileSystem(); + setFileSystem(fs); + const sourceRootPath = options['r']; - const sourceFilePaths = - glob.sync(options['s'], {absolute: true, cwd: sourceRootPath, nodir: true}); + const sourceFilePaths = glob.sync(options['s'], {cwd: sourceRootPath, nodir: true}); const translationFilePaths: (string|string[])[] = convertArraysFromArgs(options['t']); - const outputPathFn = getOutputPathFn(options['o']); + const outputPathFn = getOutputPathFn(fs.resolve(options['o'])); const diagnostics = new Diagnostics(); const missingTranslation: DiagnosticHandlingStrategy = options['m']; const duplicateTranslation: DiagnosticHandlingStrategy = options['d']; @@ -154,8 +157,9 @@ export interface TranslateFilesOptions { */ translationFileLocales: (string|undefined)[]; /** - * A function that computes the output path of where the translated files will be written. - * The marker `{{LOCALE}}` will be replaced with the target locale. E.g. `dist/{{LOCALE}}`. + * A function that computes the output path of where the translated files will be + * written. The marker `{{LOCALE}}` will be replaced with the target locale. E.g. + * `dist/{{LOCALE}}`. */ outputPathFn: OutputPathFn; /** @@ -189,7 +193,9 @@ export function translateFiles({ duplicateTranslation, sourceLocale }: TranslateFilesOptions) { + const fs = getFileSystem(); const translationLoader = new TranslationLoader( + fs, [ new Xliff2TranslationParser(), new Xliff1TranslationParser(), @@ -199,21 +205,24 @@ export function translateFiles({ duplicateTranslation, diagnostics); const resourceProcessor = new Translator( + fs, [ - new SourceFileTranslationHandler({missingTranslation}), - new AssetTranslationHandler(), + new SourceFileTranslationHandler(fs, {missingTranslation}), + new AssetTranslationHandler(fs), ], diagnostics); // Convert all the `translationFilePaths` elements to arrays. - const translationFilePathsArrays = - translationFilePaths.map(filePaths => Array.isArray(filePaths) ? filePaths : [filePaths]); + const translationFilePathsArrays = translationFilePaths.map( + filePaths => + Array.isArray(filePaths) ? filePaths.map(p => fs.resolve(p)) : [fs.resolve(filePaths)]); const translations = translationLoader.loadBundles(translationFilePathsArrays, translationFileLocales); - sourceRootPath = resolve(sourceRootPath); + sourceRootPath = fs.resolve(sourceRootPath); resourceProcessor.translateFiles( - sourceFilePaths, sourceRootPath, outputPathFn, translations, sourceLocale); + sourceFilePaths.map(relativeFrom), fs.resolve(sourceRootPath), outputPathFn, translations, + sourceLocale); } /** @@ -226,4 +235,4 @@ function convertArraysFromArgs(args: string[]): (string|string[])[] { arg => (arg.startsWith('[') && arg.endsWith(']')) ? arg.slice(1, -1).split(',').map(arg => arg.trim()) : arg); -} \ No newline at end of file +} diff --git a/packages/localize/src/tools/src/translate/output_path.ts b/packages/localize/src/tools/src/translate/output_path.ts index f33a65c5ce..cfa3c8e609 100644 --- a/packages/localize/src/tools/src/translate/output_path.ts +++ b/packages/localize/src/tools/src/translate/output_path.ts @@ -1,12 +1,17 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath} from '@angular/compiler-cli/src/ngtsc/file_system'; import {join} from 'path'; +/** + * A function that will return an absolute path to where a file is to be written, given a locale and + * a relative path. + */ export interface OutputPathFn { (locale: string, relativePath: string): string; } @@ -18,7 +23,7 @@ export interface OutputPathFn { * The special `{{LOCALE}}` marker will be replaced with the locale code of the current translation. * @param outputFolder An absolute path to the folder containing this set of translations. */ -export function getOutputPathFn(outputFolder: string): OutputPathFn { +export function getOutputPathFn(outputFolder: AbsoluteFsPath): OutputPathFn { const [pre, post] = outputFolder.split('{{LOCALE}}'); return post === undefined ? (_locale, relativePath) => join(pre, relativePath) : (locale, relativePath) => join(pre + locale + post, relativePath); diff --git a/packages/localize/src/tools/src/translate/source_files/es2015_translate_plugin.ts b/packages/localize/src/tools/src/translate/source_files/es2015_translate_plugin.ts index 3643f2f6c2..5b643fceb5 100644 --- a/packages/localize/src/tools/src/translate/source_files/es2015_translate_plugin.ts +++ b/packages/localize/src/tools/src/translate/source_files/es2015_translate_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/source_files/es5_translate_plugin.ts b/packages/localize/src/tools/src/translate/source_files/es5_translate_plugin.ts index b49210999e..e73aa40b43 100644 --- a/packages/localize/src/tools/src/translate/source_files/es5_translate_plugin.ts +++ b/packages/localize/src/tools/src/translate/source_files/es5_translate_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/source_files/locale_plugin.ts b/packages/localize/src/tools/src/translate/source_files/locale_plugin.ts index 2fa7fbd115..096e4a5b09 100644 --- a/packages/localize/src/tools/src/translate/source_files/locale_plugin.ts +++ b/packages/localize/src/tools/src/translate/source_files/locale_plugin.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/source_files/source_file_translation_handler.ts b/packages/localize/src/tools/src/translate/source_files/source_file_translation_handler.ts index 60b93dba96..4e13c9b672 100644 --- a/packages/localize/src/tools/src/translate/source_files/source_file_translation_handler.ts +++ b/packages/localize/src/tools/src/translate/source_files/source_file_translation_handler.ts @@ -1,18 +1,19 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, PathSegment, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; import {parseSync, transformFromAstSync} from '@babel/core'; import {File, Program} from '@babel/types'; -import {extname, join} from 'path'; + import {Diagnostics} from '../../diagnostics'; -import {FileUtils} from '../../file_utils'; import {TranslatePluginOptions} from '../../source_file_utils'; import {OutputPathFn} from '../output_path'; import {TranslationBundle, TranslationHandler} from '../translator'; + import {makeEs2015TranslatePlugin} from './es2015_translate_plugin'; import {makeEs5TranslatePlugin} from './es5_translate_plugin'; import {makeLocalePlugin} from './locale_plugin'; @@ -24,29 +25,32 @@ import {makeLocalePlugin} from './locale_plugin'; export class SourceFileTranslationHandler implements TranslationHandler { private sourceLocaleOptions: TranslatePluginOptions = {...this.translationOptions, missingTranslation: 'ignore'}; - constructor(private translationOptions: TranslatePluginOptions = {}) {} + constructor(private fs: FileSystem, private translationOptions: TranslatePluginOptions = {}) {} - canTranslate(relativeFilePath: string, _contents: Buffer): boolean { - return extname(relativeFilePath) === '.js'; + canTranslate(relativeFilePath: PathSegment, _contents: Buffer): boolean { + return this.fs.extname(relativeFrom(relativeFilePath)) === '.js'; } translate( - diagnostics: Diagnostics, sourceRoot: string, relativeFilePath: string, contents: Buffer, - outputPathFn: OutputPathFn, translations: TranslationBundle[], sourceLocale?: string): void { + diagnostics: Diagnostics, sourceRoot: AbsoluteFsPath, relativeFilePath: PathSegment, + contents: Buffer, outputPathFn: OutputPathFn, translations: TranslationBundle[], + sourceLocale?: string): void { const sourceCode = contents.toString('utf8'); // A short-circuit check to avoid parsing the file into an AST if it does not contain any // `$localize` identifiers. if (!sourceCode.includes('$localize')) { for (const translation of translations) { - FileUtils.writeFile(outputPathFn(translation.locale, relativeFilePath), contents); + this.writeSourceFile( + diagnostics, outputPathFn, translation.locale, relativeFilePath, contents); } if (sourceLocale !== undefined) { - FileUtils.writeFile(outputPathFn(sourceLocale, relativeFilePath), contents); + this.writeSourceFile(diagnostics, outputPathFn, sourceLocale, relativeFilePath, contents); } } else { const ast = parseSync(sourceCode, {sourceRoot, filename: relativeFilePath}); if (!ast) { - diagnostics.error(`Unable to parse source file: ${join(sourceRoot, relativeFilePath)}`); + diagnostics.error( + `Unable to parse source file: ${this.fs.join(sourceRoot, relativeFilePath)}`); return; } // Output a translated copy of the file for each locale. @@ -67,7 +71,7 @@ export class SourceFileTranslationHandler implements TranslationHandler { private translateFile( diagnostics: Diagnostics, ast: File|Program, translationBundle: TranslationBundle, - sourceRoot: string, filename: string, outputPathFn: OutputPathFn, + sourceRoot: AbsoluteFsPath, filename: PathSegment, outputPathFn: OutputPathFn, options: TranslatePluginOptions) { const translated = transformFromAstSync(ast, undefined, { compact: true, @@ -80,10 +84,26 @@ export class SourceFileTranslationHandler implements TranslationHandler { filename, }); if (translated && translated.code) { - FileUtils.writeFile(outputPathFn(translationBundle.locale, filename), translated.code); + this.writeSourceFile( + diagnostics, outputPathFn, translationBundle.locale, filename, translated.code); + const outputPath = absoluteFrom(outputPathFn(translationBundle.locale, filename)); + this.fs.ensureDir(this.fs.dirname(outputPath)); + this.fs.writeFile(outputPath, translated.code); } else { - diagnostics.error(`Unable to translate source file: ${join(sourceRoot, filename)}`); + diagnostics.error(`Unable to translate source file: ${this.fs.join(sourceRoot, filename)}`); return; } } + + private writeSourceFile( + diagnostics: Diagnostics, outputPathFn: OutputPathFn, locale: string, + relativeFilePath: PathSegment, contents: string|Buffer): void { + try { + const outputPath = absoluteFrom(outputPathFn(locale, relativeFilePath)); + this.fs.ensureDir(this.fs.dirname(outputPath)); + this.fs.writeFile(outputPath, contents); + } catch (e) { + diagnostics.error(e.message); + } + } } diff --git a/packages/localize/src/tools/src/translate/translation_files/base_visitor.ts b/packages/localize/src/tools/src/translate/translation_files/base_visitor.ts index b07fccbf94..a0558eb24c 100644 --- a/packages/localize/src/tools/src/translate/translation_files/base_visitor.ts +++ b/packages/localize/src/tools/src/translate/translation_files/base_visitor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_renderer.ts b/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_renderer.ts index 21aa7921c4..61f58c39d3 100644 --- a/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_renderer.ts +++ b/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_serializer.ts b/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_serializer.ts index f9ac0fef76..ea9cdefacc 100644 --- a/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_serializer.ts +++ b/packages/localize/src/tools/src/translate/translation_files/message_serialization/message_serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts b/packages/localize/src/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts index e4f43317d1..9e79a8a546 100644 --- a/packages/localize/src/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts +++ b/packages/localize/src/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -68,4 +68,4 @@ interface MessageInfo { messageParts: string[]; placeholderNames: string[]; text: string; -} \ No newline at end of file +} diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_loader.ts b/packages/localize/src/tools/src/translate/translation_files/translation_loader.ts index a7cf016f82..1e71e45bcb 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_loader.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_loader.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, FileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; import {DiagnosticHandlingStrategy, Diagnostics} from '../../diagnostics'; -import {FileUtils} from '../../file_utils'; import {TranslationBundle} from '../translator'; import {TranslationParser} from './translation_parsers/translation_parser'; @@ -16,7 +16,7 @@ import {TranslationParser} from './translation_parsers/translation_parser'; */ export class TranslationLoader { constructor( - private translationParsers: TranslationParser[], + private fs: FileSystem, private translationParsers: TranslationParser[], private duplicateTranslation: DiagnosticHandlingStrategy, /** @deprecated */ private diagnostics?: Diagnostics) {} @@ -42,8 +42,9 @@ export class TranslationLoader { * If there are both a provided locale and a locale parsed from the file, and they are not the * same, then a warning is reported. */ - loadBundles(translationFilePaths: string[][], translationFileLocales: (string|undefined)[]): - TranslationBundle[] { + loadBundles( + translationFilePaths: AbsoluteFsPath[][], + translationFileLocales: (string|undefined)[]): TranslationBundle[] { return translationFilePaths.map((filePaths, index) => { const providedLocale = translationFileLocales[index]; return this.mergeBundles(filePaths, providedLocale); @@ -53,8 +54,9 @@ export class TranslationLoader { /** * Load all the translations from the file at the given `filePath`. */ - private loadBundle(filePath: string, providedLocale: string|undefined): TranslationBundle { - const fileContents = FileUtils.readFile(filePath); + private loadBundle(filePath: AbsoluteFsPath, providedLocale: string|undefined): + TranslationBundle { + const fileContents = this.fs.readFile(filePath); for (const translationParser of this.translationParsers) { const result = translationParser.canParse(filePath, fileContents); if (!result) { @@ -96,7 +98,8 @@ export class TranslationLoader { * There is more than one `filePath` for this locale, so load each as a bundle and then merge them * all together. */ - private mergeBundles(filePaths: string[], providedLocale: string|undefined): TranslationBundle { + private mergeBundles(filePaths: AbsoluteFsPath[], providedLocale: string|undefined): + TranslationBundle { const bundles = filePaths.map(filePath => this.loadBundle(filePath, providedLocale)); const bundle = bundles[0]; for (let i = 1; i < bundles.length; i++) { diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts index 30115f30ad..898cd1330a 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,6 +22,8 @@ import {ParsedTranslationBundle, TranslationParser} from './translation_parser'; * } * } * ``` + * + * @see SimpleJsonTranslationSerializer */ export class SimpleJsonTranslationParser implements TranslationParser { canParse(filePath: string, contents: string): Object|false { diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts index beec87a8d2..5074335dab 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parser.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parser.ts index 7a45a32d9d..490a1b19c1 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parser.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_utils.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_utils.ts index 3edb796917..fe19bdf96e 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_utils.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/translation_utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts index ab40ba2685..664ec1c354 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -22,6 +22,7 @@ import {addParseDiagnostic, addParseError, canParseXml, getAttribute, isNamedEle * http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html * http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html * + * @see Xliff1TranslationSerializer */ export class Xliff1TranslationParser implements TranslationParser { canParse(filePath: string, contents: string): XmlTranslationParserHint|false { diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts index d60c38535e..7c83283e19 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -21,6 +21,7 @@ import {addParseDiagnostic, addParseError, canParseXml, getAttribute, isNamedEle * * http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html * + * @see Xliff2TranslationSerializer */ export class Xliff2TranslationParser implements TranslationParser { canParse(filePath: string, contents: string): XmlTranslationParserHint|false { diff --git a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts index 6e1e7512d5..494158dd8c 100644 --- a/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts +++ b/packages/localize/src/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -19,7 +19,11 @@ import {addParseDiagnostic, addParseError, canParseXml, getAttribute, parseInner /** - * A translation parser that can load XB files. + * A translation parser that can load XTB files. + * + * http://cldr.unicode.org/development/development-process/design-proposals/xmb + * + * @see XmbTranslationSerializer */ export class XtbTranslationParser implements TranslationParser { canParse(filePath: string, contents: string): XmlTranslationParserHint|false { diff --git a/packages/localize/src/tools/src/translate/translator.ts b/packages/localize/src/tools/src/translate/translator.ts index 74ccebada5..5b95ff94ea 100644 --- a/packages/localize/src/tools/src/translate/translator.ts +++ b/packages/localize/src/tools/src/translate/translator.ts @@ -1,15 +1,14 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AbsoluteFsPath, FileSystem, PathSegment} from '@angular/compiler-cli/src/ngtsc/file_system'; import {ɵMessageId, ɵParsedTranslation} from '@angular/localize'; -import {relative} from 'path'; import {Diagnostics} from '../diagnostics'; -import {FileUtils} from '../file_utils'; import {OutputPathFn} from './output_path'; @@ -36,7 +35,7 @@ export interface TranslationHandler { * @param relativeFilePath A relative path from the sourceRoot to the resource file to handle. * @param contents The contents of the file to handle. */ - canTranslate(relativeFilePath: string, contents: Buffer): boolean; + canTranslate(relativeFilePath: PathSegment, contents: Buffer): boolean; /** * Translate the file at `relativeFilePath` containing `contents`, using the given `translations`, @@ -54,8 +53,9 @@ export interface TranslationHandler { * stripped out. */ translate( - diagnostics: Diagnostics, sourceRoot: string, relativeFilePath: string, contents: Buffer, - outputPathFn: OutputPathFn, translations: TranslationBundle[], sourceLocale?: string): void; + diagnostics: Diagnostics, sourceRoot: AbsoluteFsPath, relativeFilePath: PathSegment, + contents: Buffer, outputPathFn: OutputPathFn, translations: TranslationBundle[], + sourceLocale?: string): void; } /** @@ -63,14 +63,17 @@ export interface TranslationHandler { * The file will be translated by the first handler that returns true for `canTranslate()`. */ export class Translator { - constructor(private resourceHandlers: TranslationHandler[], private diagnostics: Diagnostics) {} + constructor( + private fs: FileSystem, private resourceHandlers: TranslationHandler[], + private diagnostics: Diagnostics) {} translateFiles( - inputPaths: string[], rootPath: string, outputPathFn: OutputPathFn, + inputPaths: PathSegment[], rootPath: AbsoluteFsPath, outputPathFn: OutputPathFn, translations: TranslationBundle[], sourceLocale?: string): void { inputPaths.forEach(inputPath => { - const contents = FileUtils.readFileBuffer(inputPath); - const relativePath = relative(rootPath, inputPath); + const absInputPath = this.fs.resolve(rootPath, inputPath); + const contents = this.fs.readFileBuffer(absInputPath); + const relativePath = this.fs.relative(rootPath, absInputPath); for (const resourceHandler of this.resourceHandlers) { if (resourceHandler.canTranslate(relativePath, contents)) { return resourceHandler.translate( diff --git a/packages/localize/src/tools/test/BUILD.bazel b/packages/localize/src/tools/test/BUILD.bazel index b828ba9ec8..c441be3b2e 100644 --- a/packages/localize/src/tools/test/BUILD.bazel +++ b/packages/localize/src/tools/test/BUILD.bazel @@ -4,13 +4,17 @@ ts_library( name = "test_lib", testonly = True, srcs = glob( - ["**/*_spec.ts"], + ["**/*.ts"], ), deps = [ "//packages:types", "//packages/compiler", + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/src/ngtsc/logging/testing", "//packages/localize", "//packages/localize/src/tools", + "//packages/localize/src/utils", "@npm//@babel/core", "@npm//@babel/generator", "@npm//@babel/template", diff --git a/packages/localize/src/tools/test/diagnostics_spec.ts b/packages/localize/src/tools/test/diagnostics_spec.ts index c2c32a8644..faecf1f1dd 100644 --- a/packages/localize/src/tools/test/diagnostics_spec.ts +++ b/packages/localize/src/tools/test/diagnostics_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/extract/extractor_spec.ts b/packages/localize/src/tools/test/extract/extractor_spec.ts new file mode 100644 index 0000000000..7c4c4d4f36 --- /dev/null +++ b/packages/localize/src/tools/test/extract/extractor_spec.ts @@ -0,0 +1,57 @@ +/** + * @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 {absoluteFrom, getFileSystem, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {MockLogger} from '@angular/compiler-cli/src/ngtsc/logging/testing'; + +import {MessageExtractor} from '../../src/extract/extraction'; + +runInEachFileSystem(() => { + describe('extractMessages', () => { + it('should extract a message for each $localize template tag', () => { + const fs = getFileSystem(); + const logger = new MockLogger(); + const basePath = absoluteFrom('/root/path/'); + const filename = 'relative/path.js'; + const file = fs.resolve(basePath, filename); + const extractor = new MessageExtractor(fs, logger, {basePath}); + fs.ensureDir(absoluteFrom('/root/path/relative')); + fs.writeFile(file, [ + '$localize`:meaning|description:a${1}b${2}c`;', + '$localize(__makeTemplateObject(["a", ":custom-placeholder:b", "c"], ["a", ":custom-placeholder:b", "c"]), 1, 2);' + ].join('\n')); + const messages = extractor.extractMessages(filename); + + expect(messages.length).toEqual(2); + + expect(messages[0]).toEqual({ + id: '2714330828844000684', + description: 'description', + meaning: 'meaning', + messageParts: ['a', 'b', 'c'], + text: 'a{$PH}b{$PH_1}c', + placeholderNames: ['PH', 'PH_1'], + substitutions: jasmine.any(Object), + legacyIds: [], + location: {start: {line: 0, column: 9}, end: {line: 0, column: 43}, file}, + }); + + expect(messages[1]).toEqual({ + id: '5692770902395945649', + description: '', + meaning: '', + messageParts: ['a', 'b', 'c'], + text: 'a{$custom-placeholder}b{$PH_1}c', + placeholderNames: ['custom-placeholder', 'PH_1'], + substitutions: jasmine.any(Object), + legacyIds: [], + location: {start: {line: 1, column: 0}, end: {line: 1, column: 111}, file}, + }); + }); + }); +}); diff --git a/packages/localize/src/tools/test/extract/integration/BUILD.bazel b/packages/localize/src/tools/test/extract/integration/BUILD.bazel new file mode 100644 index 0000000000..bad294d09d --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/BUILD.bazel @@ -0,0 +1,33 @@ +load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") + +ts_library( + name = "test_lib", + testonly = True, + srcs = glob( + ["**/*_spec.ts"], + ), + deps = [ + "//packages:types", + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/src/ngtsc/logging", + "//packages/compiler-cli/src/ngtsc/logging/testing", + "//packages/compiler-cli/test/helpers", + "//packages/localize/src/tools", + ], +) + +jasmine_node_test( + name = "integration", + bootstrap = ["//tools/testing:node_no_angular_es5"], + data = [ + "//packages/localize/src/tools/test/extract/integration/test_files", + "//packages/localize/src/tools/test/extract/integration/test_files:compile_es2015", + "//packages/localize/src/tools/test/extract/integration/test_files:compile_es5", + ], + deps = [ + ":test_lib", + "@npm//glob", + "@npm//yargs", + ], +) diff --git a/packages/localize/src/tools/test/extract/integration/main_spec.ts b/packages/localize/src/tools/test/extract/integration/main_spec.ts new file mode 100644 index 0000000000..bb7d19c2ee --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/main_spec.ts @@ -0,0 +1,228 @@ +/** + * @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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {Logger} from '@angular/compiler-cli/src/ngtsc/logging'; +import {MockLogger} from '@angular/compiler-cli/src/ngtsc/logging/testing'; +import {loadTestDirectory} from '@angular/compiler-cli/test/helpers'; + +import {extractTranslations} from '../../../src/extract/main'; + +runInEachFileSystem(() => { + let fs: FileSystem; + let logger: Logger; + let rootPath: AbsoluteFsPath; + let outputPath: AbsoluteFsPath; + let sourceFilePath: AbsoluteFsPath; + let textFile1: AbsoluteFsPath; + let textFile2: AbsoluteFsPath; + + beforeEach(() => { + fs = getFileSystem(); + logger = new MockLogger(); + rootPath = absoluteFrom('/project'); + outputPath = fs.resolve(rootPath, 'extracted-message-file'); + sourceFilePath = fs.resolve(rootPath, 'test_files/test.js'); + textFile1 = fs.resolve(rootPath, 'test_files/test-1.txt'); + textFile2 = fs.resolve(rootPath, 'test_files/test-2.txt'); + + fs.ensureDir(fs.dirname(sourceFilePath)); + loadTestDirectory(fs, __dirname + '/test_files', absoluteFrom('/project/test_files')); + }); + + describe('extractTranslations()', () => { + it('should ignore non-code files', () => { + extractTranslations({ + rootPath, + sourceLocale: 'en', + sourceFilePaths: [], + format: 'json', + outputPath, + logger, + useSourceMaps: false, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + `{`, + ` "locale": "en",`, + ` "translations": {}`, + `}`, + ].join('\n')); + }); + + it('should extract translations from source code, and write as JSON format', () => { + extractTranslations({ + rootPath, + sourceLocale: 'en-GB', + sourceFilePaths: [sourceFilePath], + format: 'json', + outputPath, + logger, + useSourceMaps: false, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + `{`, + ` "locale": "en-GB",`, + ` "translations": {`, + ` "3291030485717846467": "Hello, {$PH}!",`, + ` "8669027859022295761": "try{$PH}me"`, + ` }`, + `}`, + ].join('\n')); + }); + + it('should extract translations from source code, and write as xmb format', () => { + extractTranslations({ + rootPath, + sourceLocale: 'en', + sourceFilePaths: [sourceFilePath], + format: 'xmb', + outputPath, + logger, + useSourceMaps: false, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + `]>`, + ``, + ` test_files/test.js:1Hello, !`, + ` test_files/test.js:2tryme`, + `\n`, + ].join('\n')); + }); + + it('should extract translations from source code, and write as XLIFF 1.2 format', () => { + extractTranslations({ + rootPath, + sourceLocale: 'en-CA', + sourceFilePaths: [sourceFilePath], + format: 'xliff', + outputPath, + logger, + useSourceMaps: false, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + ``, + ``, + ` `, + ` `, + ` `, + ` Hello, !`, + ` `, + ` test_files/test.js`, + ` 2`, + ` `, + ` `, + ` `, + ` tryme`, + ` `, + ` test_files/test.js`, + ` 3`, + ` `, + ` `, + ` `, + ` `, + `\n`, + ].join('\n')); + }); + + it('should extract translations from source code, and write as XLIFF 2 format', () => { + extractTranslations({ + rootPath, + sourceLocale: 'en-AU', + sourceFilePaths: [sourceFilePath], + format: 'xliff2', + outputPath, + logger, + useSourceMaps: false, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + ``, + ``, + ` `, + ` `, + ` `, + ` Hello, !`, + ` `, + ` `, + ` `, + ` `, + ` tryme`, + ` `, + ` `, + ` `, + `\n`, + ].join('\n')); + }); + + for (const target of ['es2015', 'es5']) { + it(`should render the original location of translations, when processing an ${ + target} bundle with source-maps`, + () => { + extractTranslations({ + rootPath, + sourceLocale: 'en-CA', + sourceFilePaths: [fs.resolve(rootPath, `test_files/dist_${target}/index.js`)], + format: 'xliff', + outputPath, + logger, + useSourceMaps: true, + useLegacyIds: false, + }); + expect(fs.readFile(outputPath)).toEqual([ + ``, + ``, + ` `, + ` `, + ` `, + ` Message in !`, + ` `, + // These source file paths are due to how Bazel TypeScript compilation source-maps work + ` ../packages/localize/src/tools/test/extract/integration/test_files/src/a.ts`, + ` 3`, + ` `, + ` `, + ` `, + ` Message in !`, + ` `, + ` ../packages/localize/src/tools/test/extract/integration/test_files/src/b.ts`, + ` 3`, + ` `, + ` `, + ` `, + ` `, + `\n`, + ].join('\n')); + }); + } + }); +}); diff --git a/packages/localize/src/tools/test/extract/integration/test_files/BUILD.bazel b/packages/localize/src/tools/test/extract/integration/test_files/BUILD.bazel new file mode 100644 index 0000000000..3abde62d10 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/BUILD.bazel @@ -0,0 +1,54 @@ +package(default_visibility = ["//packages/localize/src/tools/test/extract/integration:__pkg__"]) + +load("@npm//typescript:index.bzl", "tsc") + +tsc( + name = "compile_es5", + outs = [ + "dist_es5/index.js", + "dist_es5/index.js.map", + ], + args = [ + "--target", + "es5", + "--module", + "amd", + "--outFile", + "$(execpath dist_es5/index.js)", + "--skipLibCheck", + "--sourceMap", + "--inlineSources", + "$(execpath src/index.ts)", + ], + data = glob(["src/*.ts"]), +) + +tsc( + name = "compile_es2015", + outs = [ + "dist_es2015/index.js", + "dist_es2015/index.js.map", + ], + args = [ + "--target", + "es2015", + "--module", + "amd", + "--outFile", + "$(execpath dist_es2015/index.js)", + "--skipLibCheck", + "--sourceMap", + "--inlineSources", + "$(execpath src/index.ts)", + ], + data = glob(["src/*.ts"]), +) + +filegroup( + name = "test_files", + srcs = glob([ + "**/*.js", + "**/*.txt", + "**/*.ts", + ]), +) diff --git a/packages/localize/src/tools/test/extract/integration/test_files/src/a.ts b/packages/localize/src/tools/test/extract/integration/test_files/src/a.ts new file mode 100644 index 0000000000..47da6f3f06 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/src/a.ts @@ -0,0 +1,3 @@ +declare const $localize: any; +const file = 'a.ts'; +export const messageA = $localize`Message in ${file}:a-file:!`; diff --git a/packages/localize/src/tools/test/extract/integration/test_files/src/b.ts b/packages/localize/src/tools/test/extract/integration/test_files/src/b.ts new file mode 100644 index 0000000000..430df79309 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/src/b.ts @@ -0,0 +1,3 @@ +declare const $localize: any; +const file = 'b.ts'; +export const messageB = $localize`Message in ${file}:b-file:!`; diff --git a/packages/localize/src/tools/test/extract/integration/test_files/src/index.ts b/packages/localize/src/tools/test/extract/integration/test_files/src/index.ts new file mode 100644 index 0000000000..b8e0ef47e6 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/src/index.ts @@ -0,0 +1,2 @@ +export * from './a'; +export * from './b'; diff --git a/packages/localize/src/tools/test/extract/integration/test_files/test-1.txt b/packages/localize/src/tools/test/extract/integration/test_files/test-1.txt new file mode 100644 index 0000000000..46a9dd3a2d --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/test-1.txt @@ -0,0 +1 @@ +Contents of test-1.txt \ No newline at end of file diff --git a/packages/localize/src/tools/test/extract/integration/test_files/test-2.txt b/packages/localize/src/tools/test/extract/integration/test_files/test-2.txt new file mode 100644 index 0000000000..b48d58aff5 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/test-2.txt @@ -0,0 +1 @@ +Contents of test-2.txt \ No newline at end of file diff --git a/packages/localize/src/tools/test/extract/integration/test_files/test.js b/packages/localize/src/tools/test/extract/integration/test_files/test.js new file mode 100644 index 0000000000..cef3d96032 --- /dev/null +++ b/packages/localize/src/tools/test/extract/integration/test_files/test.js @@ -0,0 +1,3 @@ +var name = 'World'; +var message = $localize`Hello, ${name}!`; +var other = $localize(__makeTemplateObject(['try', 'me'], ['try', 'me']), 40 + 2); \ No newline at end of file diff --git a/packages/localize/src/tools/test/extract/translation_files/json_translation_serializer_spec.ts b/packages/localize/src/tools/test/extract/translation_files/json_translation_serializer_spec.ts new file mode 100644 index 0000000000..bcfa7bd36e --- /dev/null +++ b/packages/localize/src/tools/test/extract/translation_files/json_translation_serializer_spec.ts @@ -0,0 +1,42 @@ +/** + * @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 {ɵParsedMessage} from '@angular/localize'; + +import {SimpleJsonTranslationSerializer} from '../../../src/extract/translation_files/json_translation_serializer'; + +import {mockMessage} from './mock_message'; + +describe('JsonTranslationSerializer', () => { + describe('renderFile()', () => { + it('should convert a set of parsed messages into a JSON string', () => { + const messages: ɵParsedMessage[] = [ + mockMessage('12345', ['a', 'b', 'c'], ['PH', 'PH_1'], {meaning: 'some meaning'}), + mockMessage( + '67890', ['a', '', 'c'], ['START_TAG_SPAN', 'CLOSE_TAG_SPAN'], + {description: 'some description'}), + mockMessage('13579', ['', 'b', ''], ['START_BOLD_TEXT', 'CLOSE_BOLD_TEXT'], {}), + mockMessage('24680', ['a'], [], {meaning: 'meaning', description: 'and description'}), + mockMessage('80808', ['multi\nlines'], [], {}), + ]; + const serializer = new SimpleJsonTranslationSerializer('xx'); + const output = serializer.serialize(messages); + expect(output).toEqual([ + `{`, + ` "locale": "xx",`, + ` "translations": {`, + ` "12345": "a{$PH}b{$PH_1}c",`, + ` "13579": "{$START_BOLD_TEXT}b{$CLOSE_BOLD_TEXT}",`, + ` "24680": "a",`, + ` "67890": "a{$START_TAG_SPAN}{$CLOSE_TAG_SPAN}c",`, + ` "80808": "multi\\nlines"`, + ` }`, + `}`, + ].join('\n')); + }); + }); +}); diff --git a/packages/localize/src/tools/test/extract/translation_files/mock_message.ts b/packages/localize/src/tools/test/extract/translation_files/mock_message.ts new file mode 100644 index 0000000000..ec8a747173 --- /dev/null +++ b/packages/localize/src/tools/test/extract/translation_files/mock_message.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 {ɵParsedMessage} from '@angular/localize'; +import {SourceLocation} from '@angular/localize/src/utils'; + +export interface MockMessageOptions { + meaning?: string; + description?: string; + location?: SourceLocation; + legacyIds?: string[]; +} +/** + * This helper is used to create `ParsedMessage` objects to be rendered in the + * `TranslationSerializer` tests. + */ +export function mockMessage( + id: string, messageParts: string[], placeholderNames: string[], + {meaning = '', description = '', location, legacyIds = []}: MockMessageOptions): + ɵParsedMessage { + let text = messageParts[0]; + for (let i = 1; i < messageParts.length; i++) { + text += `{$${placeholderNames[i - 1]}}${messageParts[i]}`; + } + return { + id, + text, + messageParts, + placeholderNames, + description, + meaning, + substitutions: [], + legacyIds, + location, + }; +} diff --git a/packages/localize/src/tools/test/extract/translation_files/xliff1_translation_serializer_spec.ts b/packages/localize/src/tools/test/extract/translation_files/xliff1_translation_serializer_spec.ts new file mode 100644 index 0000000000..2b89404fe2 --- /dev/null +++ b/packages/localize/src/tools/test/extract/translation_files/xliff1_translation_serializer_spec.ts @@ -0,0 +1,84 @@ +/** + * @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 {absoluteFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {ɵParsedMessage} from '@angular/localize'; + +import {Xliff1TranslationSerializer} from '../../../src/extract/translation_files/xliff1_translation_serializer'; + +import {mockMessage} from './mock_message'; + +runInEachFileSystem(() => { + describe('Xliff1TranslationSerializer', () => { + [false, true].forEach(useLegacyIds => { + describe(`renderFile() [using ${useLegacyIds ? 'legacy' : 'canonical'} ids]`, () => { + it('should convert a set of parsed messages into an XML string', () => { + const messages: ɵParsedMessage[] = [ + mockMessage('12345', ['a', 'b', 'c'], ['PH', 'PH_1'], { + meaning: 'some meaning', + location: { + file: absoluteFrom('/project/file.ts'), + start: {line: 5, column: 10}, + end: {line: 5, column: 12} + }, + legacyIds: ['1234567890ABCDEF1234567890ABCDEF12345678', '615790887472569365'], + }), + mockMessage( + '67890', ['a', '', 'c'], ['START_TAG_SPAN', 'CLOSE_TAG_SPAN'], + {description: 'some description'}), + mockMessage('13579', ['', 'b', ''], ['START_BOLD_TEXT', 'CLOSE_BOLD_TEXT'], {}), + mockMessage('24680', ['a'], [], {meaning: 'meaning', description: 'and description'}), + mockMessage('80808', ['multi\nlines'], [], {}), + mockMessage('90000', [''], ['double-quotes-"'], {}) + ]; + const serializer = + new Xliff1TranslationSerializer('xx', absoluteFrom('/project'), useLegacyIds); + const output = serializer.serialize(messages); + expect(output).toEqual([ + ``, + ``, + ` `, + ` `, + ` `, + ` abc`, + ` `, + ` file.ts`, + ` 6`, + ` `, + ` some meaning`, + ` `, + ` `, + ` ac`, + ` some description`, + ` `, + ` `, + ` b`, + ` `, + ` `, + ` a`, + ` and description`, + ` meaning`, + ` `, + ` `, + ` multi`, + `lines`, + ` `, + ` `, + ` <escapeme>`, + ` `, + ` `, + ` `, + `\n`, + ].join('\n')); + }); + }); + }); + }); +}); diff --git a/packages/localize/src/tools/test/extract/translation_files/xliff2_translation_serializer_spec.ts b/packages/localize/src/tools/test/extract/translation_files/xliff2_translation_serializer_spec.ts new file mode 100644 index 0000000000..dbbf0fe84d --- /dev/null +++ b/packages/localize/src/tools/test/extract/translation_files/xliff2_translation_serializer_spec.ts @@ -0,0 +1,102 @@ +/** + * @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 {computeMsgId} from '@angular/compiler'; +import {absoluteFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {ɵParsedMessage} from '@angular/localize'; + +import {Xliff2TranslationSerializer} from '../../../src/extract/translation_files/xliff2_translation_serializer'; + +import {mockMessage} from './mock_message'; + +runInEachFileSystem(() => { + describe('Xliff2TranslationSerializer', () => { + [false, true].forEach(useLegacyIds => { + describe(`renderFile() [using ${useLegacyIds ? 'legacy' : 'canonical'} ids]`, () => { + it('should convert a set of parsed messages into an XML string', () => { + const messages: ɵParsedMessage[] = [ + mockMessage('12345', ['a', 'b', 'c'], ['PH', 'PH_1'], { + meaning: 'some meaning', + location: { + file: absoluteFrom('/project/file.ts'), + start: {line: 5, column: 0}, + end: {line: 5, column: 3} + }, + legacyIds: ['1234567890ABCDEF1234567890ABCDEF12345678', '615790887472569365'], + }), + mockMessage('67890', ['a', '', 'c'], ['START_TAG_SPAN', 'CLOSE_TAG_SPAN'], { + description: 'some description', + location: { + file: absoluteFrom('/project/file.ts'), + start: {line: 2, column: 7}, + end: {line: 3, column: 2} + } + }), + mockMessage('13579', ['', 'b', ''], ['START_BOLD_TEXT', 'CLOSE_BOLD_TEXT'], {}), + mockMessage('24680', ['a'], [], {meaning: 'meaning', description: 'and description'}), + mockMessage('80808', ['multi\nlines'], [], {}), + mockMessage('90000', [''], ['double-quotes-"'], {}) + ]; + const serializer = + new Xliff2TranslationSerializer('xx', absoluteFrom('/project'), useLegacyIds); + const output = serializer.serialize(messages); + expect(output).toEqual([ + ``, + ``, + ` `, + ` `, + ` `, + ` file.ts:6`, + ` some meaning`, + ` `, + ` `, + ` abc`, + ` `, + ` `, + ` `, + ` `, + ` file.ts:3,4`, + ` some description`, + ` `, + ` `, + ` ac`, + ` `, + ` `, + ` `, + ` `, + ` b`, + ` `, + ` `, + ` `, + ` `, + ` and description`, + ` meaning`, + ` `, + ` `, + ` a`, + ` `, + ` `, + ` `, + ` `, + ` multi`, + `lines`, + ` `, + ` `, + ` `, + ` `, + ` <escapeme>`, + ` `, + ` `, + ` `, + `\n`, + ].join('\n')); + }); + }); + }); + }); +}); diff --git a/packages/localize/src/tools/test/extract/translation_files/xmb_translation_serializer_spec.ts b/packages/localize/src/tools/test/extract/translation_files/xmb_translation_serializer_spec.ts new file mode 100644 index 0000000000..45a1608334 --- /dev/null +++ b/packages/localize/src/tools/test/extract/translation_files/xmb_translation_serializer_spec.ts @@ -0,0 +1,53 @@ +/** + * @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 {absoluteFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {ɵParsedMessage} from '@angular/localize'; + +import {XmbTranslationSerializer} from '../../../src/extract/translation_files/xmb_translation_serializer'; + +import {mockMessage} from './mock_message'; + +runInEachFileSystem(() => { + describe('XmbTranslationSerializer', () => { + [false, true].forEach(useLegacyIds => { + describe(`renderFile() [using ${useLegacyIds ? 'legacy' : 'canonical'} ids]`, () => { + it('should convert a set of parsed messages into an XML string', () => { + const messages: ɵParsedMessage[] = [ + mockMessage('12345', ['a', 'b', 'c'], ['PH', 'PH_1'], { + meaning: 'some meaning', + legacyIds: ['1234567890ABCDEF1234567890ABCDEF12345678', '615790887472569365'], + }), + mockMessage( + '67890', ['a', '', 'c'], ['START_TAG_SPAN', 'CLOSE_TAG_SPAN'], + {description: 'some description'}), + mockMessage('13579', ['', 'b', ''], ['START_BOLD_TEXT', 'CLOSE_BOLD_TEXT'], {}), + mockMessage('24680', ['a'], [], {meaning: 'meaning', description: 'and description'}), + mockMessage('80808', ['multi\nlines'], [], {}), + mockMessage('90000', [''], ['double-quotes-"'], {}), + ]; + const serializer = new XmbTranslationSerializer(absoluteFrom('/project'), useLegacyIds); + const output = serializer.serialize(messages); + expect(output).toContain([ + ``, + ` abc`, + ` ac`, + ` b`, + ` a`, + ` multi`, `lines`, + ` <escapeme>`, + `\n` + ].join('\n')); + }); + }); + }); + }); +}); diff --git a/packages/localize/src/tools/test/source_file_utils_spec.ts b/packages/localize/src/tools/test/source_file_utils_spec.ts index f13a566629..b245d8c8cd 100644 --- a/packages/localize/src/tools/test/source_file_utils_spec.ts +++ b/packages/localize/src/tools/test/source_file_utils_spec.ts @@ -1,10 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; import {ɵmakeTemplateObject} from '@angular/localize'; import {NodePath, TransformOptions, transformSync} from '@babel/core'; import generate from '@babel/generator'; @@ -195,23 +197,27 @@ describe('utils', () => { }); }); - describe('getLocation()', () => { - it('should return a plain object containing the start, end and file of a NodePath', () => { - const taggedTemplate = - getTaggedTemplate('const x = $localize ``;', {filename: 'src/test.js'}); - const location = getLocation(taggedTemplate)!; - expect(location).toBeDefined(); - expect(location.start).toEqual({line: 1, column: 10}); - expect(location.start.constructor.name).toEqual('Object'); - expect(location.end).toEqual({line: 1, column: 22}); - expect(location.end.constructor.name).toEqual('Object'); - expect(location.file).toContain('src/test.js'); - }); + runInEachFileSystem(() => { + describe('getLocation()', () => { + it('should return a plain object containing the start, end and file of a NodePath', () => { + const taggedTemplate = getTaggedTemplate('const x = $localize `message`;', { + filename: 'src/test.js', + sourceRoot: '/root', + }); + const location = getLocation(taggedTemplate)!; + expect(location).toBeDefined(); + expect(location.start).toEqual({line: 0, column: 10}); + expect(location.start.constructor.name).toEqual('Object'); + expect(location.end).toEqual({line: 0, column: 29}); + expect(location.end?.constructor.name).toEqual('Object'); + expect(location.file).toEqual(absoluteFrom('/root/src/test.js')); + }); - it('should return undefined if the NodePath has no filename', () => { - const taggedTemplate = getTaggedTemplate('const x = $localize ``;'); - const location = getLocation(taggedTemplate)!; - expect(location).toBeUndefined(); + it('should return `undefined` if the NodePath has no filename', () => { + const taggedTemplate = getTaggedTemplate('const x = $localize ``;', {sourceRoot: '/root'}); + const location = getLocation(taggedTemplate); + expect(location).toBeUndefined(); + }); }); }); }); diff --git a/packages/localize/src/tools/test/translate/asset_files/asset_file_translation_handler_spec.ts b/packages/localize/src/tools/test/translate/asset_files/asset_file_translation_handler_spec.ts index 791656729d..fa7fc32429 100644 --- a/packages/localize/src/tools/test/translate/asset_files/asset_file_translation_handler_spec.ts +++ b/packages/localize/src/tools/test/translate/asset_files/asset_file_translation_handler_spec.ts @@ -1,60 +1,74 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, PathSegment, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; + import {Diagnostics} from '../../../src/diagnostics'; -import {FileUtils} from '../../../src/file_utils'; import {AssetTranslationHandler} from '../../../src/translate/asset_files/asset_translation_handler'; import {TranslationBundle} from '../../../src/translate/translator'; -describe('AssetTranslationHandler', () => { - describe('canTranslate()', () => { - it('should always return true', () => { - const handler = new AssetTranslationHandler(); - expect(handler.canTranslate('relative/path', Buffer.from('contents'))).toBe(true); - }); - }); +runInEachFileSystem(() => { + describe('AssetTranslationHandler', () => { + let fs: FileSystem; + let rootPath: AbsoluteFsPath; + let filePath: PathSegment; + let enTranslationPath: AbsoluteFsPath; + let enUSTranslationPath: AbsoluteFsPath; + let frTranslationPath: AbsoluteFsPath; - describe('translate()', () => { beforeEach(() => { - spyOn(FileUtils, 'writeFile'); - spyOn(FileUtils, 'ensureDir'); + fs = getFileSystem(); + rootPath = absoluteFrom('/root/path'); + filePath = relativeFrom('relative/path'); + enTranslationPath = absoluteFrom('/translations/en/relative/path'); + enUSTranslationPath = absoluteFrom('/translations/en-US/relative/path'); + frTranslationPath = absoluteFrom('/translations/fr/relative/path'); }); - it('should write the translated file for each translation locale', () => { - const diagnostics = new Diagnostics(); - const handler = new AssetTranslationHandler(); - const translations = [ - {locale: 'en', translations: {}}, - {locale: 'fr', translations: {}}, - ]; - const contents = Buffer.from('contents'); - handler.translate( - diagnostics, '/root/path', 'relative/path', contents, mockOutputPathFn, translations); - - expect(FileUtils.writeFile).toHaveBeenCalledWith('/translations/en/relative/path', contents); - expect(FileUtils.writeFile).toHaveBeenCalledWith('/translations/fr/relative/path', contents); + describe('canTranslate()', () => { + it('should always return true', () => { + const handler = new AssetTranslationHandler(fs); + expect(handler.canTranslate(filePath, Buffer.from('contents'))).toBe(true); + }); }); - it('should write the translated file to the source locale if provided', () => { - const diagnostics = new Diagnostics(); - const handler = new AssetTranslationHandler(); - const translations: TranslationBundle[] = []; - const contents = Buffer.from('contents'); - const sourceLocale = 'en-US'; - handler.translate( - diagnostics, '/root/path', 'relative/path', contents, mockOutputPathFn, translations, - sourceLocale); + describe('translate()', () => { + it('should write the translated file for each translation locale', () => { + const diagnostics = new Diagnostics(); + const handler = new AssetTranslationHandler(fs); + const translations = [ + {locale: 'en', translations: {}}, + {locale: 'fr', translations: {}}, + ]; + const contents = Buffer.from('contents'); + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/en-US/relative/path', contents); + expect(fs.readFileBuffer(enTranslationPath)).toEqual(contents); + expect(fs.readFileBuffer(frTranslationPath)).toEqual(contents); + }); + + it('should write the translated file to the source locale if provided', () => { + const diagnostics = new Diagnostics(); + const handler = new AssetTranslationHandler(fs); + const translations: TranslationBundle[] = []; + const contents = Buffer.from('contents'); + const sourceLocale = 'en-US'; + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations, + sourceLocale); + + expect(fs.readFileBuffer(enUSTranslationPath)).toEqual(contents); + }); }); }); -}); -function mockOutputPathFn(locale: string, relativePath: string) { - return `/translations/${locale}/${relativePath}`; -} + function mockOutputPathFn(locale: string, relativePath: string) { + return `/translations/${locale}/${relativePath}`; + } +}); diff --git a/packages/localize/src/tools/test/translate/integration/BUILD.bazel b/packages/localize/src/tools/test/translate/integration/BUILD.bazel index d114c63fff..eb8fca76a1 100644 --- a/packages/localize/src/tools/test/translate/integration/BUILD.bazel +++ b/packages/localize/src/tools/test/translate/integration/BUILD.bazel @@ -8,6 +8,9 @@ ts_library( ), deps = [ "//packages:types", + "//packages/compiler-cli/src/ngtsc/file_system", + "//packages/compiler-cli/src/ngtsc/file_system/testing", + "//packages/compiler-cli/test/helpers", "//packages/localize/src/tools", ], ) diff --git a/packages/localize/src/tools/test/translate/integration/main_spec.ts b/packages/localize/src/tools/test/translate/integration/main_spec.ts index 94a9a30a11..0736dc5a17 100644 --- a/packages/localize/src/tools/test/translate/integration/main_spec.ts +++ b/packages/localize/src/tools/test/translate/integration/main_spec.ts @@ -1,212 +1,220 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {resolve} from 'path'; +import {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; +import {loadTestDirectory} from '@angular/compiler-cli/test/helpers'; +import {resolve as realResolve} from 'path'; import {Diagnostics} from '../../../src/diagnostics'; -import {FileUtils} from '../../../src/file_utils'; import {translateFiles} from '../../../src/translate/main'; import {getOutputPathFn} from '../../../src/translate/output_path'; -describe('translateFiles()', () => { - const tmpDir = process.env.TEST_TMPDIR; - if (tmpDir === undefined) return; +runInEachFileSystem(() => { + describe('translateFiles()', () => { + let fs: FileSystem; + let testDir: AbsoluteFsPath; + let testFilesDir: AbsoluteFsPath; + let translationFilesDir: AbsoluteFsPath; - const testDir = resolve(tmpDir, 'translatedFiles_tests'); + beforeEach(() => { + fs = getFileSystem(); + testDir = absoluteFrom('/test'); - beforeEach(() => FileUtils.ensureDir(testDir)); - afterEach(() => { - FileUtils.remove(testDir); - }); - - it('should copy non-code files to the destination folders', () => { - const diagnostics = new Diagnostics(); - const outputPathFn = getOutputPathFn(resolve(testDir, '{{LOCALE}}')); - translateFiles({ - sourceRootPath: resolve(__dirname, 'test_files'), - sourceFilePaths: resolveAll(__dirname + '/test_files', ['test-1.txt', 'test-2.txt']), - outputPathFn, - translationFilePaths: resolveAll( - __dirname + '/locales', - ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), - translationFileLocales: [], - diagnostics, - missingTranslation: 'error', - duplicateTranslation: 'error', + testFilesDir = fs.resolve(testDir, 'test_files'); + loadTestDirectory(fs, realResolve(__dirname, 'test_files'), testFilesDir); + translationFilesDir = fs.resolve(testDir, 'test_files'); + loadTestDirectory(fs, realResolve(__dirname, 'locales'), translationFilesDir); }); - expect(diagnostics.messages.length).toEqual(0); + it('should copy non-code files to the destination folders', () => { + const diagnostics = new Diagnostics(); + const outputPathFn = getOutputPathFn(fs.resolve(testDir, '{{LOCALE}}')); + translateFiles({ + sourceRootPath: testFilesDir, + sourceFilePaths: ['test-1.txt', 'test-2.txt'], + outputPathFn, + translationFilePaths: resolveAll( + translationFilesDir, + ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), + translationFileLocales: [], + diagnostics, + missingTranslation: 'error', + duplicateTranslation: 'error', + }); - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - }); + expect(diagnostics.messages.length).toEqual(0); - it('should translate and copy source-code files to the destination folders', () => { - const diagnostics = new Diagnostics(); - const outputPathFn = getOutputPathFn(resolve(testDir, '{{LOCALE}}')); - translateFiles({ - sourceRootPath: resolve(__dirname, 'test_files'), - sourceFilePaths: resolveAll(__dirname + '/test_files', ['test.js']), - outputPathFn, - translationFilePaths: resolveAll( - __dirname + '/locales', - ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), - translationFileLocales: [], - diagnostics, - missingTranslation: 'error', - duplicateTranslation: 'error', + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); }); - expect(diagnostics.messages.length).toEqual(0); + it('should translate and copy source-code files to the destination folders', () => { + const diagnostics = new Diagnostics(); + const outputPathFn = getOutputPathFn(fs.resolve(testDir, '{{LOCALE}}')); + translateFiles({ + sourceRootPath: testFilesDir, + sourceFilePaths: ['test.js'], + outputPathFn, + translationFilePaths: resolveAll( + translationFilesDir, + ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), + translationFileLocales: [], + diagnostics, + missingTranslation: 'error', + duplicateTranslation: 'error', + }); - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test.js'))) - .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test.js'))) - .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test.js'))) - .toEqual(`var name="World";var message="Hola, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test.js'))) - .toEqual(`var name="World";var message="Ciao, "+name+"!";`); - }); + expect(diagnostics.messages.length).toEqual(0); - it('should translate and copy source-code files overriding the locales', () => { - const diagnostics = new Diagnostics(); - const outputPathFn = getOutputPathFn(resolve(testDir, '{{LOCALE}}')); - translateFiles({ - sourceRootPath: resolve(__dirname, 'test_files'), - sourceFilePaths: resolveAll(__dirname + '/test_files', ['test.js']), - outputPathFn, - translationFilePaths: resolveAll( - __dirname + '/locales', - ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), - translationFileLocales: ['xde', undefined, 'fr'], - diagnostics, - missingTranslation: 'error', - duplicateTranslation: 'error', + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test.js'))) + .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test.js'))) + .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test.js'))) + .toEqual(`var name="World";var message="Hola, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test.js'))) + .toEqual(`var name="World";var message="Ciao, "+name+"!";`); }); - expect(diagnostics.messages.length).toEqual(1); - expect(diagnostics.messages).toContain({ - type: 'warning', - message: - `The provided locale "xde" does not match the target locale "de" found in the translation file "${ - resolve(__dirname, 'locales', 'messages.de.json')}".` + it('should translate and copy source-code files overriding the locales', () => { + const diagnostics = new Diagnostics(); + const outputPathFn = getOutputPathFn(fs.resolve(testDir, '{{LOCALE}}')); + translateFiles({ + sourceRootPath: testFilesDir, + sourceFilePaths: ['test.js'], + outputPathFn, + translationFilePaths: resolveAll( + translationFilesDir, + ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), + translationFileLocales: ['xde', undefined, 'fr'], + diagnostics, + missingTranslation: 'error', + duplicateTranslation: 'error', + }); + + expect(diagnostics.messages.length).toEqual(1); + expect(diagnostics.messages).toContain({ + type: 'warning', + message: + `The provided locale "xde" does not match the target locale "de" found in the translation file "${ + fs.resolve(translationFilesDir, 'messages.de.json')}".` + }); + + expect(fs.readFile(fs.resolve(testDir, 'xde', 'test.js'))) + .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test.js'))) + .toEqual(`var name="World";var message="Hola, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test.js'))) + .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test.js'))) + .toEqual(`var name="World";var message="Ciao, "+name+"!";`); }); - expect(FileUtils.readFile(resolve(testDir, 'xde', 'test.js'))) - .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test.js'))) - .toEqual(`var name="World";var message="Hola, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test.js'))) - .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test.js'))) - .toEqual(`var name="World";var message="Ciao, "+name+"!";`); - }); + it('should merge translation files, if more than one provided, and translate source-code', () => { + const diagnostics = new Diagnostics(); + const outputPathFn = getOutputPathFn(fs.resolve(testDir, '{{LOCALE}}')); + translateFiles({ + sourceRootPath: testFilesDir, + sourceFilePaths: ['test-extra.js'], + outputPathFn, + translationFilePaths: resolveAllRecursive( + translationFilesDir, + [['messages.de.json', 'messages-extra.de.json'], 'messages.es.xlf']), + translationFileLocales: [], + diagnostics, + missingTranslation: 'error', + duplicateTranslation: 'error', + }); - it('should merge translation files, if more than one provided, and translate source-code', () => { - const diagnostics = new Diagnostics(); - const outputPathFn = getOutputPathFn(resolve(testDir, '{{LOCALE}}')); - translateFiles({ - sourceRootPath: resolve(__dirname, 'test_files'), - sourceFilePaths: resolveAll(__dirname + '/test_files', ['test-extra.js']), - outputPathFn, - translationFilePaths: resolveAllRecursive( - __dirname + '/locales', - [['messages.de.json', 'messages-extra.de.json'], 'messages.es.xlf']), - translationFileLocales: [], - diagnostics, - missingTranslation: 'error', - duplicateTranslation: 'error', + expect(diagnostics.messages.length).toEqual(1); + // There is no "extra" translation in the `es` locale translation file. + expect(diagnostics.messages[0]).toEqual({ + type: 'error', + message: 'No translation found for "customExtra" ("Goodbye, {$PH}!").' + }); + + // The `de` locale translates the `customExtra` message because it is in the + // `messages-extra.de.json` file that was merged. + expect(fs.readFile(fs.resolve(testDir, 'de', 'test-extra.js'))) + .toEqual( + `var name="World";var message="Guten Tag, "+name+"!";var message="Auf wiedersehen, "+name+"!";`); + // The `es` locale does not translate `customExtra` because there is no translation for it. + expect(fs.readFile(fs.resolve(testDir, 'es', 'test-extra.js'))) + .toEqual( + `var name="World";var message="Hola, "+name+"!";var message="Goodbye, "+name+"!";`); }); - expect(diagnostics.messages.length).toEqual(1); - // There is no "extra" translation in the `es` locale translation file. - expect(diagnostics.messages[0]).toEqual({ - type: 'error', - message: 'No translation found for "customExtra" ("Goodbye, {$PH}!").' + it('should transform and/or copy files to the destination folders', () => { + const diagnostics = new Diagnostics(); + const outputPathFn = getOutputPathFn(fs.resolve(testDir, '{{LOCALE}}')); + translateFiles({ + sourceRootPath: testFilesDir, + sourceFilePaths: ['test-1.txt', 'test-2.txt', 'test.js'], + outputPathFn, + translationFilePaths: resolveAll( + translationFilesDir, + ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), + translationFileLocales: [], + diagnostics, + missingTranslation: 'error', + duplicateTranslation: 'error', + }); + + expect(diagnostics.messages.length).toEqual(0); + + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test-1.txt'))) + .toEqual('Contents of test-1.txt'); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test-2.txt'))) + .toEqual('Contents of test-2.txt'); + + expect(fs.readFile(fs.resolve(testDir, 'fr', 'test.js'))) + .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'de', 'test.js'))) + .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'es', 'test.js'))) + .toEqual(`var name="World";var message="Hola, "+name+"!";`); + expect(fs.readFile(fs.resolve(testDir, 'it', 'test.js'))) + .toEqual(`var name="World";var message="Ciao, "+name+"!";`); }); - // The `de` locale translates the `customExtra` message because it is in the - // `messages-extra.de.json` file that was merged. - expect(FileUtils.readFile(resolve(testDir, 'de', 'test-extra.js'))) - .toEqual( - `var name="World";var message="Guten Tag, "+name+"!";var message="Auf wiedersehen, "+name+"!";`); - // The `es` locale does not translate `customExtra` because there is no translation for it. - expect(FileUtils.readFile(resolve(testDir, 'es', 'test-extra.js'))) - .toEqual( - `var name="World";var message="Hola, "+name+"!";var message="Goodbye, "+name+"!";`); - }); - - it('should transform and/or copy files to the destination folders', () => { - const diagnostics = new Diagnostics(); - const outputPathFn = getOutputPathFn(resolve(testDir, '{{LOCALE}}')); - translateFiles({ - sourceRootPath: resolve(__dirname, 'test_files'), - sourceFilePaths: - resolveAll(__dirname + '/test_files', ['test-1.txt', 'test-2.txt', 'test.js']), - outputPathFn, - translationFilePaths: resolveAll( - __dirname + '/locales', - ['messages.de.json', 'messages.es.xlf', 'messages.fr.xlf', 'messages.it.xtb']), - translationFileLocales: [], - diagnostics, - missingTranslation: 'error', - duplicateTranslation: 'error', - }); - - expect(diagnostics.messages.length).toEqual(0); - - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test-1.txt'))) - .toEqual('Contents of test-1.txt'); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test-2.txt'))) - .toEqual('Contents of test-2.txt'); - - expect(FileUtils.readFile(resolve(testDir, 'fr', 'test.js'))) - .toEqual(`var name="World";var message="Bonjour, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'de', 'test.js'))) - .toEqual(`var name="World";var message="Guten Tag, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'es', 'test.js'))) - .toEqual(`var name="World";var message="Hola, "+name+"!";`); - expect(FileUtils.readFile(resolve(testDir, 'it', 'test.js'))) - .toEqual(`var name="World";var message="Ciao, "+name+"!";`); + function resolveAll(rootPath: string, paths: string[]): string[] { + return paths.map(p => fs.resolve(rootPath, p)); + } + function resolveAllRecursive( + rootPath: string, paths: (string|string[])[]): (string|string[])[] { + return paths.map( + p => Array.isArray(p) ? p.map(p2 => fs.resolve(rootPath, p2)) : fs.resolve(rootPath, p)); + } }); }); - -function resolveAll(rootPath: string, paths: string[]): string[] { - return paths.map(p => resolve(rootPath, p)); -} - -function resolveAllRecursive(rootPath: string, paths: (string|string[])[]): (string|string[])[] { - return paths.map( - p => Array.isArray(p) ? p.map(p2 => resolve(rootPath, p2)) : resolve(rootPath, p)); -} diff --git a/packages/localize/src/tools/test/translate/output_path_spec.ts b/packages/localize/src/tools/test/translate/output_path_spec.ts index f952d54706..37f0024db7 100644 --- a/packages/localize/src/tools/test/translate/output_path_spec.ts +++ b/packages/localize/src/tools/test/translate/output_path_spec.ts @@ -1,44 +1,42 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; + import {getOutputPathFn} from '../../src/translate/output_path'; -describe('getOutputPathFn()', () => { - it('should return a function that joins the `outputPath` and the `relativePath`', () => { - const fn = getOutputPathFn('/output/path'); - expect(fn('en', 'relative/path')).toEqual('/output/path/relative/path'); - expect(fn('en', '../parent/path')).toEqual('/output/parent/path'); +runInEachFileSystem(() => { + describe('getOutputPathFn()', () => { + it('should return a function that joins the `outputPath` and the `relativePath`', () => { + const fn = getOutputPathFn(absoluteFrom('/output/path')); + expect(fn('en', 'relative/path')).toEqual(absoluteFrom('/output/path/relative/path')); + expect(fn('en', '../parent/path')).toEqual(absoluteFrom('/output/parent/path')); + }); + + it('should return a function that interpolates the `{{LOCALE}}` in the middle of the `outputPath`', + () => { + const fn = getOutputPathFn(absoluteFrom('/output/{{LOCALE}}/path')); + expect(fn('en', 'relative/path')).toEqual(absoluteFrom('/output/en/path/relative/path')); + expect(fn('fr', 'relative/path')).toEqual(absoluteFrom('/output/fr/path/relative/path')); + }); + + it('should return a function that interpolates the `{{LOCALE}}` in the middle of a path segment in the `outputPath`', + () => { + const fn = getOutputPathFn(absoluteFrom('/output-{{LOCALE}}-path')); + expect(fn('en', 'relative/path')).toEqual(absoluteFrom('/output-en-path/relative/path')); + expect(fn('fr', 'relative/path')).toEqual(absoluteFrom('/output-fr-path/relative/path')); + }); + + it('should return a function that interpolates the `{{LOCALE}}` at the end of the `outputPath`', + () => { + const fn = getOutputPathFn(absoluteFrom('/output/{{LOCALE}}')); + expect(fn('en', 'relative/path')).toEqual(absoluteFrom('/output/en/relative/path')); + expect(fn('fr', 'relative/path')).toEqual(absoluteFrom('/output/fr/relative/path')); + }); }); - - it('should return a function that interpolates the `{{LOCALE}}` in the middle of the `outputPath`', - () => { - const fn = getOutputPathFn('/output/{{LOCALE}}/path'); - expect(fn('en', 'relative/path')).toEqual('/output/en/path/relative/path'); - expect(fn('fr', 'relative/path')).toEqual('/output/fr/path/relative/path'); - }); - - it('should return a function that interpolates the `{{LOCALE}}` in the middle of a path segment in the `outputPath`', - () => { - const fn = getOutputPathFn('/output-{{LOCALE}}-path'); - expect(fn('en', 'relative/path')).toEqual('/output-en-path/relative/path'); - expect(fn('fr', 'relative/path')).toEqual('/output-fr-path/relative/path'); - }); - - it('should return a function that interpolates the `{{LOCALE}}` at the start of the `outputPath`', - () => { - const fn = getOutputPathFn('{{LOCALE}}/path'); - expect(fn('en', 'relative/path')).toEqual('en/path/relative/path'); - expect(fn('fr', 'relative/path')).toEqual('fr/path/relative/path'); - }); - - it('should return a function that interpolates the `{{LOCALE}}` at the end of the `outputPath`', - () => { - const fn = getOutputPathFn('/output/{{LOCALE}}'); - expect(fn('en', 'relative/path')).toEqual('/output/en/relative/path'); - expect(fn('fr', 'relative/path')).toEqual('/output/fr/relative/path'); - }); -}); \ No newline at end of file +}); diff --git a/packages/localize/src/tools/test/translate/source_files/es2015_translate_plugin_spec.ts b/packages/localize/src/tools/test/translate/source_files/es2015_translate_plugin_spec.ts index 783493941a..95c9ed2274 100644 --- a/packages/localize/src/tools/test/translate/source_files/es2015_translate_plugin_spec.ts +++ b/packages/localize/src/tools/test/translate/source_files/es2015_translate_plugin_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/source_files/es5_translate_plugin_spec.ts b/packages/localize/src/tools/test/translate/source_files/es5_translate_plugin_spec.ts index a47dff362e..82af15cfa5 100644 --- a/packages/localize/src/tools/test/translate/source_files/es5_translate_plugin_spec.ts +++ b/packages/localize/src/tools/test/translate/source_files/es5_translate_plugin_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/source_files/locale_plugin_spec.ts b/packages/localize/src/tools/test/translate/source_files/locale_plugin_spec.ts index 637c10a05c..05bf5a096f 100644 --- a/packages/localize/src/tools/test/translate/source_files/locale_plugin_spec.ts +++ b/packages/localize/src/tools/test/translate/source_files/locale_plugin_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/source_files/source_file_translation_handler_spec.ts b/packages/localize/src/tools/test/translate/source_files/source_file_translation_handler_spec.ts index ef56567330..c8a09c4c57 100644 --- a/packages/localize/src/tools/test/translate/source_files/source_file_translation_handler_spec.ts +++ b/packages/localize/src/tools/test/translate/source_files/source_file_translation_handler_spec.ts @@ -1,132 +1,139 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, PathSegment, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; + import {Diagnostics} from '../../../src/diagnostics'; -import {FileUtils} from '../../../src/file_utils'; import {SourceFileTranslationHandler} from '../../../src/translate/source_files/source_file_translation_handler'; import {TranslationBundle} from '../../../src/translate/translator'; -describe('SourceFileTranslationHandler', () => { - describe('canTranslate()', () => { - it('should return true if the path ends in ".js"', () => { - const handler = new SourceFileTranslationHandler(); - expect(handler.canTranslate('relative/path', Buffer.from('contents'))).toBe(false); - expect(handler.canTranslate('relative/path.js', Buffer.from('contents'))).toBe(true); - }); - }); +runInEachFileSystem(() => { + describe('SourceFileTranslationHandler', () => { + let fs: FileSystem; + let rootPath: AbsoluteFsPath; + let filePath: PathSegment; + let enTranslationPath: AbsoluteFsPath; + let enUSTranslationPath: AbsoluteFsPath; + let frTranslationPath: AbsoluteFsPath; - describe('translate()', () => { beforeEach(() => { - spyOn(FileUtils, 'writeFile'); + fs = getFileSystem(); + rootPath = absoluteFrom('/root/path'); + filePath = relativeFrom('relative/path.js'); + enTranslationPath = absoluteFrom('/translations/en/relative/path.js'); + enUSTranslationPath = absoluteFrom('/translations/en-US/relative/path.js'); + frTranslationPath = absoluteFrom('/translations/fr/relative/path.js'); }); - it('should copy files for each translation locale if they contain no reference to `$localize`', - () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations = [ - {locale: 'en', translations: {}}, - {locale: 'fr', translations: {}}, - ]; - const contents = Buffer.from('contents'); - handler.translate( - diagnostics, '/root/path', 'relative/path', contents, mockOutputPathFn, translations); - - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/en/relative/path', contents); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/fr/relative/path', contents); - }); - - it('should copy files to the source locale if they contain no reference to `$localize` and `sourceLocale` is provided', - () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations: TranslationBundle[] = []; - const contents = Buffer.from('contents'); - handler.translate( - diagnostics, '/root/path', 'relative/path', contents, mockOutputPathFn, translations, - 'en-US'); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/en-US/relative/path', contents); - }); - - it('should transform each $localize template tag', () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations = [ - {locale: 'en', translations: {}}, - {locale: 'fr', translations: {}}, - ]; - const contents = Buffer.from( - '$localize`a${1}b${2}c`;\n' + - '$localize(__makeTemplateObject(["a", "b", "c"], ["a", "b", "c"]), 1, 2);'); - const output = '"a"+1+"b"+2+"c";"a"+1+"b"+2+"c";'; - handler.translate( - diagnostics, '/root/path', 'relative/path.js', contents, mockOutputPathFn, translations); - - expect(FileUtils.writeFile).toHaveBeenCalledWith('/translations/en/relative/path.js', output); - expect(FileUtils.writeFile).toHaveBeenCalledWith('/translations/fr/relative/path.js', output); + describe('canTranslate()', () => { + it('should return true if the path ends in ".js"', () => { + const handler = new SourceFileTranslationHandler(fs); + expect(handler.canTranslate(relativeFrom('relative/path'), Buffer.from('contents'))) + .toBe(false); + expect(handler.canTranslate(filePath, Buffer.from('contents'))).toBe(true); + }); }); - it('should transform each $localize template tag and write it to the source locale if provided', - () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations: TranslationBundle[] = []; - const contents = Buffer.from( - '$localize`a${1}b${2}c`;\n' + - '$localize(__makeTemplateObject(["a", "b", "c"], ["a", "b", "c"]), 1, 2);'); - const output = '"a"+1+"b"+2+"c";"a"+1+"b"+2+"c";'; - handler.translate( - diagnostics, '/root/path', 'relative/path.js', contents, mockOutputPathFn, - translations, 'en-US'); + describe('translate()', () => { + it('should copy files for each translation locale if they contain no reference to `$localize`', + () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations = [ + {locale: 'en', translations: {}}, + {locale: 'fr', translations: {}}, + ]; + const contents = Buffer.from('contents'); + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/en-US/relative/path.js', output); - }); + expect(fs.readFileBuffer(enTranslationPath)).toEqual(contents); + expect(fs.readFileBuffer(frTranslationPath)).toEqual(contents); + }); - it('should transform `$localize.locale` identifiers', () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations: TranslationBundle[] = [ - {locale: 'fr', translations: {}}, - ]; - const contents = Buffer.from( - 'const x = $localize.locale;\n' + - 'const y = typeof $localize !== "undefined" && $localize.locale;\n' + - 'const z = "undefined" !== typeof $localize && $localize.locale || "default";'); - const getOutput = (locale: string) => - `const x="${locale}";const y="${locale}";const z="${locale}"||"default";`; + it('should copy files to the source locale if they contain no reference to `$localize` and `sourceLocale` is provided', + () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations: TranslationBundle[] = []; + const contents = Buffer.from('contents'); + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations, 'en-US'); + expect(fs.readFileBuffer(enUSTranslationPath)).toEqual(contents); + }); - handler.translate( - diagnostics, '/root/path', 'relative/path.js', contents, mockOutputPathFn, translations, - 'en-US'); + it('should transform each $localize template tag', () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations = [ + {locale: 'en', translations: {}}, + {locale: 'fr', translations: {}}, + ]; + const contents = Buffer.from( + '$localize`a${1}b${2}c`;\n' + + '$localize(__makeTemplateObject(["a", "b", "c"], ["a", "b", "c"]), 1, 2);'); + const output = '"a"+1+"b"+2+"c";"a"+1+"b"+2+"c";'; + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/fr/relative/path.js', getOutput('fr')); - expect(FileUtils.writeFile) - .toHaveBeenCalledWith('/translations/en-US/relative/path.js', getOutput('en-US')); - }); + expect(fs.readFile(enTranslationPath)).toEqual(output); + expect(fs.readFile(frTranslationPath)).toEqual(output); + }); - it('should error if the file is not valid JS', () => { - const diagnostics = new Diagnostics(); - const handler = new SourceFileTranslationHandler(); - const translations = [{locale: 'en', translations: {}}]; - const contents = Buffer.from('this is not a valid $localize file.'); - expect( - () => handler.translate( - diagnostics, '/root/path', 'relative/path.js', contents, mockOutputPathFn, - translations)) - .toThrowError(); + it('should transform each $localize template tag and write it to the source locale if provided', + () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations: TranslationBundle[] = []; + const contents = Buffer.from( + '$localize`a${1}b${2}c`;\n' + + '$localize(__makeTemplateObject(["a", "b", "c"], ["a", "b", "c"]), 1, 2);'); + const output = '"a"+1+"b"+2+"c";"a"+1+"b"+2+"c";'; + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations, 'en-US'); + + expect(fs.readFile(enUSTranslationPath)).toEqual(output); + }); + + it('should transform `$localize.locale` identifiers', () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations: TranslationBundle[] = [ + {locale: 'fr', translations: {}}, + ]; + const contents = Buffer.from( + 'const x = $localize.locale;\n' + + 'const y = typeof $localize !== "undefined" && $localize.locale;\n' + + 'const z = "undefined" !== typeof $localize && $localize.locale || "default";'); + const getOutput = (locale: string) => + `const x="${locale}";const y="${locale}";const z="${locale}"||"default";`; + + handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations, 'en-US'); + + expect(fs.readFile(frTranslationPath)).toEqual(getOutput('fr')); + expect(fs.readFile(enUSTranslationPath)).toEqual(getOutput('en-US')); + }); + + it('should error if the file is not valid JS', () => { + const diagnostics = new Diagnostics(); + const handler = new SourceFileTranslationHandler(fs); + const translations = [{locale: 'en', translations: {}}]; + const contents = Buffer.from('this is not a valid $localize file.'); + expect( + () => handler.translate( + diagnostics, rootPath, filePath, contents, mockOutputPathFn, translations)) + .toThrowError(); + }); }); }); -}); -function mockOutputPathFn(locale: string, relativePath: string) { - return `/translations/${locale}/${relativePath}`; -} + function mockOutputPathFn(locale: string, relativePath: string) { + return `/translations/${locale}/${relativePath}`; + } +}); diff --git a/packages/localize/src/tools/test/translate/translation_files/translation_loader_spec.ts b/packages/localize/src/tools/test/translate/translation_files/translation_loader_spec.ts index 147a12185c..3b2c54c148 100644 --- a/packages/localize/src/tools/test/translate/translation_files/translation_loader_spec.ts +++ b/packages/localize/src/tools/test/translate/translation_files/translation_loader_spec.ts @@ -1,220 +1,233 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; import {ɵParsedTranslation, ɵparseTranslation} from '@angular/localize'; import {DiagnosticHandlingStrategy, Diagnostics} from '../../../src/diagnostics'; -import {FileUtils} from '../../../src/file_utils'; import {TranslationLoader} from '../../../src/translate/translation_files/translation_loader'; +import {SimpleJsonTranslationParser} from '../../../src/translate/translation_files/translation_parsers/simple_json_translation_parser'; import {TranslationParser} from '../../../src/translate/translation_files/translation_parsers/translation_parser'; -describe('TranslationLoader', () => { - describe('loadBundles()', () => { - const alwaysCanParse = () => true; - const neverCanParse = () => false; +runInEachFileSystem(() => { + describe('TranslationLoader', () => { + describe('loadBundles()', () => { + const alwaysCanParse = () => true; + const neverCanParse = () => false; - beforeEach(() => { - spyOn(FileUtils, 'readFile').and.returnValues('english messages', 'french messages'); - }); + let fs: FileSystem; + let enTranslationPath: AbsoluteFsPath; + const enTranslationContent = '{"locale": "en", "translations": {"a": "A"}}'; + let frTranslationPath: AbsoluteFsPath; + const frTranslationContent = '{"locale": "fr", "translations": {"a": "A"}}'; + let frExtraTranslationPath: AbsoluteFsPath; + const frExtraTranslationContent = '{"locale": "fr", "translations": {"b": "B"}}'; + let jsonParser: SimpleJsonTranslationParser; - it('should call `canParse()` and `parse()` for each file', () => { - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(alwaysCanParse, 'fr'); - const loader = new TranslationLoader([parser], 'error', diagnostics); - loader.loadBundles([['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], []); - expect(parser.log).toEqual([ - 'canParse(/src/locale/messages.en.xlf, english messages)', - 'parse(/src/locale/messages.en.xlf, english messages)', - 'canParse(/src/locale/messages.fr.xlf, french messages)', - 'parse(/src/locale/messages.fr.xlf, french messages)', - ]); - }); + beforeEach(() => { + fs = getFileSystem(); + enTranslationPath = absoluteFrom('/src/locale/messages.en.json'); + frTranslationPath = absoluteFrom('/src/locale/messages.fr.json'); + frExtraTranslationPath = absoluteFrom('/src/locale/extra.fr.json'); + fs.ensureDir(absoluteFrom('/src/locale')); + fs.writeFile(enTranslationPath, enTranslationContent); + fs.writeFile(frTranslationPath, frTranslationContent); + fs.writeFile(frExtraTranslationPath, frExtraTranslationContent); + jsonParser = new SimpleJsonTranslationParser(); + }); - it('should stop at the first parser that can parse each file', () => { - const diagnostics = new Diagnostics(); - const parser1 = new MockTranslationParser(neverCanParse); - const parser2 = new MockTranslationParser(alwaysCanParse, 'fr'); - const parser3 = new MockTranslationParser(alwaysCanParse, 'en'); - const loader = new TranslationLoader([parser1, parser2, parser3], 'error', diagnostics); - loader.loadBundles([['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], []); - expect(parser1.log).toEqual([ - 'canParse(/src/locale/messages.en.xlf, english messages)', - 'canParse(/src/locale/messages.fr.xlf, french messages)', - ]); - expect(parser2.log).toEqual([ - 'canParse(/src/locale/messages.en.xlf, english messages)', - 'parse(/src/locale/messages.en.xlf, english messages)', - 'canParse(/src/locale/messages.fr.xlf, french messages)', - 'parse(/src/locale/messages.fr.xlf, french messages)', - ]); - }); + it('should call `canParse()` and `parse()` for each file', () => { + const diagnostics = new Diagnostics(); + const parser = new MockTranslationParser(alwaysCanParse, 'fr'); + const loader = new TranslationLoader(fs, [parser], 'error', diagnostics); + loader.loadBundles([[enTranslationPath], [frTranslationPath]], []); + expect(parser.log).toEqual([ + `canParse(${enTranslationPath}, ${enTranslationContent})`, + `parse(${enTranslationPath}, ${enTranslationContent})`, + `canParse(${frTranslationPath}, ${frTranslationContent})`, + `parse(${frTranslationPath}, ${frTranslationContent})`, + ]); + }); - it('should return locale and translations parsed from each file', () => { - const translations = {}; - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(alwaysCanParse, 'pl', translations); - const loader = new TranslationLoader([parser], 'error', diagnostics); - const result = loader.loadBundles( - [['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], []); - expect(result).toEqual([ - {locale: 'pl', translations, diagnostics: new Diagnostics()}, - {locale: 'pl', translations, diagnostics: new Diagnostics()}, - ]); - }); + it('should stop at the first parser that can parse each file', () => { + const diagnostics = new Diagnostics(); + const parser1 = new MockTranslationParser(neverCanParse); + const parser2 = new MockTranslationParser(alwaysCanParse, 'fr'); + const parser3 = new MockTranslationParser(alwaysCanParse, 'en'); + const loader = new TranslationLoader(fs, [parser1, parser2, parser3], 'error', diagnostics); + loader.loadBundles([[enTranslationPath], [frTranslationPath]], []); + expect(parser1.log).toEqual([ + `canParse(${enTranslationPath}, ${enTranslationContent})`, + `canParse(${frTranslationPath}, ${frTranslationContent})`, + ]); + expect(parser2.log).toEqual([ + `canParse(${enTranslationPath}, ${enTranslationContent})`, + `parse(${enTranslationPath}, ${enTranslationContent})`, + `canParse(${frTranslationPath}, ${frTranslationContent})`, + `parse(${frTranslationPath}, ${frTranslationContent})`, + ]); + }); - it('should return the provided locale if there is no parsed locale', () => { - const translations = {}; - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(alwaysCanParse, undefined, translations); - const loader = new TranslationLoader([parser], 'error', diagnostics); - const result = loader.loadBundles( - [['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], ['en', 'fr']); - expect(result).toEqual([ - {locale: 'en', translations, diagnostics: new Diagnostics()}, - {locale: 'fr', translations, diagnostics: new Diagnostics()}, - ]); - }); + it('should return locale and translations parsed from each file', () => { + const translations = {}; + const diagnostics = new Diagnostics(); + const parser = new MockTranslationParser(alwaysCanParse, 'pl', translations); + const loader = new TranslationLoader(fs, [parser], 'error', diagnostics); + const result = loader.loadBundles([[enTranslationPath], [frTranslationPath]], []); + expect(result).toEqual([ + {locale: 'pl', translations, diagnostics: new Diagnostics()}, + {locale: 'pl', translations, diagnostics: new Diagnostics()}, + ]); + }); - it('should merge multiple translation files, if given, for a each locale', () => { - const diagnostics = new Diagnostics(); - const parser1 = new MockTranslationParser( - f => f.includes('messages.fr'), 'fr', {'a': ɵparseTranslation('A')}); - const parser2 = new MockTranslationParser( - f => f.includes('extra.fr'), 'fr', {'b': ɵparseTranslation('B')}); - const loader = new TranslationLoader([parser1, parser2], 'error', diagnostics); - const result = - loader.loadBundles([['/src/locale/messages.fr.xlf', '/src/locale/extra.fr.xlf']], []); - expect(result).toEqual([ - { - locale: 'fr', - translations: {'a': ɵparseTranslation('A'), 'b': ɵparseTranslation('B')}, - diagnostics: new Diagnostics(), - }, - ]); - }); + it('should return the provided locale if there is no parsed locale', () => { + const translations = {}; + const diagnostics = new Diagnostics(); + const parser = new MockTranslationParser(alwaysCanParse, undefined, translations); + const loader = new TranslationLoader(fs, [parser], 'error', diagnostics); + const result = loader.loadBundles([[enTranslationPath], [frTranslationPath]], ['en', 'fr']); + expect(result).toEqual([ + {locale: 'en', translations, diagnostics: new Diagnostics()}, + {locale: 'fr', translations, diagnostics: new Diagnostics()}, + ]); + }); - const allDiagnosticModes: DiagnosticHandlingStrategy[] = ['ignore', 'warning', 'error']; - allDiagnosticModes.forEach( - mode => it( - `should ${mode} on duplicate messages when merging multiple translation files`, () => { - const diagnostics = new Diagnostics(); - const parser1 = new MockTranslationParser( - f => f.includes('messages.fr'), 'fr', {'a': ɵparseTranslation('A')}); - const parser2 = new MockTranslationParser( - f => f.includes('extra.fr'), 'fr', {'a': ɵparseTranslation('B')}); - const loader = new TranslationLoader([parser1, parser2], mode, diagnostics); - const result = loader.loadBundles( - [['/src/locale/messages.fr.xlf', '/src/locale/extra.fr.xlf']], []); - expect(result).toEqual([ - { - locale: 'fr', - translations: {'a': ɵparseTranslation('A')}, - diagnostics: jasmine.any(Diagnostics), - }, - ]); - - if (mode === 'error' || mode === 'warning') { - expect(diagnostics.messages).toEqual([{ - type: mode, - message: - `Duplicate translations for message "a" when merging "/src/locale/extra.fr.xlf".` - }]); - } - })); - - it('should warn if the provided locales do not match the parsed locales', () => { - const translations = {}; - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(alwaysCanParse, 'pl', translations); - const loader = new TranslationLoader([parser], 'error', diagnostics); - loader.loadBundles( - [['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], [undefined, 'FR']); - expect(diagnostics.messages.length).toEqual(1); - expect(diagnostics.messages) - .toContain( - { - type: 'warning', - message: - `The provided locale "FR" does not match the target locale "pl" found in the translation file "/src/locale/messages.fr.xlf".`, - }, - ); - }); - - it('should warn on differing target locales when merging multiple translation files', () => { - const diagnostics = new Diagnostics(); - const parser1 = new MockTranslationParser( - f => f.includes('messages-1.fr'), 'fr', {'a': ɵparseTranslation('A')}); - const parser2 = new MockTranslationParser( - f => f.includes('messages-2.fr'), 'fr', {'b': ɵparseTranslation('B')}); - const parser3 = new MockTranslationParser( - f => f.includes('messages.de'), 'de', {'c': ɵparseTranslation('C')}); - const loader = new TranslationLoader([parser1, parser2, parser3], 'error', diagnostics); - const result = loader.loadBundles( - [[ - '/src/locale/messages-1.fr.xlf', '/src/locale/messages-2.fr.xlf', - '/src/locale/messages.de.xlf' - ]], - []); - expect(result).toEqual([ - { - locale: 'fr', - translations: { - 'a': ɵparseTranslation('A'), - 'b': ɵparseTranslation('B'), - 'c': ɵparseTranslation('C') + it('should merge multiple translation files, if given, for a each locale', () => { + const diagnostics = new Diagnostics(); + const loader = new TranslationLoader(fs, [jsonParser], 'error', diagnostics); + const result = loader.loadBundles([[frTranslationPath, frExtraTranslationPath]], []); + expect(result).toEqual([ + { + locale: 'fr', + translations: {'a': ɵparseTranslation('A'), 'b': ɵparseTranslation('B')}, + diagnostics: new Diagnostics(), }, - diagnostics: jasmine.any(Diagnostics), - }, - ]); + ]); + }); - expect(diagnostics.messages).toEqual([{ - type: 'warning', - message: - `When merging multiple translation files, the target locale "de" found in "/src/locale/messages.de.xlf" ` + - `does not match the target locale "fr" found in earlier files ["/src/locale/messages-1.fr.xlf", "/src/locale/messages-2.fr.xlf"].` - }]); - }); + const allDiagnosticModes: DiagnosticHandlingStrategy[] = ['ignore', 'warning', 'error']; + allDiagnosticModes.forEach( + mode => + it(`should ${mode} on duplicate messages when merging multiple translation files`, + () => { + const diagnostics = new Diagnostics(); + const loader = new TranslationLoader(fs, [jsonParser], mode, diagnostics); + // Change the fs-extra file to have the same translations as fr. + fs.writeFile(frExtraTranslationPath, frTranslationContent); + const result = + loader.loadBundles([[frTranslationPath, frExtraTranslationPath]], []); + expect(result).toEqual([ + { + locale: 'fr', + translations: {'a': ɵparseTranslation('A')}, + diagnostics: jasmine.any(Diagnostics), + }, + ]); - it('should throw an error if there is no provided nor parsed target locale', () => { - const translations = {}; - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(alwaysCanParse, undefined, translations); - const loader = new TranslationLoader([parser], 'error', diagnostics); - expect(() => loader.loadBundles([['/src/locale/messages.en.xlf']], [])) - .toThrowError( - 'The translation file "/src/locale/messages.en.xlf" does not contain a target locale and no explicit locale was provided for this file.'); - }); + if (mode === 'error' || mode === 'warning') { + expect(diagnostics.messages).toEqual([{ + type: mode, + message: `Duplicate translations for message "a" when merging "${ + frExtraTranslationPath}".` + }]); + } + })); - it('should error if none of the parsers can parse the file', () => { - const diagnostics = new Diagnostics(); - const parser = new MockTranslationParser(neverCanParse); - const loader = new TranslationLoader([parser], 'error', diagnostics); - expect( - () => loader.loadBundles( - [['/src/locale/messages.en.xlf'], ['/src/locale/messages.fr.xlf']], [])) - .toThrowError( - 'There is no "TranslationParser" that can parse this translation file: /src/locale/messages.en.xlf.'); + it('should warn if the provided locales do not match the parsed locales', () => { + const diagnostics = new Diagnostics(); + const loader = new TranslationLoader(fs, [jsonParser], 'error', diagnostics); + loader.loadBundles([[enTranslationPath], [frTranslationPath]], [undefined, 'es']); + expect(diagnostics.messages.length).toEqual(1); + expect(diagnostics.messages) + .toContain( + { + type: 'warning', + message: + `The provided locale "es" does not match the target locale "fr" found in the translation file "${ + frTranslationPath}".`, + }, + ); + }); + + it('should warn on differing target locales when merging multiple translation files', () => { + const diagnostics = new Diagnostics(); + + const fr1 = absoluteFrom('/src/locale/messages-1.fr.json'); + fs.writeFile(fr1, '{"locale":"fr", "translations": {"a": "A"}}'); + + const fr2 = absoluteFrom('/src/locale/messages-2.fr.json'); + fs.writeFile(fr2, '{"locale":"fr", "translations": {"b": "B"}}'); + + const de = absoluteFrom('/src/locale/messages.de.json'); + fs.writeFile(de, '{"locale":"de", "translations": {"c": "C"}}'); + + const loader = new TranslationLoader(fs, [jsonParser], 'error', diagnostics); + + const result = loader.loadBundles([[fr1, fr2, de]], []); + expect(result).toEqual([ + { + locale: 'fr', + translations: { + 'a': ɵparseTranslation('A'), + 'b': ɵparseTranslation('B'), + 'c': ɵparseTranslation('C') + }, + diagnostics: jasmine.any(Diagnostics), + }, + ]); + + expect(diagnostics.messages).toEqual([{ + type: 'warning', + message: + `When merging multiple translation files, the target locale "de" found in "${de}" ` + + `does not match the target locale "fr" found in earlier files ["${fr1}", "${fr2}"].` + }]); + }); + + it('should throw an error if there is no provided nor parsed target locale', () => { + const translations = {}; + const diagnostics = new Diagnostics(); + const parser = new MockTranslationParser(alwaysCanParse, undefined, translations); + const loader = new TranslationLoader(fs, [parser], 'error', diagnostics); + expect(() => loader.loadBundles([[enTranslationPath]], [])) + .toThrowError(`The translation file "${ + enTranslationPath}" does not contain a target locale and no explicit locale was provided for this file.`); + }); + + it('should error if none of the parsers can parse the file', () => { + const diagnostics = new Diagnostics(); + const parser = new MockTranslationParser(neverCanParse); + const loader = new TranslationLoader(fs, [parser], 'error', diagnostics); + expect(() => loader.loadBundles([[enTranslationPath], [frTranslationPath]], [])) + .toThrowError(`There is no "TranslationParser" that can parse this translation file: ${ + enTranslationPath}.`); + }); }); }); + + class MockTranslationParser implements TranslationParser { + log: string[] = []; + constructor( + private _canParse: (filePath: string) => boolean, private _locale?: string, + private _translations: Record = {}) {} + + canParse(filePath: string, fileContents: string) { + this.log.push(`canParse(${filePath}, ${fileContents})`); + return this._canParse(filePath); + } + + parse(filePath: string, fileContents: string) { + this.log.push(`parse(${filePath}, ${fileContents})`); + return { + locale: this._locale, + translations: this._translations, + diagnostics: new Diagnostics() + }; + } + } }); - -class MockTranslationParser implements TranslationParser { - log: string[] = []; - constructor( - private _canParse: (filePath: string) => boolean, private _locale?: string, - private _translations: Record = {}) {} - - canParse(filePath: string, fileContents: string) { - this.log.push(`canParse(${filePath}, ${fileContents})`); - return this._canParse(filePath); - } - - parse(filePath: string, fileContents: string) { - this.log.push(`parse(${filePath}, ${fileContents})`); - return {locale: this._locale, translations: this._translations, diagnostics: new Diagnostics()}; - } -} \ No newline at end of file diff --git a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/simple_json_spec.ts b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/simple_json_spec.ts index 1dd97984aa..7469c733a9 100644 --- a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/simple_json_spec.ts +++ b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/simple_json_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff1_translation_parser_spec.ts b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff1_translation_parser_spec.ts index 0657fddc82..466bc9bbc1 100644 --- a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff1_translation_parser_spec.ts +++ b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff1_translation_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff2_translation_parser_spec.ts b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff2_translation_parser_spec.ts index 5be22dfc80..116a535ac6 100644 --- a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff2_translation_parser_spec.ts +++ b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xliff2_translation_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xtb_translation_parser_spec.ts b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xtb_translation_parser_spec.ts index 5d3c15390c..df055b20ec 100644 --- a/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xtb_translation_parser_spec.ts +++ b/packages/localize/src/tools/test/translate/translation_files/translation_parsers/xtb_translation_parser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/tools/test/translate/translator_spec.ts b/packages/localize/src/tools/test/translate/translator_spec.ts index 17acdeba76..0d2353a165 100644 --- a/packages/localize/src/tools/test/translate/translator_spec.ts +++ b/packages/localize/src/tools/test/translate/translator_spec.ts @@ -1,115 +1,129 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {absoluteFrom, AbsoluteFsPath, FileSystem, getFileSystem, PathSegment, relativeFrom} from '@angular/compiler-cli/src/ngtsc/file_system'; +import {runInEachFileSystem} from '@angular/compiler-cli/src/ngtsc/file_system/testing'; + import {Diagnostics as Diagnostics} from '../../src/diagnostics'; -import {FileUtils} from '../../src/file_utils'; import {OutputPathFn} from '../../src/translate/output_path'; import {TranslationBundle, TranslationHandler, Translator} from '../../src/translate/translator'; -describe('Translator', () => { - describe('translateFiles()', () => { +runInEachFileSystem(() => { + describe('Translator', () => { + let fs: FileSystem; + let distDirectory: AbsoluteFsPath; + let imgDirectory: AbsoluteFsPath; + let file1Path: PathSegment; + let imgPath: PathSegment; + beforeEach(() => { - spyOn(FileUtils, 'readFileBuffer') - .and.returnValues(Buffer.from('resource file 1'), Buffer.from('resource file 2')); + fs = getFileSystem(); + distDirectory = absoluteFrom('/dist'); + imgDirectory = absoluteFrom('/dist/images'); + file1Path = relativeFrom('file1.js'); + imgPath = relativeFrom('images/img.gif'); + + fs.ensureDir(imgDirectory); + fs.writeFile(fs.resolve(distDirectory, file1Path), 'resource file 1'); + fs.writeFile(fs.resolve(distDirectory, imgPath), Buffer.from('resource file 2')); }); - it('should call FileUtils.readFileBuffer to load the resource file contents', () => { - const translator = new Translator([new MockTranslationHandler()], new Diagnostics()); - translator.translateFiles( - ['/dist/file1.js', '/dist/images/img.gif'], '/dist', mockOutputPathFn, []); - expect(FileUtils.readFileBuffer).toHaveBeenCalledWith('/dist/file1.js'); - expect(FileUtils.readFileBuffer).toHaveBeenCalledWith('/dist/images/img.gif'); - }); + describe('translateFiles()', () => { + it('should call FileSystem.readFileBuffer load the resource file contents', () => { + const translator = new Translator(fs, [new MockTranslationHandler()], new Diagnostics()); + spyOn(fs, 'readFileBuffer').and.callThrough(); + translator.translateFiles([file1Path, imgPath], distDirectory, mockOutputPathFn, []); + expect(fs.readFileBuffer).toHaveBeenCalledWith(fs.resolve(distDirectory, file1Path)); + expect(fs.readFileBuffer).toHaveBeenCalledWith(fs.resolve(distDirectory, imgPath)); + }); - it('should call `canTranslate()` and `translate()` for each file', () => { - const diagnostics = new Diagnostics(); - const handler = new MockTranslationHandler(true); - const translator = new Translator([handler], diagnostics); - translator.translateFiles( - ['/dist/file1.js', '/dist/images/img.gif'], '/dist', mockOutputPathFn, []); + it('should call `canTranslate()` and `translate()` for each file', () => { + const diagnostics = new Diagnostics(); + const handler = new MockTranslationHandler(true); + const translator = new Translator(fs, [handler], diagnostics); + translator.translateFiles([file1Path, imgPath], distDirectory, mockOutputPathFn, []); - expect(handler.log).toEqual([ - 'canTranslate(file1.js, resource file 1)', - 'translate(/dist, file1.js, resource file 1, ...)', - 'canTranslate(images/img.gif, resource file 2)', - 'translate(/dist, images/img.gif, resource file 2, ...)', - ]); - }); + expect(handler.log).toEqual([ + 'canTranslate(file1.js, resource file 1)', + `translate(${distDirectory}, file1.js, resource file 1, ...)`, + 'canTranslate(images/img.gif, resource file 2)', + `translate(${distDirectory}, images/img.gif, resource file 2, ...)`, + ]); + }); - it('should pass the sourceLocale through to `translate()` if provided', () => { - const diagnostics = new Diagnostics(); - const handler = new MockTranslationHandler(true); - const translator = new Translator([handler], diagnostics); - translator.translateFiles( - ['/dist/file1.js', '/dist/images/img.gif'], '/dist', mockOutputPathFn, [], 'en-US'); + it('should pass the sourceLocale through to `translate()` if provided', () => { + const diagnostics = new Diagnostics(); + const handler = new MockTranslationHandler(true); + const translator = new Translator(fs, [handler], diagnostics); + translator.translateFiles( + [file1Path, imgPath], distDirectory, mockOutputPathFn, [], 'en-US'); - expect(handler.log).toEqual([ - 'canTranslate(file1.js, resource file 1)', - 'translate(/dist, file1.js, resource file 1, ..., en-US)', - 'canTranslate(images/img.gif, resource file 2)', - 'translate(/dist, images/img.gif, resource file 2, ..., en-US)', - ]); - }); + expect(handler.log).toEqual([ + 'canTranslate(file1.js, resource file 1)', + `translate(${distDirectory}, file1.js, resource file 1, ..., en-US)`, + 'canTranslate(images/img.gif, resource file 2)', + `translate(${distDirectory}, images/img.gif, resource file 2, ..., en-US)`, + ]); + }); - it('should stop at the first handler that can handle each file', () => { - const diagnostics = new Diagnostics(); - const handler1 = new MockTranslationHandler(false); - const handler2 = new MockTranslationHandler(true); - const handler3 = new MockTranslationHandler(true); - const translator = new Translator([handler1, handler2, handler3], diagnostics); - translator.translateFiles( - ['/dist/file1.js', '/dist/images/img.gif'], '/dist', mockOutputPathFn, []); + it('should stop at the first handler that can handle each file', () => { + const diagnostics = new Diagnostics(); + const handler1 = new MockTranslationHandler(false); + const handler2 = new MockTranslationHandler(true); + const handler3 = new MockTranslationHandler(true); + const translator = new Translator(fs, [handler1, handler2, handler3], diagnostics); + translator.translateFiles([file1Path, imgPath], distDirectory, mockOutputPathFn, []); - expect(handler1.log).toEqual([ - 'canTranslate(file1.js, resource file 1)', - 'canTranslate(images/img.gif, resource file 2)', - ]); - expect(handler2.log).toEqual([ - 'canTranslate(file1.js, resource file 1)', - 'translate(/dist, file1.js, resource file 1, ...)', - 'canTranslate(images/img.gif, resource file 2)', - 'translate(/dist, images/img.gif, resource file 2, ...)', - ]); - }); + expect(handler1.log).toEqual([ + 'canTranslate(file1.js, resource file 1)', + 'canTranslate(images/img.gif, resource file 2)', + ]); + expect(handler2.log).toEqual([ + 'canTranslate(file1.js, resource file 1)', + `translate(${distDirectory}, file1.js, resource file 1, ...)`, + 'canTranslate(images/img.gif, resource file 2)', + `translate(${distDirectory}, images/img.gif, resource file 2, ...)`, + ]); + }); - it('should error if none of the handlers can handle the file', () => { - const diagnostics = new Diagnostics(); - const handler = new MockTranslationHandler(false); - const translator = new Translator([handler], diagnostics); + it('should error if none of the handlers can handle the file', () => { + const diagnostics = new Diagnostics(); + const handler = new MockTranslationHandler(false); + const translator = new Translator(fs, [handler], diagnostics); - translator.translateFiles( - ['/dist/file1.js', '/dist/images/img.gif'], '/dist', mockOutputPathFn, []); + translator.translateFiles([file1Path, imgPath], distDirectory, mockOutputPathFn, []); - expect(diagnostics.messages).toEqual([ - {type: 'error', message: 'Unable to handle resource file: /dist/file1.js'}, - {type: 'error', message: 'Unable to handle resource file: /dist/images/img.gif'}, - ]); + expect(diagnostics.messages).toEqual([ + {type: 'error', message: `Unable to handle resource file: ${file1Path}`}, + {type: 'error', message: `Unable to handle resource file: ${imgPath}`}, + ]); + }); }); }); + + class MockTranslationHandler implements TranslationHandler { + log: string[] = []; + constructor(private _canTranslate: boolean = true) {} + + canTranslate(relativePath: string, contents: Buffer) { + this.log.push(`canTranslate(${relativePath}, ${contents.toString('utf8')})`); + return this._canTranslate; + } + + translate( + _diagnostics: Diagnostics, rootPath: string, relativePath: string, contents: Buffer, + _outputPathFn: OutputPathFn, _translations: TranslationBundle[], sourceLocale?: string) { + this.log.push( + `translate(${rootPath}, ${relativePath}, ${contents}, ...` + + (sourceLocale !== undefined ? `, ${sourceLocale})` : ')')); + } + } + + function mockOutputPathFn(locale: string, relativePath: string) { + return `translations/${locale}/${relativePath}`; + } }); - -class MockTranslationHandler implements TranslationHandler { - log: string[] = []; - constructor(private _canTranslate: boolean = true) {} - - canTranslate(relativePath: string, contents: Buffer) { - this.log.push(`canTranslate(${relativePath}, ${contents.toString('utf8')})`); - return this._canTranslate; - } - - translate( - _diagnostics: Diagnostics, rootPath: string, relativePath: string, contents: Buffer, - _outputPathFn: OutputPathFn, _translations: TranslationBundle[], sourceLocale?: string) { - this.log.push( - `translate(${rootPath}, ${relativePath}, ${contents}, ...` + - (sourceLocale !== undefined ? `, ${sourceLocale})` : ')')); - } -} - -function mockOutputPathFn(locale: string, relativePath: string) { - return `translations/${locale}/${relativePath}`; -} diff --git a/packages/localize/src/translate.ts b/packages/localize/src/translate.ts index aa045aa378..1fb323c5cf 100644 --- a/packages/localize/src/translate.ts +++ b/packages/localize/src/translate.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/utils/BUILD.bazel b/packages/localize/src/utils/BUILD.bazel index ad07f16b7f..6a77fcf703 100644 --- a/packages/localize/src/utils/BUILD.bazel +++ b/packages/localize/src/utils/BUILD.bazel @@ -13,5 +13,6 @@ ts_library( module_name = "@angular/localize/src/utils", deps = [ "//packages/compiler", + "//packages/compiler-cli/src/ngtsc/file_system", ], ) diff --git a/packages/localize/src/utils/index.ts b/packages/localize/src/utils/index.ts index 22b57e3ba1..51851889e1 100644 --- a/packages/localize/src/utils/index.ts +++ b/packages/localize/src/utils/index.ts @@ -1,10 +1,10 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 * from './src/constants'; export * from './src/messages'; -export * from './src/translations'; \ No newline at end of file +export * from './src/translations'; diff --git a/packages/localize/src/utils/src/constants.ts b/packages/localize/src/utils/src/constants.ts index 8817ad0cd0..b8403bb76d 100644 --- a/packages/localize/src/utils/src/constants.ts +++ b/packages/localize/src/utils/src/constants.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/utils/src/messages.ts b/packages/localize/src/utils/src/messages.ts index 21dc2d1902..46663cf90f 100644 --- a/packages/localize/src/utils/src/messages.ts +++ b/packages/localize/src/utils/src/messages.ts @@ -1,11 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {computeMsgId} from '@angular/compiler'; +import {AbsoluteFsPath} from '@angular/compiler-cli/src/ngtsc/file_system'; import {BLOCK_MARKER, ID_SEPARATOR, LEGACY_ID_INDICATOR, MEANING_SEPARATOR} from './constants'; @@ -39,12 +40,14 @@ export type TargetMessage = string; export type MessageId = string; /** - * The location of the message + * The location of the message in the source file. + * + * The `line` and `column` values for the `start` and `end` properties are zero-based. */ export interface SourceLocation { start: {line: number, column: number}; end: {line: number, column: number}; - file: string; + file: AbsoluteFsPath; } /** @@ -149,7 +152,7 @@ export function parseMessage( cleanedMessageParts.push(messagePart); } const messageId = metadata.id || computeMsgId(messageString, metadata.meaning || ''); - const legacyIds = metadata.legacyIds && metadata.legacyIds.filter(id => id !== messageId); + const legacyIds = metadata.legacyIds ? metadata.legacyIds.filter(id => id !== messageId) : []; return { id: messageId, legacyIds, @@ -267,4 +270,4 @@ export function findEndOfBlock(cooked: string, raw: string): number { } } throw new Error(`Unterminated $localize metadata block in "${raw}".`); -} \ No newline at end of file +} diff --git a/packages/localize/src/utils/src/translations.ts b/packages/localize/src/utils/src/translations.ts index 67d2fae02b..8e5094b71f 100644 --- a/packages/localize/src/utils/src/translations.ts +++ b/packages/localize/src/utils/src/translations.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -141,4 +141,4 @@ function describeMessage(message: ParsedMessage): string { ` [${message.legacyIds.map(l => `"${l}"`).join(', ')}]` : ''; return `"${message.id}"${legacy} ("${message.text}"${meaningString})`; -} \ No newline at end of file +} diff --git a/packages/localize/src/utils/test/messages_spec.ts b/packages/localize/src/utils/test/messages_spec.ts index af29e5178c..3530b632df 100644 --- a/packages/localize/src/utils/test/messages_spec.ts +++ b/packages/localize/src/utils/test/messages_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/src/utils/test/translations_spec.ts b/packages/localize/src/utils/test/translations_spec.ts index 3e4165a425..8ccc10cb04 100644 --- a/packages/localize/src/utils/test/translations_spec.ts +++ b/packages/localize/src/utils/test/translations_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/localize/test/translate_spec.ts b/packages/localize/test/translate_spec.ts index 9e3a98fb1d..e6543a1c0c 100644 --- a/packages/localize/test/translate_spec.ts +++ b/packages/localize/test/translate_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/misc/angular-in-memory-web-api/BUILD.bazel b/packages/misc/angular-in-memory-web-api/BUILD.bazel new file mode 100644 index 0000000000..6c77cda79c --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/BUILD.bazel @@ -0,0 +1,29 @@ +load("//tools:defaults.bzl", "ng_module", "ng_package") + +package(default_visibility = ["//visibility:public"]) + +ng_module( + name = "angular-in-memory-web-api", + srcs = glob( + [ + "*.ts", + "src/**/*.ts", + ], + ), + module_name = "angular-in-memory-web-api", + deps = [ + "//packages/common", + "//packages/common/http", + "//packages/core", + "@npm//rxjs", + ], +) + +ng_package( + name = "npm_package", + srcs = ["package.json"], + entry_point = ":index.ts", + deps = [ + ":angular-in-memory-web-api", + ], +) diff --git a/packages/misc/angular-in-memory-web-api/CHANGELOG.md b/packages/misc/angular-in-memory-web-api/CHANGELOG.md new file mode 100644 index 0000000000..847d31e697 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/CHANGELOG.md @@ -0,0 +1,497 @@ +# "angular-in-memory-web-api" versions +>This in-memory-web-api exists primarily to support the Angular documentation. +It is not supposed to emulate every possible real world web API and is not intended for production use. +> +>Most importantly, it is ***always experimental***. + +We will make breaking changes and we won't feel bad about it +because this is a development tool, not a production product. +We do try to tell you about such changes in this `CHANGELOG.md` +and we fix bugs as fast as we can. + + +## 0.11.0 (2020-05-13) + +* update to support Angular v10. +* no functional changes. + + +## 0.9.0 (2019-06-20) + +* update to support Angular version 8.x and forward +* no functional changes + + +## 0.8.0 (2018-12-06) + +* remove `@angular/http` support +* no functional changes + +**BREAKING CHANGE** +This version no longer supports any functionality for `@angular/http`. Please use +`@angular/common/http` instead. + + +## 0.7.0 (2018-10-31) + +* update to support Angular v7. +* no functional changes + + +## 0.6.1 (2018-05-04) + +* update to Angular and RxJS v6 releases + + +## 0.6.0 (2018-03-22) + +*Migrate to Angular v6 and RxJS v6 (rc and beta)* + +Note that this release is pinned to Angular "^6.0.0-rc.0" and RxJS "^6.0.0-beta.1". +Will likely update again when they are official. + +**BREAKING CHANGE** +This version depends on RxJS v6 and is not backward compatible with earlier RxJS versions. + + +## 0.5.4 (2018-03-09) + +Simulated HTTP error responses were not delaying the prescribed time when using RxJS `delay()` +because it was short-circuited by the ErrorResponse. +New `delayResponse` function does it right. +Should not break you unless you incorrectly expected no delay for errors. + +Also, this library no longer calls RxJS `delay()` which may make testing with it easier +(Angular TestBed does not handle RxJS `delay()` well because that operator uses `interval()`). + +Also fixes type error (issue #180). + + +## 0.5.3 (2018-01-06) +Can make use of `HttpParams` which yields a `request.urlWithParams`. +Added supporting `HeroService.searchHeroes(term: string)` and test. + + +## 0.5.2 (2017-12-10) +No longer modify the request data coming from client. Fixes #164 + + +## 0.5.1 (2017-10-21) +Support Angular v5. + + +## 0.5.0 (2017-10-05) +**BREAKING CHANGE**: HTTP response data no longer wrapped in object w/ `data` property by default. + +In this release, the `dataEncapsulation` configuration default changed from `false` to `true`. The HTTP response body holds the data values directly rather than an object that encapsulates those values, `{data: ...}`. This is a **breaking change that affects almost all existing apps!** + +Changing the default to `false` is a **breaking change**. Pre-existing apps that did not set this property explicitly will be broken because they expect encapsulation and are probably mapping +the HTTP response results from the `data` property like this: +``` + .map(data => data.data as Hero[]) +``` +**To migrate, simply remove that line everywhere.** + +If you would rather keep the web api's encapsulation, `{data: ...}`, set `dataEncapsulation` to `true` during configuration as in the following example: +``` +HttpClientInMemoryWebApiModule.forRoot(HeroInMemDataService, { dataEncapsulation: true }) +``` + +We made this change because + +1. Almost everyone seems to hate the encapsulation + +2. Encapsulation requires mapping to get the desired data out. With old `Http` that isn't _too_ bad because you needed to map to get data anyway (`res => res.json()`). But it is really ugly for `HttpClient` because you can't use the type HTTP method type parameter (e.g., `get`) and you have to map out of the data property (`.map(data => data.data as Hero[]`). That extra step requires explanations that distract from learning `HttpClient` itself. +Now you just write `http.get()` and you’ve got data (please add error handling). + +3. While you could have turned off encapsulation with configuration as of v.0.4, to do so took yet another step that you’d have to discover and explain. A big reason for the in-mem web api is to make it easy to introduce and demonstrate HTTP operations in Angular. The _out-of-box_ experience is more important than avoiding a breaking change. + +4. The [security flaw](http://stackoverflow.com/questions/3503102/what-are-top-level-json-arrays-and-why-are-they-a-security-risk) +that prompted encapsulation seems to have been mitigated by all (almost all?) the browsers that can run an Angular (v2+) app. We don’t think it’s needed anymore. + +5. A most real world APIs today will not encapsulate; they’ll return the data in the body without extra ceremony. + + +## 0.4.6 (2017-09-13) +- improves README +- updates v0.4.0 entry in the CHANGELOG to describe essential additions to SystemJS configuration. +- no important functional changes. + + +## 0.4.5 (2017-09-11) +Feature - offer separate `HttpClientInMemoryWebApiModule` and `HttpInMemoryWebApiModule`. + +closes #140 + + +## 0.4.4 (2017-09-11) +closes #136 + +A **breaking change** if you expected `genId` to generate ids for a collection +with non-numeric `item.id`. + + +## 0.4.3 (2017-09-11) +Refactoring for clarity and to correctly reflect intent. +A **breaking change** only if your customizations depend directly and explicitly on `RequestInfo` or the `get`, `delete`, `post`, or `put` methods. + +- replace all `switchMap` with `concatMap` because, in all previous uses of `switchMap`, +I really meant to wait for the source observable to complete _before_ beginning the inner observable whereas `switchMap` starts the inner observable right away. + +- restored `collection` to the `RequestInfo` interface and set it in `handleRequest_` +- `get`, `delete`, `post`, and `put` methods get the `collection` from `requestInfo`; simplifies their signatures to one parameter. + + +## 0.4.2 (2017-09-08) +- Postpones the in-memory database initialization (via `resetDb`) until the first HTTP request. + +- Your `createDb` method _can_ be asynchronous. +You may return the database object (synchronous), an observable of it, or a promise of it. Issue #113. + +- fixed some rare race conditions. + + +## 0.4.1 (2017-09-08) +**Support PassThru.** + +The passthru feature was broken by 0.4.0 +- add passthru to both `Http` and `HttpClient` +- test passThru feature with jasmine-ajax mock-ajax plugin +to intercept Angular's attempt to call browser's XHR +- update devDependency packages +- update karma.conf with jasmine-ajax plugin + + +## 0.4.0 (2017-09-07) +**Theme: Support `HttpClient` and add tests**. +See PR #130. + +The 0.4.0 release was a major overhaul of this library. + +You don't have to change your existing application _code_ if your app uses this library without customizations. + +But this release's **breaking changes** affect developers who used the customization features or loaded application files with SystemJS. + +**BREAKING CHANGES**: Massive refactoring. +Many low-level and customization options have changed. +Apps that stuck with defaults should be (mostly) OK. + +If you're loading application files with **SystemJS** (as you would in a plunker), see the [instructions below](#v-0-4-systemjs). + +* added support for `HttpClient` -> renaming of backend service classes +* added tests +* refactor existing code to support tests +* correct bugs and clarify choices as result of test +* add some configuration options + - dataEncapsulation (issue #112, pr#123) + - post409 + - put404b +* `POST commands/resetDb` passes the request to your `resetDb` method +so you can optionally reset the database dynamically +to arbitrary initial states (issue #128) +* when HTTP method interceptor returns null/undefined, continue with service's default processing (pr #120) +* can substitute your own id generator, `geniD` +* parseUrl -> parseRequestUrl +* utility methods exposed in `RequestInfo.utils` +* reorganize files into src/app and src/in-mem +* adjust gulp tasks accordingly + +--- + + +### Plunkers and SystemJS + +If you’re loading application files with **SystemJS** (as you would in a plunker), you’ll have to configure it to load Angular’s `umd.js` for `HttpModule` and the `tslib` package. + +To see how, look in the `map` section of the +[`src/systemjs.config.js` for this project](https://github.com/angular/in-memory-web-api/blob/master/src/systemjs.config.js) for the following two _additional_ lines : + +``` +'@angular/common/http': 'npm:@angular/common/bundles/common-http.umd.js', +... +'tslib': 'npm:tslib/tslib.js', + +``` + +You've already made these changes if you are using `HttpClient` today. + +If you’re sticking with the original Angular `Http` module, you _must make this change anyway!_ Your app will break as soon as you run `npm install` and it installs >=v0.4.0. + +If you're using webpack (as CLI devs do), you don't have to worry about this stuff because webpack bundles the dependencies for you. + +--- + + +## 0.3.2 (2017-05-02) +* Bug fixes PRs #91, 95, 106 + + +## 0.3.1 (2017-03-08) +* Now runs in node so can use in "universal" demos. +See PR #102. + + +## 0.3.0 (2017-02-27) +* Support Angular version 4 + + +## 0.2.4 (2017-01-02) +* Remove reflect-matadata and zone.js as peerDependencies + + +## 0.2.3 (2016-12-28) +* Unpin RxJs + + +## 0.2.2 (2016-12-20) +* Update to Angular 2.4.0 + + +## 0.2.1 (2016-12-14) +* Fixed regression in handling commands, introduced in 0.2.0 +* Improved README + + +## 0.2.0 (2016-12-11) + +* BREAKING CHANGE: The observables returned by the `handleCollections` methods that process requests against the supplied in-mem-db collections are now "cold". +That means that requests aren't processed until something subscribes to the observable ... just like real-world `Http` calls. + + Previously, these request were "hot" meaning that the operation was performed immediately + (e.g., an in-memory collection was updated) and _then_ we returned an `Observable`. + That was a mistake! Fixing that mistake _might_ break your app which is why bumped the _minor_ version number from 1 to 2. + + We hope _very few apps are broken by this change_. Most will have subscribed anyway. + But any app that called an `http` method with fire-and-forget ... and didn't subscribe ... + expecting the database to be updated (for example) will discover that the operation did ***not*** happen. + +* BREAKING CHANGE: `createErrorResponse` now requires the `Request` object as its first parameter +so it can prepare a proper error message. +For example, a 404 `errorResponse.toString()` now shows the request URL. + +* Commands remain "hot" — processed immediately — as they should be. + +* The `HTTP GET` interceptor in example `hero-data.service` shows how to create your own "cold" observable. + +* While you can still specify the `inMemDbService['responseInterceptor']` to morph the response options, +the previously exported `responseInterceptor` function no longer exists as it served no useful purpose. +Added the `ResponseInterceptor` _type_ to remind you of the signature to implement. + +* Allows objects with `id===0` (issue #56) + +* The default `parseUrl` method is more flexible, thanks in part to the new `config.apiBase` property. +See the ReadMe to learn more. + +* Added `config.post204` and `config.put204` to control whether PUT and POST return the saved entity. +It is `true` by default which means they do not return the entity (`status=204`) — the same behavior as before. (issue #74) + +* `response.url` is set to `request.url` when this service itself creates the response. + +* A few new methods (e.g., `emitResponse`) to assist in HTTP method interceptors. + +
    + + +## 0.1.17 (2016-12-07) +* Update to Angular 2.2.0. + + +## 0.1.16 (2016-11-20) +* Swap `"lib": [ "es2015", "dom" ]` in `tsconfig.json` for @types/core-js` in `package.json` issue #288 + + +## 0.1.15 (2016-11-14) +* Update to Angular 2.2.0. + + +## 0.1.14 (2016-10-29) +* Add `responseInterceptor` for [issue #61](https://github.com/angular/in-memory-web-api/issues/61) + + +## 0.1.13 (2016-10-20) +* Update README for 0.1.11 breaking change: npm publish as `esm` and a `umd` bundle + + Going to `umd` changes your `systemjs.config` and the way you import the library. + + In `systemjs.config.js` you should change the mapping to: + ``` + 'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js' + ``` + then delete from `packages`: + ``` + 'angular-in-memory-web-api': { + main: './index.js', + defaultExtension: 'js' + } + ``` + You must ES import the in-mem module (typically in `AppModule`) like this: + ``` + import { InMemoryWebApiModule } from 'angular-in-memory-web-api'; + ``` + +## 0.1.12 (2016-10-19) +* exclude travis.yml and rollup.config.js from npm package + + +## 0.1.11 (2016-10-19) +* BREAKING CHANGE: npm publish as `esm` and a `umd` bundle. +Does not change the API but does change the way you register and import the +in-mem module. Documented in later release, v.0.1.13 + + +## 0.1.10 (2016-10-19) +* Catch a `handleRequest` error and return as a failed server response. + + +## 0.1.9 (2016-10-18) +* Restore delay option, issue #53. + + +## 0.1.7 (2016-10-12) +* Angular 2.1.x support. + + +## 0.1.6 (2016-10-09) +* Do not add delay to observable if delay value === 0 (issue #47) +* Can override `parseUrl` method in your db service class (issue #46, #35) +* README.md explains `parseUrl` override. +* Exports functions helpful for custom HTTP Method Interceptors + * `createErrorResponse` + * `createObservableResponse` + * `setStatusText` +* Added `examples/hero-data.service.ts` to show overrides (issue #44) + + +## 0.1.5 (2016-10-03) +* project.json license changed again to match angular.io package.json + + +## 0.1.4 (2016-10-03) +* project.json license is "MIT" + + +## 0.1.3 (2016-09-29) +* Fix typos + + +## 0.1.2 (2016-09-29) +* AoT support from Tor PR #36 +* Update npm packages +* `parseId` fix from PR #33 + + +## 0.1.1 (2016-09-26) +* Exclude src folder and its TS files from npm package + + +## 0.1.0 (2016-09-25) +* Renamed package to "angular-in-memory-web-api" +* Added "passThruUnknownUrl" options +* Simplified `forRoot` and made it acceptable to AoT +* Support case sensitive search (PR #16) + +# "angular2-in-memory-web-api" versions +The last npm package named "angular2-in-memory-web-api" was v.0.0.21 + + +## 0.0.21 (2016-09-25) +* Add source maps (PR #14) + + +## 0.0.20 (2016-09-15) +* Angular 2.0.0 +* Typescript 2.0.2 + + +## 0.0.19 (2016-09-13) +* RC7 + + +## 0.0.18 (2016-08-31) +* RC6 (doesn't work with older versions) + + +## 0.0.17 (2016-08-19) +* fix `forRoot` type constraint +* clarify `forRoot` param + + +## 0.0.16 (2016-08-19) +* No longer exports `HttpModule` +* Can specify configuration options in 2nd param of `forRoot` +* jsDocs for `forRoot` + + +## 0.0.15 (2016-08-09) +* RC5 +* Support for NgModules + + +## 0.0.14 (2016-06-30) +* RC4 + + +## 0.0.13 (2016-06-21) +* RC3 + + +## 0.0.12 (2016-06-15) +* RC2 + + +## 0.0.11 (2016-05-27) +* add RegExp query support +* find-by-id is sensitive to string ids that look like numbers + + +## 0.0.10 (2016-05-21) +* added "main:index.js" to package.json +* updated to typings v.1.0.4 (a breaking release) +* dependencies -> peerDependencies|devDependencies +* no es6-shim dependency. +* use core-js as devDependency. + + +## 0.0.9 (2016-05-19) +* renamed the barrel core.js -> index.js + + +## 0.0.8 (2016-05-19) +* systemjs -> commonjs +* replace es6-shim typings w/ core-js typings + + +## 0.0.7 (2016-05-03) +* RC1 +* update to 2.0.0-rc.1 + + +## 0.0.6 (2016-05-03) +* RC0 +* update to 2.0.0-rc.0 + + +## 0.0.5 (2016-05-01) +* PROVISIONAL - refers to @angular packages +* update to 0.0.0-5 + + +## 0.0.4 (2016-04-30) +* PROVISIONAL - refers to @angular packages +* update to 0.0.0-3 +* rxjs: "5.0.0-beta.6" + + +## 0.0.3 (2016-04-29) +* PROVISIONAL - refers to @angular packages +* update to 0.0.0-2 + + +## 0.0.2 (2016-04-27) +* PROVISIONAL - refers to @angular packages + + +## 0.0.1 (2016-04-27) +* DO NOT USE. Not adapted to new package system. +* Initial cut for Angular 2 repackaged + * target forthcoming Angular 2 RC diff --git a/packages/misc/angular-in-memory-web-api/index.ts b/packages/misc/angular-in-memory-web-api/index.ts new file mode 100644 index 0000000000..7ef6571cd5 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/index.ts @@ -0,0 +1,14 @@ +/** + * @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 + */ + +// This file is not used to build this module. It is only used during editing +// by the TypeScript language service and during build for verification. `ngc` +// replaces this file with production index.ts when it rewrites private symbol +// names. + +export * from './public_api'; diff --git a/packages/misc/angular-in-memory-web-api/package.json b/packages/misc/angular-in-memory-web-api/package.json new file mode 100644 index 0000000000..b0f4c6d5d1 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/package.json @@ -0,0 +1,22 @@ +{ + "name": "angular-in-memory-web-api", + "version": "0.11.0", + "description": "An in-memory web api for Angular demos and tests", + "author": "angular", + "license": "MIT", + "peerDependencies": { + "@angular/core": "^8.0.0", + "@angular/common": "^8.0.0", + "rxjs": "^6.5.3", + "tslib": "^1.10.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/angular/angular.git", + "directory": "packages/misc/angular-in-memory-web-api" + }, + "sideEffects": false, + "publishConfig": { + "registry":"https://wombat-dressing-room.appspot.com" + } +} diff --git a/packages/misc/angular-in-memory-web-api/public_api.ts b/packages/misc/angular-in-memory-web-api/public_api.ts new file mode 100644 index 0000000000..65eb405d02 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/public_api.ts @@ -0,0 +1,11 @@ +/** + * @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 * from './src/in-memory-web-api'; + +// This file only reexports content of the `src` folder. Keep it that way. diff --git a/packages/misc/angular-in-memory-web-api/src/backend-service.ts b/packages/misc/angular-in-memory-web-api/src/backend-service.ts new file mode 100644 index 0000000000..71a62384ea --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/backend-service.ts @@ -0,0 +1,663 @@ +/** + * @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 {HttpHeaders} from '@angular/common/http'; +import {BehaviorSubject, from, Observable, Observer, of} from 'rxjs'; +import {concatMap, first} from 'rxjs/operators'; + +import {delayResponse} from './delay-response'; +import {getStatusText, isSuccess, STATUS} from './http-status-codes'; +import {InMemoryBackendConfig, InMemoryBackendConfigArgs, InMemoryDbService, ParsedRequestUrl, parseUri, PassThruBackend, removeTrailingSlash, RequestCore, RequestInfo, RequestInfoUtilities, ResponseOptions, UriInfo} from './interfaces'; + +/** + * Base class for in-memory web api back-ends + * Simulate the behavior of a RESTy web api + * backed by the simple in-memory data store provided by the injected `InMemoryDbService` service. + * Conforms mostly to behavior described here: + * http://www.restapitutorial.com/lessons/httpmethods.html + */ +export abstract class BackendService { + protected config: InMemoryBackendConfigArgs = new InMemoryBackendConfig(); + protected db: {[key: string]: any} = {}; + protected dbReadySubject: BehaviorSubject|undefined; + private passThruBackend: PassThruBackend|undefined; + protected requestInfoUtils = this.getRequestInfoUtils(); + + constructor(protected inMemDbService: InMemoryDbService, config: InMemoryBackendConfigArgs = {}) { + const loc = this.getLocation('/'); + this.config.host = loc.host; // default to app web server host + this.config.rootPath = loc.path; // default to path when app is served (e.g.'/') + Object.assign(this.config, config); + } + + protected get dbReady(): Observable { + if (!this.dbReadySubject) { + // first time the service is called. + this.dbReadySubject = new BehaviorSubject(false); + this.resetDb(); + } + return this.dbReadySubject.asObservable().pipe(first((r: boolean) => r)); + } + + /** + * Process Request and return an Observable of Http Response object + * in the manner of a RESTy web api. + * + * Expect URI pattern in the form :base/:collectionName/:id? + * Examples: + * // for store with a 'customers' collection + * GET api/customers // all customers + * GET api/customers/42 // the character with id=42 + * GET api/customers?name=^j // 'j' is a regex; returns customers whose name starts with 'j' or + * 'J' GET api/customers.json/42 // ignores the ".json" + * + * Also accepts direct commands to the service in which the last segment of the apiBase is the + * word "commands" Examples: POST commands/resetDb, GET/POST commands/config - get or (re)set the + * config + * + * HTTP overrides: + * If the injected inMemDbService defines an HTTP method (lowercase) + * The request is forwarded to that method as in + * `inMemDbService.get(requestInfo)` + * which must return either an Observable of the response type + * for this http library or null|undefined (which means "keep processing"). + */ + protected handleRequest(req: RequestCore): Observable { + // handle the request when there is an in-memory database + return this.dbReady.pipe(concatMap(() => this.handleRequest_(req))); + } + + protected handleRequest_(req: RequestCore): Observable { + const url = req.urlWithParams ? req.urlWithParams : req.url; + + // Try override parser + // If no override parser or it returns nothing, use default parser + const parser = this.bind('parseRequestUrl'); + const parsed: ParsedRequestUrl = + (parser && parser(url, this.requestInfoUtils)) || this.parseRequestUrl(url); + + const collectionName = parsed.collectionName; + const collection = this.db[collectionName]; + + const reqInfo: RequestInfo = { + req: req, + apiBase: parsed.apiBase, + collection: collection, + collectionName: collectionName, + headers: this.createHeaders({'Content-Type': 'application/json'}), + id: this.parseId(collection, collectionName, parsed.id), + method: this.getRequestMethod(req), + query: parsed.query, + resourceUrl: parsed.resourceUrl, + url: url, + utils: this.requestInfoUtils + }; + + let resOptions: ResponseOptions; + + if (/commands\/?$/i.test(reqInfo.apiBase)) { + return this.commands(reqInfo); + } + + const methodInterceptor = this.bind(reqInfo.method); + if (methodInterceptor) { + // InMemoryDbService intercepts this HTTP method. + // if interceptor produced a response, return it. + // else InMemoryDbService chose not to intercept; continue processing. + const interceptorResponse = methodInterceptor(reqInfo); + if (interceptorResponse) { + return interceptorResponse; + } + } + + if (this.db[collectionName]) { + // request is for a known collection of the InMemoryDbService + return this.createResponse$(() => this.collectionHandler(reqInfo)); + } + + if (this.config.passThruUnknownUrl) { + // unknown collection; pass request thru to a "real" backend. + return this.getPassThruBackend().handle(req); + } + + // 404 - can't handle this request + resOptions = this.createErrorResponseOptions( + url, STATUS.NOT_FOUND, `Collection '${collectionName}' not found`); + return this.createResponse$(() => resOptions); + } + + /** + * Add configured delay to response observable unless delay === 0 + */ + protected addDelay(response: Observable): Observable { + const d = this.config.delay; + return d === 0 ? response : delayResponse(response, d || 500); + } + + /** + * Apply query/search parameters as a filter over the collection + * This impl only supports RegExp queries on string properties of the collection + * ANDs the conditions together + */ + protected applyQuery(collection: any[], query: Map): any[] { + // extract filtering conditions - {propertyName, RegExps) - from query/search parameters + const conditions: {name: string, rx: RegExp}[] = []; + const caseSensitive = this.config.caseSensitiveSearch ? undefined : 'i'; + query.forEach((value: string[], name: string) => { + value.forEach(v => conditions.push({name, rx: new RegExp(decodeURI(v), caseSensitive)})); + }); + + const len = conditions.length; + if (!len) { + return collection; + } + + // AND the RegExp conditions + return collection.filter(row => { + let ok = true; + let i = len; + while (ok && i) { + i -= 1; + const cond = conditions[i]; + ok = cond.rx.test(row[cond.name]); + } + return ok; + }); + } + + /** + * Get a method from the `InMemoryDbService` (if it exists), bound to that service + */ + protected bind(methodName: string) { + const fn = (this.inMemDbService as any)[methodName]; + return fn ? fn.bind(this.inMemDbService) as T : undefined; + } + + protected bodify(data: any) { + return this.config.dataEncapsulation ? {data} : data; + } + + protected clone(data: any) { + return JSON.parse(JSON.stringify(data)); + } + + protected collectionHandler(reqInfo: RequestInfo): ResponseOptions { + // const req = reqInfo.req; + let resOptions: ResponseOptions; + switch (reqInfo.method) { + case 'get': + resOptions = this.get(reqInfo); + break; + case 'post': + resOptions = this.post(reqInfo); + break; + case 'put': + resOptions = this.put(reqInfo); + break; + case 'delete': + resOptions = this.delete(reqInfo); + break; + default: + resOptions = this.createErrorResponseOptions( + reqInfo.url, STATUS.METHOD_NOT_ALLOWED, 'Method not allowed'); + break; + } + + // If `inMemDbService.responseInterceptor` exists, let it morph the response options + const interceptor = this.bind('responseInterceptor'); + return interceptor ? interceptor(resOptions, reqInfo) : resOptions; + } + + /** + * Commands reconfigure the in-memory web api service or extract information from it. + * Commands ignore the latency delay and respond ASAP. + * + * When the last segment of the `apiBase` path is "commands", + * the `collectionName` is the command. + * + * Example URLs: + * commands/resetdb (POST) // Reset the "database" to its original state + * commands/config (GET) // Return this service's config object + * commands/config (POST) // Update the config (e.g. the delay) + * + * Usage: + * http.post('commands/resetdb', undefined); + * http.get('commands/config'); + * http.post('commands/config', '{"delay":1000}'); + */ + protected commands(reqInfo: RequestInfo): Observable { + const command = reqInfo.collectionName.toLowerCase(); + const method = reqInfo.method; + + let resOptions: ResponseOptions = {url: reqInfo.url}; + + switch (command) { + case 'resetdb': + resOptions.status = STATUS.NO_CONTENT; + return this.resetDb(reqInfo).pipe( + concatMap(() => this.createResponse$(() => resOptions, false /* no latency delay */))); + + case 'config': + if (method === 'get') { + resOptions.status = STATUS.OK; + resOptions.body = this.clone(this.config); + + // any other HTTP method is assumed to be a config update + } else { + const body = this.getJsonBody(reqInfo.req); + Object.assign(this.config, body); + this.passThruBackend = undefined; // re-create when needed + + resOptions.status = STATUS.NO_CONTENT; + } + break; + + default: + resOptions = this.createErrorResponseOptions( + reqInfo.url, STATUS.INTERNAL_SERVER_ERROR, `Unknown command "${command}"`); + } + + return this.createResponse$(() => resOptions, false /* no latency delay */); + } + + protected createErrorResponseOptions(url: string, status: number, message: string): + ResponseOptions { + return { + body: {error: `${message}`}, + url: url, + headers: this.createHeaders({'Content-Type': 'application/json'}), + status: status + }; + } + + /** + * Create standard HTTP headers object from hash map of header strings + * @param headers + */ + protected abstract createHeaders(headers: {[index: string]: string}): HttpHeaders; + + /** + * create the function that passes unhandled requests through to the "real" backend. + */ + protected abstract createPassThruBackend(): PassThruBackend; + + /** + * return a search map from a location query/search string + */ + protected abstract createQueryMap(search: string): Map; + + /** + * Create a cold response Observable from a factory for ResponseOptions + * @param resOptionsFactory - creates ResponseOptions when observable is subscribed + * @param withDelay - if true (default), add simulated latency delay from configuration + */ + protected createResponse$(resOptionsFactory: () => ResponseOptions, withDelay = true): + Observable { + const resOptions$ = this.createResponseOptions$(resOptionsFactory); + let resp$ = this.createResponse$fromResponseOptions$(resOptions$); + return withDelay ? this.addDelay(resp$) : resp$; + } + + /** + * Create a Response observable from ResponseOptions observable. + */ + protected abstract createResponse$fromResponseOptions$(resOptions$: Observable): + Observable; + + /** + * Create a cold Observable of ResponseOptions. + * @param resOptionsFactory - creates ResponseOptions when observable is subscribed + */ + protected createResponseOptions$(resOptionsFactory: () => ResponseOptions): + Observable { + return new Observable((responseObserver: Observer) => { + let resOptions: ResponseOptions; + try { + resOptions = resOptionsFactory(); + } catch (error) { + const err = error.message || error; + resOptions = this.createErrorResponseOptions('', STATUS.INTERNAL_SERVER_ERROR, `${err}`); + } + + const status = resOptions.status; + try { + resOptions.statusText = status != null ? getStatusText(status) : undefined; + } catch (e) { /* ignore failure */ + } + if (status != null && isSuccess(status)) { + responseObserver.next(resOptions); + responseObserver.complete(); + } else { + responseObserver.error(resOptions); + } + return () => {}; // unsubscribe function + }); + } + + protected delete({collection, collectionName, headers, id, url}: RequestInfo): ResponseOptions { + if (id == null) { + return this.createErrorResponseOptions( + url, STATUS.NOT_FOUND, `Missing "${collectionName}" id`); + } + const exists = this.removeById(collection, id); + return { + headers: headers, + status: (exists || !this.config.delete404) ? STATUS.NO_CONTENT : STATUS.NOT_FOUND + }; + } + + /** + * Find first instance of item in collection by `item.id` + * @param collection + * @param id + */ + protected findById(collection: T[], id: any): T|undefined { + return collection.find((item: T) => item.id === id); + } + + /** + * Generate the next available id for item in this collection + * Use method from `inMemDbService` if it exists and returns a value, + * else delegates to `genIdDefault`. + * @param collection - collection of items with `id` key property + */ + protected genId(collection: T[], collectionName: string): any { + const genId = this.bind('genId'); + if (genId) { + const id = genId(collection, collectionName); + if (id != null) { + return id; + } + } + return this.genIdDefault(collection, collectionName); + } + + /** + * Default generator of the next available id for item in this collection + * This default implementation works only for numeric ids. + * @param collection - collection of items with `id` key property + * @param collectionName - name of the collection + */ + protected genIdDefault(collection: T[], collectionName: string): any { + if (!this.isCollectionIdNumeric(collection, collectionName)) { + throw new Error(`Collection '${ + collectionName}' id type is non-numeric or unknown. Can only generate numeric ids.`); + } + + let maxId = 0; + collection.reduce((prev: any, item: any) => { + maxId = Math.max(maxId, typeof item.id === 'number' ? item.id : maxId); + }, undefined); + return maxId + 1; + } + + protected get({collection, collectionName, headers, id, query, url}: RequestInfo): + ResponseOptions { + let data = collection; + + if (id != null && id !== '') { + data = this.findById(collection, id); + } else if (query) { + data = this.applyQuery(collection, query); + } + + if (!data) { + return this.createErrorResponseOptions( + url, STATUS.NOT_FOUND, `'${collectionName}' with id='${id}' not found`); + } + return {body: this.bodify(this.clone(data)), headers: headers, status: STATUS.OK}; + } + + /** Get JSON body from the request object */ + protected abstract getJsonBody(req: any): any; + + /** + * Get location info from a url, even on server where `document` is not defined + */ + protected getLocation(url: string): UriInfo { + if (!url.startsWith('http')) { + // get the document iff running in browser + const doc = (typeof document === 'undefined') ? undefined : document; + // add host info to url before parsing. Use a fake host when not in browser. + const base = doc ? doc.location.protocol + '//' + doc.location.host : 'http://fake'; + url = url.startsWith('/') ? base + url : base + '/' + url; + } + return parseUri(url); + } + + /** + * get or create the function that passes unhandled requests + * through to the "real" backend. + */ + protected getPassThruBackend(): PassThruBackend { + return this.passThruBackend ? this.passThruBackend : + this.passThruBackend = this.createPassThruBackend(); + } + + /** + * Get utility methods from this service instance. + * Useful within an HTTP method override + */ + protected getRequestInfoUtils(): RequestInfoUtilities { + return { + createResponse$: this.createResponse$.bind(this), + findById: this.findById.bind(this), + isCollectionIdNumeric: this.isCollectionIdNumeric.bind(this), + getConfig: () => this.config, + getDb: () => this.db, + getJsonBody: this.getJsonBody.bind(this), + getLocation: this.getLocation.bind(this), + getPassThruBackend: this.getPassThruBackend.bind(this), + parseRequestUrl: this.parseRequestUrl.bind(this), + }; + } + + /** + * return canonical HTTP method name (lowercase) from the request object + * e.g. (req.method || 'get').toLowerCase(); + * @param req - request object from the http call + * + */ + protected abstract getRequestMethod(req: any): string; + + protected indexOf(collection: any[], id: number) { + return collection.findIndex((item: any) => item.id === id); + } + + /** Parse the id as a number. Return original value if not a number. */ + protected parseId(collection: any[], collectionName: string, id: string): any { + if (!this.isCollectionIdNumeric(collection, collectionName)) { + // Can't confirm that `id` is a numeric type; don't parse as a number + // or else `'42'` -> `42` and _get by id_ fails. + return id; + } + const idNum = parseFloat(id); + return isNaN(idNum) ? id : idNum; + } + + /** + * return true if can determine that the collection's `item.id` is a number + * This implementation can't tell if the collection is empty so it assumes NO + * */ + protected isCollectionIdNumeric(collection: T[], collectionName: string): + boolean { + // collectionName not used now but override might maintain collection type information + // so that it could know the type of the `id` even when the collection is empty. + return !!(collection && collection[0]) && typeof collection[0].id === 'number'; + } + + /** + * Parses the request URL into a `ParsedRequestUrl` object. + * Parsing depends upon certain values of `config`: `apiBase`, `host`, and `urlRoot`. + * + * Configuring the `apiBase` yields the most interesting changes to `parseRequestUrl` behavior: + * When apiBase=undefined and url='http://localhost/api/collection/42' + * {base: 'api/', collectionName: 'collection', id: '42', ...} + * When apiBase='some/api/root/' and url='http://localhost/some/api/root/collection' + * {base: 'some/api/root/', collectionName: 'collection', id: undefined, ...} + * When apiBase='/' and url='http://localhost/collection' + * {base: '/', collectionName: 'collection', id: undefined, ...} + * + * The actual api base segment values are ignored. Only the number of segments matters. + * The following api base strings are considered identical: 'a/b' ~ 'some/api/' ~ `two/segments' + * + * To replace this default method, assign your alternative to your + * InMemDbService['parseRequestUrl'] + */ + protected parseRequestUrl(url: string): ParsedRequestUrl { + try { + const loc = this.getLocation(url); + let drop = (this.config.rootPath || '').length; + let urlRoot = ''; + if (loc.host !== this.config.host) { + // url for a server on a different host! + // assume it's collection is actually here too. + drop = 1; // the leading slash + urlRoot = loc.protocol + '//' + loc.host + '/'; + } + const path = loc.path.substring(drop); + const pathSegments = path.split('/'); + let segmentIndex = 0; + + // apiBase: the front part of the path devoted to getting to the api route + // Assumes first path segment if no config.apiBase + // else ignores as many path segments as are in config.apiBase + // Does NOT care what the api base chars actually are. + let apiBase: string; + if (this.config.apiBase == null) { + apiBase = pathSegments[segmentIndex++]; + } else { + apiBase = removeTrailingSlash(this.config.apiBase.trim()); + if (apiBase) { + segmentIndex = apiBase.split('/').length; + } else { + segmentIndex = 0; // no api base at all; unwise but allowed. + } + } + apiBase += '/'; + + let collectionName = pathSegments[segmentIndex++]; + // ignore anything after a '.' (e.g.,the "json" in "customers.json") + collectionName = collectionName && collectionName.split('.')[0]; + + const id = pathSegments[segmentIndex++]; + const query = this.createQueryMap(loc.query); + const resourceUrl = urlRoot + apiBase + collectionName + '/'; + return {apiBase, collectionName, id, query, resourceUrl}; + } catch (err) { + const msg = `unable to parse url '${url}'; original error: ${err.message}`; + throw new Error(msg); + } + } + + // Create entity + // Can update an existing entity too if post409 is false. + protected post({collection, collectionName, headers, id, req, resourceUrl, url}: RequestInfo): + ResponseOptions { + const item = this.clone(this.getJsonBody(req)); + + if (item.id == null) { + try { + item.id = id || this.genId(collection, collectionName); + } catch (err) { + const emsg: string = err.message || ''; + if (/id type is non-numeric/.test(emsg)) { + return this.createErrorResponseOptions(url, STATUS.UNPROCESSABLE_ENTRY, emsg); + } else { + return this.createErrorResponseOptions( + url, STATUS.INTERNAL_SERVER_ERROR, + `Failed to generate new id for '${collectionName}'`); + } + } + } + + if (id && id !== item.id) { + return this.createErrorResponseOptions( + url, STATUS.BAD_REQUEST, `Request id does not match item.id`); + } else { + id = item.id; + } + const existingIx = this.indexOf(collection, id); + const body = this.bodify(item); + + if (existingIx === -1) { + collection.push(item); + headers.set('Location', resourceUrl + '/' + id); + return {headers, body, status: STATUS.CREATED}; + } else if (this.config.post409) { + return this.createErrorResponseOptions( + url, STATUS.CONFLICT, + `'${collectionName}' item with id='${ + id} exists and may not be updated with POST; use PUT instead.`); + } else { + collection[existingIx] = item; + return this.config.post204 ? {headers, status: STATUS.NO_CONTENT} : // successful; no content + {headers, body, status: STATUS.OK}; // successful; return entity + } + } + + // Update existing entity + // Can create an entity too if put404 is false. + protected put({collection, collectionName, headers, id, req, url}: RequestInfo): ResponseOptions { + const item = this.clone(this.getJsonBody(req)); + if (item.id == null) { + return this.createErrorResponseOptions( + url, STATUS.NOT_FOUND, `Missing '${collectionName}' id`); + } + if (id && id !== item.id) { + return this.createErrorResponseOptions( + url, STATUS.BAD_REQUEST, `Request for '${collectionName}' id does not match item.id`); + } else { + id = item.id; + } + const existingIx = this.indexOf(collection, id); + const body = this.bodify(item); + + if (existingIx > -1) { + collection[existingIx] = item; + return this.config.put204 ? {headers, status: STATUS.NO_CONTENT} : // successful; no content + {headers, body, status: STATUS.OK}; // successful; return entity + } else if (this.config.put404) { + // item to update not found; use POST to create new item for this id. + return this.createErrorResponseOptions( + url, STATUS.NOT_FOUND, + `'${collectionName}' item with id='${ + id} not found and may not be created with PUT; use POST instead.`); + } else { + // create new item for id not found + collection.push(item); + return {headers, body, status: STATUS.CREATED}; + } + } + + protected removeById(collection: any[], id: number) { + const ix = this.indexOf(collection, id); + if (ix > -1) { + collection.splice(ix, 1); + return true; + } + return false; + } + + /** + * Tell your in-mem "database" to reset. + * returns Observable of the database because resetting it could be async + */ + protected resetDb(reqInfo?: RequestInfo): Observable { + this.dbReadySubject && this.dbReadySubject.next(false); + const db = this.inMemDbService.createDb(reqInfo); + const db$ = db instanceof Observable ? + db : + typeof (db as any).then === 'function' ? from(db as Promise) : of(db); + db$.pipe(first()).subscribe((d: {}) => { + this.db = d; + this.dbReadySubject && this.dbReadySubject.next(true); + }); + return this.dbReady; + } +} diff --git a/packages/misc/angular-in-memory-web-api/src/delay-response.ts b/packages/misc/angular-in-memory-web-api/src/delay-response.ts new file mode 100644 index 0000000000..0af153bfe9 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/delay-response.ts @@ -0,0 +1,38 @@ +/** + * @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 {Observable} from 'rxjs'; + +// Replaces use of RxJS delay. See v0.5.4. +/** adds specified delay (in ms) to both next and error channels of the response observable */ +export function delayResponse(response$: Observable, delayMs: number): Observable { + return new Observable(observer => { + let completePending = false; + let nextPending = false; + const subscription = response$.subscribe( + value => { + nextPending = true; + setTimeout(() => { + observer.next(value); + if (completePending) { + observer.complete(); + } + }, delayMs); + }, + error => setTimeout(() => observer.error(error), delayMs), + () => { + completePending = true; + if (!nextPending) { + observer.complete(); + } + }); + return () => { + return subscription.unsubscribe(); + }; + }); +} diff --git a/packages/misc/angular-in-memory-web-api/src/http-client-backend-service.ts b/packages/misc/angular-in-memory-web-api/src/http-client-backend-service.ts new file mode 100644 index 0000000000..fb71f1e495 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/http-client-backend-service.ts @@ -0,0 +1,100 @@ +/** + * @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 {HttpBackend, HttpEvent, HttpHeaders, HttpParams, HttpRequest, HttpResponse, HttpXhrBackend, XhrFactory} from '@angular/common/http'; +import {Inject, Injectable, Optional} from '@angular/core'; +import {Observable} from 'rxjs'; +import {map} from 'rxjs/operators'; + +import {BackendService} from './backend-service'; +import {STATUS} from './http-status-codes'; +import {InMemoryBackendConfig, InMemoryBackendConfigArgs, InMemoryDbService, ResponseOptions} from './interfaces'; + +/** + * For Angular `HttpClient` simulate the behavior of a RESTy web api + * backed by the simple in-memory data store provided by the injected `InMemoryDbService`. + * Conforms mostly to behavior described here: + * http://www.restapitutorial.com/lessons/httpmethods.html + * + * ### Usage + * + * Create an in-memory data store class that implements `InMemoryDbService`. + * Call `config` static method with this service class and optional configuration object: + * ``` + * // other imports + * import { HttpClientModule } from '@angular/common/http'; + * import { HttpClientInMemoryWebApiModule } from 'angular-in-memory-web-api'; + * + * import { InMemHeroService, inMemConfig } from '../api/in-memory-hero.service'; + * @NgModule({ + * imports: [ + * HttpModule, + * HttpClientInMemoryWebApiModule.forRoot(InMemHeroService, inMemConfig), + * ... + * ], + * ... + * }) + * export class AppModule { ... } + * ``` + */ +@Injectable() +export class HttpClientBackendService extends BackendService implements HttpBackend { + constructor( + inMemDbService: InMemoryDbService, + @Inject(InMemoryBackendConfig) @Optional() config: InMemoryBackendConfigArgs, + private xhrFactory: XhrFactory) { + super(inMemDbService, config); + } + + handle(req: HttpRequest): Observable> { + try { + return this.handleRequest(req); + + } catch (error) { + const err = error.message || error; + const resOptions = + this.createErrorResponseOptions(req.url, STATUS.INTERNAL_SERVER_ERROR, `${err}`); + return this.createResponse$(() => resOptions); + } + } + + protected getJsonBody(req: HttpRequest): any { + return req.body; + } + + protected getRequestMethod(req: HttpRequest): string { + return (req.method || 'get').toLowerCase(); + } + + protected createHeaders(headers: {[index: string]: string;}): HttpHeaders { + return new HttpHeaders(headers); + } + + protected createQueryMap(search: string): Map { + const map = new Map(); + if (search) { + const params = new HttpParams({fromString: search}); + params.keys().forEach(p => map.set(p, params.getAll(p) || [])); + } + return map; + } + + protected createResponse$fromResponseOptions$(resOptions$: Observable): + Observable> { + return resOptions$.pipe(map(opts => new HttpResponse(opts))); + } + + protected createPassThruBackend() { + try { + return new HttpXhrBackend(this.xhrFactory); + } catch (ex) { + ex.message = 'Cannot create passThru404 backend; ' + (ex.message || ''); + throw ex; + } + } +} diff --git a/packages/misc/angular-in-memory-web-api/src/http-client-in-memory-web-api-module.ts b/packages/misc/angular-in-memory-web-api/src/http-client-in-memory-web-api-module.ts new file mode 100644 index 0000000000..ccf1a7ca7f --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/http-client-in-memory-web-api-module.ts @@ -0,0 +1,65 @@ +/** + * @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 {HttpBackend, XhrFactory} from '@angular/common/http'; +import {ModuleWithProviders, NgModule, Type} from '@angular/core'; + +import {HttpClientBackendService} from './http-client-backend-service'; +import {InMemoryBackendConfig, InMemoryBackendConfigArgs, InMemoryDbService} from './interfaces'; + +// Internal - Creates the in-mem backend for the HttpClient module +// AoT requires factory to be exported +export function httpClientInMemBackendServiceFactory( + dbService: InMemoryDbService, options: InMemoryBackendConfig, + xhrFactory: XhrFactory): HttpBackend { + return new HttpClientBackendService(dbService, options, xhrFactory) as HttpBackend; +} + +@NgModule() +export class HttpClientInMemoryWebApiModule { + /** + * Redirect the Angular `HttpClient` XHR calls + * to in-memory data store that implements `InMemoryDbService`. + * with class that implements InMemoryDbService and creates an in-memory database. + * + * Usually imported in the root application module. + * Can import in a lazy feature module too, which will shadow modules loaded earlier + * + * @param dbCreator - Class that creates seed data for in-memory database. Must implement + * InMemoryDbService. + * @param [options] + * + * @example + * HttpInMemoryWebApiModule.forRoot(dbCreator); + * HttpInMemoryWebApiModule.forRoot(dbCreator, {useValue: {delay:600}}); + */ + static forRoot(dbCreator: Type, options?: InMemoryBackendConfigArgs): + ModuleWithProviders { + return { + ngModule: HttpClientInMemoryWebApiModule, + providers: [ + {provide: InMemoryDbService, useClass: dbCreator}, + {provide: InMemoryBackendConfig, useValue: options}, { + provide: HttpBackend, + useFactory: httpClientInMemBackendServiceFactory, + deps: [InMemoryDbService, InMemoryBackendConfig, XhrFactory] + } + ] + }; + } + /** + * + * Enable and configure the in-memory web api in a lazy-loaded feature module. + * Same as `forRoot`. + * This is a feel-good method so you can follow the Angular style guide for lazy-loaded modules. + */ + static forFeature(dbCreator: Type, options?: InMemoryBackendConfigArgs): + ModuleWithProviders { + return HttpClientInMemoryWebApiModule.forRoot(dbCreator, options); + } +} diff --git a/packages/misc/angular-in-memory-web-api/src/http-status-codes.ts b/packages/misc/angular-in-memory-web-api/src/http-status-codes.ts new file mode 100644 index 0000000000..eb63d24e23 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/http-status-codes.ts @@ -0,0 +1,523 @@ +/** + * @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 const STATUS = { + CONTINUE: 100, + SWITCHING_PROTOCOLS: 101, + OK: 200, + CREATED: 201, + ACCEPTED: 202, + NON_AUTHORITATIVE_INFORMATION: 203, + NO_CONTENT: 204, + RESET_CONTENT: 205, + PARTIAL_CONTENT: 206, + MULTIPLE_CHOICES: 300, + MOVED_PERMANTENTLY: 301, + FOUND: 302, + SEE_OTHER: 303, + NOT_MODIFIED: 304, + USE_PROXY: 305, + TEMPORARY_REDIRECT: 307, + BAD_REQUEST: 400, + UNAUTHORIZED: 401, + PAYMENT_REQUIRED: 402, + FORBIDDEN: 403, + NOT_FOUND: 404, + METHOD_NOT_ALLOWED: 405, + NOT_ACCEPTABLE: 406, + PROXY_AUTHENTICATION_REQUIRED: 407, + REQUEST_TIMEOUT: 408, + CONFLICT: 409, + GONE: 410, + LENGTH_REQUIRED: 411, + PRECONDITION_FAILED: 412, + PAYLOAD_TO_LARGE: 413, + URI_TOO_LONG: 414, + UNSUPPORTED_MEDIA_TYPE: 415, + RANGE_NOT_SATISFIABLE: 416, + EXPECTATION_FAILED: 417, + IM_A_TEAPOT: 418, + UPGRADE_REQUIRED: 426, + INTERNAL_SERVER_ERROR: 500, + NOT_IMPLEMENTED: 501, + BAD_GATEWAY: 502, + SERVICE_UNAVAILABLE: 503, + GATEWAY_TIMEOUT: 504, + HTTP_VERSION_NOT_SUPPORTED: 505, + PROCESSING: 102, + MULTI_STATUS: 207, + IM_USED: 226, + PERMANENT_REDIRECT: 308, + UNPROCESSABLE_ENTRY: 422, + LOCKED: 423, + FAILED_DEPENDENCY: 424, + PRECONDITION_REQUIRED: 428, + TOO_MANY_REQUESTS: 429, + REQUEST_HEADER_FIELDS_TOO_LARGE: 431, + UNAVAILABLE_FOR_LEGAL_REASONS: 451, + VARIANT_ALSO_NEGOTIATES: 506, + INSUFFICIENT_STORAGE: 507, + NETWORK_AUTHENTICATION_REQUIRED: 511 +}; + +export const STATUS_CODE_INFO: { + [key: string]: + {code: number; text: string; description: string; spec_title: string; spec_href: string;} +} = { + '100': { + 'code': 100, + 'text': 'Continue', + 'description': + '\"The initial part of a request has been received and has not yet been rejected by the server.\"', + 'spec_title': 'RFC7231#6.2.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.2.1' + }, + '101': { + 'code': 101, + 'text': 'Switching Protocols', + 'description': + '\"The server understands and is willing to comply with the client\'s request, via the Upgrade header field, for a change in the application protocol being used on this connection.\"', + 'spec_title': 'RFC7231#6.2.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.2.2' + }, + '200': { + 'code': 200, + 'text': 'OK', + 'description': '\"The request has succeeded.\"', + 'spec_title': 'RFC7231#6.3.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.1' + }, + '201': { + 'code': 201, + 'text': 'Created', + 'description': + '\"The request has been fulfilled and has resulted in one or more new resources being created.\"', + 'spec_title': 'RFC7231#6.3.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.2' + }, + '202': { + 'code': 202, + 'text': 'Accepted', + 'description': + '\"The request has been accepted for processing, but the processing has not been completed.\"', + 'spec_title': 'RFC7231#6.3.3', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.3' + }, + '203': { + 'code': 203, + 'text': 'Non-Authoritative Information', + 'description': + '\"The request was successful but the enclosed payload has been modified from that of the origin server\'s 200 (OK) response by a transforming proxy.\"', + 'spec_title': 'RFC7231#6.3.4', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.4' + }, + '204': { + 'code': 204, + 'text': 'No Content', + 'description': + '\"The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.\"', + 'spec_title': 'RFC7231#6.3.5', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.5' + }, + '205': { + 'code': 205, + 'text': 'Reset Content', + 'description': + '\"The server has fulfilled the request and desires that the user agent reset the \"document view\", which caused the request to be sent, to its original state as received from the origin server.\"', + 'spec_title': 'RFC7231#6.3.6', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.6' + }, + '206': { + 'code': 206, + 'text': 'Partial Content', + 'description': + '\"The server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the requests\'s Range header field.\"', + 'spec_title': 'RFC7233#4.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7233#section-4.1' + }, + '300': { + 'code': 300, + 'text': 'Multiple Choices', + 'description': + '\"The target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.\"', + 'spec_title': 'RFC7231#6.4.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.1' + }, + '301': { + 'code': 301, + 'text': 'Moved Permanently', + 'description': + '\"The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.\"', + 'spec_title': 'RFC7231#6.4.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.2' + }, + '302': { + 'code': 302, + 'text': 'Found', + 'description': '\"The target resource resides temporarily under a different URI.\"', + 'spec_title': 'RFC7231#6.4.3', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.3' + }, + '303': { + 'code': 303, + 'text': 'See Other', + 'description': + '\"The server is redirecting the user agent to a different resource, as indicated by a URI in the Location header field, that is intended to provide an indirect response to the original request.\"', + 'spec_title': 'RFC7231#6.4.4', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.4' + }, + '304': { + 'code': 304, + 'text': 'Not Modified', + 'description': + '\"A conditional GET request has been received and would have resulted in a 200 (OK) response if it were not for the fact that the condition has evaluated to false.\"', + 'spec_title': 'RFC7232#4.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7232#section-4.1' + }, + '305': { + 'code': 305, + 'text': 'Use Proxy', + 'description': '*deprecated*', + 'spec_title': 'RFC7231#6.4.5', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.5' + }, + '307': { + 'code': 307, + 'text': 'Temporary Redirect', + 'description': + '\"The target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.\"', + 'spec_title': 'RFC7231#6.4.7', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.4.7' + }, + '400': { + 'code': 400, + 'text': 'Bad Request', + 'description': + '\"The server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process.\"', + 'spec_title': 'RFC7231#6.5.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.1' + }, + '401': { + 'code': 401, + 'text': 'Unauthorized', + 'description': + '\"The request has not been applied because it lacks valid authentication credentials for the target resource.\"', + 'spec_title': 'RFC7235#6.3.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7235#section-3.1' + }, + '402': { + 'code': 402, + 'text': 'Payment Required', + 'description': '*reserved*', + 'spec_title': 'RFC7231#6.5.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.2' + }, + '403': { + 'code': 403, + 'text': 'Forbidden', + 'description': '\"The server understood the request but refuses to authorize it.\"', + 'spec_title': 'RFC7231#6.5.3', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.3' + }, + '404': { + 'code': 404, + 'text': 'Not Found', + 'description': + '\"The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.\"', + 'spec_title': 'RFC7231#6.5.4', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.4' + }, + '405': { + 'code': 405, + 'text': 'Method Not Allowed', + 'description': + '\"The method specified in the request-line is known by the origin server but not supported by the target resource.\"', + 'spec_title': 'RFC7231#6.5.5', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.5' + }, + '406': { + 'code': 406, + 'text': 'Not Acceptable', + 'description': + '\"The target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request, and the server is unwilling to supply a default representation.\"', + 'spec_title': 'RFC7231#6.5.6', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.6' + }, + '407': { + 'code': 407, + 'text': 'Proxy Authentication Required', + 'description': '\"The client needs to authenticate itself in order to use a proxy.\"', + 'spec_title': 'RFC7231#6.3.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.3.2' + }, + '408': { + 'code': 408, + 'text': 'Request Timeout', + 'description': + '\"The server did not receive a complete request message within the time that it was prepared to wait.\"', + 'spec_title': 'RFC7231#6.5.7', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.7' + }, + '409': { + 'code': 409, + 'text': 'Conflict', + 'description': + '\"The request could not be completed due to a conflict with the current state of the resource.\"', + 'spec_title': 'RFC7231#6.5.8', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.8' + }, + '410': { + 'code': 410, + 'text': 'Gone', + 'description': + '\"Access to the target resource is no longer available at the origin server and that this condition is likely to be permanent.\"', + 'spec_title': 'RFC7231#6.5.9', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.9' + }, + '411': { + 'code': 411, + 'text': 'Length Required', + 'description': '\"The server refuses to accept the request without a defined Content-Length.\"', + 'spec_title': 'RFC7231#6.5.10', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.10' + }, + '412': { + 'code': 412, + 'text': 'Precondition Failed', + 'description': + '\"One or more preconditions given in the request header fields evaluated to false when tested on the server.\"', + 'spec_title': 'RFC7232#4.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7232#section-4.2' + }, + '413': { + 'code': 413, + 'text': 'Payload Too Large', + 'description': + '\"The server is refusing to process a request because the request payload is larger than the server is willing or able to process.\"', + 'spec_title': 'RFC7231#6.5.11', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.11' + }, + '414': { + 'code': 414, + 'text': 'URI Too Long', + 'description': + '\"The server is refusing to service the request because the request-target is longer than the server is willing to interpret.\"', + 'spec_title': 'RFC7231#6.5.12', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.12' + }, + '415': { + 'code': 415, + 'text': 'Unsupported Media Type', + 'description': + '\"The origin server is refusing to service the request because the payload is in a format not supported by the target resource for this method.\"', + 'spec_title': 'RFC7231#6.5.13', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.13' + }, + '416': { + 'code': 416, + 'text': 'Range Not Satisfiable', + 'description': + '\"None of the ranges in the request\'s Range header field overlap the current extent of the selected resource or that the set of ranges requested has been rejected due to invalid ranges or an excessive request of small or overlapping ranges.\"', + 'spec_title': 'RFC7233#4.4', + 'spec_href': 'http://tools.ietf.org/html/rfc7233#section-4.4' + }, + '417': { + 'code': 417, + 'text': 'Expectation Failed', + 'description': + '\"The expectation given in the request\'s Expect header field could not be met by at least one of the inbound servers.\"', + 'spec_title': 'RFC7231#6.5.14', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.14' + }, + '418': { + 'code': 418, + 'text': 'I\'m a teapot', + 'description': '\"1988 April Fools Joke. Returned by tea pots requested to brew coffee.\"', + 'spec_title': 'RFC 2324', + 'spec_href': 'https://tools.ietf.org/html/rfc2324' + }, + '426': { + 'code': 426, + 'text': 'Upgrade Required', + 'description': + '\"The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.\"', + 'spec_title': 'RFC7231#6.5.15', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.5.15' + }, + '500': { + 'code': 500, + 'text': 'Internal Server Error', + 'description': + '\"The server encountered an unexpected condition that prevented it from fulfilling the request.\"', + 'spec_title': 'RFC7231#6.6.1', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.1' + }, + '501': { + 'code': 501, + 'text': 'Not Implemented', + 'description': + '\"The server does not support the functionality required to fulfill the request.\"', + 'spec_title': 'RFC7231#6.6.2', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.2' + }, + '502': { + 'code': 502, + 'text': 'Bad Gateway', + 'description': + '\"The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.\"', + 'spec_title': 'RFC7231#6.6.3', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.3' + }, + '503': { + 'code': 503, + 'text': 'Service Unavailable', + 'description': + '\"The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.\"', + 'spec_title': 'RFC7231#6.6.4', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.4' + }, + '504': { + 'code': 504, + 'text': 'Gateway Time-out', + 'description': + '\"The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.\"', + 'spec_title': 'RFC7231#6.6.5', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.5' + }, + '505': { + 'code': 505, + 'text': 'HTTP Version Not Supported', + 'description': + '\"The server does not support, or refuses to support, the protocol version that was used in the request message.\"', + 'spec_title': 'RFC7231#6.6.6', + 'spec_href': 'http://tools.ietf.org/html/rfc7231#section-6.6.6' + }, + '102': { + 'code': 102, + 'text': 'Processing', + 'description': + '\"An interim response to inform the client that the server has accepted the complete request, but has not yet completed it.\"', + 'spec_title': 'RFC5218#10.1', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.1' + }, + '207': { + 'code': 207, + 'text': 'Multi-Status', + 'description': '\"Status for multiple independent operations.\"', + 'spec_title': 'RFC5218#10.2', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.2' + }, + '226': + { + 'code': 226, + 'text': 'IM Used', + 'description': + '\"The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.\"', + 'spec_title': 'RFC3229#10.4.1', + 'spec_href': 'http://tools.ietf.org/html/rfc3229#section-10.4.1' + }, + '308': { + 'code': 308, + 'text': 'Permanent Redirect', + 'description': + '\"The target resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. [...] This status code is similar to 301 Moved Permanently (Section 7.3.2 of rfc7231), except that it does not allow rewriting the request method from POST to GET.\"', + 'spec_title': 'RFC7238', + 'spec_href': 'http://tools.ietf.org/html/rfc7238' + }, + '422': { + 'code': 422, + 'text': 'Unprocessable Entity', + 'description': + '\"The server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions.\"', + 'spec_title': 'RFC5218#10.3', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.3' + }, + '423': { + 'code': 423, + 'text': 'Locked', + 'description': '\"The source or destination resource of a method is locked.\"', + 'spec_title': 'RFC5218#10.4', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.4' + }, + '424': { + 'code': 424, + 'text': 'Failed Dependency', + 'description': + '\"The method could not be performed on the resource because the requested action depended on another action and that action failed.\"', + 'spec_title': 'RFC5218#10.5', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.5' + }, + '428': { + 'code': 428, + 'text': 'Precondition Required', + 'description': '\"The origin server requires the request to be conditional.\"', + 'spec_title': 'RFC6585#3', + 'spec_href': 'http://tools.ietf.org/html/rfc6585#section-3' + }, + '429': { + 'code': 429, + 'text': 'Too Many Requests', + 'description': + '\"The user has sent too many requests in a given amount of time (\"rate limiting\").\"', + 'spec_title': 'RFC6585#4', + 'spec_href': 'http://tools.ietf.org/html/rfc6585#section-4' + }, + '431': { + 'code': 431, + 'text': 'Request Header Fields Too Large', + 'description': + '\"The server is unwilling to process the request because its header fields are too large.\"', + 'spec_title': 'RFC6585#5', + 'spec_href': 'http://tools.ietf.org/html/rfc6585#section-5' + }, + '451': { + 'code': 451, + 'text': 'Unavailable For Legal Reasons', + 'description': + '\"The server is denying access to the resource in response to a legal demand.\"', + 'spec_title': 'draft-ietf-httpbis-legally-restricted-status', + 'spec_href': 'http://tools.ietf.org/html/draft-ietf-httpbis-legally-restricted-status' + }, + '506': { + 'code': 506, + 'text': 'Variant Also Negotiates', + 'description': + '\"The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.\"', + 'spec_title': 'RFC2295#8.1', + 'spec_href': 'http://tools.ietf.org/html/rfc2295#section-8.1' + }, + '507': { + 'code': 507, + 'text': 'Insufficient Storage', + 'description': + '\The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.\"', + 'spec_title': 'RFC5218#10.6', + 'spec_href': 'http://tools.ietf.org/html/rfc2518#section-10.6' + }, + '511': { + 'code': 511, + 'text': 'Network Authentication Required', + 'description': '\"The client needs to authenticate to gain network access.\"', + 'spec_title': 'RFC6585#6', + 'spec_href': 'http://tools.ietf.org/html/rfc6585#section-6' + } +}; + +/** + * get the status text from StatusCode + */ +export function getStatusText(code: number) { + return STATUS_CODE_INFO[code + ''].text || 'Unknown Status'; +} + +/** + * Returns true if the the Http Status Code is 200-299 (success) + */ +export function isSuccess(status: number): boolean { + return status >= 200 && status < 300; +} diff --git a/packages/misc/angular-in-memory-web-api/src/in-memory-web-api-module.ts b/packages/misc/angular-in-memory-web-api/src/in-memory-web-api-module.ts new file mode 100644 index 0000000000..f6d7622aba --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/in-memory-web-api-module.ts @@ -0,0 +1,58 @@ +/** + * @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 {HttpBackend, XhrFactory} from '@angular/common/http'; +import {ModuleWithProviders, NgModule, Type} from '@angular/core'; + +import {httpClientInMemBackendServiceFactory} from './http-client-in-memory-web-api-module'; +import {InMemoryBackendConfig, InMemoryBackendConfigArgs, InMemoryDbService} from './interfaces'; + +@NgModule() +export class InMemoryWebApiModule { + /** + * Redirect BOTH Angular `Http` and `HttpClient` XHR calls + * to in-memory data store that implements `InMemoryDbService`. + * with class that implements InMemoryDbService and creates an in-memory database. + * + * Usually imported in the root application module. + * Can import in a lazy feature module too, which will shadow modules loaded earlier + * + * @param dbCreator - Class that creates seed data for in-memory database. Must implement + * InMemoryDbService. + * @param [options] + * + * @example + * InMemoryWebApiModule.forRoot(dbCreator); + * InMemoryWebApiModule.forRoot(dbCreator, {useValue: {delay:600}}); + */ + static forRoot(dbCreator: Type, options?: InMemoryBackendConfigArgs): + ModuleWithProviders { + return { + ngModule: InMemoryWebApiModule, + providers: [ + {provide: InMemoryDbService, useClass: dbCreator}, + {provide: InMemoryBackendConfig, useValue: options}, { + provide: HttpBackend, + useFactory: httpClientInMemBackendServiceFactory, + deps: [InMemoryDbService, InMemoryBackendConfig, XhrFactory] + } + ] + }; + } + + /** + * + * Enable and configure the in-memory web api in a lazy-loaded feature module. + * Same as `forRoot`. + * This is a feel-good method so you can follow the Angular style guide for lazy-loaded modules. + */ + static forFeature(dbCreator: Type, options?: InMemoryBackendConfigArgs): + ModuleWithProviders { + return InMemoryWebApiModule.forRoot(dbCreator, options); + } +} diff --git a/packages/misc/angular-in-memory-web-api/src/in-memory-web-api.ts b/packages/misc/angular-in-memory-web-api/src/in-memory-web-api.ts new file mode 100644 index 0000000000..ec0ae38883 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/in-memory-web-api.ts @@ -0,0 +1,14 @@ +/** + * @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 * from './backend-service'; +export * from './http-status-codes'; +export * from './http-client-backend-service'; +export * from './in-memory-web-api-module'; +export * from './http-client-in-memory-web-api-module'; +export * from './interfaces'; diff --git a/packages/misc/angular-in-memory-web-api/src/interfaces.ts b/packages/misc/angular-in-memory-web-api/src/interfaces.ts new file mode 100644 index 0000000000..56bf9c1705 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/src/interfaces.ts @@ -0,0 +1,316 @@ +/** + * @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 {HttpHeaders} from '@angular/common/http'; +import {Injectable} from '@angular/core'; +import {Observable} from 'rxjs'; + +/** + * Interface for a class that creates an in-memory database + * + * Its `createDb` method creates a hash of named collections that represents the database + * + * For maximum flexibility, the service may define HTTP method overrides. + * Such methods must match the spelling of an HTTP method in lower case (e.g, "get"). + * If a request has a matching method, it will be called as in + * `get(info: requestInfo, db: {})` where `db` is the database object described above. + */ +export abstract class InMemoryDbService { + /** + * Creates an in-memory "database" hash whose keys are collection names + * and whose values are arrays of collection objects to return or update. + * + * returns Observable of the database because could have to create it asynchronously. + * + * This method must be safe to call repeatedly. + * Each time it should return a new object with new arrays containing new item objects. + * This condition allows the in-memory backend service to mutate the collections + * and their items without touching the original source data. + * + * The in-mem backend service calls this method without a value the first time. + * The service calls it with the `RequestInfo` when it receives a POST `commands/resetDb` request. + * Your InMemoryDbService can adjust its behavior accordingly. + */ + abstract createDb(reqInfo?: RequestInfo): {}|Observable<{}>|Promise<{}>; +} + +/** + * Interface for InMemoryBackend configuration options + */ +export abstract class InMemoryBackendConfigArgs { + /** + * The base path to the api, e.g, 'api/'. + * If not specified than `parseRequestUrl` assumes it is the first path segment in the request. + */ + apiBase?: string; + /** + * false (default) if search match should be case insensitive + */ + caseSensitiveSearch?: boolean; + /** + * false (default) put content directly inside the response body. + * true: encapsulate content in a `data` property inside the response body, `{ data: ... }`. + */ + dataEncapsulation?: boolean; + /** + * delay (in ms) to simulate latency + */ + delay?: number; + /** + * false (default) should 204 when object-to-delete not found; true: 404 + */ + delete404?: boolean; + /** + * host for this service, e.g., 'localhost' + */ + host?: string; + /** + * false (default) should pass unrecognized request URL through to original backend; true: 404 + */ + passThruUnknownUrl?: boolean; + /** + * true (default) should NOT return the item (204) after a POST. false: return the item (200). + */ + post204?: boolean; + /** + * false (default) should NOT update existing item with POST. false: OK to update. + */ + post409?: boolean; + /** + * true (default) should NOT return the item (204) after a POST. false: return the item (200). + */ + put204?: boolean; + /** + * false (default) if item not found, create as new item; false: should 404. + */ + put404?: boolean; + /** + * root path _before_ any API call, e.g., '' + */ + rootPath?: string; +} + +///////////////////////////////// +/** + * InMemoryBackendService configuration options + * Usage: + * InMemoryWebApiModule.forRoot(InMemHeroService, {delay: 600}) + * + * or if providing separately: + * provide(InMemoryBackendConfig, {useValue: {delay: 600}}), + */ +@Injectable() +export class InMemoryBackendConfig implements InMemoryBackendConfigArgs { + constructor(config: InMemoryBackendConfigArgs = {}) { + Object.assign( + this, { + // default config: + caseSensitiveSearch: false, + dataEncapsulation: false, // do NOT wrap content within an object with a `data` property + delay: 500, // simulate latency by delaying response + delete404: false, // don't complain if can't find entity to delete + passThruUnknownUrl: false, // 404 if can't process URL + post204: true, // don't return the item after a POST + post409: false, // don't update existing item with that ID + put204: true, // don't return the item after a PUT + put404: false, // create new item if PUT item with that ID not found + apiBase: undefined, // assumed to be the first path segment + host: undefined, // default value is actually set in InMemoryBackendService ctor + rootPath: undefined // default value is actually set in InMemoryBackendService ctor + }, + config); + } +} + +/** Return information (UriInfo) about a URI */ +export function parseUri(str: string): UriInfo { + // Adapted from parseuri package - http://blog.stevenlevithan.com/archives/parseuri + // tslint:disable-next-line:max-line-length + const URL_REGEX = + /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/; + const m = URL_REGEX.exec(str); + const uri: UriInfo&{[key: string]: string} = { + source: '', + protocol: '', + authority: '', + userInfo: '', + user: '', + password: '', + host: '', + port: '', + relative: '', + path: '', + directory: '', + file: '', + query: '', + anchor: '' + }; + const keys = Object.keys(uri); + let i = keys.length; + + while (i--) { + uri[keys[i]] = m && m[i] || ''; + } + return uri; +} + +/** + * + * Interface for the result of the `parseRequestUrl` method: + * Given URL "http://localhost:8080/api/customers/42?foo=1 the default implementation returns + * base: 'api/' + * collectionName: 'customers' + * id: '42' + * query: this.createQuery('foo=1') + * resourceUrl: 'http://localhost/api/customers/' + */ +export interface ParsedRequestUrl { + apiBase: string; // the slash-terminated "base" for api requests (e.g. `api/`) + collectionName: string; // the name of the collection of data items (e.g.,`customers`) + id: string; // the (optional) id of the item in the collection (e.g., `42`) + query: Map; // the query parameters; + resourceUrl: + string; // the effective URL for the resource (e.g., 'http://localhost/api/customers/') +} + +export interface PassThruBackend { + /** + * Handle an HTTP request and return an Observable of HTTP response + * Both the request type and the response type are determined by the supporting HTTP library. + */ + handle(req: any): Observable; +} + +export function removeTrailingSlash(path: string) { + return path.replace(/\/$/, ''); +} + +/** + * Minimum definition needed by base class + */ +export interface RequestCore { + url: string; // request URL + urlWithParams?: string; // request URL with query parameters added by `HttpParams` +} + +/** + * Interface for object w/ info about the current request url + * extracted from an Http Request. + * Also holds utility methods and configuration data from this service + */ +export interface RequestInfo { + req: RequestCore; // concrete type depends upon the Http library + apiBase: string; + collectionName: string; + collection: any; + headers: HttpHeaders; + method: string; + id: any; + query: Map; + resourceUrl: string; + url: string; // request URL + utils: RequestInfoUtilities; +} + +/** + * Interface for utility methods from this service instance. + * Useful within an HTTP method override + */ +export interface RequestInfoUtilities { + /** + * Create a cold response Observable from a factory for ResponseOptions + * the same way that the in-mem backend service does. + * @param resOptionsFactory - creates ResponseOptions when observable is subscribed + * @param withDelay - if true (default), add simulated latency delay from configuration + */ + createResponse$: (resOptionsFactory: () => ResponseOptions) => Observable; + + /** + * Find first instance of item in collection by `item.id` + * @param collection + * @param id + */ + findById(collection: T[], id: any): T|undefined; + + /** return the current, active configuration which is a blend of defaults and overrides */ + getConfig(): InMemoryBackendConfigArgs; + + /** Get the in-mem service's copy of the "database" */ + getDb(): {}; + + /** Get JSON body from the request object */ + getJsonBody(req: any): any; + + /** Get location info from a url, even on server where `document` is not defined */ + getLocation(url: string): UriInfo; + + /** Get (or create) the "real" backend */ + getPassThruBackend(): PassThruBackend; + + /** + * return true if can determine that the collection's `item.id` is a number + * */ + isCollectionIdNumeric(collection: T[], collectionName: string): boolean; + + /** + * Parses the request URL into a `ParsedRequestUrl` object. + * Parsing depends upon certain values of `config`: `apiBase`, `host`, and `urlRoot`. + */ + parseRequestUrl(url: string): ParsedRequestUrl; +} + +/** + * Provide a `responseInterceptor` method of this type in your `inMemDbService` to + * morph the response options created in the `collectionHandler`. + */ +export type ResponseInterceptor = (res: ResponseOptions, ri: RequestInfo) => ResponseOptions; + +export interface ResponseOptions { + /** + * String, Object, ArrayBuffer or Blob representing the body of the {@link Response}. + */ + body?: string|Object|ArrayBuffer|Blob; + + /** + * Response headers + */ + headers?: HttpHeaders; + + /** + * Http {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html status code} + * associated with the response. + */ + status?: number; + + /** + * Status text for the status code + */ + statusText?: string; + /** + * request url + */ + url?: string; +} + +/** Interface of information about a Uri */ +export interface UriInfo { + source: string; + protocol: string; + authority: string; + userInfo: string; + user: string; + password: string; + host: string; + port: string; + relative: string; + path: string; + directory: string; + file: string; + query: string; + anchor: string; +} diff --git a/packages/misc/angular-in-memory-web-api/test/BUILD.bazel b/packages/misc/angular-in-memory-web-api/test/BUILD.bazel new file mode 100644 index 0000000000..933b195df5 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/BUILD.bazel @@ -0,0 +1,34 @@ +load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library") + +ts_library( + name = "test_lib", + testonly = True, + srcs = glob(["**/*.ts"]), + # Visible to //:saucelabs_unit_tests_poc target + visibility = ["//:__pkg__"], + deps = [ + "//packages/common", + "//packages/common/http", + "//packages/core", + "//packages/core/testing", + "//packages/misc/angular-in-memory-web-api", + "@npm//@types/jasmine-ajax", + "@npm//jasmine-ajax", + "@npm//rxjs", + ], +) + +karma_web_test_suite( + name = "test_web", + # do not sort + bootstrap = [ + "@npm//:node_modules/core-js/client/core.js", + "@npm//:node_modules/reflect-metadata/Reflect.js", + "@npm//:node_modules/jasmine-ajax/lib/mock-ajax.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:zone-testing.umd.js", + ], + deps = [ + ":test_lib", + ], +) diff --git a/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-override-service.ts b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-override-service.ts new file mode 100644 index 0000000000..b1923f03c1 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-override-service.ts @@ -0,0 +1,89 @@ +/** + * @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 + */ + +/** + * This is an example of a Hero-oriented InMemoryDbService with method overrides. + */ +import {Injectable} from '@angular/core'; +import {getStatusText, ParsedRequestUrl, RequestInfo, RequestInfoUtilities, ResponseOptions, STATUS} from 'angular-in-memory-web-api'; +import {Observable} from 'rxjs'; + +import {HeroInMemDataService} from './hero-in-mem-data-service'; + +const villains = [ + // deliberately using string ids that look numeric + {id: 100, name: 'Snidley Wipsnatch'}, {id: 101, name: 'Boris Badenov'}, + {id: 103, name: 'Natasha Fatale'} +]; + +// Pseudo guid generator +function guid() { + const s4 = () => Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1); + return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); +} + +@Injectable() +export class HeroInMemDataOverrideService extends HeroInMemDataService { + // Overrides id generator and delivers next available `id`, starting with 1001. + genId(collection: T[], collectionName: string): any { + if (collectionName === 'nobodies') { + return guid(); + } else if (collection) { + return 1 + collection.reduce((prev, curr) => Math.max(prev, curr.id || 0), 1000); + } + } + + // HTTP GET interceptor + get(reqInfo: RequestInfo): Observable|undefined { + const collectionName = reqInfo.collectionName; + if (collectionName === 'villains') { + return this.getVillains(reqInfo); + } + return undefined; // let the default GET handle all others + } + + // HTTP GET interceptor handles requests for villains + private getVillains(reqInfo: RequestInfo) { + return reqInfo.utils.createResponse$(() => { + const collection = villains.slice(); + const dataEncapsulation = reqInfo.utils.getConfig().dataEncapsulation; + const id = reqInfo.id; + const data = id == null ? collection : reqInfo.utils.findById(collection, id); + + const options: ResponseOptions = data ? + {body: dataEncapsulation ? {data} : data, status: STATUS.OK} : + {body: {error: `'Villains' with id='${id}' not found`}, status: STATUS.NOT_FOUND}; + return this.finishOptions(options, reqInfo); + }); + } + + // parseRequestUrl override + // Do this to manipulate the request URL or the parsed result + // into something your data store can handle. + // This example turns a request for `/foo/heroes` into just `/heroes`. + // It leaves other URLs untouched and forwards to the default parser. + // It also logs the result of the default parser. + parseRequestUrl(url: string, utils: RequestInfoUtilities): ParsedRequestUrl { + const newUrl = url.replace(/\/foo\/heroes/, '/heroes'); + return utils.parseRequestUrl(newUrl); + } + + responseInterceptor(resOptions: ResponseOptions, reqInfo: RequestInfo) { + if (resOptions.headers) { + resOptions.headers = resOptions.headers.set('x-test', 'test-header'); + } + return resOptions; + } + + private finishOptions(options: ResponseOptions, {headers, url}: RequestInfo) { + options.statusText = options.status == null ? undefined : getStatusText(options.status); + options.headers = headers; + options.url = url; + return options; + } +} diff --git a/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-service.ts b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-service.ts new file mode 100644 index 0000000000..cb38b0179b --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-in-mem-data-service.ts @@ -0,0 +1,79 @@ +/** + * @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 + */ + + +/** + * This is an example of a Hero-oriented InMemoryDbService. + * + * For demonstration purposes, it can return the database + * synchronously as an object (default), + * as an observable, or as a promise. + * + * Add the following line to `AppModule.imports` + * InMemoryWebApiModule.forRoot(HeroInMemDataService) // or HeroInMemDataOverrideService + */ +import {Injectable} from '@angular/core'; +import {InMemoryDbService, RequestInfo} from 'angular-in-memory-web-api'; +import {Observable, of} from 'rxjs'; +import {delay} from 'rxjs/operators'; + +interface Person { + id: string|number; + name: string; +} + +interface PersonResponse { + heroes: Person[]; + stringers: Person[]; + nobodies: Person[]; +} + +@Injectable() +export class HeroInMemDataService implements InMemoryDbService { + createDb(reqInfo?: RequestInfo): + Observable|Promise|PersonResponse { + const heroes = [ + {id: 1, name: 'Windstorm'}, {id: 2, name: 'Bombasto'}, {id: 3, name: 'Magneta'}, + {id: 4, name: 'Tornado'} + ]; + + const nobodies: any[] = []; + + // entities with string ids that look like numbers + const stringers = [{id: '10', name: 'Bob String'}, {id: '20', name: 'Jill String'}]; + + // default returnType + let returnType = 'object'; + // let returnType = 'observable'; + // let returnType = 'promise'; + + // demonstrate POST commands/resetDb + // this example clears the collections if the request body tells it to do so + if (reqInfo) { + const body = reqInfo.utils.getJsonBody(reqInfo.req) || {}; + if (body.clear === true) { + heroes.length = 0; + nobodies.length = 0; + stringers.length = 0; + } + + // 'returnType` can be 'object' | 'observable' | 'promise' + returnType = body.returnType || 'object'; + } + const db = {heroes, nobodies, stringers}; + + switch (returnType) { + case 'observable': + return of(db).pipe(delay(10)); + case 'promise': + return new Promise(resolve => setTimeout(() => resolve(db), 10)); + default: + return db; + } + } +} diff --git a/packages/misc/angular-in-memory-web-api/test/fixtures/hero-service.ts b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-service.ts new file mode 100644 index 0000000000..9dde8222d2 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/fixtures/hero-service.ts @@ -0,0 +1,21 @@ +/** + * @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 {Observable} from 'rxjs'; +import {Hero} from './hero'; + +export abstract class HeroService { + heroesUrl = 'api/heroes'; // URL to web api + + abstract getHeroes(): Observable; + abstract getHero(id: number): Observable; + abstract addHero(name: string): Observable; + abstract deleteHero(hero: Hero|number): Observable; + abstract searchHeroes(term: string): Observable; + abstract updateHero(hero: Hero): Observable; +} diff --git a/packages/misc/angular-in-memory-web-api/test/fixtures/hero.ts b/packages/misc/angular-in-memory-web-api/test/fixtures/hero.ts new file mode 100644 index 0000000000..f1c4250a78 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/fixtures/hero.ts @@ -0,0 +1,14 @@ +/** + * @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 class Hero { + constructor(public id = 0, public name = '') {} + clone() { + return new Hero(this.id, this.name); + } +} diff --git a/packages/misc/angular-in-memory-web-api/test/fixtures/http-client-hero-service.ts b/packages/misc/angular-in-memory-web-api/test/fixtures/http-client-hero-service.ts new file mode 100644 index 0000000000..658bdf439f --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/fixtures/http-client-hero-service.ts @@ -0,0 +1,76 @@ +/** + * @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 {HttpClient, HttpHeaders, HttpParams} from '@angular/common/http'; +import {Injectable} from '@angular/core'; +import {Observable, throwError} from 'rxjs'; +import {catchError} from 'rxjs/operators'; + +import {Hero} from './hero'; +import {HeroService} from './hero-service'; + +const cudOptions = { + headers: new HttpHeaders({'Content-Type': 'application/json'}) +}; + +@Injectable() +export class HttpClientHeroService extends HeroService { + constructor(private http: HttpClient) { + super(); + } + + getHeroes(): Observable { + return this.http.get(this.heroesUrl).pipe(catchError(this.handleError)); + } + + // This get-by-id will 404 when id not found + getHero(id: number): Observable { + const url = `${this.heroesUrl}/${id}`; + return this.http.get(url).pipe(catchError(this.handleError)); + } + + // This get-by-id does not 404; returns undefined when id not found + // getHero(id: number): Observable { + // const url = `${this._heroesUrl}/?id=${id}`; + // return this.http.get(url) + // .map(heroes => heroes[0] as Hero) + // .catch(this.handleError); + // } + + addHero(name: string): Observable { + const hero = {name}; + + return this.http.post(this.heroesUrl, hero, cudOptions) + .pipe(catchError(this.handleError)); + } + + deleteHero(hero: Hero|number): Observable { + const id = typeof hero === 'number' ? hero : hero.id; + const url = `${this.heroesUrl}/${id}`; + + return this.http.delete(url, cudOptions).pipe(catchError(this.handleError)); + } + + searchHeroes(term: string): Observable { + term = term.trim(); + // add safe, encoded search parameter if term is present + const options = term ? {params: new HttpParams().set('name', term)} : {}; + + return this.http.get(this.heroesUrl, options).pipe(catchError(this.handleError)); + } + + updateHero(hero: Hero): Observable { + return this.http.put(this.heroesUrl, hero, cudOptions).pipe(catchError(this.handleError)); + } + + private handleError(error: any) { + // In a real world app, we might send the error to remote logging infrastructure + // and reformat for user consumption + return throwError(error); + } +} diff --git a/packages/misc/angular-in-memory-web-api/test/http-client-backend-service_spec.ts b/packages/misc/angular-in-memory-web-api/test/http-client-backend-service_spec.ts new file mode 100644 index 0000000000..8b45bffdb5 --- /dev/null +++ b/packages/misc/angular-in-memory-web-api/test/http-client-backend-service_spec.ts @@ -0,0 +1,574 @@ +/** + * @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 {HTTP_INTERCEPTORS, HttpBackend, HttpClient, HttpClientModule, HttpEvent, HttpEventType, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse} from '@angular/common/http'; +import {Injectable} from '@angular/core'; +import {async, TestBed} from '@angular/core/testing'; +import {HttpClientBackendService, HttpClientInMemoryWebApiModule} from 'angular-in-memory-web-api'; +import {Observable, zip} from 'rxjs'; +import {concatMap, map, tap} from 'rxjs/operators'; + +import {Hero} from './fixtures/hero'; +import {HeroInMemDataOverrideService} from './fixtures/hero-in-mem-data-override-service'; +import {HeroInMemDataService} from './fixtures/hero-in-mem-data-service'; +import {HeroService} from './fixtures/hero-service'; +import {HttpClientHeroService} from './fixtures/http-client-hero-service'; + +describe('HttpClient Backend Service', () => { + const delay = 1; // some minimal simulated latency delay + + describe('raw Angular HttpClient', () => { + let http: HttpClient; + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, HttpClientInMemoryWebApiModule.forRoot(HeroInMemDataService, {delay}) + ] + }); + + http = TestBed.get(HttpClient); + }); + + it('can get heroes', async(() => { + http.get('api/heroes') + .subscribe( + heroes => expect(heroes.length).toBeGreaterThan(0, 'should have heroes'), + failRequest); + })); + + it('GET should be a "cold" observable', async(() => { + const httpBackend = TestBed.get(HttpBackend); + const spy = spyOn(httpBackend, 'collectionHandler').and.callThrough(); + const get$ = http.get('api/heroes'); + + // spy on `collectionHandler` should not be called before subscribe + expect(spy).not.toHaveBeenCalled(); + + get$.subscribe(heroes => { + expect(spy).toHaveBeenCalled(); + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + })); + + it('GET should wait until after delay to respond', async(() => { + // to make test fail, set `delay=0` above + let gotResponse = false; + + http.get('api/heroes').subscribe(heroes => { + gotResponse = true; + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + + expect(gotResponse).toBe(false, 'should delay before response'); + })); + + it('Should only initialize the db once', async(() => { + const httpBackend = TestBed.get(HttpBackend); + const spy = spyOn(httpBackend, 'resetDb').and.callThrough(); + + // Simultaneous backend.handler calls + // Only the first should initialize by calling `resetDb` + // All should wait until the db is "ready" + // then they share the same db instance. + http.get('api/heroes').subscribe(); + http.get('api/heroes').subscribe(); + http.get('api/heroes').subscribe(); + http.get('api/heroes').subscribe(); + + expect(spy.calls.count()).toBe(1); + })); + + it('can get heroes (w/ a different base path)', async(() => { + http.get('some-base-path/heroes').subscribe(heroes => { + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + })); + + it('should 404 when GET unknown collection (after delay)', async(() => { + let gotError = false; + const url = 'api/unknown-collection'; + http.get(url).subscribe( + () => fail(`should not have found data for '${url}'`), err => { + gotError = true; + expect(err.status).toBe(404, 'should have 404 status'); + }); + + expect(gotError).toBe(false, 'should not get error until after delay'); + })); + + it('should return the hero w/id=1 for GET app/heroes/1', async(() => { + http.get('api/heroes/1') + .subscribe( + hero => expect(hero).toBeDefined('should find hero with id=1'), failRequest); + })); + + // test where id is string that looks like a number + it('should return the stringer w/id="10" for GET app/stringers/10', async(() => { + http.get('api/stringers/10') + .subscribe( + hero => expect(hero).toBeDefined('should find string with id="10"'), failRequest); + })); + + it('should return 1-item array for GET app/heroes/?id=1', async(() => { + http.get('api/heroes/?id=1') + .subscribe( + heroes => expect(heroes.length).toBe(1, 'should find one hero w/id=1'), + failRequest); + })); + + it('should return 1-item array for GET app/heroes?id=1', async(() => { + http.get('api/heroes?id=1') + .subscribe( + heroes => expect(heroes.length).toBe(1, 'should find one hero w/id=1'), + failRequest); + })); + + it('should return undefined for GET app/heroes?id=not-found-id', async(() => { + http.get('api/heroes?id=123456') + .subscribe(heroes => expect(heroes.length).toBe(0), failRequest); + })); + + it('should return 404 for GET app/heroes/not-found-id', async(() => { + const url = 'api/heroes/123456'; + http.get(url).subscribe( + () => fail(`should not have found data for '${url}'`), + err => expect(err.status).toBe(404, 'should have 404 status')); + })); + + it('can generate the id when add a hero with no id', async(() => { + const hero = new Hero(undefined, 'SuperDooper'); + http.post('api/heroes', hero).subscribe(replyHero => { + expect(replyHero.id).toBeDefined('added hero should have an id'); + expect(replyHero).not.toBe(hero, 'reply hero should not be the request hero'); + }, failRequest); + })); + + it('can get nobodies (empty collection)', async(() => { + http.get('api/nobodies').subscribe(nobodies => { + expect(nobodies.length).toBe(0, 'should have no nobodies'); + }, failRequest); + })); + + it('can add a nobody with an id to empty nobodies collection', async(() => { + const id = 'g-u-i-d'; + + http.post('api/nobodies', {id, name: 'Noman'}) + .pipe(concatMap(() => http.get<{id: string; name: string;}[]>('api/nobodies'))) + .subscribe(nobodies => { + expect(nobodies.length).toBe(1, 'should a nobody'); + expect(nobodies[0].name).toBe('Noman', 'should be "Noman"'); + expect(nobodies[0].id).toBe(id, 'should preserve the submitted, ' + id); + }, failRequest); + })); + + it('should fail when add a nobody without an id to empty nobodies collection', async(() => { + http.post('api/nobodies', {name: 'Noman'}) + .subscribe( + () => fail(`should not have been able to add 'Norman' to 'nobodies'`), err => { + expect(err.status).toBe(422, 'should have 422 status'); + expect(err.body.error).toContain('id type is non-numeric'); + }); + })); + + describe('can reset the database', () => { + it('to empty (object db)', async(() => resetDatabaseTest('object'))); + + it('to empty (observable db)', async(() => resetDatabaseTest('observable'))); + + it('to empty (promise db)', async(() => resetDatabaseTest('promise'))); + + function resetDatabaseTest(returnType: string) { + // Observable of the number of heroes and nobodies + const sizes$ = + zip(http.get('api/heroes'), http.get('api/nobodies'), + http.get('api/stringers')) + .pipe(map( + ([h, n, s]) => ({heroes: h.length, nobodies: n.length, stringers: s.length}))); + + // Add a nobody so that we have one + http.post('api/nobodies', {id: 42, name: 'Noman'}) + .pipe( + // Reset database with "clear" option + concatMap(() => http.post('commands/resetDb', {clear: true, returnType})), + // get the number of heroes and nobodies + concatMap(() => sizes$)) + .subscribe(sizes => { + expect(sizes.heroes).toBe(0, 'reset should have cleared the heroes'); + expect(sizes.nobodies).toBe(0, 'reset should have cleared the nobodies'); + expect(sizes.stringers).toBe(0, 'reset should have cleared the stringers'); + }, failRequest); + } + }); + }); + + describe('raw Angular HttpClient w/ override service', () => { + let http: HttpClient; + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, + HttpClientInMemoryWebApiModule.forRoot(HeroInMemDataOverrideService, {delay}) + ] + }); + + http = TestBed.get(HttpClient); + }); + + it('can get heroes', async(() => { + http.get('api/heroes') + .subscribe( + heroes => expect(heroes.length).toBeGreaterThan(0, 'should have heroes'), + failRequest); + })); + + it('can translate `foo/heroes` to `heroes` via `parsedRequestUrl` override', async(() => { + http.get('api/foo/heroes') + .subscribe( + heroes => expect(heroes.length).toBeGreaterThan(0, 'should have heroes'), + failRequest); + })); + + it('can get villains', async(() => { + http.get('api/villains') + .subscribe( + villains => expect(villains.length).toBeGreaterThan(0, 'should have villains'), + failRequest); + })); + + it('should 404 when POST to villains', async(() => { + const url = 'api/villains'; + http.post(url, {id: 42, name: 'Dr. Evil'}) + .subscribe( + () => fail(`should not have POSTed data for '${url}'`), + err => expect(err.status).toBe(404, 'should have 404 status')); + })); + + it('should 404 when GET unknown collection', async(() => { + const url = 'api/unknown-collection'; + http.get(url).subscribe( + () => fail(`should not have found data for '${url}'`), + err => expect(err.status).toBe(404, 'should have 404 status')); + })); + + it('should use genId override to add new hero, "Maxinius"', async(() => { + http.post('api/heroes', {name: 'Maxinius'}) + .pipe(concatMap(() => http.get('api/heroes?name=Maxi'))) + .subscribe(heroes => { + expect(heroes.length).toBe(1, 'should have found "Maxinius"'); + expect(heroes[0].name).toBe('Maxinius'); + expect(heroes[0].id).toBeGreaterThan(1000); + }, failRequest); + })); + + it('should use genId override guid generator for a new nobody without an id', async(() => { + http.post('api/nobodies', {name: 'Noman'}) + .pipe(concatMap(() => http.get<{id: string; name: string}[]>('api/nobodies'))) + .subscribe(nobodies => { + expect(nobodies.length).toBe(1, 'should a nobody'); + expect(nobodies[0].name).toBe('Noman', 'should be "Noman"'); + expect(typeof nobodies[0].id).toBe('string', 'should create a string (guid) id'); + }, failRequest); + })); + + describe('can reset the database', () => { + it('to empty (object db)', async(() => resetDatabaseTest('object'))); + + it('to empty (observable db)', async(() => resetDatabaseTest('observable'))); + + it('to empty (promise db)', async(() => resetDatabaseTest('promise'))); + + function resetDatabaseTest(returnType: string) { + // Observable of the number of heroes, nobodies and villains + const sizes$ = zip(http.get('api/heroes'), http.get('api/nobodies'), + http.get('api/stringers'), http.get('api/villains')) + .pipe(map(([h, n, s, v]) => ({ + heroes: h.length, + nobodies: n.length, + stringers: s.length, + villains: v.length + }))); + + // Add a nobody so that we have one + http.post('api/nobodies', {id: 42, name: 'Noman'}) + .pipe( + // Reset database with "clear" option + concatMap(() => http.post('commands/resetDb', {clear: true, returnType})), + // count all the collections + concatMap(() => sizes$)) + .subscribe(sizes => { + expect(sizes.heroes).toBe(0, 'reset should have cleared the heroes'); + expect(sizes.nobodies).toBe(0, 'reset should have cleared the nobodies'); + expect(sizes.stringers).toBe(0, 'reset should have cleared the stringers'); + expect(sizes.villains).toBeGreaterThan(0, 'reset should NOT clear villains'); + }, failRequest); + } + }); + }); + + describe('HttpClient HeroService', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, HttpClientInMemoryWebApiModule.forRoot(HeroInMemDataService, {delay}) + ], + providers: [{provide: HeroService, useClass: HttpClientHeroService}] + }); + }); + + describe('HeroService core', () => { + let heroService: HeroService; + + beforeEach(() => { + heroService = TestBed.get(HeroService); + }); + + it('can get heroes', async(() => { + heroService.getHeroes().subscribe(heroes => { + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + })); + + it('can get hero w/ id=1', async(() => { + heroService.getHero(1).subscribe(hero => { + expect(hero.name).toBe('Windstorm'); + }, () => fail('getHero failed')); + })); + + it('should 404 when hero id not found', async(() => { + const id = 123456; + heroService.getHero(id).subscribe( + () => fail(`should not have found hero for id='${id}'`), err => { + expect(err.status).toBe(404, 'should have 404 status'); + }); + })); + + it('can add a hero', async(() => { + heroService.addHero('FunkyBob') + .pipe( + tap(hero => expect(hero.name).toBe('FunkyBob')), + // Get the new hero by its generated id + concatMap(hero => heroService.getHero(hero.id))) + .subscribe(hero => { + expect(hero.name).toBe('FunkyBob'); + }, () => failRequest('re-fetch of new hero failed')); + }), + 10000); + + it('can delete a hero', async(() => { + const id = 1; + heroService.deleteHero(id).subscribe((_: {}) => expect(_).toBeDefined(), failRequest); + })); + + it('should allow delete of non-existent hero', async(() => { + const id = 123456; + heroService.deleteHero(id).subscribe((_: {}) => expect(_).toBeDefined(), failRequest); + })); + + it('can search for heroes by name containing "a"', async(() => { + heroService.searchHeroes('a').subscribe((heroes: Hero[]) => { + expect(heroes.length).toBe(3, 'should find 3 heroes with letter "a"'); + }, failRequest); + })); + + it('can update existing hero', async(() => { + const id = 1; + heroService.getHero(id) + .pipe( + concatMap(hero => { + hero.name = 'Thunderstorm'; + return heroService.updateHero(hero); + }), + concatMap(() => heroService.getHero(id))) + .subscribe( + hero => expect(hero.name).toBe('Thunderstorm'), + () => fail('re-fetch of updated hero failed')); + }), + 10000); + + it('should create new hero when try to update non-existent hero', async(() => { + const falseHero = new Hero(12321, 'DryMan'); + heroService.updateHero(falseHero).subscribe( + hero => expect(hero.name).toBe(falseHero.name), failRequest); + })); + }); + }); + + describe('HttpClient interceptor', () => { + let http: HttpClient; + let interceptors: HttpInterceptor[]; + let httpBackend: HttpClientBackendService; + + /** + * Test interceptor adds a request header and a response header + */ + @Injectable() + class TestHeaderInterceptor implements HttpInterceptor { + intercept(req: HttpRequest, next: HttpHandler): Observable> { + const reqClone = req.clone({setHeaders: {'x-test-req': 'req-test-header'}}); + + return next.handle(reqClone).pipe(map(event => { + if (event instanceof HttpResponse) { + event = event.clone({headers: event.headers.set('x-test-res', 'res-test-header')}); + } + return event; + })); + } + } + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, HttpClientInMemoryWebApiModule.forRoot(HeroInMemDataService, {delay}) + ], + providers: [ + // Add test interceptor just for this test suite + {provide: HTTP_INTERCEPTORS, useClass: TestHeaderInterceptor, multi: true} + ] + }); + + http = TestBed.get(HttpClient); + httpBackend = TestBed.get(HttpBackend); + interceptors = TestBed.get(HTTP_INTERCEPTORS); + }); + + // sanity test + it('TestingModule should provide the test interceptor', () => { + const ti = interceptors.find(i => i instanceof TestHeaderInterceptor); + expect(ti).toBeDefined(); + }); + + it('should have GET request header from test interceptor', async(() => { + const handle = spyOn(httpBackend, 'handle').and.callThrough(); + + http.get('api/heroes').subscribe(heroes => { + // HttpRequest is first arg of the first call to in-mem backend `handle` + const req: HttpRequest = handle.calls.argsFor(0)[0]; + const reqHeader = req.headers.get('x-test-req'); + expect(reqHeader).toBe('req-test-header'); + + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + })); + + it('should have GET response header from test interceptor', async(() => { + let gotResponse = false; + const req = new HttpRequest('GET', 'api/heroes'); + http.request(req).subscribe(event => { + if (event.type === HttpEventType.Response) { + gotResponse = true; + + const resHeader = event.headers.get('x-test-res'); + expect(resHeader).toBe('res-test-header'); + + const heroes = event.body as Hero[]; + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + } + }, failRequest, () => expect(gotResponse).toBe(true, 'should have seen Response event')); + })); + }); + + describe('HttpClient passThru', () => { + let http: HttpClient; + let httpBackend: HttpClientBackendService; + let createPassThruBackend: jasmine.Spy; + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, + HttpClientInMemoryWebApiModule.forRoot( + HeroInMemDataService, {delay, passThruUnknownUrl: true}) + ] + }); + + http = TestBed.get(HttpClient); + httpBackend = TestBed.get(HttpBackend); + createPassThruBackend = spyOn(httpBackend, 'createPassThruBackend').and.callThrough(); + }); + + beforeEach(() => { + jasmine.Ajax.install(); + }); + + afterEach(() => { + jasmine.Ajax.uninstall(); + }); + + it('can get heroes (no passthru)', async(() => { + http.get('api/heroes').subscribe(heroes => { + expect(createPassThruBackend).not.toHaveBeenCalled(); + expect(heroes.length).toBeGreaterThan(0, 'should have heroes'); + }, failRequest); + })); + + // `passthru` is NOT a collection in the data store + // so requests for it should pass thru to the "real" server + + it('can GET passthru', async(() => { + jasmine.Ajax.stubRequest('api/passthru').andReturn({ + 'status': 200, + 'contentType': 'application/json', + 'response': JSON.stringify([{id: 42, name: 'Dude'}]) + }); + + http.get('api/passthru').subscribe(passthru => { + expect(passthru.length).toBeGreaterThan(0, 'should have passthru data'); + }, failRequest); + })); + + it('can ADD to passthru', async(() => { + jasmine.Ajax.stubRequest('api/passthru').andReturn({ + 'status': 200, + 'contentType': 'application/json', + 'response': JSON.stringify({id: 42, name: 'Dude'}) + }); + + http.post('api/passthru', {name: 'Dude'}).subscribe(passthru => { + expect(passthru).toBeDefined('should have passthru data'); + expect(passthru.id).toBe(42, 'passthru object should have id 42'); + }, failRequest); + })); + }); + + describe('Http dataEncapsulation = true', () => { + let http: HttpClient; + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [ + HttpClientModule, + HttpClientInMemoryWebApiModule.forRoot( + HeroInMemDataService, {delay, dataEncapsulation: true}) + ] + }); + + http = TestBed.get(HttpClient); + }); + + it('can get heroes (encapsulated)', async(() => { + http.get<{data: any}>('api/heroes') + .pipe(map(data => data.data as Hero[])) + .subscribe( + heroes => expect(heroes.length).toBeGreaterThan(0, 'should have data.heroes'), + failRequest); + })); + }); +}); + + +/** + * Fail a Jasmine test such that it displays the error object, + * typically passed in the error path of an Observable.subscribe() + */ +function failRequest(err: any) { + fail(JSON.stringify(err)); +} diff --git a/packages/platform-browser-dynamic/index.ts b/packages/platform-browser-dynamic/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-browser-dynamic/index.ts +++ b/packages/platform-browser-dynamic/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/package.json b/packages/platform-browser-dynamic/package.json index 815fb3d996..9678daccca 100644 --- a/packages/platform-browser-dynamic/package.json +++ b/packages/platform-browser-dynamic/package.json @@ -4,12 +4,14 @@ "description": "Angular - library for using Angular in a web browser with JIT compilation", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER", "@angular/compiler": "0.0.0-PLACEHOLDER", - "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/platform-browser": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/platform-browser-dynamic/public_api.ts b/packages/platform-browser-dynamic/public_api.ts index 165e7a0630..d4e63b6220 100644 --- a/packages/platform-browser-dynamic/public_api.ts +++ b/packages/platform-browser-dynamic/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/compiler_factory.ts b/packages/platform-browser-dynamic/src/compiler_factory.ts index e8540bccf4..148ff45d29 100644 --- a/packages/platform-browser-dynamic/src/compiler_factory.ts +++ b/packages/platform-browser-dynamic/src/compiler_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/compiler_reflector.ts b/packages/platform-browser-dynamic/src/compiler_reflector.ts index 3ac0515f2f..ffcd51d915 100644 --- a/packages/platform-browser-dynamic/src/compiler_reflector.ts +++ b/packages/platform-browser-dynamic/src/compiler_reflector.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts b/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts index 322f51ad7c..7c8a56f439 100644 --- a/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts +++ b/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/platform_core_dynamic.ts b/packages/platform-browser-dynamic/src/platform_core_dynamic.ts index 3a0a63f457..ad0d64d54c 100644 --- a/packages/platform-browser-dynamic/src/platform_core_dynamic.ts +++ b/packages/platform-browser-dynamic/src/platform_core_dynamic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/platform_providers.ts b/packages/platform-browser-dynamic/src/platform_providers.ts index 9a19dfd935..4319005eed 100644 --- a/packages/platform-browser-dynamic/src/platform_providers.ts +++ b/packages/platform-browser-dynamic/src/platform_providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/private_export.ts b/packages/platform-browser-dynamic/src/private_export.ts index 63b28f25d5..c4e24e0737 100644 --- a/packages/platform-browser-dynamic/src/private_export.ts +++ b/packages/platform-browser-dynamic/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts index a5a2ea6159..fbc454796c 100644 --- a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts +++ b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts index 812914a7dd..76f45d51e7 100644 --- a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts +++ b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/src/version.ts b/packages/platform-browser-dynamic/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/platform-browser-dynamic/src/version.ts +++ b/packages/platform-browser-dynamic/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/test/metadata_overrider_spec.ts b/packages/platform-browser-dynamic/test/metadata_overrider_spec.ts index 3bf4c38979..11d5c23de8 100644 --- a/packages/platform-browser-dynamic/test/metadata_overrider_spec.ts +++ b/packages/platform-browser-dynamic/test/metadata_overrider_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_setter.ts b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_setter.ts index 44e53100f8..5f774bba10 100644 --- a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_setter.ts +++ b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_setter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts index 4caf9e57f2..e41b898e9a 100644 --- a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts +++ b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts index feef70f349..ba1777b0a0 100644 --- a/packages/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts +++ b/packages/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/test/testing_public_browser_spec.ts b/packages/platform-browser-dynamic/test/testing_public_browser_spec.ts index 6adde8f4a4..19cfa20180 100644 --- a/packages/platform-browser-dynamic/test/testing_public_browser_spec.ts +++ b/packages/platform-browser-dynamic/test/testing_public_browser_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/index.ts b/packages/platform-browser-dynamic/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-browser-dynamic/testing/index.ts +++ b/packages/platform-browser-dynamic/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/public_api.ts b/packages/platform-browser-dynamic/testing/public_api.ts index fcc511dc6e..7dd48cd552 100644 --- a/packages/platform-browser-dynamic/testing/public_api.ts +++ b/packages/platform-browser-dynamic/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/compiler_factory.ts b/packages/platform-browser-dynamic/testing/src/compiler_factory.ts index 1f5ff43e85..c25a15af5b 100644 --- a/packages/platform-browser-dynamic/testing/src/compiler_factory.ts +++ b/packages/platform-browser-dynamic/testing/src/compiler_factory.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts b/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts index 33e55e07ba..87dca3f0a1 100644 --- a/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts +++ b/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts b/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts index 56b9056608..0e98a06603 100644 --- a/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts +++ b/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts b/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts index 1c540f5fad..76b865bbea 100644 --- a/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts +++ b/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/private_export_testing.ts b/packages/platform-browser-dynamic/testing/src/private_export_testing.ts index 5f61c707d1..2f26c0bd7d 100644 --- a/packages/platform-browser-dynamic/testing/src/private_export_testing.ts +++ b/packages/platform-browser-dynamic/testing/src/private_export_testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser-dynamic/testing/src/testing.ts b/packages/platform-browser-dynamic/testing/src/testing.ts index 8109454b4b..37a22bdaf8 100644 --- a/packages/platform-browser-dynamic/testing/src/testing.ts +++ b/packages/platform-browser-dynamic/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/index.ts b/packages/platform-browser/animations/index.ts index 969471c098..1f364dbd88 100644 --- a/packages/platform-browser/animations/index.ts +++ b/packages/platform-browser/animations/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/public_api.ts b/packages/platform-browser/animations/public_api.ts index 3ebc27ff03..4377b71b31 100644 --- a/packages/platform-browser/animations/public_api.ts +++ b/packages/platform-browser/animations/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/animation_builder.ts b/packages/platform-browser/animations/src/animation_builder.ts index b705d54623..2e0080104c 100644 --- a/packages/platform-browser/animations/src/animation_builder.ts +++ b/packages/platform-browser/animations/src/animation_builder.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/animation_renderer.ts b/packages/platform-browser/animations/src/animation_renderer.ts index af2f739b11..fa80ef6330 100644 --- a/packages/platform-browser/animations/src/animation_renderer.ts +++ b/packages/platform-browser/animations/src/animation_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/animations.ts b/packages/platform-browser/animations/src/animations.ts index 0d5692ad7b..618c7f6b66 100644 --- a/packages/platform-browser/animations/src/animations.ts +++ b/packages/platform-browser/animations/src/animations.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/module.ts b/packages/platform-browser/animations/src/module.ts index c5a8883460..89707cf0dc 100644 --- a/packages/platform-browser/animations/src/module.ts +++ b/packages/platform-browser/animations/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/private_export.ts b/packages/platform-browser/animations/src/private_export.ts index 6fa71c7374..bb1384e89d 100644 --- a/packages/platform-browser/animations/src/private_export.ts +++ b/packages/platform-browser/animations/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/src/providers.ts b/packages/platform-browser/animations/src/providers.ts index 105f7ced13..ec7438d60d 100644 --- a/packages/platform-browser/animations/src/providers.ts +++ b/packages/platform-browser/animations/src/providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/test/animation_renderer_spec.ts b/packages/platform-browser/animations/test/animation_renderer_spec.ts index 44da1541af..2fa2ce7aa7 100644 --- a/packages/platform-browser/animations/test/animation_renderer_spec.ts +++ b/packages/platform-browser/animations/test/animation_renderer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/test/browser_animation_builder_spec.ts b/packages/platform-browser/animations/test/browser_animation_builder_spec.ts index a254629119..7a45c7d2e9 100644 --- a/packages/platform-browser/animations/test/browser_animation_builder_spec.ts +++ b/packages/platform-browser/animations/test/browser_animation_builder_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/animations/test/noop_animations_module_spec.ts b/packages/platform-browser/animations/test/noop_animations_module_spec.ts index 3a8d244706..2258c78880 100644 --- a/packages/platform-browser/animations/test/noop_animations_module_spec.ts +++ b/packages/platform-browser/animations/test/noop_animations_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/index.ts b/packages/platform-browser/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-browser/index.ts +++ b/packages/platform-browser/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/package.json b/packages/platform-browser/package.json index 18049193d3..e5b80e800d 100644 --- a/packages/platform-browser/package.json +++ b/packages/platform-browser/package.json @@ -4,11 +4,13 @@ "description": "Angular - library for using Angular in a web browser", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/animations": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER", - "@angular/common": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/common": "0.0.0-PLACEHOLDER" }, "peerDependenciesMeta": { "@angular/animations": { diff --git a/packages/platform-browser/public_api.ts b/packages/platform-browser/public_api.ts index 2bc44797c2..7eb5983b23 100644 --- a/packages/platform-browser/public_api.ts +++ b/packages/platform-browser/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser.ts b/packages/platform-browser/src/browser.ts index 67b0519fd9..b200f9b697 100644 --- a/packages/platform-browser/src/browser.ts +++ b/packages/platform-browser/src/browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -63,6 +63,9 @@ export const BROWSER_SANITIZATION_PROVIDERS__POST_R3__ = []; export const BROWSER_SANITIZATION_PROVIDERS = BROWSER_SANITIZATION_PROVIDERS__PRE_R3__; /** + * A factory function that returns a `PlatformRef` instance associated with browser service + * providers. + * * @publicApi */ export const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef = diff --git a/packages/platform-browser/src/browser/browser_adapter.ts b/packages/platform-browser/src/browser/browser_adapter.ts index cb56e52db2..a45a69c4ea 100644 --- a/packages/platform-browser/src/browser/browser_adapter.ts +++ b/packages/platform-browser/src/browser/browser_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/generic_browser_adapter.ts b/packages/platform-browser/src/browser/generic_browser_adapter.ts index cd4c956a4c..fd42d1d746 100644 --- a/packages/platform-browser/src/browser/generic_browser_adapter.ts +++ b/packages/platform-browser/src/browser/generic_browser_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/meta.ts b/packages/platform-browser/src/browser/meta.ts index a595f2cb92..aa5a421b54 100644 --- a/packages/platform-browser/src/browser/meta.ts +++ b/packages/platform-browser/src/browser/meta.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -10,7 +10,11 @@ import {DOCUMENT, ɵDomAdapter as DomAdapter, ɵgetDOM as getDOM} from '@angular import {Inject, Injectable, ɵɵinject} from '@angular/core'; /** - * Represents a meta element. + * Represents the attributes of an HTML `` element. The element itself is + * represented by the internal `HTMLMetaElement`. + * + * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta) + * @see `Meta` * * @publicApi */ @@ -30,14 +34,31 @@ export type MetaDefinition = { }; /** - * Factory to create Meta service. + * Factory to create a `Meta` service instance for the current DOM document. */ export function createMeta() { return new Meta(ɵɵinject(DOCUMENT)); } /** - * A service that can be used to get and add meta tags. + * A service for managing HTML `` tags. + * + * Properties of the `MetaDefinition` object match the attributes of the + * HTML `` tag. These tags define document metadata that is important for + * things like configuring a Content Security Policy, defining browser compatibility + * and security settings, setting HTTP Headers, defining rich content for social sharing, + * and Search Engine Optimization (SEO). + * + * To identify specific `` tags in a document, use an attribute selection + * string in the format `"tag_attribute='value string'"`. + * For example, an `attrSelector` value of `"name='description'"` matches a tag + * whose `name` attribute has the value `"description"`. + * Selectors are used with the `querySelector()` Document method, + * in the format `meta[{attrSelector}]`. + * + * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta) + * @see [Document.querySelector()](https://developer.mozilla.org/docs/Web/API/Document/querySelector) + * * * @publicApi */ @@ -47,12 +68,29 @@ export class Meta { constructor(@Inject(DOCUMENT) private _doc: any) { this._dom = getDOM(); } - + /** + * Retrieves or creates a specific `` tag element in the current HTML document. + * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute + * values in the provided tag definition, and verifies that all other attribute values are equal. + * If an existing element is found, it is returned and is not modified in any way. + * @param tag The definition of a `` element to match or create. + * @param forceCreation True to create a new element without checking whether one already exists. + * @returns The existing element with the same attributes and values if found, + * the new element if no match is found, or `null` if the tag parameter is not defined. + */ addTag(tag: MetaDefinition, forceCreation: boolean = false): HTMLMetaElement|null { if (!tag) return null; return this._getOrCreateElement(tag, forceCreation); } + /** + * Retrieves or creates a set of `` tag elements in the current HTML document. + * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute + * values in the provided tag definition, and verifies that all other attribute values are equal. + * @param tags An array of tag definitions to match or create. + * @param forceCreation True to create new elements without checking whether they already exist. + * @returns The matching elements if found, or the new elements. + */ addTags(tags: MetaDefinition[], forceCreation: boolean = false): HTMLMetaElement[] { if (!tags) return []; return tags.reduce((result: HTMLMetaElement[], tag: MetaDefinition) => { @@ -63,17 +101,38 @@ export class Meta { }, []); } + /** + * Retrieves a `` tag element in the current HTML document. + * @param attrSelector The tag attribute and value to match against, in the format + * `"tag_attribute='value string'"`. + * @returns The matching element, if any. + */ getTag(attrSelector: string): HTMLMetaElement|null { if (!attrSelector) return null; return this._doc.querySelector(`meta[${attrSelector}]`) || null; } + /** + * Retrieves a set of `` tag elements in the current HTML document. + * @param attrSelector The tag attribute and value to match against, in the format + * `"tag_attribute='value string'"`. + * @returns The matching elements, if any. + */ getTags(attrSelector: string): HTMLMetaElement[] { if (!attrSelector) return []; const list /*NodeList*/ = this._doc.querySelectorAll(`meta[${attrSelector}]`); return list ? [].slice.call(list) : []; } + /** + * Modifies an existing `` tag element in the current HTML document. + * @param tag The tag description with which to replace the existing tag content. + * @param selector A tag attribute and value to match against, to identify + * an existing tag. A string in the format `"tag_attribute=`value string`"`. + * If not supplied, matches a tag with the same `name` or `property` attribute value as the + * replacement tag. + * @return The modified element. + */ updateTag(tag: MetaDefinition, selector?: string): HTMLMetaElement|null { if (!tag) return null; selector = selector || this._parseSelector(tag); @@ -84,10 +143,19 @@ export class Meta { return this._getOrCreateElement(tag, true); } + /** + * Removes an existing `` tag element from the current HTML document. + * @param attrSelector A tag attribute and value to match against, to identify + * an existing tag. A string in the format `"tag_attribute=`value string`"`. + */ removeTag(attrSelector: string): void { this.removeTagElement(this.getTag(attrSelector)!); } + /** + * Removes an existing `` tag element from the current HTML document. + * @param meta The tag definition to match against to identify an existing tag. + */ removeTagElement(meta: HTMLMetaElement): void { if (meta) { this._dom.remove(meta); diff --git a/packages/platform-browser/src/browser/server-transition.ts b/packages/platform-browser/src/browser/server-transition.ts index d3c33e6705..4e47649595 100644 --- a/packages/platform-browser/src/browser/server-transition.ts +++ b/packages/platform-browser/src/browser/server-transition.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/testability.ts b/packages/platform-browser/src/browser/testability.ts index 2592657566..b92063f685 100644 --- a/packages/platform-browser/src/browser/testability.ts +++ b/packages/platform-browser/src/browser/testability.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/title.ts b/packages/platform-browser/src/browser/title.ts index b262c08042..f92e4a3659 100644 --- a/packages/platform-browser/src/browser/title.ts +++ b/packages/platform-browser/src/browser/title.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/tools/browser.ts b/packages/platform-browser/src/browser/tools/browser.ts index 2f233c4700..73487ea142 100644 --- a/packages/platform-browser/src/browser/tools/browser.ts +++ b/packages/platform-browser/src/browser/tools/browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/tools/common_tools.ts b/packages/platform-browser/src/browser/tools/common_tools.ts index a4d0a62f9c..46d8eb842e 100644 --- a/packages/platform-browser/src/browser/tools/common_tools.ts +++ b/packages/platform-browser/src/browser/tools/common_tools.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/tools/tools.ts b/packages/platform-browser/src/browser/tools/tools.ts index 2608c7a1c8..87191bde48 100644 --- a/packages/platform-browser/src/browser/tools/tools.ts +++ b/packages/platform-browser/src/browser/tools/tools.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/browser/transfer_state.ts b/packages/platform-browser/src/browser/transfer_state.ts index f0bbe053e6..fd4916d91f 100644 --- a/packages/platform-browser/src/browser/transfer_state.ts +++ b/packages/platform-browser/src/browser/transfer_state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/debug/by.ts b/packages/platform-browser/src/dom/debug/by.ts index f0799cd4f4..6aed2097f8 100644 --- a/packages/platform-browser/src/dom/debug/by.ts +++ b/packages/platform-browser/src/dom/debug/by.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/debug/ng_probe.ts b/packages/platform-browser/src/dom/debug/ng_probe.ts index e6d4942d0a..2d3623b8a2 100644 --- a/packages/platform-browser/src/dom/debug/ng_probe.ts +++ b/packages/platform-browser/src/dom/debug/ng_probe.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/dom_renderer.ts b/packages/platform-browser/src/dom/dom_renderer.ts index 9362a0881d..6925873d29 100644 --- a/packages/platform-browser/src/dom/dom_renderer.ts +++ b/packages/platform-browser/src/dom/dom_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/events/dom_events.ts b/packages/platform-browser/src/dom/events/dom_events.ts index 77152c4e7d..3013d1e631 100644 --- a/packages/platform-browser/src/dom/events/dom_events.ts +++ b/packages/platform-browser/src/dom/events/dom_events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/events/event_manager.ts b/packages/platform-browser/src/dom/events/event_manager.ts index 0a69b867cb..e034cf1950 100644 --- a/packages/platform-browser/src/dom/events/event_manager.ts +++ b/packages/platform-browser/src/dom/events/event_manager.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/events/hammer_gestures.ts b/packages/platform-browser/src/dom/events/hammer_gestures.ts index dcfb894003..f01d0576de 100644 --- a/packages/platform-browser/src/dom/events/hammer_gestures.ts +++ b/packages/platform-browser/src/dom/events/hammer_gestures.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/events/key_events.ts b/packages/platform-browser/src/dom/events/key_events.ts index 151b6e289a..8ac3859fbe 100644 --- a/packages/platform-browser/src/dom/events/key_events.ts +++ b/packages/platform-browser/src/dom/events/key_events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/shared_styles_host.ts b/packages/platform-browser/src/dom/shared_styles_host.ts index e53bc04646..25ec7c8816 100644 --- a/packages/platform-browser/src/dom/shared_styles_host.ts +++ b/packages/platform-browser/src/dom/shared_styles_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/dom/util.ts b/packages/platform-browser/src/dom/util.ts index 2cc75227be..f4c36de9aa 100644 --- a/packages/platform-browser/src/dom/util.ts +++ b/packages/platform-browser/src/dom/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/platform-browser.externs.js b/packages/platform-browser/src/platform-browser.externs.js index 41ad83accb..a9bfa2eb39 100644 --- a/packages/platform-browser/src/platform-browser.externs.js +++ b/packages/platform-browser/src/platform-browser.externs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/platform-browser.ts b/packages/platform-browser/src/platform-browser.ts index 3f072b3fb1..15cfaa25cb 100644 --- a/packages/platform-browser/src/platform-browser.ts +++ b/packages/platform-browser/src/platform-browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/private_export.ts b/packages/platform-browser/src/private_export.ts index c37af45559..5768d4f32b 100644 --- a/packages/platform-browser/src/private_export.ts +++ b/packages/platform-browser/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/security/dom_sanitization_service.ts b/packages/platform-browser/src/security/dom_sanitization_service.ts index 6bd59bb39c..ef506fe87f 100644 --- a/packages/platform-browser/src/security/dom_sanitization_service.ts +++ b/packages/platform-browser/src/security/dom_sanitization_service.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/src/version.ts b/packages/platform-browser/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/platform-browser/src/version.ts +++ b/packages/platform-browser/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/bootstrap_spec.ts b/packages/platform-browser/test/browser/bootstrap_spec.ts index f7ecc85413..6a9eacb5f6 100644 --- a/packages/platform-browser/test/browser/bootstrap_spec.ts +++ b/packages/platform-browser/test/browser/bootstrap_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/meta_spec.ts b/packages/platform-browser/test/browser/meta_spec.ts index a959a4134c..9ebf174b18 100644 --- a/packages/platform-browser/test/browser/meta_spec.ts +++ b/packages/platform-browser/test/browser/meta_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/rectangle_mock.ts b/packages/platform-browser/test/browser/rectangle_mock.ts index 8985c34b6c..7143a8384e 100644 --- a/packages/platform-browser/test/browser/rectangle_mock.ts +++ b/packages/platform-browser/test/browser/rectangle_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/title_spec.ts b/packages/platform-browser/test/browser/title_spec.ts index 4f885fc278..9cda74a900 100644 --- a/packages/platform-browser/test/browser/title_spec.ts +++ b/packages/platform-browser/test/browser/title_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/tools/spies.ts b/packages/platform-browser/test/browser/tools/spies.ts index 84bd9a8e29..c7c3c0d476 100644 --- a/packages/platform-browser/test/browser/tools/spies.ts +++ b/packages/platform-browser/test/browser/tools/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/tools/tools_spec.ts b/packages/platform-browser/test/browser/tools/tools_spec.ts index f747f987c6..3d26ddefe4 100644 --- a/packages/platform-browser/test/browser/tools/tools_spec.ts +++ b/packages/platform-browser/test/browser/tools/tools_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser/transfer_state_spec.ts b/packages/platform-browser/test/browser/transfer_state_spec.ts index 56cb3e9ddd..8dc11802f9 100644 --- a/packages/platform-browser/test/browser/transfer_state_spec.ts +++ b/packages/platform-browser/test/browser/transfer_state_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/browser_util_spec.ts b/packages/platform-browser/test/browser_util_spec.ts index d67a429724..279d6369eb 100644 --- a/packages/platform-browser/test/browser_util_spec.ts +++ b/packages/platform-browser/test/browser_util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/dom/dom_renderer_spec.ts b/packages/platform-browser/test/dom/dom_renderer_spec.ts index ef47b6b14d..8ee0cf550e 100644 --- a/packages/platform-browser/test/dom/dom_renderer_spec.ts +++ b/packages/platform-browser/test/dom/dom_renderer_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/dom/events/event_manager_spec.ts b/packages/platform-browser/test/dom/events/event_manager_spec.ts index 6dc8fa356e..f434e6b322 100644 --- a/packages/platform-browser/test/dom/events/event_manager_spec.ts +++ b/packages/platform-browser/test/dom/events/event_manager_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -370,6 +370,52 @@ describe('EventManager', () => { done(); }); }); + + it('should not drain micro tasks queue too early with shouldCoalesceEventChangeDetection=true', + (done: DoneFn) => { + doc = getDOM().supportsDOMEvents() ? document : getDOM().createHtmlDocument(); + zone = new NgZone({shouldCoalesceEventChangeDetection: true}); + domEventPlugin = new DomEventsPlugin(doc); + const element = el('
    '); + const child = el('
    '); + doc.body.appendChild(element); + const dispatchedClickEvent = createMouseEvent('click'); + const dispatchedBlurEvent: FocusEvent = + getDOM().getDefaultDocument().createEvent('FocusEvent'); + dispatchedBlurEvent.initEvent('blur', true, true); + let logs: any = []; + const handler = () => {}; + + const blurHandler = (e: any) => { + logs.push('blur'); + }; + const manager = new EventManager([domEventPlugin], zone); + let removerParent: any; + let removerChildFocus: any; + + zone.run(() => { + removerParent = manager.addEventListener(element, 'click', handler); + removerChildFocus = manager.addEventListener(child, 'blur', blurHandler); + }); + const sub = zone.onStable.subscribe(() => { + logs.push('begin'); + Promise.resolve().then(() => { + logs.push('promise resolved'); + }); + element.appendChild(child); + getDOM().dispatchEvent(child, dispatchedBlurEvent); + sub.unsubscribe(); + logs.push('end'); + }); + getDOM().dispatchEvent(element, dispatchedClickEvent); + requestAnimationFrame(() => { + expect(logs).toEqual(['begin', 'blur', 'end', 'promise resolved']); + + removerParent && removerParent(); + removerChildFocus && removerChildFocus(); + done(); + }); + }); }); })(); diff --git a/packages/platform-browser/test/dom/events/hammer_gestures_spec.ts b/packages/platform-browser/test/dom/events/hammer_gestures_spec.ts index fd0c99c35e..db730fe7bb 100644 --- a/packages/platform-browser/test/dom/events/hammer_gestures_spec.ts +++ b/packages/platform-browser/test/dom/events/hammer_gestures_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/dom/events/key_events_spec.ts b/packages/platform-browser/test/dom/events/key_events_spec.ts index ba97308756..f29d909759 100644 --- a/packages/platform-browser/test/dom/events/key_events_spec.ts +++ b/packages/platform-browser/test/dom/events/key_events_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/dom/shadow_dom_spec.ts b/packages/platform-browser/test/dom/shadow_dom_spec.ts index 54a0c472f1..9a4abab09d 100644 --- a/packages/platform-browser/test/dom/shadow_dom_spec.ts +++ b/packages/platform-browser/test/dom/shadow_dom_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/dom/shared_styles_host_spec.ts b/packages/platform-browser/test/dom/shared_styles_host_spec.ts index 489546964c..b164847f47 100644 --- a/packages/platform-browser/test/dom/shared_styles_host_spec.ts +++ b/packages/platform-browser/test/dom/shared_styles_host_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/security/dom_sanitization_service_spec.ts b/packages/platform-browser/test/security/dom_sanitization_service_spec.ts index a6711482a9..ee9ecb6a0a 100644 --- a/packages/platform-browser/test/security/dom_sanitization_service_spec.ts +++ b/packages/platform-browser/test/security/dom_sanitization_service_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/test/testing_public_spec.ts b/packages/platform-browser/test/testing_public_spec.ts index 2bd0477403..a9c84895bb 100644 --- a/packages/platform-browser/test/testing_public_spec.ts +++ b/packages/platform-browser/test/testing_public_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/index.ts b/packages/platform-browser/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-browser/testing/index.ts +++ b/packages/platform-browser/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/public_api.ts b/packages/platform-browser/testing/public_api.ts index 4de37c10f5..424be91fe0 100644 --- a/packages/platform-browser/testing/public_api.ts +++ b/packages/platform-browser/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/src/browser.ts b/packages/platform-browser/testing/src/browser.ts index e9d931e986..ac5289b4cb 100644 --- a/packages/platform-browser/testing/src/browser.ts +++ b/packages/platform-browser/testing/src/browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/src/browser_util.ts b/packages/platform-browser/testing/src/browser_util.ts index 8ebf893807..f0d14ae5c8 100644 --- a/packages/platform-browser/testing/src/browser_util.ts +++ b/packages/platform-browser/testing/src/browser_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/src/matchers.ts b/packages/platform-browser/testing/src/matchers.ts index a629056269..cd3bbec46b 100644 --- a/packages/platform-browser/testing/src/matchers.ts +++ b/packages/platform-browser/testing/src/matchers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-browser/testing/src/testing.ts b/packages/platform-browser/testing/src/testing.ts index fd7ecd2707..4e66035a4b 100644 --- a/packages/platform-browser/testing/src/testing.ts +++ b/packages/platform-browser/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/index.ts b/packages/platform-server/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-server/index.ts +++ b/packages/platform-server/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/package.json b/packages/platform-server/package.json index 78dc785d1a..6803eae500 100644 --- a/packages/platform-server/package.json +++ b/packages/platform-server/package.json @@ -10,11 +10,11 @@ "@angular/compiler": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER" }, "dependencies": { "domino": "^2.1.2", + "tslib": "^2.0.0", "xhr2": "^0.2.0" }, "repository": { diff --git a/packages/platform-server/public_api.ts b/packages/platform-server/public_api.ts index 9d83cb049e..20382137fd 100644 --- a/packages/platform-server/public_api.ts +++ b/packages/platform-server/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/domino_adapter.ts b/packages/platform-server/src/domino_adapter.ts index c8f8f255dd..232c644e5a 100644 --- a/packages/platform-server/src/domino_adapter.ts +++ b/packages/platform-server/src/domino_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/http.ts b/packages/platform-server/src/http.ts index 981490dc47..be178f3765 100644 --- a/packages/platform-server/src/http.ts +++ b/packages/platform-server/src/http.ts @@ -1,20 +1,23 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {INITIAL_CONFIG, PlatformConfig} from './tokens'; const xhr2: any = require('xhr2'); import {Injectable, Injector, Provider} from '@angular/core'; - +import {PlatformLocation} from '@angular/common'; import {HttpEvent, HttpRequest, HttpHandler, HttpBackend, XhrFactory, ɵHttpInterceptingHandler as HttpInterceptingHandler} from '@angular/common/http'; - import {Observable, Observer, Subscription} from 'rxjs'; +// @see https://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-01#URI-syntax +const isAbsoluteUrl = /^[a-zA-Z\-\+.]+:\/\//; + @Injectable() export class ServerXhr implements XhrFactory { build(): XMLHttpRequest { @@ -102,11 +105,22 @@ export abstract class ZoneMacroTaskWrapper { export class ZoneClientBackend extends ZoneMacroTaskWrapper, HttpEvent> implements HttpBackend { - constructor(private backend: HttpBackend) { + constructor( + private backend: HttpBackend, private platformLocation: PlatformLocation, + private config: PlatformConfig) { super(); } handle(request: HttpRequest): Observable> { + const {href, protocol, hostname, port} = this.platformLocation; + if (this.config.useAbsoluteUrl && !isAbsoluteUrl.test(request.url) && + isAbsoluteUrl.test(href)) { + const baseHref = this.platformLocation.getBaseHrefFromDOM() || href; + const urlPrefix = `${protocol}//${hostname}` + (port ? `:${port}` : ''); + const baseUrl = new URL(baseHref, urlPrefix); + const url = new URL(request.url, baseUrl); + return this.wrap(request.clone({url: url.toString()})); + } return this.wrap(request); } @@ -115,12 +129,17 @@ export class ZoneClientBackend extends } } -export function zoneWrappedInterceptingHandler(backend: HttpBackend, injector: Injector) { +export function zoneWrappedInterceptingHandler( + backend: HttpBackend, injector: Injector, platformLocation: PlatformLocation, + config: PlatformConfig) { const realBackend: HttpBackend = new HttpInterceptingHandler(backend, injector); - return new ZoneClientBackend(realBackend); + return new ZoneClientBackend(realBackend, platformLocation, config); } export const SERVER_HTTP_PROVIDERS: Provider[] = [ - {provide: XhrFactory, useClass: ServerXhr}, - {provide: HttpHandler, useFactory: zoneWrappedInterceptingHandler, deps: [HttpBackend, Injector]} + {provide: XhrFactory, useClass: ServerXhr}, { + provide: HttpHandler, + useFactory: zoneWrappedInterceptingHandler, + deps: [HttpBackend, Injector, PlatformLocation, INITIAL_CONFIG] + } ]; diff --git a/packages/platform-server/src/location.ts b/packages/platform-server/src/location.ts index 052e22334a..60f42c793b 100644 --- a/packages/platform-server/src/location.ts +++ b/packages/platform-server/src/location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -51,6 +51,7 @@ export class ServerPlatformLocation implements PlatformLocation { this.pathname = parsedUrl.pathname; this.search = parsedUrl.search; this.hash = parsedUrl.hash; + this.href = _doc.location.href; } } diff --git a/packages/platform-server/src/platform-server.ts b/packages/platform-server/src/platform-server.ts index b898bbda54..a2d03ddfae 100644 --- a/packages/platform-server/src/platform-server.ts +++ b/packages/platform-server/src/platform-server.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/platform_state.ts b/packages/platform-server/src/platform_state.ts index 833fb7c1f9..dd27a34219 100644 --- a/packages/platform-server/src/platform_state.ts +++ b/packages/platform-server/src/platform_state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/private_export.ts b/packages/platform-server/src/private_export.ts index d49e76e391..8209819130 100644 --- a/packages/platform-server/src/private_export.ts +++ b/packages/platform-server/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,4 +8,4 @@ export {INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS} from './server'; -export {ServerRendererFactory2 as ɵServerRendererFactory2} from './server_renderer'; \ No newline at end of file +export {ServerRendererFactory2 as ɵServerRendererFactory2} from './server_renderer'; diff --git a/packages/platform-server/src/server.ts b/packages/platform-server/src/server.ts index be960ab22c..6defa85541 100644 --- a/packages/platform-server/src/server.ts +++ b/packages/platform-server/src/server.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/server_events.ts b/packages/platform-server/src/server_events.ts index ecae52dd8f..6c6b910478 100644 --- a/packages/platform-server/src/server_events.ts +++ b/packages/platform-server/src/server_events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/server_renderer.ts b/packages/platform-server/src/server_renderer.ts index 906052efc8..d4198825e1 100644 --- a/packages/platform-server/src/server_renderer.ts +++ b/packages/platform-server/src/server_renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/styles_host.ts b/packages/platform-server/src/styles_host.ts index ceab0cca86..47aeba45d2 100644 --- a/packages/platform-server/src/styles_host.ts +++ b/packages/platform-server/src/styles_host.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/tokens.ts b/packages/platform-server/src/tokens.ts index ebb0bf23ee..b5942985d1 100644 --- a/packages/platform-server/src/tokens.ts +++ b/packages/platform-server/src/tokens.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -14,8 +14,25 @@ import {InjectionToken} from '@angular/core'; * @publicApi */ export interface PlatformConfig { + /** + * The initial DOM to use to bootstrap the server application. + * @default create a new DOM using Domino + */ document?: string; + /** + * The URL for the current application state. This is + * used for initializing the platform's location and + * for setting absolute URL resolution for HTTP requests. + * @default none + */ url?: string; + /** + * Whether to append the absolute URL to any relative HTTP + * requests. If set to true, this logic executes prior to + * any HTTP interceptors that may run later on in the request. + * @default false + */ + useAbsoluteUrl?: boolean; } /** diff --git a/packages/platform-server/src/transfer_state.ts b/packages/platform-server/src/transfer_state.ts index eba3b60f2e..b86c491a96 100644 --- a/packages/platform-server/src/transfer_state.ts +++ b/packages/platform-server/src/transfer_state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/src/utils.ts b/packages/platform-server/src/utils.ts index 19a7fcff08..ff8674f20b 100644 --- a/packages/platform-server/src/utils.ts +++ b/packages/platform-server/src/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -93,8 +93,10 @@ the server-rendered app can be properly bootstrapped into a client app.`); * `url` is the URL for the current render request. * `extraProviders` are the platform level providers for the current render request. * - * Do not use this in a production server environment. Use pre-compiled {@link NgModuleFactory} with - * {@link renderModuleFactory} instead. + * If compiling with the ViewEngine renderer, do not use this in a production server environment. + * Use pre-compiled {@link NgModuleFactory} with {@link renderModuleFactory} instead. If + * compiling with the Ivy renderer, this method is the recommended rendering method for + * platform-server. * * @publicApi */ diff --git a/packages/platform-server/src/version.ts b/packages/platform-server/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/platform-server/src/version.ts +++ b/packages/platform-server/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/test/integration_spec.ts b/packages/platform-server/test/integration_spec.ts index d073987aff..5703c00885 100644 --- a/packages/platform-server/test/integration_spec.ts +++ b/packages/platform-server/test/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -793,6 +793,151 @@ describe('platform-server integration', () => { }); })); + describe('relative requests', () => { + it('correctly maps to absolute URL request with base config', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: {document: '', url: 'http://localhost', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost/testing').flush('success!'); + }); + }); + + it('uses default URL behavior when not enabled', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: {document: '', url: 'http://localhost', useAbsoluteUrl: false} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe(() => {}, (body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('error'); + }); + mock.expectOne('/testing').flush('error'); + }); + }); + + it('correctly maps to absolute URL request with port', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: {document: '', url: 'http://localhost:5000', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost:5000/testing').flush('success!'); + }); + }); + + it('correctly maps to absolute URL request with two slashes', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: {document: '', url: 'http://localhost/', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost/testing').flush('success!'); + }); + }); + + it('correctly maps to absolute URL request with no slashes', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: {document: '', url: 'http://localhost', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost/testing').flush('success!'); + }); + }); + + it('correctly maps to absolute URL request with longer url and no slashes', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: + {document: '', url: 'http://localhost/path/page', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost/path/testing').flush('success!'); + }); + }); + + it('correctly maps to absolute URL request with longer url and slashes', async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: + {document: '', url: 'http://localhost/path/page', useAbsoluteUrl: true} + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://localhost/testing').flush('success!'); + }); + }); + + it('correctly maps to absolute URL request with longer url, slashes, and base href', + async () => { + const platform = platformDynamicServer([{ + provide: INITIAL_CONFIG, + useValue: { + document: '', + url: 'http://localhost/path/page', + useAbsoluteUrl: true + } + }]); + const ref = await platform.bootstrapModule(HttpClientExampleModule); + const mock = ref.injector.get(HttpTestingController) as HttpTestingController; + const http = ref.injector.get(HttpClient); + ref.injector.get(NgZone).run(() => { + http.get('/testing').subscribe((body: string) => { + NgZone.assertInAngularZone(); + expect(body).toEqual('success!'); + }); + mock.expectOne('http://other/testing').flush('success!'); + }); + }); + }); + it('requests are macrotasks', async(() => { const platform = platformDynamicServer( [{provide: INITIAL_CONFIG, useValue: {document: ''}}]); diff --git a/packages/platform-server/testing/index.ts b/packages/platform-server/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-server/testing/index.ts +++ b/packages/platform-server/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/testing/public_api.ts b/packages/platform-server/testing/public_api.ts index e95d9f8ef0..5f9cbc57e6 100644 --- a/packages/platform-server/testing/public_api.ts +++ b/packages/platform-server/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/testing/src/server.ts b/packages/platform-server/testing/src/server.ts index 854a278a4c..67fc2bc853 100644 --- a/packages/platform-server/testing/src/server.ts +++ b/packages/platform-server/testing/src/server.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-server/testing/src/testing.ts b/packages/platform-server/testing/src/testing.ts index 40fa4bee35..9f2d09e7ea 100644 --- a/packages/platform-server/testing/src/testing.ts +++ b/packages/platform-server/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker-dynamic/index.ts b/packages/platform-webworker-dynamic/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-webworker-dynamic/index.ts +++ b/packages/platform-webworker-dynamic/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker-dynamic/package.json b/packages/platform-webworker-dynamic/package.json index fa16cc9ddf..5c7baced1a 100644 --- a/packages/platform-webworker-dynamic/package.json +++ b/packages/platform-webworker-dynamic/package.json @@ -4,13 +4,15 @@ "description": "Angular - library for using Angular in a web browser with web workers", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/common": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER", "@angular/compiler": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "@angular/platform-webworker": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/platform-webworker": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/platform-webworker-dynamic/public_api.ts b/packages/platform-webworker-dynamic/public_api.ts index cf23ca699e..f6ddc07fc9 100644 --- a/packages/platform-webworker-dynamic/public_api.ts +++ b/packages/platform-webworker-dynamic/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker-dynamic/src/platform-webworker-dynamic.ts b/packages/platform-webworker-dynamic/src/platform-webworker-dynamic.ts index e53cd19e56..f82a60f2b6 100644 --- a/packages/platform-webworker-dynamic/src/platform-webworker-dynamic.ts +++ b/packages/platform-webworker-dynamic/src/platform-webworker-dynamic.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker-dynamic/src/version.ts b/packages/platform-webworker-dynamic/src/version.ts index f7520506ce..59d0e9ac66 100644 --- a/packages/platform-webworker-dynamic/src/version.ts +++ b/packages/platform-webworker-dynamic/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/index.ts b/packages/platform-webworker/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/platform-webworker/index.ts +++ b/packages/platform-webworker/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/package.json b/packages/platform-webworker/package.json index 5205adb55a..ac0cd34e20 100644 --- a/packages/platform-webworker/package.json +++ b/packages/platform-webworker/package.json @@ -4,11 +4,13 @@ "description": "Angular - library for using Angular in a web browser with web workers", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/common": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER", - "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/platform-browser": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/platform-webworker/public_api.ts b/packages/platform-webworker/public_api.ts index f9db0bde68..8146e52b46 100644 --- a/packages/platform-webworker/public_api.ts +++ b/packages/platform-webworker/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/platform-webworker.ts b/packages/platform-webworker/src/platform-webworker.ts index 0801046c44..9846e80d31 100644 --- a/packages/platform-webworker/src/platform-webworker.ts +++ b/packages/platform-webworker/src/platform-webworker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/version.ts b/packages/platform-webworker/src/version.ts index f7520506ce..59d0e9ac66 100644 --- a/packages/platform-webworker/src/version.ts +++ b/packages/platform-webworker/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/api.ts b/packages/platform-webworker/src/web_workers/shared/api.ts index b568820796..5becf7e1ca 100644 --- a/packages/platform-webworker/src/web_workers/shared/api.ts +++ b/packages/platform-webworker/src/web_workers/shared/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/client_message_broker.ts b/packages/platform-webworker/src/web_workers/shared/client_message_broker.ts index f3682ad021..fdd321cda1 100644 --- a/packages/platform-webworker/src/web_workers/shared/client_message_broker.ts +++ b/packages/platform-webworker/src/web_workers/shared/client_message_broker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/message_bus.ts b/packages/platform-webworker/src/web_workers/shared/message_bus.ts index e9b4d27e71..4b864cceac 100644 --- a/packages/platform-webworker/src/web_workers/shared/message_bus.ts +++ b/packages/platform-webworker/src/web_workers/shared/message_bus.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/messaging_api.ts b/packages/platform-webworker/src/web_workers/shared/messaging_api.ts index 1a4200c0f4..7449657fc9 100644 --- a/packages/platform-webworker/src/web_workers/shared/messaging_api.ts +++ b/packages/platform-webworker/src/web_workers/shared/messaging_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/post_message_bus.ts b/packages/platform-webworker/src/web_workers/shared/post_message_bus.ts index c23fb022e5..f8465db492 100644 --- a/packages/platform-webworker/src/web_workers/shared/post_message_bus.ts +++ b/packages/platform-webworker/src/web_workers/shared/post_message_bus.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/render_store.ts b/packages/platform-webworker/src/web_workers/shared/render_store.ts index 4327815850..b4d77105f5 100644 --- a/packages/platform-webworker/src/web_workers/shared/render_store.ts +++ b/packages/platform-webworker/src/web_workers/shared/render_store.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/serializer.ts b/packages/platform-webworker/src/web_workers/shared/serializer.ts index 775fb89f78..d460db3266 100644 --- a/packages/platform-webworker/src/web_workers/shared/serializer.ts +++ b/packages/platform-webworker/src/web_workers/shared/serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/shared/service_message_broker.ts b/packages/platform-webworker/src/web_workers/shared/service_message_broker.ts index 4997e35047..2eafcf4e07 100644 --- a/packages/platform-webworker/src/web_workers/shared/service_message_broker.ts +++ b/packages/platform-webworker/src/web_workers/shared/service_message_broker.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/ui/event_dispatcher.ts b/packages/platform-webworker/src/web_workers/ui/event_dispatcher.ts index 9092bbb4ab..7e68a8ae92 100644 --- a/packages/platform-webworker/src/web_workers/ui/event_dispatcher.ts +++ b/packages/platform-webworker/src/web_workers/ui/event_dispatcher.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/ui/event_serializer.ts b/packages/platform-webworker/src/web_workers/ui/event_serializer.ts index 026f7763f3..74bb03944d 100644 --- a/packages/platform-webworker/src/web_workers/ui/event_serializer.ts +++ b/packages/platform-webworker/src/web_workers/ui/event_serializer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/ui/location_providers.ts b/packages/platform-webworker/src/web_workers/ui/location_providers.ts index 7a7dbe0734..f3e41e1dd5 100644 --- a/packages/platform-webworker/src/web_workers/ui/location_providers.ts +++ b/packages/platform-webworker/src/web_workers/ui/location_providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/ui/platform_location.ts b/packages/platform-webworker/src/web_workers/ui/platform_location.ts index ecc4eab98c..07d9eb6041 100644 --- a/packages/platform-webworker/src/web_workers/ui/platform_location.ts +++ b/packages/platform-webworker/src/web_workers/ui/platform_location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/ui/renderer.ts b/packages/platform-webworker/src/web_workers/ui/renderer.ts index b8c7f37ac9..9dd7870e05 100644 --- a/packages/platform-webworker/src/web_workers/ui/renderer.ts +++ b/packages/platform-webworker/src/web_workers/ui/renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/worker/location_providers.ts b/packages/platform-webworker/src/web_workers/worker/location_providers.ts index 751ebb3eb9..0002fe067a 100644 --- a/packages/platform-webworker/src/web_workers/worker/location_providers.ts +++ b/packages/platform-webworker/src/web_workers/worker/location_providers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/worker/platform_location.ts b/packages/platform-webworker/src/web_workers/worker/platform_location.ts index 687d78d0dd..89ea3efcea 100644 --- a/packages/platform-webworker/src/web_workers/worker/platform_location.ts +++ b/packages/platform-webworker/src/web_workers/worker/platform_location.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/worker/renderer.ts b/packages/platform-webworker/src/web_workers/worker/renderer.ts index 23a30a041e..e95ae57304 100644 --- a/packages/platform-webworker/src/web_workers/worker/renderer.ts +++ b/packages/platform-webworker/src/web_workers/worker/renderer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/web_workers/worker/worker_adapter.ts b/packages/platform-webworker/src/web_workers/worker/worker_adapter.ts index 1eb9376c78..f864110dc5 100644 --- a/packages/platform-webworker/src/web_workers/worker/worker_adapter.ts +++ b/packages/platform-webworker/src/web_workers/worker/worker_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/worker_app.ts b/packages/platform-webworker/src/worker_app.ts index d996db13cd..b913c915d2 100644 --- a/packages/platform-webworker/src/worker_app.ts +++ b/packages/platform-webworker/src/worker_app.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/src/worker_render.ts b/packages/platform-webworker/src/worker_render.ts index 5cb2460c18..fe69043ebf 100644 --- a/packages/platform-webworker/src/worker_render.ts +++ b/packages/platform-webworker/src/worker_render.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/message_bus_spec.ts b/packages/platform-webworker/test/web_workers/shared/message_bus_spec.ts index 5a3f978183..c101661182 100644 --- a/packages/platform-webworker/test/web_workers/shared/message_bus_spec.ts +++ b/packages/platform-webworker/test/web_workers/shared/message_bus_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/message_bus_util.ts b/packages/platform-webworker/test/web_workers/shared/message_bus_util.ts index 3aaa022c8e..99b886a2a5 100644 --- a/packages/platform-webworker/test/web_workers/shared/message_bus_util.ts +++ b/packages/platform-webworker/test/web_workers/shared/message_bus_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/mock_event_emitter.ts b/packages/platform-webworker/test/web_workers/shared/mock_event_emitter.ts index 0aeb85fa17..48640d8df5 100644 --- a/packages/platform-webworker/test/web_workers/shared/mock_event_emitter.ts +++ b/packages/platform-webworker/test/web_workers/shared/mock_event_emitter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/render_store_spec.ts b/packages/platform-webworker/test/web_workers/shared/render_store_spec.ts index 53fad8ea58..190704a3ee 100644 --- a/packages/platform-webworker/test/web_workers/shared/render_store_spec.ts +++ b/packages/platform-webworker/test/web_workers/shared/render_store_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/service_message_broker_spec.ts b/packages/platform-webworker/test/web_workers/shared/service_message_broker_spec.ts index 03ed2934ce..f3fcfe1970 100644 --- a/packages/platform-webworker/test/web_workers/shared/service_message_broker_spec.ts +++ b/packages/platform-webworker/test/web_workers/shared/service_message_broker_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/shared/web_worker_test_util.ts b/packages/platform-webworker/test/web_workers/shared/web_worker_test_util.ts index 6b29e6d0ca..3fd3f7f97c 100644 --- a/packages/platform-webworker/test/web_workers/shared/web_worker_test_util.ts +++ b/packages/platform-webworker/test/web_workers/shared/web_worker_test_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/worker/platform_location_spec.ts b/packages/platform-webworker/test/web_workers/worker/platform_location_spec.ts index 8770854ecb..3350b90995 100644 --- a/packages/platform-webworker/test/web_workers/worker/platform_location_spec.ts +++ b/packages/platform-webworker/test/web_workers/worker/platform_location_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts b/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts index e27710d8c4..9acb36a787 100644 --- a/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts +++ b/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/platform-webworker/test/web_workers/worker/spies.ts b/packages/platform-webworker/test/web_workers/worker/spies.ts index e9337dbad3..c2b6b27f51 100644 --- a/packages/platform-webworker/test/web_workers/worker/spies.ts +++ b/packages/platform-webworker/test/web_workers/worker/spies.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/private/testing/index.ts b/packages/private/testing/index.ts index 50d2221ba4..9dbcef2587 100644 --- a/packages/private/testing/index.ts +++ b/packages/private/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/private/testing/src/angular_ivy_enabled.ts b/packages/private/testing/src/angular_ivy_enabled.ts index 1d119f5ddc..11b881f303 100644 --- a/packages/private/testing/src/angular_ivy_enabled.ts +++ b/packages/private/testing/src/angular_ivy_enabled.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/private/testing/src/ivy_test_selectors.ts b/packages/private/testing/src/ivy_test_selectors.ts index 8cec3ec2ba..d989b9c843 100644 --- a/packages/private/testing/src/ivy_test_selectors.ts +++ b/packages/private/testing/src/ivy_test_selectors.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/private/testing/src/render3.ts b/packages/private/testing/src/render3.ts index 531e07b2db..5e51240263 100644 --- a/packages/private/testing/src/render3.ts +++ b/packages/private/testing/src/render3.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/index.ts b/packages/router/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/router/index.ts +++ b/packages/router/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/karma-test-shim.js b/packages/router/karma-test-shim.js index d99c39ba25..63258e2d65 100644 --- a/packages/router/karma-test-shim.js +++ b/packages/router/karma-test-shim.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/karma.conf.js b/packages/router/karma.conf.js index 54dab9a9e0..038d8e2654 100644 --- a/packages/router/karma.conf.js +++ b/packages/router/karma.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,8 +35,8 @@ module.exports = function(config) { 'node_modules/systemjs/dist/system.src.js', // Zone.js dependencies - 'dist/bin/packages/zone.js/npm_package/dist/zone.js', - 'dist/bin/packages/zone.js/npm_package/dist/zone-testing.js', + 'dist/bin/packages/zone.js/npm_package/bundles/zone.umd.js', + 'dist/bin/packages/zone.js/npm_package/bundles/zone-testing.umd.js', {pattern: 'node_modules/rxjs/**/*', included: false, watched: false}, diff --git a/packages/router/package.json b/packages/router/package.json index b64f73c7ed..10fdb4b680 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -18,13 +18,13 @@ }, "homepage": "https://github.com/angular/angular/tree/master/packages/router", "dependencies": { + "tslib": "^2.0.0" }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "rxjs": "^6.5.3", - "tslib": "^1.10.0" + "rxjs": "^6.5.3" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/router/public_api.ts b/packages/router/public_api.ts index 778427176d..ba852d8175 100644 --- a/packages/router/public_api.ts +++ b/packages/router/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/apply_redirects.ts b/packages/router/src/apply_redirects.ts index ad39710e9e..b04ba40bb0 100644 --- a/packages/router/src/apply_redirects.ts +++ b/packages/router/src/apply_redirects.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/components/empty_outlet.ts b/packages/router/src/components/empty_outlet.ts index fcef102e46..8f0f511e95 100644 --- a/packages/router/src/components/empty_outlet.ts +++ b/packages/router/src/components/empty_outlet.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/config.ts b/packages/router/src/config.ts index 06a04d7888..bc7137064b 100644 --- a/packages/router/src/config.ts +++ b/packages/router/src/config.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -454,7 +454,7 @@ export interface Route { */ component?: Type; /** - * A URL to which to redirect when a the path matches. + * A URL to redirect to when the path matches. * Absolute if the URL begins with a slash (/), otherwise relative to the path URL. * When not present, router does not redirect. */ diff --git a/packages/router/src/create_router_state.ts b/packages/router/src/create_router_state.ts index 842987467d..17e0f8b6ad 100644 --- a/packages/router/src/create_router_state.ts +++ b/packages/router/src/create_router_state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/create_url_tree.ts b/packages/router/src/create_url_tree.ts index 14f6017be3..cec351c7cc 100644 --- a/packages/router/src/create_url_tree.ts +++ b/packages/router/src/create_url_tree.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -148,7 +148,12 @@ function findStartingPosition(nav: Navigation, tree: UrlTree, route: ActivatedRo } if (route.snapshot._lastPathIndex === -1) { - return new Position(route.snapshot._urlSegment, true, 0); + const segmentGroup = route.snapshot._urlSegment; + // Pathless ActivatedRoute has _lastPathIndex === -1 but should not process children + // see issue #26224, #13011, #35687 + // However, if the ActivatedRoute is the root we should process children like above. + const processChildren = segmentGroup === tree.root; + return new Position(segmentGroup, processChildren, 0); } const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1; @@ -181,9 +186,11 @@ function getPath(command: any): any { } function getOutlets(commands: any[]): {[k: string]: any[]} { - if (!(typeof commands[0] === 'object')) return {[PRIMARY_OUTLET]: commands}; - if (commands[0].outlets === undefined) return {[PRIMARY_OUTLET]: commands}; - return commands[0].outlets; + if (typeof commands[0] === 'object' && commands[0] !== null && commands[0].outlets) { + return commands[0].outlets; + } + + return {[PRIMARY_OUTLET]: commands}; } function updateSegmentGroup( @@ -269,7 +276,8 @@ function createNewSegmentGroup( let i = 0; while (i < commands.length) { - if (typeof commands[i] === 'object' && commands[i].outlets !== undefined) { + if (typeof commands[i] === 'object' && commands[i] !== null && + commands[i].outlets !== undefined) { const children = createNewSegmentChildren(commands[i].outlets); return new UrlSegmentGroup(paths, children); } diff --git a/packages/router/src/directives/router_link.ts b/packages/router/src/directives/router_link.ts index ca1e9eca2d..dac189a9b4 100644 --- a/packages/router/src/directives/router_link.ts +++ b/packages/router/src/directives/router_link.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -80,7 +80,7 @@ import {UrlTree} from '../url_tree'; * link to user component * * ``` - * RouterLink will use these to generate this link: `/user/bob#education?debug=true`. + * RouterLink will use these to generate this link: `/user/bob?debug=true#education`. * * RouterLink 将会使用它们生成如下链接:`/user/bob#education?debug=true`。 * @@ -167,21 +167,55 @@ import {UrlTree} from '../url_tree'; */ @Directive({selector: ':not(a):not(area)[routerLink]'}) export class RouterLink { + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#queryParams NavigationExtras#queryParams} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() queryParams!: {[k: string]: any}; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#fragment NavigationExtras#fragment} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() fragment!: string; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#queryParamsHandling NavigationExtras#queryParamsHandling} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() queryParamsHandling!: QueryParamsHandling; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#preserveFragment NavigationExtras#preserveFragment} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() preserveFragment!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#skipLocationChange NavigationExtras#skipLocationChange} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() skipLocationChange!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#replaceUrl NavigationExtras#replaceUrl} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() replaceUrl!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#state NavigationExtras#state} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ @Input() state?: {[k: string]: any}; private commands: any[] = []; - // TODO(issue/24571): remove '!'. private preserve!: boolean; constructor( @@ -192,8 +226,16 @@ export class RouterLink { } } + /** + * @param commands An array of commands to pass to {@link Router#createUrlTree + * Router#createUrlTree}. + * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}. + * - **string**: shorthand for array of commands with just the string, i.e. `['/route']` + * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]` + * @see {@link Router#createUrlTree Router#createUrlTree} + */ @Input() - set routerLink(commands: any[]|string) { + set routerLink(commands: any[]|string|null|undefined) { if (commands != null) { this.commands = Array.isArray(commands) ? commands : [commands]; } else { @@ -202,7 +244,7 @@ export class RouterLink { } /** - * @deprecated 4.0.0 use `queryParamsHandling` instead. + * @deprecated As of Angular v4.0 use `queryParamsHandling` instead. */ @Input() set preserveQueryParams(value: boolean) { @@ -254,18 +296,53 @@ export class RouterLink { export class RouterLinkWithHref implements OnChanges, OnDestroy { // TODO(issue/24571): remove '!'. @HostBinding('attr.target') @Input() target!: string; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#queryParams NavigationExtras#queryParams} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() queryParams!: {[k: string]: any}; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#fragment NavigationExtras#fragment} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() fragment!: string; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#queryParamsHandling NavigationExtras#queryParamsHandling} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() queryParamsHandling!: QueryParamsHandling; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#preserveFragment NavigationExtras#preserveFragment} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() preserveFragment!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#skipLocationChange NavigationExtras#skipLocationChange} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() skipLocationChange!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#replaceUrl NavigationExtras#replaceUrl} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ // TODO(issue/24571): remove '!'. @Input() replaceUrl!: boolean; + /** + * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`. + * @see {@link NavigationExtras#state NavigationExtras#state} + * @see {@link Router#createUrlTree Router#createUrlTree} + */ @Input() state?: {[k: string]: any}; private commands: any[] = []; private subscription: Subscription; @@ -286,8 +363,16 @@ export class RouterLinkWithHref implements OnChanges, OnDestroy { }); } + /** + * @param commands An array of commands to pass to {@link Router#createUrlTree + * Router#createUrlTree}. + * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}. + * - **string**: shorthand for array of commands with just the string, i.e. `['/route']` + * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]` + * @see {@link Router#createUrlTree Router#createUrlTree} + */ @Input() - set routerLink(commands: any[]|string) { + set routerLink(commands: any[]|string|null|undefined) { if (commands != null) { this.commands = Array.isArray(commands) ? commands : [commands]; } else { @@ -295,6 +380,9 @@ export class RouterLinkWithHref implements OnChanges, OnDestroy { } } + /** + * @deprecated As of Angular v4.0 use `queryParamsHandling` instead. + */ @Input() set preserveQueryParams(value: boolean) { if (isDevMode() && console && console.warn) { diff --git a/packages/router/src/directives/router_link_active.ts b/packages/router/src/directives/router_link_active.ts index f55e2ccc1b..0085b8ae0f 100644 --- a/packages/router/src/directives/router_link_active.ts +++ b/packages/router/src/directives/router_link_active.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {AfterContentInit, ContentChildren, Directive, ElementRef, Input, OnChanges, OnDestroy, Optional, QueryList, Renderer2, SimpleChanges} from '@angular/core'; +import {AfterContentInit, ChangeDetectorRef, ContentChildren, Directive, ElementRef, Input, OnChanges, OnDestroy, Optional, QueryList, Renderer2, SimpleChanges} from '@angular/core'; import {Subscription} from 'rxjs'; import {Event, NavigationEnd} from '../events'; @@ -111,7 +111,7 @@ export class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit constructor( private router: Router, private element: ElementRef, private renderer: Renderer2, - @Optional() private link?: RouterLink, + private readonly cdr: ChangeDetectorRef, @Optional() private link?: RouterLink, @Optional() private linkWithHref?: RouterLinkWithHref) { this.subscription = router.events.subscribe((s: Event) => { if (s instanceof NavigationEnd) { @@ -146,6 +146,7 @@ export class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit const hasActiveLinks = this.hasActiveLinks(); if (this.isActive !== hasActiveLinks) { (this as any).isActive = hasActiveLinks; + this.cdr.markForCheck(); this.classes.forEach((c) => { if (hasActiveLinks) { this.renderer.addClass(this.element.nativeElement, c); diff --git a/packages/router/src/directives/router_outlet.ts b/packages/router/src/directives/router_outlet.ts index d026c63a1e..561281588f 100644 --- a/packages/router/src/directives/router_outlet.ts +++ b/packages/router/src/directives/router_outlet.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/events.ts b/packages/router/src/events.ts index d910b7d969..c619ff676c 100644 --- a/packages/router/src/events.ts +++ b/packages/router/src/events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -42,8 +42,8 @@ export type NavigationTrigger = 'imperative'|'popstate'|'hashchange'; * class MyService { * constructor(public router: Router, logger: Logger) { * router.events.pipe( - * filter(e => e instanceof RouterEvent) - * ).subscribe(e => { + * filter((e: Event): e is RouterEvent => e instanceof RouterEvent) + * ).subscribe((e: RouterEvent) => { * logger.log(e.id, e.url); * }); * } diff --git a/packages/router/src/index.ts b/packages/router/src/index.ts index 7d37b8fd36..ffd02e06c8 100644 --- a/packages/router/src/index.ts +++ b/packages/router/src/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/interfaces.ts b/packages/router/src/interfaces.ts index 0ec20a86b9..0e0516526b 100644 --- a/packages/router/src/interfaces.ts +++ b/packages/router/src/interfaces.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/activate_routes.ts b/packages/router/src/operators/activate_routes.ts index 5040cbc96f..a045bfe4a8 100644 --- a/packages/router/src/operators/activate_routes.ts +++ b/packages/router/src/operators/activate_routes.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -210,4 +210,4 @@ function parentLoadedConfig(snapshot: ActivatedRouteSnapshot): LoadedRouterConfi } return null; -} \ No newline at end of file +} diff --git a/packages/router/src/operators/apply_redirects.ts b/packages/router/src/operators/apply_redirects.ts index 119fc326ed..57707a84c8 100644 --- a/packages/router/src/operators/apply_redirects.ts +++ b/packages/router/src/operators/apply_redirects.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/check_guards.ts b/packages/router/src/operators/check_guards.ts index 9d05851342..29a3252937 100644 --- a/packages/router/src/operators/check_guards.ts +++ b/packages/router/src/operators/check_guards.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/prioritized_guard_value.ts b/packages/router/src/operators/prioritized_guard_value.ts index bfe7b794f5..74d0192602 100644 --- a/packages/router/src/operators/prioritized_guard_value.ts +++ b/packages/router/src/operators/prioritized_guard_value.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/recognize.ts b/packages/router/src/operators/recognize.ts index 47b892bdb4..25caef15c6 100644 --- a/packages/router/src/operators/recognize.ts +++ b/packages/router/src/operators/recognize.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/resolve_data.ts b/packages/router/src/operators/resolve_data.ts index 6965d9e1cc..9af5cf3e87 100644 --- a/packages/router/src/operators/resolve_data.ts +++ b/packages/router/src/operators/resolve_data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/operators/switch_tap.ts b/packages/router/src/operators/switch_tap.ts index 0922a758de..dbadd1eb31 100644 --- a/packages/router/src/operators/switch_tap.ts +++ b/packages/router/src/operators/switch_tap.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/private_export.ts b/packages/router/src/private_export.ts index 27c8e2686e..fa90c45ee5 100644 --- a/packages/router/src/private_export.ts +++ b/packages/router/src/private_export.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/recognize.ts b/packages/router/src/recognize.ts index d52902f3e9..336a5afe8f 100644 --- a/packages/router/src/recognize.ts +++ b/packages/router/src/recognize.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/route_reuse_strategy.ts b/packages/router/src/route_reuse_strategy.ts index 4dff7d4418..0d2a0241ac 100644 --- a/packages/router/src/route_reuse_strategy.ts +++ b/packages/router/src/route_reuse_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router.ts b/packages/router/src/router.ts index 6e124599ba..6362fd555e 100644 --- a/packages/router/src/router.ts +++ b/packages/router/src/router.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router_config_loader.ts b/packages/router/src/router_config_loader.ts index 7c35f76438..d9c014f345 100644 --- a/packages/router/src/router_config_loader.ts +++ b/packages/router/src/router_config_loader.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router_module.ts b/packages/router/src/router_module.ts index 6a728b4953..8adca202aa 100644 --- a/packages/router/src/router_module.ts +++ b/packages/router/src/router_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router_outlet_context.ts b/packages/router/src/router_outlet_context.ts index 8ec084ab3e..1ed0b8b96b 100644 --- a/packages/router/src/router_outlet_context.ts +++ b/packages/router/src/router_outlet_context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router_preloader.ts b/packages/router/src/router_preloader.ts index c064ea44a1..d5e7670967 100644 --- a/packages/router/src/router_preloader.ts +++ b/packages/router/src/router_preloader.ts @@ -1,9 +1,9 @@ /** - *@license - *Copyright Google Inc. All Rights Reserved. + * @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 + * 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 {Compiler, Injectable, Injector, NgModuleFactoryLoader, NgModuleRef, OnDestroy} from '@angular/core'; diff --git a/packages/router/src/router_scroller.ts b/packages/router/src/router_scroller.ts index 9e5864b0b9..9d0c6e8d58 100644 --- a/packages/router/src/router_scroller.ts +++ b/packages/router/src/router_scroller.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/router_state.ts b/packages/router/src/router_state.ts index c8cc6ba5bc..ec34c33b85 100644 --- a/packages/router/src/router_state.ts +++ b/packages/router/src/router_state.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/shared.ts b/packages/router/src/shared.ts index 34f2b9c53c..6811d5e945 100644 --- a/packages/router/src/shared.ts +++ b/packages/router/src/shared.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -79,7 +79,7 @@ class ParamsAsMap implements ParamMap { } has(name: string): boolean { - return this.params.hasOwnProperty(name); + return Object.prototype.hasOwnProperty.call(this.params, name); } get(name: string): string|null { diff --git a/packages/router/src/url_handling_strategy.ts b/packages/router/src/url_handling_strategy.ts index 43e0ab1700..067421c5ff 100644 --- a/packages/router/src/url_handling_strategy.ts +++ b/packages/router/src/url_handling_strategy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -51,4 +51,4 @@ export class DefaultUrlHandlingStrategy implements UrlHandlingStrategy { merge(newUrlPart: UrlTree, wholeUrl: UrlTree): UrlTree { return newUrlPart; } -} \ No newline at end of file +} diff --git a/packages/router/src/url_tree.ts b/packages/router/src/url_tree.ts index 2b0d1a610e..7dd79e97c9 100644 --- a/packages/router/src/url_tree.ts +++ b/packages/router/src/url_tree.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -341,6 +341,11 @@ function serializeSegment(segment: UrlSegmentGroup, root: boolean): string { return [`${k}:${serializeSegment(v, false)}`]; }); + // use no parenthesis if the only child is a primary outlet route + if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) { + return `${serializePaths(segment)}/${children[0]}`; + } + return `${serializePaths(segment)}/(${children.join('//')})`; } } diff --git a/packages/router/src/utils/collection.ts b/packages/router/src/utils/collection.ts index 4688c5938d..637cb7a9f3 100644 --- a/packages/router/src/utils/collection.ts +++ b/packages/router/src/utils/collection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/utils/preactivation.ts b/packages/router/src/utils/preactivation.ts index cb274cc974..0334810748 100644 --- a/packages/router/src/utils/preactivation.ts +++ b/packages/router/src/utils/preactivation.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/utils/tree.ts b/packages/router/src/utils/tree.ts index 01de0f2124..91b607c6f7 100644 --- a/packages/router/src/utils/tree.ts +++ b/packages/router/src/utils/tree.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -106,4 +106,4 @@ export function nodeChildrenAsMap(node: TreeNode| } return map; -} \ No newline at end of file +} diff --git a/packages/router/src/utils/type_guards.ts b/packages/router/src/utils/type_guards.ts index 91a32806e1..6f8cbd9d04 100644 --- a/packages/router/src/utils/type_guards.ts +++ b/packages/router/src/utils/type_guards.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/src/version.ts b/packages/router/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/router/src/version.ts +++ b/packages/router/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/aot_ngsummary_test/aot_router_bootstrap.spec.ts b/packages/router/test/aot_ngsummary_test/aot_router_bootstrap.spec.ts index 8286936cec..336dae0e40 100644 --- a/packages/router/test/aot_ngsummary_test/aot_router_bootstrap.spec.ts +++ b/packages/router/test/aot_ngsummary_test/aot_router_bootstrap.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/aot_ngsummary_test/aot_router_module.ts b/packages/router/test/aot_ngsummary_test/aot_router_module.ts index e0a49b0993..c06e7e9321 100644 --- a/packages/router/test/aot_ngsummary_test/aot_router_module.ts +++ b/packages/router/test/aot_ngsummary_test/aot_router_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/apply_redirects.spec.ts b/packages/router/test/apply_redirects.spec.ts index 833f7f8759..918d259ce0 100644 --- a/packages/router/test/apply_redirects.spec.ts +++ b/packages/router/test/apply_redirects.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/bootstrap.spec.ts b/packages/router/test/bootstrap.spec.ts index e364519a8d..12c768e784 100644 --- a/packages/router/test/bootstrap.spec.ts +++ b/packages/router/test/bootstrap.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/config.spec.ts b/packages/router/test/config.spec.ts index c1b4d392f3..fb4bb03d1e 100644 --- a/packages/router/test/config.spec.ts +++ b/packages/router/test/config.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/create_router_state.spec.ts b/packages/router/test/create_router_state.spec.ts index 54f0d73b78..3351eb2be9 100644 --- a/packages/router/test/create_router_state.spec.ts +++ b/packages/router/test/create_router_state.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/create_url_tree.spec.ts b/packages/router/test/create_url_tree.spec.ts index 5c7c4414f8..8603c1062a 100644 --- a/packages/router/test/create_url_tree.spec.ts +++ b/packages/router/test/create_url_tree.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,7 +11,7 @@ import {BehaviorSubject} from 'rxjs'; import {createUrlTree} from '../src/create_url_tree'; import {ActivatedRoute, ActivatedRouteSnapshot, advanceActivatedRoute} from '../src/router_state'; import {Params, PRIMARY_OUTLET} from '../src/shared'; -import {DefaultUrlSerializer, UrlSegmentGroup, UrlTree} from '../src/url_tree'; +import {DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlTree} from '../src/url_tree'; describe('createUrlTree', () => { const serializer = new DefaultUrlSerializer(); @@ -68,7 +68,21 @@ describe('createUrlTree', () => { expect(params[1].path).toEqual('11'); }); - it('should support first segments contaings slashes', () => { + it('should work if command = null', () => { + const p = serializer.parse('/a/b'); + const t = createRoot(p, [null]); + const params = t.root.children[PRIMARY_OUTLET].segments; + expect(params[0].path).toEqual('null'); + }); + + it('should work if command is undefined', () => { + const p = serializer.parse('/a/b'); + const t = createRoot(p, [undefined]); + const params = t.root.children[PRIMARY_OUTLET].segments; + expect(params[0].path).toEqual('undefined'); + }); + + it('should support first segments containing slashes', () => { const p = serializer.parse('/'); const t = createRoot(p, [{segmentPath: '/one'}, 'two/three']); expect(serializer.serialize(t)).toEqual('/%2Fone/two%2Fthree'); @@ -128,6 +142,12 @@ describe('createUrlTree', () => { expect(serializer.serialize(t)).toEqual('/a'); }); + it('should support removing parenthesis for primary segment on second path element', () => { + const p = serializer.parse('/a/(b//right:c)'); + const t = createRoot(p, ['a', {outlets: {right: null}}]); + expect(serializer.serialize(t)).toEqual('/a/b'); + }); + it('should update matrix parameters', () => { const p = serializer.parse('/a;pp=11'); const t = createRoot(p, ['/a', {pp: 22, dd: 33}]); @@ -240,6 +260,29 @@ describe('createUrlTree', () => { const t = createRoot(p, [], {}, 'fragment'); expect(t.fragment).toEqual('fragment'); }); + + it('should support pathless route', () => { + const p = serializer.parse('/a'); + const t = create(p.root.children[PRIMARY_OUTLET], -1, p, ['b']); + expect(serializer.serialize(t)).toEqual('/b'); + }); + + it('should support pathless route with ../ at root', () => { + const p = serializer.parse('/a'); + const t = create(p.root.children[PRIMARY_OUTLET], -1, p, ['../b']); + expect(serializer.serialize(t)).toEqual('/b'); + }); + + it('should support pathless child of pathless root', () => { + // i.e. routes = {path: '', loadChildren: () => import('child')...} + // forChild: {path: '', component: Comp} + const p = serializer.parse(''); + const empty = new UrlSegmentGroup([], {}); + p.root.children[PRIMARY_OUTLET] = empty; + empty.parent = p.root; + const t = create(empty, -1, p, ['lazy']); + expect(serializer.serialize(t)).toEqual('/lazy'); + }); }); function createRoot(tree: UrlTree, commands: any[], queryParams?: Params, fragment?: string) { @@ -260,8 +303,8 @@ function create( expect(segment).toBeDefined(); } const s = new (ActivatedRouteSnapshot as any)( - [], {}, {}, '', {}, PRIMARY_OUTLET, 'someComponent', null, segment, - startIndex, null); + segment.segments, {}, {}, '', {}, PRIMARY_OUTLET, 'someComponent', null, + segment, startIndex, null); const a = new (ActivatedRoute as any)( new BehaviorSubject(null!), new BehaviorSubject(null!), new BehaviorSubject(null!), new BehaviorSubject(null!), new BehaviorSubject(null!), PRIMARY_OUTLET, 'someComponent', s); diff --git a/packages/router/test/helpers.ts b/packages/router/test/helpers.ts index a4dc6eb4b4..1236adacb8 100644 --- a/packages/router/test/helpers.ts +++ b/packages/router/test/helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/integration.spec.ts b/packages/router/test/integration.spec.ts index 1098c0c4d9..9aa3775aca 100644 --- a/packages/router/test/integration.spec.ts +++ b/packages/router/test/integration.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1968,11 +1968,15 @@ describe('Integration', () => { expect(native.getAttribute('href')).toEqual('/home'); })); - it('should not throw when commands is null', fakeAsync(() => { + it('should not throw when commands is null or undefined', fakeAsync(() => { @Component({ selector: 'someCmp', - template: - `Link` + template: ` + Link + + Link + + ` }) class CmpWithLink { } @@ -1982,10 +1986,42 @@ describe('Integration', () => { let fixture: ComponentFixture = createRoot(router, CmpWithLink); router.resetConfig([{path: 'home', component: SimpleCmp}]); - const anchor = fixture.nativeElement.querySelector('a'); - const button = fixture.nativeElement.querySelector('button'); - expect(() => anchor.click()).not.toThrow(); - expect(() => button.click()).not.toThrow(); + const anchors = fixture.nativeElement.querySelectorAll('a'); + const buttons = fixture.nativeElement.querySelectorAll('button'); + expect(() => anchors[0].click()).not.toThrow(); + expect(() => anchors[1].click()).not.toThrow(); + expect(() => buttons[0].click()).not.toThrow(); + expect(() => buttons[1].click()).not.toThrow(); + })); + + it('should not throw when some command is null', fakeAsync(() => { + @Component({ + selector: 'someCmp', + template: + `Link` + }) + class CmpWithLink { + } + + TestBed.configureTestingModule({declarations: [CmpWithLink]}); + const router: Router = TestBed.inject(Router); + + expect(() => createRoot(router, CmpWithLink)).not.toThrow(); + })); + + it('should not throw when some command is undefined', fakeAsync(() => { + @Component({ + selector: 'someCmp', + template: + `Link` + }) + class CmpWithLink { + } + + TestBed.configureTestingModule({declarations: [CmpWithLink]}); + const router: Router = TestBed.inject(Router); + + expect(() => createRoot(router, CmpWithLink)).not.toThrow(); })); it('should update hrefs when query params or fragment change', fakeAsync(() => { @@ -3190,7 +3226,7 @@ describe('Integration', () => { advance(fixture); expect(log.map((a: any) => a.path)).toEqual(['b']); - expect(location.path()).toEqual('/two-outlets/(a)'); + expect(location.path()).toEqual('/two-outlets/a'); }))); it('works with a nested route', diff --git a/packages/router/test/operators/prioritized_guard_value.spec.ts b/packages/router/test/operators/prioritized_guard_value.spec.ts index 63262170e8..708b3bcd47 100644 --- a/packages/router/test/operators/prioritized_guard_value.spec.ts +++ b/packages/router/test/operators/prioritized_guard_value.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/operators/resolve_data.spec.ts b/packages/router/test/operators/resolve_data.spec.ts index fc27632c02..fb76e7ea85 100644 --- a/packages/router/test/operators/resolve_data.spec.ts +++ b/packages/router/test/operators/resolve_data.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/recognize.spec.ts b/packages/router/test/recognize.spec.ts index 3b4bc95bc3..778319b625 100644 --- a/packages/router/test/recognize.spec.ts +++ b/packages/router/test/recognize.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/regression_integration.spec.ts b/packages/router/test/regression_integration.spec.ts index 33aaab8d11..3dbf4eaf68 100644 --- a/packages/router/test/regression_integration.spec.ts +++ b/packages/router/test/regression_integration.spec.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {CommonModule} from '@angular/common'; -import {Component, ContentChild, NgModule, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ContentChild, NgModule, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core'; import {ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {Router} from '@angular/router'; import {RouterTestingModule} from '@angular/router/testing'; @@ -109,6 +109,35 @@ describe('Integration', () => { expect(fixture.nativeElement.innerHTML).toContain('isActive: false'); })); + + it('should set isActive with OnPush change detection - #19934', fakeAsync(() => { + @Component({ + template: ` +
    + isActive: {{rla.isActive}} +
    + `, + changeDetection: ChangeDetectionStrategy.OnPush + }) + class OnPushComponent { + } + + @Component({template: 'simple'}) + class SimpleCmp { + } + + TestBed.configureTestingModule({ + imports: [RouterTestingModule.withRoutes([{path: 'simple', component: SimpleCmp}])], + declarations: [OnPushComponent, SimpleCmp] + }); + + const router: Router = TestBed.get(Router); + const fixture = createRoot(router, OnPushComponent); + router.navigateByUrl('/simple'); + advance(fixture); + + expect(fixture.nativeElement.innerHTML).toContain('isActive: true'); + })); }); }); diff --git a/packages/router/test/router.spec.ts b/packages/router/test/router.spec.ts index 55542161ea..94adfaeb15 100644 --- a/packages/router/test/router.spec.ts +++ b/packages/router/test/router.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/router_preloader.spec.ts b/packages/router/test/router_preloader.spec.ts index feecc0bdee..a64777e6b9 100644 --- a/packages/router/test/router_preloader.spec.ts +++ b/packages/router/test/router_preloader.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/router_scroller.spec.ts b/packages/router/test/router_scroller.spec.ts index 3559d46f13..1bc458cd0d 100644 --- a/packages/router/test/router_scroller.spec.ts +++ b/packages/router/test/router_scroller.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/router_state.spec.ts b/packages/router/test/router_state.spec.ts index b22a12645c..098edf41f4 100644 --- a/packages/router/test/router_state.spec.ts +++ b/packages/router/test/router_state.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/shared.spec.ts b/packages/router/test/shared.spec.ts index f92af8df7b..1dfaf1826c 100644 --- a/packages/router/test/shared.spec.ts +++ b/packages/router/test/shared.spec.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {convertToParamMap, ParamMap} from '../src/shared'; +import {convertToParamMap, ParamMap, Params} from '../src/shared'; describe('ParamsMap', () => { it('should returns whether a parameter is present', () => { @@ -42,4 +42,14 @@ describe('ParamsMap', () => { const map = convertToParamMap({}); expect(map.getAll('name')).toEqual([]); }); -}); \ No newline at end of file + + it('should not error when trying to call ParamMap.get function using an object created with Object.create() function', + () => { + const objectToMap: Params = Object.create(null); + objectToMap['single'] = 's'; + objectToMap['multiple'] = ['m1', 'm2']; + const paramMaps: ParamMap = convertToParamMap(objectToMap); + expect(() => paramMaps.get('single')).not.toThrow(); + expect(paramMaps.get('single')).toEqual('s'); + }); +}); diff --git a/packages/router/test/spy_ng_module_factory_loader.spec.ts b/packages/router/test/spy_ng_module_factory_loader.spec.ts index 6ddb2d7503..192f2a8633 100644 --- a/packages/router/test/spy_ng_module_factory_loader.spec.ts +++ b/packages/router/test/spy_ng_module_factory_loader.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/url_serializer.spec.ts b/packages/router/test/url_serializer.spec.ts index 83545a873c..ecf9c46301 100644 --- a/packages/router/test/url_serializer.spec.ts +++ b/packages/router/test/url_serializer.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/url_tree.spec.ts b/packages/router/test/url_tree.spec.ts index 907e8a76f2..f2126f89b9 100644 --- a/packages/router/test/url_tree.spec.ts +++ b/packages/router/test/url_tree.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/test/utils/tree.spec.ts b/packages/router/test/utils/tree.spec.ts index 807826a1bd..f1fb80d016 100644 --- a/packages/router/test/utils/tree.spec.ts +++ b/packages/router/test/utils/tree.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/testing/index.ts b/packages/router/testing/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/router/testing/index.ts +++ b/packages/router/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/testing/public_api.ts b/packages/router/testing/public_api.ts index e95d9f8ef0..5f9cbc57e6 100644 --- a/packages/router/testing/public_api.ts +++ b/packages/router/testing/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/testing/src/router_testing_module.ts b/packages/router/testing/src/router_testing_module.ts index a52a37371b..36db3c7a08 100644 --- a/packages/router/testing/src/router_testing_module.ts +++ b/packages/router/testing/src/router_testing_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -155,7 +155,7 @@ export function setupTestingRouter( * * ``` * beforeEach(() => { - * TestBed.configureTestModule({ + * TestBed.configureTestingModule({ * imports: [ * RouterTestingModule.withRoutes( * [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}] diff --git a/packages/router/testing/src/testing.ts b/packages/router/testing/src/testing.ts index 13559e8b61..cd4b37d7c0 100644 --- a/packages/router/testing/src/testing.ts +++ b/packages/router/testing/src/testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/upgrade/index.ts b/packages/router/upgrade/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/router/upgrade/index.ts +++ b/packages/router/upgrade/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/upgrade/public_api.ts b/packages/router/upgrade/public_api.ts index 3cdf8ae42f..44d0eff883 100644 --- a/packages/router/upgrade/public_api.ts +++ b/packages/router/upgrade/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/upgrade/src/upgrade.ts b/packages/router/upgrade/src/upgrade.ts index 68b758af37..a0b05db9a2 100644 --- a/packages/router/upgrade/src/upgrade.ts +++ b/packages/router/upgrade/src/upgrade.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/router/upgrade/test/upgrade.spec.ts b/packages/router/upgrade/test/upgrade.spec.ts index 37ade1e753..20e0c2bd2c 100644 --- a/packages/router/upgrade/test/upgrade.spec.ts +++ b/packages/router/upgrade/test/upgrade.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/BUILD.bazel b/packages/service-worker/BUILD.bazel index 5f5c60abeb..0d3ea6c507 100644 --- a/packages/service-worker/BUILD.bazel +++ b/packages/service-worker/BUILD.bazel @@ -26,7 +26,7 @@ genrule( genrule( name = "ngsw_worker_renamed", - srcs = ["//packages/service-worker/worker:ngsw_worker.es2015.js"], + srcs = ["//packages/service-worker/worker:ngsw_worker.js"], outs = ["ngsw-worker.js"], # Remove sourcemap since this file will be served in production site # See https://github.com/angular/angular/issues/23596 diff --git a/packages/service-worker/cli/filesystem.ts b/packages/service-worker/cli/filesystem.ts index 33cd746728..c25d592d69 100644 --- a/packages/service-worker/cli/filesystem.ts +++ b/packages/service-worker/cli/filesystem.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/cli/main.ts b/packages/service-worker/cli/main.ts index 169d6e3c50..184940e8ed 100644 --- a/packages/service-worker/cli/main.ts +++ b/packages/service-worker/cli/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -26,4 +26,4 @@ const gen = new Generator(filesystem, baseHref); (async () => { const control = await gen.process(configParsed); await filesystem.write('/ngsw.json', JSON.stringify(control, null, 2)); -})(); \ No newline at end of file +})(); diff --git a/packages/service-worker/cli/sha1.ts b/packages/service-worker/cli/sha1.ts index ec111855d2..a2b6c2e05b 100644 --- a/packages/service-worker/cli/sha1.ts +++ b/packages/service-worker/cli/sha1.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/index.ts b/packages/service-worker/config/index.ts index ca39d26dcd..7ef6571cd5 100644 --- a/packages/service-worker/config/index.ts +++ b/packages/service-worker/config/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -11,4 +11,4 @@ // replaces this file with production index.ts when it rewrites private symbol // names. -export * from './public_api'; \ No newline at end of file +export * from './public_api'; diff --git a/packages/service-worker/config/public_api.ts b/packages/service-worker/config/public_api.ts index f2f0a53395..1ce070d066 100644 --- a/packages/service-worker/config/public_api.ts +++ b/packages/service-worker/config/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/src/duration.ts b/packages/service-worker/config/src/duration.ts index a00ddaabc2..c4d0f2173f 100644 --- a/packages/service-worker/config/src/duration.ts +++ b/packages/service-worker/config/src/duration.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/src/filesystem.ts b/packages/service-worker/config/src/filesystem.ts index 0d266e6f19..58876dc5f0 100644 --- a/packages/service-worker/config/src/filesystem.ts +++ b/packages/service-worker/config/src/filesystem.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -17,4 +17,4 @@ export interface Filesystem { read(file: string): Promise; hash(file: string): Promise; write(file: string, contents: string): Promise; -} \ No newline at end of file +} diff --git a/packages/service-worker/config/src/generator.ts b/packages/service-worker/config/src/generator.ts index 2e87c45181..3211aa45f4 100644 --- a/packages/service-worker/config/src/generator.ts +++ b/packages/service-worker/config/src/generator.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/src/glob.ts b/packages/service-worker/config/src/glob.ts index 23d4592376..15e93baaaa 100644 --- a/packages/service-worker/config/src/glob.ts +++ b/packages/service-worker/config/src/glob.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/src/in.ts b/packages/service-worker/config/src/in.ts index f04361ceed..35a913332e 100644 --- a/packages/service-worker/config/src/in.ts +++ b/packages/service-worker/config/src/in.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/test/generator_spec.ts b/packages/service-worker/config/test/generator_spec.ts index b52e279e8d..38feff36b1 100644 --- a/packages/service-worker/config/test/generator_spec.ts +++ b/packages/service-worker/config/test/generator_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/config/testing/mock.ts b/packages/service-worker/config/testing/mock.ts index a07e226cfc..5a0f2ecd6f 100644 --- a/packages/service-worker/config/testing/mock.ts +++ b/packages/service-worker/config/testing/mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -31,4 +31,4 @@ export class MockFilesystem implements Filesystem { async write(path: string, contents: string): Promise { this.files.set(path, contents); } -} \ No newline at end of file +} diff --git a/packages/service-worker/index.ts b/packages/service-worker/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/service-worker/index.ts +++ b/packages/service-worker/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/package.json b/packages/service-worker/package.json index ee2198963b..79c9aec93a 100644 --- a/packages/service-worker/package.json +++ b/packages/service-worker/package.json @@ -4,10 +4,12 @@ "description": "Angular - service worker tooling!", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", - "@angular/common": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/common": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/service-worker/public_api.ts b/packages/service-worker/public_api.ts index 778427176d..ba852d8175 100644 --- a/packages/service-worker/public_api.ts +++ b/packages/service-worker/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/safety-worker.js b/packages/service-worker/safety-worker.js index 83f860325d..e960603093 100644 --- a/packages/service-worker/safety-worker.js +++ b/packages/service-worker/safety-worker.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/src/index.ts b/packages/service-worker/src/index.ts index 4bb43b7914..24b9a0ad6d 100644 --- a/packages/service-worker/src/index.ts +++ b/packages/service-worker/src/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/src/low_level.ts b/packages/service-worker/src/low_level.ts index 9f2ef7dd8e..00c5e7cf0b 100644 --- a/packages/service-worker/src/low_level.ts +++ b/packages/service-worker/src/low_level.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/src/module.ts b/packages/service-worker/src/module.ts index 5c7d8a9168..8a47ce456c 100644 --- a/packages/service-worker/src/module.ts +++ b/packages/service-worker/src/module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -70,7 +70,7 @@ export abstract class SwRegistrationOptions { * The function will be used at runtime to obtain and subscribe to the `Observable` and the * ServiceWorker will be registered as soon as the first value is emitted. * - * Default: 'registerWhenStable' + * Default: 'registerWhenStable:30000' */ registrationStrategy?: string|(() => Observable); } diff --git a/packages/service-worker/src/push.ts b/packages/service-worker/src/push.ts index f4b5c7d338..2be7bd443d 100644 --- a/packages/service-worker/src/push.ts +++ b/packages/service-worker/src/push.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/src/update.ts b/packages/service-worker/src/update.ts index 95e5391fc0..bfd070e544 100644 --- a/packages/service-worker/src/update.ts +++ b/packages/service-worker/src/update.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/test/comm_spec.ts b/packages/service-worker/test/comm_spec.ts index 64f6e67601..cc4d69a5e8 100644 --- a/packages/service-worker/test/comm_spec.ts +++ b/packages/service-worker/test/comm_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/test/integration_spec.ts b/packages/service-worker/test/integration_spec.ts index 7bdf320b27..1eb7f01c0b 100644 --- a/packages/service-worker/test/integration_spec.ts +++ b/packages/service-worker/test/integration_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/test/module_spec.ts b/packages/service-worker/test/module_spec.ts index 495debec5b..bb46214f32 100644 --- a/packages/service-worker/test/module_spec.ts +++ b/packages/service-worker/test/module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/testing/mock.ts b/packages/service-worker/testing/mock.ts index a699254d95..a784ffc4d1 100644 --- a/packages/service-worker/testing/mock.ts +++ b/packages/service-worker/testing/mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/main.ts b/packages/service-worker/worker/main.ts index dab1ec368e..58ea288b72 100644 --- a/packages/service-worker/worker/main.ts +++ b/packages/service-worker/worker/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/adapter.ts b/packages/service-worker/worker/src/adapter.ts index cb4cc87eee..3edd11498f 100644 --- a/packages/service-worker/worker/src/adapter.ts +++ b/packages/service-worker/worker/src/adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/api.ts b/packages/service-worker/worker/src/api.ts index d2fce90d48..def3794115 100644 --- a/packages/service-worker/worker/src/api.ts +++ b/packages/service-worker/worker/src/api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -110,4 +110,4 @@ export interface Debuggable { debugState(): Promise; debugVersions(): Promise; debugIdleState(): Promise; -} \ No newline at end of file +} diff --git a/packages/service-worker/worker/src/app-version.ts b/packages/service-worker/worker/src/app-version.ts index ae9f05343a..14d1b2c5af 100644 --- a/packages/service-worker/worker/src/app-version.ts +++ b/packages/service-worker/worker/src/app-version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/assets.ts b/packages/service-worker/worker/src/assets.ts index 62a6aa06c6..1ec7f7cd4e 100644 --- a/packages/service-worker/worker/src/assets.ts +++ b/packages/service-worker/worker/src/assets.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/data.ts b/packages/service-worker/worker/src/data.ts index 5d754a7add..327c7011a3 100644 --- a/packages/service-worker/worker/src/data.ts +++ b/packages/service-worker/worker/src/data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/database.ts b/packages/service-worker/worker/src/database.ts index b53686d658..323024a717 100644 --- a/packages/service-worker/worker/src/database.ts +++ b/packages/service-worker/worker/src/database.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/db-cache.ts b/packages/service-worker/worker/src/db-cache.ts index fee6380712..e738d42861 100644 --- a/packages/service-worker/worker/src/db-cache.ts +++ b/packages/service-worker/worker/src/db-cache.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/debug.ts b/packages/service-worker/worker/src/debug.ts index 5d64d8e573..20fa8b1199 100644 --- a/packages/service-worker/worker/src/debug.ts +++ b/packages/service-worker/worker/src/debug.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -110,4 +110,4 @@ ${msgIdle}`, return log.map(entry => `[${this.since(entry.time)}] ${entry.value} ${entry.context}`) .join('\n'); } -} \ No newline at end of file +} diff --git a/packages/service-worker/worker/src/driver.ts b/packages/service-worker/worker/src/driver.ts index 4bcd197f4c..5377dc4ff2 100644 --- a/packages/service-worker/worker/src/driver.ts +++ b/packages/service-worker/worker/src/driver.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -490,6 +490,15 @@ export class Driver implements Debuggable, UpdateSource { table.read('latest'), ]); + // Make sure latest manifest is correctly installed. If not (e.g. corrupted data), + // it could stay locked in EXISTING_CLIENTS_ONLY or SAFE_MODE state. + if (!this.versions.has(latest.latest) && !manifests.hasOwnProperty(latest.latest)) { + this.debugger.log( + `Missing manifest for latest version hash ${latest.latest}`, + 'initialize: read from DB'); + throw new Error(`Missing manifest for latest hash ${latest.latest}`); + } + // Successfully loaded from saved state. This implies a manifest exists, so // the update check needs to happen in the background. this.idle.schedule('init post-load (update, cleanup)', async () => { diff --git a/packages/service-worker/worker/src/error.ts b/packages/service-worker/worker/src/error.ts index a28eee2743..dc6f10cff5 100644 --- a/packages/service-worker/worker/src/error.ts +++ b/packages/service-worker/worker/src/error.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/idle.ts b/packages/service-worker/worker/src/idle.ts index 80c5b1479b..e84e1bc33a 100644 --- a/packages/service-worker/worker/src/idle.ts +++ b/packages/service-worker/worker/src/idle.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -93,4 +93,4 @@ export class IdleScheduler { get taskDescriptions(): string[] { return this.queue.map(task => task.desc); } -} \ No newline at end of file +} diff --git a/packages/service-worker/worker/src/manifest.ts b/packages/service-worker/worker/src/manifest.ts index 1ba5f04415..ec68a51780 100644 --- a/packages/service-worker/worker/src/manifest.ts +++ b/packages/service-worker/worker/src/manifest.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/src/msg.ts b/packages/service-worker/worker/src/msg.ts index bba1c5060e..841fce2d40 100644 --- a/packages/service-worker/worker/src/msg.ts +++ b/packages/service-worker/worker/src/msg.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -35,4 +35,4 @@ export interface MsgCheckVersion { export function isMsgCheckVersion(msg: MsgAny): msg is MsgCheckVersion { return msg.action === 'CHECK_VERSION'; -} \ No newline at end of file +} diff --git a/packages/service-worker/worker/src/sha1.ts b/packages/service-worker/worker/src/sha1.ts index ec111855d2..a2b6c2e05b 100644 --- a/packages/service-worker/worker/src/sha1.ts +++ b/packages/service-worker/worker/src/sha1.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/test/data_spec.ts b/packages/service-worker/worker/test/data_spec.ts index ce57da9f05..05bbf4c21e 100644 --- a/packages/service-worker/worker/test/data_spec.ts +++ b/packages/service-worker/worker/test/data_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/test/happy_spec.ts b/packages/service-worker/worker/test/happy_spec.ts index 8803f2a7bb..fbb3d84eeb 100644 --- a/packages/service-worker/worker/test/happy_spec.ts +++ b/packages/service-worker/worker/test/happy_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -1426,6 +1426,30 @@ describe('Driver', () => { expect(driver.state).toBe(DriverReadyState.NORMAL); }); + it('should not enter degraded mode if manifest for latest hash is missing upon initialization', + async () => { + // Initialize the SW. + scope.handleMessage({action: 'INITIALIZE'}, null); + await driver.initialized; + expect(driver.state).toBe(DriverReadyState.NORMAL); + + // Ensure the data has been stored in the DB. + const db: MockCache = await scope.caches.open('ngsw:/:db:control') as any; + const getLatestHashFromDb = async () => (await (await db.match('/latest')).json()).latest; + expect(await getLatestHashFromDb()).toBe(manifestHash); + + // Change the latest hash to not correspond to any manifest. + await db.put('/latest', new MockResponse('{"latest": "wrong-hash"}')); + expect(await getLatestHashFromDb()).toBe('wrong-hash'); + + // Re-initialize the SW and ensure it does not enter a degraded mode. + driver.initialized = null; + scope.handleMessage({action: 'INITIALIZE'}, null); + await driver.initialized; + expect(driver.state).toBe(DriverReadyState.NORMAL); + expect(await getLatestHashFromDb()).toBe(manifestHash); + }); + it('ignores invalid `only-if-cached` requests ', async () => { const requestFoo = (cache: RequestCache|'only-if-cached', mode: RequestMode) => makeRequest(scope, '/foo.txt', undefined, {cache, mode}); diff --git a/packages/service-worker/worker/test/idle_spec.ts b/packages/service-worker/worker/test/idle_spec.ts index ed625ccbf4..de863d7384 100644 --- a/packages/service-worker/worker/test/idle_spec.ts +++ b/packages/service-worker/worker/test/idle_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/test/prefetch_spec.ts b/packages/service-worker/worker/test/prefetch_spec.ts index c42b6c2b04..da8ec1ad02 100644 --- a/packages/service-worker/worker/test/prefetch_spec.ts +++ b/packages/service-worker/worker/test/prefetch_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/testing/cache.ts b/packages/service-worker/worker/testing/cache.ts index 0d296d9669..3a9e430495 100644 --- a/packages/service-worker/worker/testing/cache.ts +++ b/packages/service-worker/worker/testing/cache.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/testing/fetch.ts b/packages/service-worker/worker/testing/fetch.ts index 2989f62de2..9806fc8527 100644 --- a/packages/service-worker/worker/testing/fetch.ts +++ b/packages/service-worker/worker/testing/fetch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/testing/mock.ts b/packages/service-worker/worker/testing/mock.ts index e5eb92616b..179f0496aa 100644 --- a/packages/service-worker/worker/testing/mock.ts +++ b/packages/service-worker/worker/testing/mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/service-worker/worker/testing/scope.ts b/packages/service-worker/worker/testing/scope.ts index f8c5a355d6..8cce576d5a 100644 --- a/packages/service-worker/worker/testing/scope.ts +++ b/packages/service-worker/worker/testing/scope.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/system.d.ts b/packages/system.d.ts index 4cedada6f9..1dca7870a9 100644 --- a/packages/system.d.ts +++ b/packages/system.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/tsconfig.json b/packages/tsconfig.json index 96ae6af801..82b7c712a7 100644 --- a/packages/tsconfig.json +++ b/packages/tsconfig.json @@ -20,7 +20,7 @@ "rxjs/*": ["./node_modules/rxjs/*"], "@angular/*": ["./packages/*"], "zone.js/*": ["./packages/zone.js/*"], - "e2e_util/*": ["./modules/e2e_util/*"] + "angular-in-memory-web-api": ["./packages/misc/angular-in-memory-web-api/index.ts"] }, "rootDir": ".", "inlineSourceMap": true, diff --git a/packages/types.d.ts b/packages/types.d.ts index c447c0e2bf..c10cd283d0 100644 --- a/packages/types.d.ts +++ b/packages/types.d.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/index.ts b/packages/upgrade/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/upgrade/index.ts +++ b/packages/upgrade/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index b322bd3cbe..aa2693c933 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -4,12 +4,14 @@ "description": "Angular - the library for easing update from v1 to v2", "author": "angular", "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/compiler": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER", - "@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER", - "tslib": "^1.10.0" + "@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER" }, "repository": { "type": "git", diff --git a/packages/upgrade/public_api.ts b/packages/upgrade/public_api.ts index a44fb32690..858c06d5ba 100644 --- a/packages/upgrade/public_api.ts +++ b/packages/upgrade/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/angular1.ts b/packages/upgrade/src/common/src/angular1.ts index 1ba3e7c10c..b62bf6b718 100644 --- a/packages/upgrade/src/common/src/angular1.ts +++ b/packages/upgrade/src/common/src/angular1.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/component_info.ts b/packages/upgrade/src/common/src/component_info.ts index 9c03b5e9cf..a3de3b81a6 100644 --- a/packages/upgrade/src/common/src/component_info.ts +++ b/packages/upgrade/src/common/src/component_info.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/constants.ts b/packages/upgrade/src/common/src/constants.ts index 61989dd880..7c9c5d0c8f 100644 --- a/packages/upgrade/src/common/src/constants.ts +++ b/packages/upgrade/src/common/src/constants.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/downgrade_component.ts b/packages/upgrade/src/common/src/downgrade_component.ts index 25696c9787..bb2f00fce0 100644 --- a/packages/upgrade/src/common/src/downgrade_component.ts +++ b/packages/upgrade/src/common/src/downgrade_component.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/downgrade_component_adapter.ts b/packages/upgrade/src/common/src/downgrade_component_adapter.ts index afbcf7b0f6..152df408eb 100644 --- a/packages/upgrade/src/common/src/downgrade_component_adapter.ts +++ b/packages/upgrade/src/common/src/downgrade_component_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/downgrade_injectable.ts b/packages/upgrade/src/common/src/downgrade_injectable.ts index a92ef8e086..35a6e11353 100644 --- a/packages/upgrade/src/common/src/downgrade_injectable.ts +++ b/packages/upgrade/src/common/src/downgrade_injectable.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/promise_util.ts b/packages/upgrade/src/common/src/promise_util.ts index b9b27068fe..2c331e9c65 100644 --- a/packages/upgrade/src/common/src/promise_util.ts +++ b/packages/upgrade/src/common/src/promise_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/upgrade_helper.ts b/packages/upgrade/src/common/src/upgrade_helper.ts index bfaa163696..f5414cf8ec 100644 --- a/packages/upgrade/src/common/src/upgrade_helper.ts +++ b/packages/upgrade/src/common/src/upgrade_helper.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/util.ts b/packages/upgrade/src/common/src/util.ts index 79a9728813..982b1365da 100644 --- a/packages/upgrade/src/common/src/util.ts +++ b/packages/upgrade/src/common/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/src/version.ts b/packages/upgrade/src/common/src/version.ts index 9469ebe5e5..4a5fcc12eb 100644 --- a/packages/upgrade/src/common/src/version.ts +++ b/packages/upgrade/src/common/src/version.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/test/component_info_spec.ts b/packages/upgrade/src/common/test/component_info_spec.ts index 7785b33f12..4fb5b6291a 100644 --- a/packages/upgrade/src/common/test/component_info_spec.ts +++ b/packages/upgrade/src/common/test/component_info_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/test/downgrade_component_adapter_spec.ts b/packages/upgrade/src/common/test/downgrade_component_adapter_spec.ts index 3f7f2b14b1..e59470ca88 100644 --- a/packages/upgrade/src/common/test/downgrade_component_adapter_spec.ts +++ b/packages/upgrade/src/common/test/downgrade_component_adapter_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/test/downgrade_injectable_spec.ts b/packages/upgrade/src/common/test/downgrade_injectable_spec.ts index 7fbab3e8e6..45f6ddb10e 100644 --- a/packages/upgrade/src/common/test/downgrade_injectable_spec.ts +++ b/packages/upgrade/src/common/test/downgrade_injectable_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/test/helpers/common_test_helpers.ts b/packages/upgrade/src/common/test/helpers/common_test_helpers.ts index ac6a71db92..aff3fdaac4 100644 --- a/packages/upgrade/src/common/test/helpers/common_test_helpers.ts +++ b/packages/upgrade/src/common/test/helpers/common_test_helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/common/test/promise_util_spec.ts b/packages/upgrade/src/common/test/promise_util_spec.ts index d75a767c32..d4d1735808 100644 --- a/packages/upgrade/src/common/test/promise_util_spec.ts +++ b/packages/upgrade/src/common/test/promise_util_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/dynamic/src/upgrade_adapter.ts b/packages/upgrade/src/dynamic/src/upgrade_adapter.ts index 6d5ae023d8..1e39bd7f9c 100644 --- a/packages/upgrade/src/dynamic/src/upgrade_adapter.ts +++ b/packages/upgrade/src/dynamic/src/upgrade_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/dynamic/src/upgrade_ng1_adapter.ts b/packages/upgrade/src/dynamic/src/upgrade_ng1_adapter.ts index 13402f54d7..e29000ec6e 100644 --- a/packages/upgrade/src/dynamic/src/upgrade_ng1_adapter.ts +++ b/packages/upgrade/src/dynamic/src/upgrade_ng1_adapter.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/src/dynamic/test/upgrade_spec.ts b/packages/upgrade/src/dynamic/test/upgrade_spec.ts index 71f6ed9fec..435a4aae46 100644 --- a/packages/upgrade/src/dynamic/test/upgrade_spec.ts +++ b/packages/upgrade/src/dynamic/test/upgrade_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/index.ts b/packages/upgrade/static/index.ts index e727e2e8a7..7ef6571cd5 100644 --- a/packages/upgrade/static/index.ts +++ b/packages/upgrade/static/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/public_api.ts b/packages/upgrade/static/public_api.ts index c0cfaacc61..a09e70aba7 100644 --- a/packages/upgrade/static/public_api.ts +++ b/packages/upgrade/static/public_api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/src/angular1_providers.ts b/packages/upgrade/static/src/angular1_providers.ts index 8e2594475f..0ab1dea365 100644 --- a/packages/upgrade/static/src/angular1_providers.ts +++ b/packages/upgrade/static/src/angular1_providers.ts @@ -1,7 +1,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/src/downgrade_module.ts b/packages/upgrade/static/src/downgrade_module.ts index cc49f66b0e..bde2fe8db9 100644 --- a/packages/upgrade/static/src/downgrade_module.ts +++ b/packages/upgrade/static/src/downgrade_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/src/upgrade_component.ts b/packages/upgrade/static/src/upgrade_component.ts index 2002ddf5c5..921800dbe9 100644 --- a/packages/upgrade/static/src/upgrade_component.ts +++ b/packages/upgrade/static/src/upgrade_component.ts @@ -1,12 +1,12 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {Directive, DoCheck, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ɵlooseIdentical as looseIdentical} from '@angular/core'; +import {Directive, DoCheck, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges} from '@angular/core'; import {IAttributes, IAugmentedJQuery, IDirective, IInjectorService, ILinkFn, IScope, ITranscludeFunction} from '../../src/common/src/angular1'; import {$SCOPE} from '../../src/common/src/constants'; @@ -206,7 +206,7 @@ export class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy { const newValue = this.bindingDestination[propName]; const oldValue = twoWayBoundLastValues[idx]; - if (!looseIdentical(newValue, oldValue)) { + if (!Object.is(newValue, oldValue)) { const outputName = propertyToOutputMap[propName]; const eventEmitter: EventEmitter = (this as any)[outputName]; diff --git a/packages/upgrade/static/src/upgrade_module.ts b/packages/upgrade/static/src/upgrade_module.ts index d0581a1ec1..899d5ab59c 100644 --- a/packages/upgrade/static/src/upgrade_module.ts +++ b/packages/upgrade/static/src/upgrade_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/src/util.ts b/packages/upgrade/static/src/util.ts index 20f237fa5d..43f3bf2afb 100644 --- a/packages/upgrade/static/src/util.ts +++ b/packages/upgrade/static/src/util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/angular1_providers_spec.ts b/packages/upgrade/static/test/angular1_providers_spec.ts index 66151ed706..1ec96b6a06 100644 --- a/packages/upgrade/static/test/angular1_providers_spec.ts +++ b/packages/upgrade/static/test/angular1_providers_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/change_detection_spec.ts b/packages/upgrade/static/test/integration/change_detection_spec.ts index 94adb7e7ba..f2b0abec7b 100644 --- a/packages/upgrade/static/test/integration/change_detection_spec.ts +++ b/packages/upgrade/static/test/integration/change_detection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/content_projection_spec.ts b/packages/upgrade/static/test/integration/content_projection_spec.ts index 17b7a8b241..14f4b95d46 100644 --- a/packages/upgrade/static/test/integration/content_projection_spec.ts +++ b/packages/upgrade/static/test/integration/content_projection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/downgrade_component_spec.ts b/packages/upgrade/static/test/integration/downgrade_component_spec.ts index 861a6d9d3c..3ae96048fd 100644 --- a/packages/upgrade/static/test/integration/downgrade_component_spec.ts +++ b/packages/upgrade/static/test/integration/downgrade_component_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/downgrade_module_spec.ts b/packages/upgrade/static/test/integration/downgrade_module_spec.ts index 5aefbf8d61..8a70473dbc 100644 --- a/packages/upgrade/static/test/integration/downgrade_module_spec.ts +++ b/packages/upgrade/static/test/integration/downgrade_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/examples_spec.ts b/packages/upgrade/static/test/integration/examples_spec.ts index d58892d866..33f44a87f8 100644 --- a/packages/upgrade/static/test/integration/examples_spec.ts +++ b/packages/upgrade/static/test/integration/examples_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/injection_spec.ts b/packages/upgrade/static/test/integration/injection_spec.ts index 72c6ee4e2b..131ad0e0ec 100644 --- a/packages/upgrade/static/test/integration/injection_spec.ts +++ b/packages/upgrade/static/test/integration/injection_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/static_test_helpers.ts b/packages/upgrade/static/test/integration/static_test_helpers.ts index aa32cf775c..2fab2e9464 100644 --- a/packages/upgrade/static/test/integration/static_test_helpers.ts +++ b/packages/upgrade/static/test/integration/static_test_helpers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/testability_spec.ts b/packages/upgrade/static/test/integration/testability_spec.ts index e99680c3df..4eeae6889f 100644 --- a/packages/upgrade/static/test/integration/testability_spec.ts +++ b/packages/upgrade/static/test/integration/testability_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/test/integration/upgrade_component_spec.ts b/packages/upgrade/static/test/integration/upgrade_component_spec.ts index 7d067034a6..82ff864eaf 100644 --- a/packages/upgrade/static/test/integration/upgrade_component_spec.ts +++ b/packages/upgrade/static/test/integration/upgrade_component_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/testing/index.ts b/packages/upgrade/static/testing/index.ts index f93e7c31d5..2dc5054f84 100755 --- a/packages/upgrade/static/testing/index.ts +++ b/packages/upgrade/static/testing/index.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/testing/public_api.ts b/packages/upgrade/static/testing/public_api.ts index 871ad430b1..86b18f3df8 100755 --- a/packages/upgrade/static/testing/public_api.ts +++ b/packages/upgrade/static/testing/public_api.ts @@ -1,10 +1,10 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 {createAngularTestingModule} from './src/create_angular_testing_module'; -export {createAngularJSTestingModule} from './src/create_angularjs_testing_module'; \ No newline at end of file +export {createAngularJSTestingModule} from './src/create_angularjs_testing_module'; diff --git a/packages/upgrade/static/testing/src/create_angular_testing_module.ts b/packages/upgrade/static/testing/src/create_angular_testing_module.ts index 77af35fee8..48801d3388 100644 --- a/packages/upgrade/static/testing/src/create_angular_testing_module.ts +++ b/packages/upgrade/static/testing/src/create_angular_testing_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/testing/src/create_angularjs_testing_module.ts b/packages/upgrade/static/testing/src/create_angularjs_testing_module.ts index cb838471c6..08247ecf2f 100644 --- a/packages/upgrade/static/testing/src/create_angularjs_testing_module.ts +++ b/packages/upgrade/static/testing/src/create_angularjs_testing_module.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/testing/test/create_angular_testing_module_spec.ts b/packages/upgrade/static/testing/test/create_angular_testing_module_spec.ts index 12c8dbcfaf..deab9ae9a9 100644 --- a/packages/upgrade/static/testing/test/create_angular_testing_module_spec.ts +++ b/packages/upgrade/static/testing/test/create_angular_testing_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/upgrade/static/testing/test/create_angularjs_testing_module_spec.ts b/packages/upgrade/static/testing/test/create_angularjs_testing_module_spec.ts index eea92e2a14..b91ad3e258 100644 --- a/packages/upgrade/static/testing/test/create_angularjs_testing_module_spec.ts +++ b/packages/upgrade/static/testing/test/create_angularjs_testing_module_spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -32,4 +32,4 @@ withEachNg1Version(() => { expect(inventory).toEqual(jasmine.any(Inventory)); }); }); -}); \ No newline at end of file +}); diff --git a/packages/upgrade/static/testing/test/mocks.ts b/packages/upgrade/static/testing/test/mocks.ts index f563a84ab4..0becea4146 100644 --- a/packages/upgrade/static/testing/test/mocks.ts +++ b/packages/upgrade/static/testing/test/mocks.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/BUILD.bazel b/packages/zone.js/BUILD.bazel index 9b866c78c6..8e2ca289d9 100644 --- a/packages/zone.js/BUILD.bazel +++ b/packages/zone.js/BUILD.bazel @@ -1,5 +1,8 @@ load("//tools:defaults.bzl", "pkg_npm") -load("//packages/zone.js:bundles.bzl", "ES2015_BUNDLES", "ES5_BUNDLES", "ES5_GLOBAL_BUNDLES") +load("//packages/zone.js:bundles.bzl", "BUNDLES_ENTRY_POINTS") +load("//packages/zone.js:tools.bzl", "generate_rollup_bundle") + +package(default_visibility = ["//visibility:public"]) exports_files([ "tsconfig.json", @@ -21,27 +24,76 @@ genrule( cmd = "(echo '/**\n @license' && cat $< && echo '*/') > $@", ) +# copy this file from //lib to //dist +genrule( + name = "zone_externs", + srcs = ["//packages/zone.js/lib:closure/zone_externs.js"], + outs = ["zone_externs.js"], + cmd = "cp $< $@", +) + +genrule( + name = "zone_js_d_ts", + srcs = ["//packages/zone.js/lib:zone_d_ts"], + outs = ["zone.js.d.ts"], + cmd = "cp $< $@", +) + +genrule( + name = "zone_extensions_d_ts", + srcs = ["//packages/zone.js/lib:zone.api.extensions.ts"], + outs = ["zone.api.extensions.ts"], + cmd = "cp $< $@", +) + +genrule( + name = "zone_configurations_d_ts", + srcs = ["//packages/zone.js/lib:zone.configurations.api.ts"], + outs = ["zone.configurations.api.ts"], + cmd = "cp $< $@", +) + +filegroup( + name = "zone_d_ts", + srcs = [ + ":zone_configurations_d_ts", + ":zone_extensions_d_ts", + ":zone_js_d_ts", + ], +) + +generate_rollup_bundle( + bundles = BUNDLES_ENTRY_POINTS, +) + pkg_npm( name = "npm_package", srcs = [ "CHANGELOG.md", "README.md", "package.json", + "//packages/zone.js/mix:package.json", + "//packages/zone.js/node:package.json", + "//packages/zone.js/testing:package.json", ], visibility = ["//visibility:public"], deps = [ ":LICENSE.wrapped", ":LICENSE_copy", - "//packages/zone.js/dist:zone_externs", - "//packages/zone.js/lib", + ":zone_externs", + "//packages/zone.js/dist:dist_bundle_group", + "//packages/zone.js/plugins:plugin_bundle_group", ] + [ - "//packages/zone.js/dist:" + b + "-dist" - for b in ES5_BUNDLES + "//packages/zone.js/bundles:" + b + "-es5.dist" + for b in BUNDLES_ENTRY_POINTS.keys() ] + [ - "//packages/zone.js/dist:" + b + "-dist" - for b in ES2015_BUNDLES + "//packages/zone.js/bundles:" + b + "-es5.min.dist" + for b in BUNDLES_ENTRY_POINTS.keys() ] + [ - "//packages/zone.js/dist:" + b + "-dist" - for b in ES5_GLOBAL_BUNDLES - ] + ["//packages/zone.js/dist:zone_d_ts"], + "//packages/zone.js/fesm2015:" + b + "-es2015.dist" + for b in BUNDLES_ENTRY_POINTS.keys() + ] + [ + "//packages/zone.js/fesm2015:" + b + "-es2015.min.dist" + for b in BUNDLES_ENTRY_POINTS.keys() + ] + [":zone_d_ts"], ) diff --git a/packages/zone.js/bundles.bzl b/packages/zone.js/bundles.bzl index 9abbf1610f..6e2c1d3746 100644 --- a/packages/zone.js/bundles.bzl +++ b/packages/zone.js/bundles.bzl @@ -5,47 +5,143 @@ by mapping the bundle name to the source location. _DIR = "//packages/zone.js/lib:" -ES5_GLOBAL_BUNDLES = { - "zone": _DIR + "browser/rollup-legacy-main", - "zone-mix": _DIR + "mix/rollup-mix", - "zone-node": _DIR + "node/rollup-main", - "zone-testing-node-bundle": _DIR + "node/rollup-test-main", -} - -ES5_BUNDLES = { - "async-test": _DIR + "testing/async-testing", - "fake-async-test": _DIR + "testing/fake-async", - "long-stack-trace-zone": _DIR + "zone-spec/long-stack-trace", - "proxy": _DIR + "zone-spec/proxy", - "zone-patch-rxjs-fake-async": _DIR + "rxjs/rxjs-fake-async", - "sync-test": _DIR + "zone-spec/sync-test", - "task-tracking": _DIR + "zone-spec/task-tracking", - "wtf": _DIR + "zone-spec/wtf", - "zone-error": _DIR + "common/error-rewrite", - "zone-legacy": _DIR + "browser/browser-legacy", - "zone-bluebird": _DIR + "extra/bluebird", - "zone-patch-canvas": _DIR + "browser/canvas", - "zone-patch-cordova": _DIR + "extra/cordova", - "zone-patch-electron": _DIR + "extra/electron", - "zone-patch-fetch": _DIR + "common/fetch", - "jasmine-patch": _DIR + "jasmine/jasmine", - "zone-patch-jsonp": _DIR + "extra/jsonp", - "webapis-media-query": _DIR + "browser/webapis-media-query", - "mocha-patch": _DIR + "mocha/mocha", - "webapis-notification": _DIR + "browser/webapis-notification", - "zone-patch-promise-test": _DIR + "testing/promise-testing", - "zone-patch-resize-observer": _DIR + "browser/webapis-resize-observer", - "webapis-rtc-peer-connection": _DIR + "browser/webapis-rtc-peer-connection", - "zone-patch-rxjs": _DIR + "rxjs/rxjs", - "webapis-shadydom": _DIR + "browser/shadydom", - "zone-patch-socket-io": _DIR + "extra/socket-io", - "zone-patch-message-port": _DIR + "browser/message-port", - "zone-patch-user-media": _DIR + "browser/webapis-user-media", - "zone-testing": _DIR + "testing/zone-testing", - "zone-testing-bundle": _DIR + "browser/rollup-legacy-test-main", -} - -ES2015_BUNDLES = { - "zone-evergreen": _DIR + "browser/rollup-main", - "zone-evergreen-testing-bundle": _DIR + "browser/rollup-test-main", +BUNDLES_ENTRY_POINTS = { + "zone": { + "es5": _DIR + "browser/rollup-legacy-main", + "es2015": _DIR + "browser/rollup-main", + "rollup": "global-es2015", + }, + "zone-mix": { + "entrypoint": _DIR + "mix/rollup-mix", + "rollup": "global-es2015", + }, + "zone-node": { + "entrypoint": _DIR + "node/rollup-main", + "rollup": "global-es2015", + }, + "async-test": { + "entrypoint": _DIR + "testing/async-testing", + "rollup": "es5", + }, + "fake-async-test": { + "entrypoint": _DIR + "testing/fake-async", + "rollup": "es5", + }, + "long-stack-trace-zone": { + "entrypoint": _DIR + "zone-spec/long-stack-trace", + "rollup": "es5", + }, + "proxy": { + "entrypoint": _DIR + "zone-spec/proxy", + "rollup": "es5", + }, + "zone-patch-rxjs-fake-async": { + "entrypoint": _DIR + "zone-spec/proxy", + "rollup": "es5", + }, + "sync-test": { + "entrypoint": _DIR + "zone-spec/sync-test", + "rollup": "es5", + }, + "task-tracking": { + "entrypoint": _DIR + "zone-spec/task-tracking", + "rollup": "es5", + }, + "wtf": { + "entrypoint": _DIR + "zone-spec/wtf", + "rollup": "es5", + }, + "zone-error": { + "entrypoint": _DIR + "common/error-rewrite", + "rollup": "es5", + }, + "zone-legacy": { + "entrypoint": _DIR + "browser/browser-legacy", + "rollup": "es5", + }, + "zone-bluebird": { + "entrypoint": _DIR + "extra/bluebird", + "rollup": "es5", + }, + "zone-patch-canvas": { + "entrypoint": _DIR + "browser/canvas", + "rollup": "es5", + }, + "zone-patch-cordova": { + "entrypoint": _DIR + "extra/cordova", + "rollup": "es5", + }, + "zone-patch-electron": { + "entrypoint": _DIR + "extra/electron", + "rollup": "es5", + }, + "zone-patch-fetch": { + "entrypoint": _DIR + "common/fetch", + "rollup": "es5", + }, + "jasmine-patch": { + "entrypoint": _DIR + "jasmine/jasmine", + "rollup": "es5", + }, + "zone-patch-jsonp": { + "entrypoint": _DIR + "extra/jsonp", + "rollup": "es5", + }, + "webapis-media-query": { + "entrypoint": _DIR + "browser/webapis-media-query", + "rollup": "es5", + }, + "mocha-patch": { + "entrypoint": _DIR + "mocha/mocha", + "rollup": "es5", + }, + "webapis-notification": { + "entrypoint": _DIR + "browser/webapis-notification", + "rollup": "es5", + }, + "zone-patch-promise-test": { + "entrypoint": _DIR + "testing/promise-testing", + "rollup": "es5", + }, + "zone-patch-resize-observer": { + "entrypoint": _DIR + "browser/webapis-resize-observer", + "rollup": "es5", + }, + "webapis-rtc-peer-connection": { + "entrypoint": _DIR + "browser/webapis-rtc-peer-connection", + "rollup": "es5", + }, + "zone-patch-rxjs": { + "entrypoint": _DIR + "rxjs/rxjs", + "rollup": "es5", + }, + "webapis-shadydom": { + "entrypoint": _DIR + "browser/shadydom", + "rollup": "es5", + }, + "zone-patch-socket-io": { + "entrypoint": _DIR + "extra/socket-io", + "rollup": "es5", + }, + "zone-patch-message-port": { + "entrypoint": _DIR + "browser/message-port", + "rollup": "es5", + }, + "zone-patch-user-media": { + "entrypoint": _DIR + "browser/webapis-user-media", + "rollup": "es5", + }, + "zone-testing": { + "entrypoint": _DIR + "testing/zone-testing", + "rollup": "es5", + }, + "zone-testing-bundle": { + "es5": _DIR + "browser/rollup-legacy-test-main", + "es2015": _DIR + "browser/rollup-test-main", + "rollup": "global-es2015", + }, + "zone-testing-node-bundle": { + "entrypoint": _DIR + "node/rollup-test-main", + "rollup": "global-es2015", + }, } diff --git a/packages/zone.js/bundles/BUILD.bazel b/packages/zone.js/bundles/BUILD.bazel new file mode 100644 index 0000000000..db4a66dc53 --- /dev/null +++ b/packages/zone.js/bundles/BUILD.bazel @@ -0,0 +1,8 @@ +load("//packages/zone.js:tools.bzl", "generate_dist") +load("//packages/zone.js:bundles.bzl", "BUNDLES_ENTRY_POINTS") + +generate_dist( + bundles = BUNDLES_ENTRY_POINTS.items(), + output_format = "es5", + umd = "umd", +) diff --git a/packages/zone.js/check-file-size.js b/packages/zone.js/check-file-size.js index e2f7853a25..8835b61c5e 100644 --- a/packages/zone.js/check-file-size.js +++ b/packages/zone.js/check-file-size.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/dist/BUILD.bazel b/packages/zone.js/dist/BUILD.bazel index c851b34339..1452b05a0e 100644 --- a/packages/zone.js/dist/BUILD.bazel +++ b/packages/zone.js/dist/BUILD.bazel @@ -1,62 +1,80 @@ -load("//packages/zone.js:bundles.bzl", "ES2015_BUNDLES", "ES5_BUNDLES", "ES5_GLOBAL_BUNDLES") -load("//packages/zone.js/dist:tools.bzl", "generate_dist", "zone_rollup_bundle") - package(default_visibility = ["//visibility:public"]) -# copy this file from //lib to //dist -genrule( - name = "zone_externs", - srcs = ["//packages/zone.js/lib:closure/zone_externs.js"], - outs = ["zone_externs.js"], - cmd = "cp $< $@", -) - -genrule( - name = "zone_js_d_ts", - srcs = ["//packages/zone.js/lib:zone_d_ts"], - outs = ["zone.js.d.ts"], - cmd = "cp $< $@", -) - -genrule( - name = "zone_extensions_d_ts", - srcs = ["//packages/zone.js/lib:zone.api.extensions.ts"], - outs = ["zone.api.extensions.ts"], - cmd = "cp $< $@", -) - -genrule( - name = "zone_configurations_d_ts", - srcs = ["//packages/zone.js/lib:zone.configurations.api.ts"], - outs = ["zone.configurations.api.ts"], - cmd = "cp $< $@", -) - filegroup( - name = "zone_d_ts", + name = "dist_bundle_group", srcs = [ - ":zone_configurations_d_ts", - ":zone_extensions_d_ts", - ":zone_js_d_ts", + "//packages/zone.js/dist:async-test.min/package.json", + "//packages/zone.js/dist:async-test/package.json", + "//packages/zone.js/dist:fake-async-test.min/package.json", + "//packages/zone.js/dist:fake-async-test/package.json", + "//packages/zone.js/dist:jasmine-patch.min/package.json", + "//packages/zone.js/dist:jasmine-patch/package.json", + "//packages/zone.js/dist:long-stack-trace-zone.min/package.json", + "//packages/zone.js/dist:long-stack-trace-zone/package.json", + "//packages/zone.js/dist:mocha-patch.min/package.json", + "//packages/zone.js/dist:mocha-patch/package.json", + "//packages/zone.js/dist:proxy.min/package.json", + "//packages/zone.js/dist:proxy/package.json", + "//packages/zone.js/dist:sync-test.min/package.json", + "//packages/zone.js/dist:sync-test/package.json", + "//packages/zone.js/dist:task-tracking.min/package.json", + "//packages/zone.js/dist:task-tracking/package.json", + "//packages/zone.js/dist:webapis-media-query.min/package.json", + "//packages/zone.js/dist:webapis-media-query/package.json", + "//packages/zone.js/dist:webapis-notification.min/package.json", + "//packages/zone.js/dist:webapis-notification/package.json", + "//packages/zone.js/dist:webapis-rtc-peer-connection.min/package.json", + "//packages/zone.js/dist:webapis-rtc-peer-connection/package.json", + "//packages/zone.js/dist:webapis-shadydom.min/package.json", + "//packages/zone.js/dist:webapis-shadydom/package.json", + "//packages/zone.js/dist:wtf.min/package.json", + "//packages/zone.js/dist:wtf/package.json", + "//packages/zone.js/dist:zone.min/package.json", + "//packages/zone.js/dist:zone-bluebird.min/package.json", + "//packages/zone.js/dist:zone-bluebird/package.json", + "//packages/zone.js/dist:zone-error.min/package.json", + "//packages/zone.js/dist:zone-error/package.json", + "//packages/zone.js/dist:zone-evergreen.min/package.json", + "//packages/zone.js/dist:zone-evergreen-testing-bundle.min/package.json", + "//packages/zone.js/dist:zone-evergreen-testing-bundle/package.json", + "//packages/zone.js/dist:zone-evergreen/package.json", + "//packages/zone.js/dist:zone-legacy.min/package.json", + "//packages/zone.js/dist:zone-legacy/package.json", + "//packages/zone.js/dist:zone-mix.min/package.json", + "//packages/zone.js/dist:zone-mix/package.json", + "//packages/zone.js/dist:zone-node.min/package.json", + "//packages/zone.js/dist:zone-node/package.json", + "//packages/zone.js/dist:zone-patch-canvas.min/package.json", + "//packages/zone.js/dist:zone-patch-canvas/package.json", + "//packages/zone.js/dist:zone-patch-cordova.min/package.json", + "//packages/zone.js/dist:zone-patch-cordova/package.json", + "//packages/zone.js/dist:zone-patch-electron.min/package.json", + "//packages/zone.js/dist:zone-patch-electron/package.json", + "//packages/zone.js/dist:zone-patch-fetch.min/package.json", + "//packages/zone.js/dist:zone-patch-fetch/package.json", + "//packages/zone.js/dist:zone-patch-jsonp.min/package.json", + "//packages/zone.js/dist:zone-patch-jsonp/package.json", + "//packages/zone.js/dist:zone-patch-message-port.min/package.json", + "//packages/zone.js/dist:zone-patch-message-port/package.json", + "//packages/zone.js/dist:zone-patch-promise-test.min/package.json", + "//packages/zone.js/dist:zone-patch-promise-test/package.json", + "//packages/zone.js/dist:zone-patch-resize-observer.min/package.json", + "//packages/zone.js/dist:zone-patch-resize-observer/package.json", + "//packages/zone.js/dist:zone-patch-rxjs.min/package.json", + "//packages/zone.js/dist:zone-patch-rxjs-fake-async.min/package.json", + "//packages/zone.js/dist:zone-patch-rxjs-fake-async/package.json", + "//packages/zone.js/dist:zone-patch-rxjs/package.json", + "//packages/zone.js/dist:zone-patch-socket-io.min/package.json", + "//packages/zone.js/dist:zone-patch-socket-io/package.json", + "//packages/zone.js/dist:zone-patch-user-media.min/package.json", + "//packages/zone.js/dist:zone-patch-user-media/package.json", + "//packages/zone.js/dist:zone-testing.min/package.json", + "//packages/zone.js/dist:zone-testing-bundle.min/package.json", + "//packages/zone.js/dist:zone-testing-bundle/package.json", + "//packages/zone.js/dist:zone-testing-node-bundle.min/package.json", + "//packages/zone.js/dist:zone-testing-node-bundle/package.json", + "//packages/zone.js/dist:zone-testing/package.json", + "//packages/zone.js/dist:zone/package.json", + "//packages/zone.js/dist:zone_externs/package.json", ], ) - -zone_rollup_bundle( - bundles = ES5_BUNDLES.items(), - config_file = "//packages/zone.js:rollup-es5.config.js", -) - -zone_rollup_bundle( - bundles = ES5_GLOBAL_BUNDLES.items() + ES2015_BUNDLES.items(), - config_file = "//packages/zone.js:rollup-es5_global-es2015.config.js", -) - -generate_dist( - bundles = ES5_BUNDLES.items() + ES5_GLOBAL_BUNDLES.items(), - module = "es5", -) - -generate_dist( - bundles = ES2015_BUNDLES.items(), - module = "", -) diff --git a/packages/zone.js/dist/async-test.min/package.json b/packages/zone.js/dist/async-test.min/package.json new file mode 100644 index 0000000000..9928139106 --- /dev/null +++ b/packages/zone.js/dist/async-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/async-test.min", + "main": "../../bundles/async-test.umd.min.js", + "fesm2015": "../../fesm2015/async-test.min.js", + "es2015": "../../fesm2015/async-test.min.js", + "module": "../../fesm2015/async-test.min.js" +} diff --git a/packages/zone.js/dist/async-test/package.json b/packages/zone.js/dist/async-test/package.json new file mode 100644 index 0000000000..c6dc4c07a1 --- /dev/null +++ b/packages/zone.js/dist/async-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/async-test", + "main": "../../bundles/async-test.umd.js", + "fesm2015": "../../fesm2015/async-test.js", + "es2015": "../../fesm2015/async-test.js", + "module": "../../fesm2015/async-test.js" +} diff --git a/packages/zone.js/dist/fake-async-test.min/package.json b/packages/zone.js/dist/fake-async-test.min/package.json new file mode 100644 index 0000000000..df98ce6862 --- /dev/null +++ b/packages/zone.js/dist/fake-async-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/fake-async-test.min", + "main": "../../bundles/fake-async-test.umd.min.js", + "fesm2015": "../../fesm2015/fake-async-test.min.js", + "es2015": "../../fesm2015/fake-async-test.min.js", + "module": "../../fesm2015/fake-async-test.min.js" +} diff --git a/packages/zone.js/dist/fake-async-test/package.json b/packages/zone.js/dist/fake-async-test/package.json new file mode 100644 index 0000000000..feab6e986c --- /dev/null +++ b/packages/zone.js/dist/fake-async-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/fake-async-test", + "main": "../../bundles/fake-async-test.umd.js", + "fesm2015": "../../fesm2015/fake-async-test.js", + "es2015": "../../fesm2015/fake-async-test.js", + "module": "../../fesm2015/fake-async-test.js" +} diff --git a/packages/zone.js/dist/jasmine-patch.min/package.json b/packages/zone.js/dist/jasmine-patch.min/package.json new file mode 100644 index 0000000000..2577835c8a --- /dev/null +++ b/packages/zone.js/dist/jasmine-patch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/jasmine-patch.min", + "main": "../../bundles/jasmine-patch.umd.min.js", + "fesm2015": "../../fesm2015/jasmine-patch.min.js", + "es2015": "../../fesm2015/jasmine-patch.min.js", + "module": "../../fesm2015/jasmine-patch.min.js" +} diff --git a/packages/zone.js/dist/jasmine-patch/package.json b/packages/zone.js/dist/jasmine-patch/package.json new file mode 100644 index 0000000000..85a712b812 --- /dev/null +++ b/packages/zone.js/dist/jasmine-patch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/jasmine-patch", + "main": "../../bundles/jasmine-patch.umd.js", + "fesm2015": "../../fesm2015/jasmine-patch.js", + "es2015": "../../fesm2015/jasmine-patch.js", + "module": "../../fesm2015/jasmine-patch.js" +} diff --git a/packages/zone.js/dist/long-stack-trace-zone.min/package.json b/packages/zone.js/dist/long-stack-trace-zone.min/package.json new file mode 100644 index 0000000000..fbd117c105 --- /dev/null +++ b/packages/zone.js/dist/long-stack-trace-zone.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/long-stack-trace-zone.min", + "main": "../../bundles/long-stack-trace-zone.umd.min.js", + "fesm2015": "../../fesm2015/long-stack-trace-zone.min.js", + "es2015": "../../fesm2015/long-stack-trace-zone.min.js", + "module": "../../fesm2015/long-stack-trace-zone.min.js" +} diff --git a/packages/zone.js/dist/long-stack-trace-zone/package.json b/packages/zone.js/dist/long-stack-trace-zone/package.json new file mode 100644 index 0000000000..e3038e1f71 --- /dev/null +++ b/packages/zone.js/dist/long-stack-trace-zone/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/long-stack-trace-zone", + "main": "../../bundles/long-stack-trace-zone.umd.js", + "fesm2015": "../../fesm2015/long-stack-trace-zone.js", + "es2015": "../../fesm2015/long-stack-trace-zone.js", + "module": "../../fesm2015/long-stack-trace-zone.js" +} diff --git a/packages/zone.js/dist/mocha-patch.min/package.json b/packages/zone.js/dist/mocha-patch.min/package.json new file mode 100644 index 0000000000..056fea4c86 --- /dev/null +++ b/packages/zone.js/dist/mocha-patch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/mocha-patch.min", + "main": "../../bundles/mocha-patch.umd.min.js", + "fesm2015": "../../fesm2015/mocha-patch.min.js", + "es2015": "../../fesm2015/mocha-patch.min.js", + "module": "../../fesm2015/mocha-patch.min.js" +} diff --git a/packages/zone.js/dist/mocha-patch/package.json b/packages/zone.js/dist/mocha-patch/package.json new file mode 100644 index 0000000000..d88ff07228 --- /dev/null +++ b/packages/zone.js/dist/mocha-patch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/mocha-patch", + "main": "../../bundles/mocha-patch.umd.js", + "fesm2015": "../../fesm2015/mocha-patch.js", + "es2015": "../../fesm2015/mocha-patch.js", + "module": "../../fesm2015/mocha-patch.js" +} diff --git a/packages/zone.js/dist/proxy.min/package.json b/packages/zone.js/dist/proxy.min/package.json new file mode 100644 index 0000000000..3c8b4eced0 --- /dev/null +++ b/packages/zone.js/dist/proxy.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/proxy.min", + "main": "../../bundles/proxy.umd.min.js", + "fesm2015": "../../fesm2015/proxy.min.js", + "es2015": "../../fesm2015/proxy.min.js", + "module": "../../fesm2015/proxy.min.js" +} diff --git a/packages/zone.js/dist/proxy/package.json b/packages/zone.js/dist/proxy/package.json new file mode 100644 index 0000000000..26c3b0921e --- /dev/null +++ b/packages/zone.js/dist/proxy/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/proxy", + "main": "../../bundles/proxy.umd.js", + "fesm2015": "../../fesm2015/proxy.js", + "es2015": "../../fesm2015/proxy.js", + "module": "../../fesm2015/proxy.js" +} diff --git a/packages/zone.js/dist/sync-test.min/package.json b/packages/zone.js/dist/sync-test.min/package.json new file mode 100644 index 0000000000..47a668f4e3 --- /dev/null +++ b/packages/zone.js/dist/sync-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/sync-test.min", + "main": "../../bundles/sync-test.umd.min.js", + "fesm2015": "../../fesm2015/sync-test.min.js", + "es2015": "../../fesm2015/sync-test.min.js", + "module": "../../fesm2015/sync-test.min.js" +} diff --git a/packages/zone.js/dist/sync-test/package.json b/packages/zone.js/dist/sync-test/package.json new file mode 100644 index 0000000000..31c7a125f6 --- /dev/null +++ b/packages/zone.js/dist/sync-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/sync-test", + "main": "../../bundles/sync-test.umd.js", + "fesm2015": "../../fesm2015/sync-test.js", + "es2015": "../../fesm2015/sync-test.js", + "module": "../../fesm2015/sync-test.js" +} diff --git a/packages/zone.js/dist/task-tracking.min/package.json b/packages/zone.js/dist/task-tracking.min/package.json new file mode 100644 index 0000000000..d9247baf2b --- /dev/null +++ b/packages/zone.js/dist/task-tracking.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/task-tracking.min", + "main": "../../bundles/task-tracking.umd.min.js", + "fesm2015": "../../fesm2015/task-tracking.min.js", + "es2015": "../../fesm2015/task-tracking.min.js", + "module": "../../fesm2015/task-tracking.min.js" +} diff --git a/packages/zone.js/dist/task-tracking/package.json b/packages/zone.js/dist/task-tracking/package.json new file mode 100644 index 0000000000..dbf8ace6bf --- /dev/null +++ b/packages/zone.js/dist/task-tracking/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/task-tracking", + "main": "../../bundles/task-tracking.umd.js", + "fesm2015": "../../fesm2015/task-tracking.js", + "es2015": "../../fesm2015/task-tracking.js", + "module": "../../fesm2015/task-tracking.js" +} diff --git a/packages/zone.js/dist/tools.bzl b/packages/zone.js/dist/tools.bzl deleted file mode 100644 index ec22b2e776..0000000000 --- a/packages/zone.js/dist/tools.bzl +++ /dev/null @@ -1,36 +0,0 @@ -"""Provides the rollup and dist file generation macro.""" - -load("//tools:defaults.bzl", "rollup_bundle") - -def zone_rollup_bundle(config_file, bundles): - for b in bundles: - rollup_bundle( - name = b[0] + "-rollup", - config_file = config_file, - entry_point = b[1] + ".ts", - silent = True, - sourcemap = "false", - deps = [ - "//packages/zone.js/lib", - "@npm//rollup-plugin-commonjs", - "@npm//rollup-plugin-node-resolve", - ], - ) - -def generate_dist(module, bundles): - for b in bundles: - native.genrule( - name = b[0] + "-dist", - srcs = [ - b[0] + "-rollup." + module + "umd.js", - b[0] + "-rollup.min." + module + "umd.js", - ], - outs = [ - b[0] + ".js", - b[0] + ".min.js", - ], - cmd = " && ".join([ - "cp $(@D)/" + b[0] + "-rollup." + module + "umd.js $(@D)/" + b[0] + ".js", - "cp $(@D)/" + b[0] + "-rollup.min." + module + "umd.js $(@D)/" + b[0] + ".min.js", - ]), - ) diff --git a/packages/zone.js/dist/webapis-media-query.min/package.json b/packages/zone.js/dist/webapis-media-query.min/package.json new file mode 100644 index 0000000000..b512baa663 --- /dev/null +++ b/packages/zone.js/dist/webapis-media-query.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-media-query.min", + "main": "../../bundles/webapis-media-query.umd.min.js", + "fesm2015": "../../fesm2015/webapis-media-query.min.js", + "es2015": "../../fesm2015/webapis-media-query.min.js", + "module": "../../fesm2015/webapis-media-query.min.js" +} diff --git a/packages/zone.js/dist/webapis-media-query/package.json b/packages/zone.js/dist/webapis-media-query/package.json new file mode 100644 index 0000000000..00383a1420 --- /dev/null +++ b/packages/zone.js/dist/webapis-media-query/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-media-query", + "main": "../../bundles/webapis-media-query.umd.js", + "fesm2015": "../../fesm2015/webapis-media-query.js", + "es2015": "../../fesm2015/webapis-media-query.js", + "module": "../../fesm2015/webapis-media-query.js" +} diff --git a/packages/zone.js/dist/webapis-notification.min/package.json b/packages/zone.js/dist/webapis-notification.min/package.json new file mode 100644 index 0000000000..34b7a46fe3 --- /dev/null +++ b/packages/zone.js/dist/webapis-notification.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-notification.min", + "main": "../../bundles/webapis-notification.umd.min.js", + "fesm2015": "../../fesm2015/webapis-notification.min.js", + "es2015": "../../fesm2015/webapis-notification.min.js", + "module": "../../fesm2015/webapis-notification.min.js" +} diff --git a/packages/zone.js/dist/webapis-notification/package.json b/packages/zone.js/dist/webapis-notification/package.json new file mode 100644 index 0000000000..69f50f2192 --- /dev/null +++ b/packages/zone.js/dist/webapis-notification/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-notification", + "main": "../../bundles/webapis-notification.umd.js", + "fesm2015": "../../fesm2015/webapis-notification.js", + "es2015": "../../fesm2015/webapis-notification.js", + "module": "../../fesm2015/webapis-notification.js" +} diff --git a/packages/zone.js/dist/webapis-rtc-peer-connection.min/package.json b/packages/zone.js/dist/webapis-rtc-peer-connection.min/package.json new file mode 100644 index 0000000000..6cee513b35 --- /dev/null +++ b/packages/zone.js/dist/webapis-rtc-peer-connection.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-rtc-peer-connection.min", + "main": "../../bundles/webapis-rtc-peer-connection.umd.min.js", + "fesm2015": "../../fesm2015/webapis-rtc-peer-connection.min.js", + "es2015": "../../fesm2015/webapis-rtc-peer-connection.min.js", + "module": "../../fesm2015/webapis-rtc-peer-connection.min.js" +} diff --git a/packages/zone.js/dist/webapis-rtc-peer-connection/package.json b/packages/zone.js/dist/webapis-rtc-peer-connection/package.json new file mode 100644 index 0000000000..187857fc3f --- /dev/null +++ b/packages/zone.js/dist/webapis-rtc-peer-connection/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-rtc-peer-connection", + "main": "../../bundles/webapis-rtc-peer-connection.umd.js", + "fesm2015": "../../fesm2015/webapis-rtc-peer-connection.js", + "es2015": "../../fesm2015/webapis-rtc-peer-connection.js", + "module": "../../fesm2015/webapis-rtc-peer-connection.js" +} diff --git a/packages/zone.js/dist/webapis-shadydom.min/package.json b/packages/zone.js/dist/webapis-shadydom.min/package.json new file mode 100644 index 0000000000..c0f63f629d --- /dev/null +++ b/packages/zone.js/dist/webapis-shadydom.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-shadydom.min", + "main": "../../bundles/webapis-shadydom.umd.min.js", + "fesm2015": "../../fesm2015/webapis-shadydom.min.js", + "es2015": "../../fesm2015/webapis-shadydom.min.js", + "module": "../../fesm2015/webapis-shadydom.min.js" +} diff --git a/packages/zone.js/dist/webapis-shadydom/package.json b/packages/zone.js/dist/webapis-shadydom/package.json new file mode 100644 index 0000000000..094020cfb1 --- /dev/null +++ b/packages/zone.js/dist/webapis-shadydom/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-shadydom", + "main": "../../bundles/webapis-shadydom.umd.js", + "fesm2015": "../../fesm2015/webapis-shadydom.js", + "es2015": "../../fesm2015/webapis-shadydom.js", + "module": "../../fesm2015/webapis-shadydom.js" +} diff --git a/packages/zone.js/dist/wtf.min/package.json b/packages/zone.js/dist/wtf.min/package.json new file mode 100644 index 0000000000..0cd382df4b --- /dev/null +++ b/packages/zone.js/dist/wtf.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/wtf.min", + "main": "../../bundles/wtf.umd.min.js", + "fesm2015": "../../fesm2015/wtf.min.js", + "es2015": "../../fesm2015/wtf.min.js", + "module": "../../fesm2015/wtf.min.js" +} diff --git a/packages/zone.js/dist/wtf/package.json b/packages/zone.js/dist/wtf/package.json new file mode 100644 index 0000000000..30a38fa85f --- /dev/null +++ b/packages/zone.js/dist/wtf/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/wtf", + "main": "../../bundles/wtf.umd.js", + "fesm2015": "../../fesm2015/wtf.js", + "es2015": "../../fesm2015/wtf.js", + "module": "../../fesm2015/wtf.js" +} diff --git a/packages/zone.js/dist/zone-bluebird.min/package.json b/packages/zone.js/dist/zone-bluebird.min/package.json new file mode 100644 index 0000000000..4893934a86 --- /dev/null +++ b/packages/zone.js/dist/zone-bluebird.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-bluebird.min", + "main": "../../bundles/zone-bluebird.umd.min.js", + "fesm2015": "../../fesm2015/zone-bluebird.min.js", + "es2015": "../../fesm2015/zone-bluebird.min.js", + "module": "../../fesm2015/zone-bluebird.min.js" +} diff --git a/packages/zone.js/dist/zone-bluebird/package.json b/packages/zone.js/dist/zone-bluebird/package.json new file mode 100644 index 0000000000..cbe50f384c --- /dev/null +++ b/packages/zone.js/dist/zone-bluebird/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-bluebird", + "main": "../../bundles/zone-bluebird.umd.js", + "fesm2015": "../../fesm2015/zone-bluebird.js", + "es2015": "../../fesm2015/zone-bluebird.js", + "module": "../../fesm2015/zone-bluebird.js" +} diff --git a/packages/zone.js/dist/zone-error.min/package.json b/packages/zone.js/dist/zone-error.min/package.json new file mode 100644 index 0000000000..3ab27961e1 --- /dev/null +++ b/packages/zone.js/dist/zone-error.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-error.min", + "main": "../../bundles/zone-error.umd.min.js", + "fesm2015": "../../fesm2015/zone-error.min.js", + "es2015": "../../fesm2015/zone-error.min.js", + "module": "../../fesm2015/zone-error.min.js" +} diff --git a/packages/zone.js/dist/zone-error/package.json b/packages/zone.js/dist/zone-error/package.json new file mode 100644 index 0000000000..c493ca1cee --- /dev/null +++ b/packages/zone.js/dist/zone-error/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-error", + "main": "../../bundles/zone-error.umd.js", + "fesm2015": "../../fesm2015/zone-error.js", + "es2015": "../../fesm2015/zone-error.js", + "module": "../../fesm2015/zone-error.js" +} diff --git a/packages/zone.js/dist/zone-evergreen-testing-bundle.min/package.json b/packages/zone.js/dist/zone-evergreen-testing-bundle.min/package.json new file mode 100644 index 0000000000..8ace64a646 --- /dev/null +++ b/packages/zone.js/dist/zone-evergreen-testing-bundle.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-evergreen-testing-bundle.min", + "main": "../../fesm2015/zone-testing-bundle.min.js", + "fesm2015": "../../fesm2015/zone-testing-bundle.min.js", + "es2015": "../../fesm2015/zone-testing-bundle.min.js", + "module": "../../fesm2015/zone-testing-bundle.min.js" +} diff --git a/packages/zone.js/dist/zone-evergreen-testing-bundle/package.json b/packages/zone.js/dist/zone-evergreen-testing-bundle/package.json new file mode 100644 index 0000000000..816a921284 --- /dev/null +++ b/packages/zone.js/dist/zone-evergreen-testing-bundle/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-evergreen-testing-bundle", + "main": "../../fesm2015/zone-testing-bundle.js", + "fesm2015": "../../fesm2015/zone-testing-bundle.js", + "es2015": "../../fesm2015/zone-testing-bundle.js", + "module": "../../fesm2015/zone-testing-bundle.js" +} diff --git a/packages/zone.js/dist/zone-evergreen.min/package.json b/packages/zone.js/dist/zone-evergreen.min/package.json new file mode 100644 index 0000000000..11fe4968c8 --- /dev/null +++ b/packages/zone.js/dist/zone-evergreen.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-evergreen.min", + "main": "../../fesm2015/zone.min.js", + "fesm2015": "../../fesm2015/zone.min.js", + "es2015": "../../fesm2015/zone.min.js", + "module": "../../fesm2015/zone.min.js" +} diff --git a/packages/zone.js/dist/zone-evergreen/package.json b/packages/zone.js/dist/zone-evergreen/package.json new file mode 100644 index 0000000000..7b39adcc6b --- /dev/null +++ b/packages/zone.js/dist/zone-evergreen/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-evergreen", + "main": "../../fesm2015/zone.js", + "fesm2015": "../../fesm2015/zone.js", + "es2015": "../../fesm2015/zone.js", + "module": "../../fesm2015/zone.js" +} diff --git a/packages/zone.js/dist/zone-legacy.min/package.json b/packages/zone.js/dist/zone-legacy.min/package.json new file mode 100644 index 0000000000..f0f2739db9 --- /dev/null +++ b/packages/zone.js/dist/zone-legacy.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-legacy.min", + "main": "../../bundles/zone-legacy.umd.min.js", + "fesm2015": "../../fesm2015/zone-legacy.min.js", + "es2015": "../../fesm2015/zone-legacy.min.js", + "module": "../../fesm2015/zone-legacy.min.js" +} diff --git a/packages/zone.js/dist/zone-legacy/package.json b/packages/zone.js/dist/zone-legacy/package.json new file mode 100644 index 0000000000..b87125f159 --- /dev/null +++ b/packages/zone.js/dist/zone-legacy/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-legacy", + "main": "../../bundles/zone-legacy.umd.js", + "fesm2015": "../../fesm2015/zone-legacy.js", + "es2015": "../../fesm2015/zone-legacy.js", + "module": "../../fesm2015/zone-legacy.js" +} diff --git a/packages/zone.js/dist/zone-mix.min/package.json b/packages/zone.js/dist/zone-mix.min/package.json new file mode 100644 index 0000000000..f9bcee10fd --- /dev/null +++ b/packages/zone.js/dist/zone-mix.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-mix.min", + "main": "../../bundles/zone-mix.umd.min.js", + "fesm2015": "../../fesm2015/zone-mix.min.js", + "es2015": "../../fesm2015/zone-mix.min.js", + "module": "../../fesm2015/zone-mix.min.js" +} diff --git a/packages/zone.js/dist/zone-mix/package.json b/packages/zone.js/dist/zone-mix/package.json new file mode 100644 index 0000000000..ba9b5db934 --- /dev/null +++ b/packages/zone.js/dist/zone-mix/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-mix", + "main": "../../bundles/zone-mix.umd.js", + "fesm2015": "../../fesm2015/zone-mix.js", + "es2015": "../../fesm2015/zone-mix.js", + "module": "../../fesm2015/zone-mix.js" +} diff --git a/packages/zone.js/dist/zone-node.min/package.json b/packages/zone.js/dist/zone-node.min/package.json new file mode 100644 index 0000000000..ae9c89901d --- /dev/null +++ b/packages/zone.js/dist/zone-node.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-node.min", + "main": "../../bundles/zone-node.umd.min.js", + "fesm2015": "../../fesm2015/zone-node.min.js", + "es2015": "../../fesm2015/zone-node.min.js", + "module": "../../fesm2015/zone-node.min.js" +} diff --git a/packages/zone.js/dist/zone-node/package.json b/packages/zone.js/dist/zone-node/package.json new file mode 100644 index 0000000000..4636504304 --- /dev/null +++ b/packages/zone.js/dist/zone-node/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-node", + "main": "../../bundles/zone-node.umd.js", + "fesm2015": "../../fesm2015/zone-node.js", + "es2015": "../../fesm2015/zone-node.js", + "module": "../../fesm2015/zone-node.js" +} diff --git a/packages/zone.js/dist/zone-patch-canvas.min/package.json b/packages/zone.js/dist/zone-patch-canvas.min/package.json new file mode 100644 index 0000000000..9b0501c8ec --- /dev/null +++ b/packages/zone.js/dist/zone-patch-canvas.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-canvas.min", + "main": "../../bundles/zone-patch-canvas.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-canvas.min.js", + "es2015": "../../fesm2015/zone-patch-canvas.min.js", + "module": "../../fesm2015/zone-patch-canvas.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-canvas/package.json b/packages/zone.js/dist/zone-patch-canvas/package.json new file mode 100644 index 0000000000..5f95609908 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-canvas/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-canvas", + "main": "../../bundles/zone-patch-canvas.umd.js", + "fesm2015": "../../fesm2015/zone-patch-canvas.js", + "es2015": "../../fesm2015/zone-patch-canvas.js", + "module": "../../fesm2015/zone-patch-canvas.js" +} diff --git a/packages/zone.js/dist/zone-patch-cordova.min/package.json b/packages/zone.js/dist/zone-patch-cordova.min/package.json new file mode 100644 index 0000000000..0dbbf3aa66 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-cordova.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-cordova.min", + "main": "../../bundles/zone-patch-cordova.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-cordova.min.js", + "es2015": "../../fesm2015/zone-patch-cordova.min.js", + "module": "../../fesm2015/zone-patch-cordova.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-cordova/package.json b/packages/zone.js/dist/zone-patch-cordova/package.json new file mode 100644 index 0000000000..c4303225fd --- /dev/null +++ b/packages/zone.js/dist/zone-patch-cordova/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-cordova", + "main": "../../bundles/zone-patch-cordova.umd.js", + "fesm2015": "../../fesm2015/zone-patch-cordova.js", + "es2015": "../../fesm2015/zone-patch-cordova.js", + "module": "../../fesm2015/zone-patch-cordova.js" +} diff --git a/packages/zone.js/dist/zone-patch-electron.min/package.json b/packages/zone.js/dist/zone-patch-electron.min/package.json new file mode 100644 index 0000000000..c50d2f986b --- /dev/null +++ b/packages/zone.js/dist/zone-patch-electron.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-electron.min", + "main": "../../bundles/zone-patch-electron.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-electron.min.js", + "es2015": "../../fesm2015/zone-patch-electron.min.js", + "module": "../../fesm2015/zone-patch-electron.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-electron/package.json b/packages/zone.js/dist/zone-patch-electron/package.json new file mode 100644 index 0000000000..157e823c00 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-electron/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-electron", + "main": "../../bundles/zone-patch-electron.umd.js", + "fesm2015": "../../fesm2015/zone-patch-electron.js", + "es2015": "../../fesm2015/zone-patch-electron.js", + "module": "../../fesm2015/zone-patch-electron.js" +} diff --git a/packages/zone.js/dist/zone-patch-fetch.min/package.json b/packages/zone.js/dist/zone-patch-fetch.min/package.json new file mode 100644 index 0000000000..5aa46814bb --- /dev/null +++ b/packages/zone.js/dist/zone-patch-fetch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-fetch.min", + "main": "../../bundles/zone-patch-fetch.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-fetch.min.js", + "es2015": "../../fesm2015/zone-patch-fetch.min.js", + "module": "../../fesm2015/zone-patch-fetch.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-fetch/package.json b/packages/zone.js/dist/zone-patch-fetch/package.json new file mode 100644 index 0000000000..2b902bc5a1 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-fetch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-fetch", + "main": "../../bundles/zone-patch-fetch.umd.js", + "fesm2015": "../../fesm2015/zone-patch-fetch.js", + "es2015": "../../fesm2015/zone-patch-fetch.js", + "module": "../../fesm2015/zone-patch-fetch.js" +} diff --git a/packages/zone.js/dist/zone-patch-jsonp.min/package.json b/packages/zone.js/dist/zone-patch-jsonp.min/package.json new file mode 100644 index 0000000000..9e274dc71b --- /dev/null +++ b/packages/zone.js/dist/zone-patch-jsonp.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-jsonp.min", + "main": "../../bundles/zone-patch-jsonp.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-jsonp.min.js", + "es2015": "../../fesm2015/zone-patch-jsonp.min.js", + "module": "../../fesm2015/zone-patch-jsonp.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-jsonp/package.json b/packages/zone.js/dist/zone-patch-jsonp/package.json new file mode 100644 index 0000000000..426a0da45b --- /dev/null +++ b/packages/zone.js/dist/zone-patch-jsonp/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-jsonp", + "main": "../../bundles/zone-patch-jsonp.umd.js", + "fesm2015": "../../fesm2015/zone-patch-jsonp.js", + "es2015": "../../fesm2015/zone-patch-jsonp.js", + "module": "../../fesm2015/zone-patch-jsonp.js" +} diff --git a/packages/zone.js/dist/zone-patch-message-port.min/package.json b/packages/zone.js/dist/zone-patch-message-port.min/package.json new file mode 100644 index 0000000000..c1e4a3a2ca --- /dev/null +++ b/packages/zone.js/dist/zone-patch-message-port.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-message-port.min", + "main": "../../bundles/zone-patch-message-port.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-message-port.min.js", + "es2015": "../../fesm2015/zone-patch-message-port.min.js", + "module": "../../fesm2015/zone-patch-message-port.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-message-port/package.json b/packages/zone.js/dist/zone-patch-message-port/package.json new file mode 100644 index 0000000000..3b3ce6317c --- /dev/null +++ b/packages/zone.js/dist/zone-patch-message-port/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-message-port", + "main": "../../bundles/zone-patch-message-port.umd.js", + "fesm2015": "../../fesm2015/zone-patch-message-port.js", + "es2015": "../../fesm2015/zone-patch-message-port.js", + "module": "../../fesm2015/zone-patch-message-port.js" +} diff --git a/packages/zone.js/dist/zone-patch-promise-test.min/package.json b/packages/zone.js/dist/zone-patch-promise-test.min/package.json new file mode 100644 index 0000000000..30b94a2414 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-promise-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-promise-test.min", + "main": "../../bundles/zone-patch-promise-test.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-promise-test.min.js", + "es2015": "../../fesm2015/zone-patch-promise-test.min.js", + "module": "../../fesm2015/zone-patch-promise-test.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-promise-test/package.json b/packages/zone.js/dist/zone-patch-promise-test/package.json new file mode 100644 index 0000000000..8b9bd469ee --- /dev/null +++ b/packages/zone.js/dist/zone-patch-promise-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-promise-test", + "main": "../../bundles/zone-patch-promise-test.umd.js", + "fesm2015": "../../fesm2015/zone-patch-promise-test.js", + "es2015": "../../fesm2015/zone-patch-promise-test.js", + "module": "../../fesm2015/zone-patch-promise-test.js" +} diff --git a/packages/zone.js/dist/zone-patch-resize-observer.min/package.json b/packages/zone.js/dist/zone-patch-resize-observer.min/package.json new file mode 100644 index 0000000000..bc8b6a9389 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-resize-observer.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-resize-observer.min", + "main": "../../bundles/zone-patch-resize-observer.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-resize-observer.min.js", + "es2015": "../../fesm2015/zone-patch-resize-observer.min.js", + "module": "../../fesm2015/zone-patch-resize-observer.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-resize-observer/package.json b/packages/zone.js/dist/zone-patch-resize-observer/package.json new file mode 100644 index 0000000000..dece1df10a --- /dev/null +++ b/packages/zone.js/dist/zone-patch-resize-observer/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-resize-observer", + "main": "../../bundles/zone-patch-resize-observer.umd.js", + "fesm2015": "../../fesm2015/zone-patch-resize-observer.js", + "es2015": "../../fesm2015/zone-patch-resize-observer.js", + "module": "../../fesm2015/zone-patch-resize-observer.js" +} diff --git a/packages/zone.js/dist/zone-patch-rxjs-fake-async.min/package.json b/packages/zone.js/dist/zone-patch-rxjs-fake-async.min/package.json new file mode 100644 index 0000000000..e8e2c0f78d --- /dev/null +++ b/packages/zone.js/dist/zone-patch-rxjs-fake-async.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs-fake-async.min", + "main": "../../bundles/zone-patch-rxjs-fake-async.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs-fake-async.min.js", + "es2015": "../../fesm2015/zone-patch-rxjs-fake-async.min.js", + "module": "../../fesm2015/zone-patch-rxjs-fake-async.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-rxjs-fake-async/package.json b/packages/zone.js/dist/zone-patch-rxjs-fake-async/package.json new file mode 100644 index 0000000000..5384663123 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-rxjs-fake-async/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs-fake-async", + "main": "../../bundles/zone-patch-rxjs-fake-async.umd.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs-fake-async.js", + "es2015": "../../fesm2015/zone-patch-rxjs-fake-async.js", + "module": "../../fesm2015/zone-patch-rxjs-fake-async.js" +} diff --git a/packages/zone.js/dist/zone-patch-rxjs.min/package.json b/packages/zone.js/dist/zone-patch-rxjs.min/package.json new file mode 100644 index 0000000000..fefe72012f --- /dev/null +++ b/packages/zone.js/dist/zone-patch-rxjs.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs.min", + "main": "../../bundles/zone-patch-rxjs.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs.min.js", + "es2015": "../../fesm2015/zone-patch-rxjs.min.js", + "module": "../../fesm2015/zone-patch-rxjs.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-rxjs/package.json b/packages/zone.js/dist/zone-patch-rxjs/package.json new file mode 100644 index 0000000000..4529cc020b --- /dev/null +++ b/packages/zone.js/dist/zone-patch-rxjs/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs", + "main": "../../bundles/zone-patch-rxjs.umd.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs.js", + "es2015": "../../fesm2015/zone-patch-rxjs.js", + "module": "../../fesm2015/zone-patch-rxjs.js" +} diff --git a/packages/zone.js/dist/zone-patch-socket-io.min/package.json b/packages/zone.js/dist/zone-patch-socket-io.min/package.json new file mode 100644 index 0000000000..811eb64228 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-socket-io.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-socket-io.min", + "main": "../../bundles/zone-patch-socket-io.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-socket-io.min.js", + "es2015": "../../fesm2015/zone-patch-socket-io.min.js", + "module": "../../fesm2015/zone-patch-socket-io.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-socket-io/package.json b/packages/zone.js/dist/zone-patch-socket-io/package.json new file mode 100644 index 0000000000..aa65a90fc1 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-socket-io/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-socket-io", + "main": "../../bundles/zone-patch-socket-io.umd.js", + "fesm2015": "../../fesm2015/zone-patch-socket-io.js", + "es2015": "../../fesm2015/zone-patch-socket-io.js", + "module": "../../fesm2015/zone-patch-socket-io.js" +} diff --git a/packages/zone.js/dist/zone-patch-user-media.min/package.json b/packages/zone.js/dist/zone-patch-user-media.min/package.json new file mode 100644 index 0000000000..4df7663d24 --- /dev/null +++ b/packages/zone.js/dist/zone-patch-user-media.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-user-media.min", + "main": "../../bundles/zone-patch-user-media.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-user-media.min.js", + "es2015": "../../fesm2015/zone-patch-user-media.min.js", + "module": "../../fesm2015/zone-patch-user-media.min.js" +} diff --git a/packages/zone.js/dist/zone-patch-user-media/package.json b/packages/zone.js/dist/zone-patch-user-media/package.json new file mode 100644 index 0000000000..a0a8849a9e --- /dev/null +++ b/packages/zone.js/dist/zone-patch-user-media/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-user-media", + "main": "../../bundles/zone-patch-user-media.umd.js", + "fesm2015": "../../fesm2015/zone-patch-user-media.js", + "es2015": "../../fesm2015/zone-patch-user-media.js", + "module": "../../fesm2015/zone-patch-user-media.js" +} diff --git a/packages/zone.js/dist/zone-testing-bundle.min/package.json b/packages/zone.js/dist/zone-testing-bundle.min/package.json new file mode 100644 index 0000000000..59357b7b80 --- /dev/null +++ b/packages/zone.js/dist/zone-testing-bundle.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing-bundle.min", + "main": "../../bundles/zone-testing-bundle.umd.min.js", + "fesm2015": "../../fesm2015/zone-testing-bundle.min.js", + "es2015": "../../fesm2015/zone-testing-bundle.min.js", + "module": "../../fesm2015/zone-testing-bundle.min.js" +} diff --git a/packages/zone.js/dist/zone-testing-bundle/package.json b/packages/zone.js/dist/zone-testing-bundle/package.json new file mode 100644 index 0000000000..f466591796 --- /dev/null +++ b/packages/zone.js/dist/zone-testing-bundle/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing-bundle", + "main": "../../bundles/zone-testing-bundle.umd.js", + "fesm2015": "../../fesm2015/zone-testing-bundle.js", + "es2015": "../../fesm2015/zone-testing-bundle.js", + "module": "../../fesm2015/zone-testing-bundle.js" +} diff --git a/packages/zone.js/dist/zone-testing-node-bundle.min/package.json b/packages/zone.js/dist/zone-testing-node-bundle.min/package.json new file mode 100644 index 0000000000..585a93fb37 --- /dev/null +++ b/packages/zone.js/dist/zone-testing-node-bundle.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing-node-bundle.min", + "main": "../../bundles/zone-testing-node-bundle.umd.min.js", + "fesm2015": "../../fesm2015/zone-testing-node-bundle.min.js", + "es2015": "../../fesm2015/zone-testing-node-bundle.min.js", + "module": "../../fesm2015/zone-testing-node-bundle.min.js" +} diff --git a/packages/zone.js/dist/zone-testing-node-bundle/package.json b/packages/zone.js/dist/zone-testing-node-bundle/package.json new file mode 100644 index 0000000000..a73e5566d6 --- /dev/null +++ b/packages/zone.js/dist/zone-testing-node-bundle/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing-node-bundle", + "main": "../../bundles/zone-testing-node-bundle.umd.js", + "fesm2015": "../../fesm2015/zone-testing-node-bundle.js", + "es2015": "../../fesm2015/zone-testing-node-bundle.js", + "module": "../../fesm2015/zone-testing-node-bundle.js" +} diff --git a/packages/zone.js/dist/zone-testing.min/package.json b/packages/zone.js/dist/zone-testing.min/package.json new file mode 100644 index 0000000000..e07c6be6f3 --- /dev/null +++ b/packages/zone.js/dist/zone-testing.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing.min", + "main": "../../bundles/zone-testing.umd.min.js", + "fesm2015": "../../fesm2015/zone-testing.min.js", + "es2015": "../../fesm2015/zone-testing.min.js", + "module": "../../fesm2015/zone-testing.min.js" +} diff --git a/packages/zone.js/dist/zone-testing/package.json b/packages/zone.js/dist/zone-testing/package.json new file mode 100644 index 0000000000..dbed6c0b3e --- /dev/null +++ b/packages/zone.js/dist/zone-testing/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-testing", + "main": "../../bundles/zone-testing.umd.js", + "fesm2015": "../../fesm2015/zone-testing.js", + "es2015": "../../fesm2015/zone-testing.js", + "module": "../../fesm2015/zone-testing.js" +} diff --git a/packages/zone.js/dist/zone.min/package.json b/packages/zone.js/dist/zone.min/package.json new file mode 100644 index 0000000000..3adf65f73b --- /dev/null +++ b/packages/zone.js/dist/zone.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone.min", + "main": "../../bundles/zone.umd.min.js", + "fesm2015": "../../fesm2015/zone.min.js", + "es2015": "../../fesm2015/zone.min.js", + "module": "../../fesm2015/zone.min.js" +} diff --git a/packages/zone.js/dist/zone/package.json b/packages/zone.js/dist/zone/package.json new file mode 100644 index 0000000000..0fcd1c15f3 --- /dev/null +++ b/packages/zone.js/dist/zone/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone", + "main": "../../bundles/zone.umd.js", + "fesm2015": "../../fesm2015/zone.js", + "es2015": "../../fesm2015/zone.js", + "module": "../../fesm2015/zone.js" +} diff --git a/packages/zone.js/dist/zone_externs/package.json b/packages/zone.js/dist/zone_externs/package.json new file mode 100644 index 0000000000..7da5b085b0 --- /dev/null +++ b/packages/zone.js/dist/zone_externs/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone_externs", + "main": "../../zone_externs.js", + "fesm2015": "../../zone_externs.js", + "es2015": "../../zone_externs.js", + "module": "../../zone_externs.js" +} diff --git a/packages/zone.js/example/benchmarks/event_emitter.js b/packages/zone.js/example/benchmarks/event_emitter.js index 9ed8be3707..c62e4bb44c 100644 --- a/packages/zone.js/example/benchmarks/event_emitter.js +++ b/packages/zone.js/example/benchmarks/event_emitter.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -51,4 +51,4 @@ function addRemoveCallback(reuse, useZone) { addRemoveCallback(false, false); addRemoveCallback(false, true); addRemoveCallback(true, false); -addRemoveCallback(true, true); \ No newline at end of file +addRemoveCallback(true, true); diff --git a/packages/zone.js/fesm2015/BUILD.bazel b/packages/zone.js/fesm2015/BUILD.bazel new file mode 100644 index 0000000000..796ef543df --- /dev/null +++ b/packages/zone.js/fesm2015/BUILD.bazel @@ -0,0 +1,8 @@ +load("//packages/zone.js:tools.bzl", "generate_dist") +load("//packages/zone.js:bundles.bzl", "BUNDLES_ENTRY_POINTS") + +generate_dist( + bundles = BUNDLES_ENTRY_POINTS.items(), + output_format = "es2015", + umd = "", +) diff --git a/packages/zone.js/karma-base.conf.js b/packages/zone.js/karma-base.conf.js index 35b218c97b..1f538252e9 100644 --- a/packages/zone.js/karma-base.conf.js +++ b/packages/zone.js/karma-base.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-build-sauce-mocha.conf.js b/packages/zone.js/karma-build-sauce-mocha.conf.js index 7e44d3bd9c..b7f02f4931 100644 --- a/packages/zone.js/karma-build-sauce-mocha.conf.js +++ b/packages/zone.js/karma-build-sauce-mocha.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-build-sauce-selenium3-mocha.conf.js b/packages/zone.js/karma-build-sauce-selenium3-mocha.conf.js index 73ddbf40f5..e348ef74f2 100644 --- a/packages/zone.js/karma-build-sauce-selenium3-mocha.conf.js +++ b/packages/zone.js/karma-build-sauce-selenium3-mocha.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-build.conf.js b/packages/zone.js/karma-build.conf.js index a3e2d2503e..6405bd4cd5 100644 --- a/packages/zone.js/karma-build.conf.js +++ b/packages/zone.js/karma-build.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-dist-sauce-jasmine.conf.js b/packages/zone.js/karma-dist-sauce-jasmine.conf.js index 3e4d24b620..1c72c66968 100644 --- a/packages/zone.js/karma-dist-sauce-jasmine.conf.js +++ b/packages/zone.js/karma-dist-sauce-jasmine.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-dist-sauce-jasmine3.conf.js b/packages/zone.js/karma-dist-sauce-jasmine3.conf.js index 61559bf6fe..2def1fd2cc 100644 --- a/packages/zone.js/karma-dist-sauce-jasmine3.conf.js +++ b/packages/zone.js/karma-dist-sauce-jasmine3.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-dist-sauce-selenium3-jasmine.conf.js b/packages/zone.js/karma-dist-sauce-selenium3-jasmine.conf.js index 9acc12022e..44e571b5a4 100644 --- a/packages/zone.js/karma-dist-sauce-selenium3-jasmine.conf.js +++ b/packages/zone.js/karma-dist-sauce-selenium3-jasmine.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-dist.conf.js b/packages/zone.js/karma-dist.conf.js index f592296ca1..94de5abc60 100644 --- a/packages/zone.js/karma-dist.conf.js +++ b/packages/zone.js/karma-dist.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-evergreen-dist-sauce-jasmine.conf.js b/packages/zone.js/karma-evergreen-dist-sauce-jasmine.conf.js index 855dfef35a..fc6c60a318 100644 --- a/packages/zone.js/karma-evergreen-dist-sauce-jasmine.conf.js +++ b/packages/zone.js/karma-evergreen-dist-sauce-jasmine.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/karma-evergreen-dist.conf.js b/packages/zone.js/karma-evergreen-dist.conf.js index d1f4d22677..4203994495 100644 --- a/packages/zone.js/karma-evergreen-dist.conf.js +++ b/packages/zone.js/karma-evergreen-dist.conf.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/BUILD.bazel b/packages/zone.js/lib/BUILD.bazel index 3e7f8e1f29..e46bad5870 100644 --- a/packages/zone.js/lib/BUILD.bazel +++ b/packages/zone.js/lib/BUILD.bazel @@ -26,5 +26,6 @@ ts_library( "@npm//@types/jasmine", "@npm//@types/node", "@npm//rxjs", + "@npm//tslib", ], ) diff --git a/packages/zone.js/lib/browser/api-util.ts b/packages/zone.js/lib/browser/api-util.ts index bdd4077029..e9dff33932 100644 --- a/packages/zone.js/lib/browser/api-util.ts +++ b/packages/zone.js/lib/browser/api-util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/browser-legacy.ts b/packages/zone.js/lib/browser/browser-legacy.ts index cf25f61bec..338cf0298d 100644 --- a/packages/zone.js/lib/browser/browser-legacy.ts +++ b/packages/zone.js/lib/browser/browser-legacy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/browser-util.ts b/packages/zone.js/lib/browser/browser-util.ts index 99c453030a..03c6b18d92 100644 --- a/packages/zone.js/lib/browser/browser-util.ts +++ b/packages/zone.js/lib/browser/browser-util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/browser.ts b/packages/zone.js/lib/browser/browser.ts index 37c4f16bea..0e56beaaec 100644 --- a/packages/zone.js/lib/browser/browser.ts +++ b/packages/zone.js/lib/browser/browser.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/canvas.ts b/packages/zone.js/lib/browser/canvas.ts index 527e09817c..6300d9d2e2 100644 --- a/packages/zone.js/lib/browser/canvas.ts +++ b/packages/zone.js/lib/browser/canvas.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/custom-elements.ts b/packages/zone.js/lib/browser/custom-elements.ts index 02eb35a574..ddd8df26ad 100644 --- a/packages/zone.js/lib/browser/custom-elements.ts +++ b/packages/zone.js/lib/browser/custom-elements.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/define-property.ts b/packages/zone.js/lib/browser/define-property.ts index c2abc184e8..08f937248f 100644 --- a/packages/zone.js/lib/browser/define-property.ts +++ b/packages/zone.js/lib/browser/define-property.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/event-target-legacy.ts b/packages/zone.js/lib/browser/event-target-legacy.ts index 92effa0833..9cf7a939f9 100644 --- a/packages/zone.js/lib/browser/event-target-legacy.ts +++ b/packages/zone.js/lib/browser/event-target-legacy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/event-target.ts b/packages/zone.js/lib/browser/event-target.ts index 525f52976f..8ef5418f2a 100644 --- a/packages/zone.js/lib/browser/event-target.ts +++ b/packages/zone.js/lib/browser/event-target.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/message-port.ts b/packages/zone.js/lib/browser/message-port.ts index 5df52f3756..8568933829 100644 --- a/packages/zone.js/lib/browser/message-port.ts +++ b/packages/zone.js/lib/browser/message-port.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/property-descriptor-legacy.ts b/packages/zone.js/lib/browser/property-descriptor-legacy.ts index 536149453c..887b87a77e 100644 --- a/packages/zone.js/lib/browser/property-descriptor-legacy.ts +++ b/packages/zone.js/lib/browser/property-descriptor-legacy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/property-descriptor.ts b/packages/zone.js/lib/browser/property-descriptor.ts index eb82489ab5..2eaf64376c 100644 --- a/packages/zone.js/lib/browser/property-descriptor.ts +++ b/packages/zone.js/lib/browser/property-descriptor.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -277,7 +277,7 @@ export function propertyDescriptorPatch(api: _ZonePrivate, _global: any) { if (isBrowser) { const internalWindow: any = window; const ignoreErrorProperties = - isIE ? [{target: internalWindow, ignoreProperties: ['error']}] : []; + isIE() ? [{target: internalWindow, ignoreProperties: ['error']}] : []; // in IE/Edge, onProp not exist in window object, but in WindowPrototype // so we need to pass WindowPrototype to check onProp exist or not patchFilteredProperties( diff --git a/packages/zone.js/lib/browser/register-element.ts b/packages/zone.js/lib/browser/register-element.ts index b61b380b86..8a4c6dd827 100644 --- a/packages/zone.js/lib/browser/register-element.ts +++ b/packages/zone.js/lib/browser/register-element.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/rollup-common.ts b/packages/zone.js/lib/browser/rollup-common.ts index 006ede27ef..7658b7da7c 100644 --- a/packages/zone.js/lib/browser/rollup-common.ts +++ b/packages/zone.js/lib/browser/rollup-common.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/rollup-legacy-main.ts b/packages/zone.js/lib/browser/rollup-legacy-main.ts index 68034c61c6..60b87baf8b 100644 --- a/packages/zone.js/lib/browser/rollup-legacy-main.ts +++ b/packages/zone.js/lib/browser/rollup-legacy-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/rollup-legacy-test-main.ts b/packages/zone.js/lib/browser/rollup-legacy-test-main.ts index 4c2a374aef..7f8d36fe31 100644 --- a/packages/zone.js/lib/browser/rollup-legacy-test-main.ts +++ b/packages/zone.js/lib/browser/rollup-legacy-test-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/rollup-main.ts b/packages/zone.js/lib/browser/rollup-main.ts index ee94dde97a..a251e591b4 100644 --- a/packages/zone.js/lib/browser/rollup-main.ts +++ b/packages/zone.js/lib/browser/rollup-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/rollup-test-main.ts b/packages/zone.js/lib/browser/rollup-test-main.ts index 91a951b244..b0881f8d22 100644 --- a/packages/zone.js/lib/browser/rollup-test-main.ts +++ b/packages/zone.js/lib/browser/rollup-test-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/shadydom.ts b/packages/zone.js/lib/browser/shadydom.ts index f5e1d9dcb6..ca7d5ba86c 100644 --- a/packages/zone.js/lib/browser/shadydom.ts +++ b/packages/zone.js/lib/browser/shadydom.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/webapis-media-query.ts b/packages/zone.js/lib/browser/webapis-media-query.ts index 7ca46e1719..1d2330fe89 100644 --- a/packages/zone.js/lib/browser/webapis-media-query.ts +++ b/packages/zone.js/lib/browser/webapis-media-query.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/webapis-notification.ts b/packages/zone.js/lib/browser/webapis-notification.ts index 2d663e73cb..8b4ae616cb 100644 --- a/packages/zone.js/lib/browser/webapis-notification.ts +++ b/packages/zone.js/lib/browser/webapis-notification.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/webapis-resize-observer.ts b/packages/zone.js/lib/browser/webapis-resize-observer.ts index 8e7f73643f..5c5e846bd4 100644 --- a/packages/zone.js/lib/browser/webapis-resize-observer.ts +++ b/packages/zone.js/lib/browser/webapis-resize-observer.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/webapis-rtc-peer-connection.ts b/packages/zone.js/lib/browser/webapis-rtc-peer-connection.ts index 5930445efd..1b31e0c85c 100644 --- a/packages/zone.js/lib/browser/webapis-rtc-peer-connection.ts +++ b/packages/zone.js/lib/browser/webapis-rtc-peer-connection.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/webapis-user-media.ts b/packages/zone.js/lib/browser/webapis-user-media.ts index 8cfeb8295f..d948e52af6 100644 --- a/packages/zone.js/lib/browser/webapis-user-media.ts +++ b/packages/zone.js/lib/browser/webapis-user-media.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/browser/websocket.ts b/packages/zone.js/lib/browser/websocket.ts index 07055b45dc..d11432c821 100644 --- a/packages/zone.js/lib/browser/websocket.ts +++ b/packages/zone.js/lib/browser/websocket.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/closure/zone_externs.js b/packages/zone.js/lib/closure/zone_externs.js index 0804b22ba5..47f17c089d 100644 --- a/packages/zone.js/lib/closure/zone_externs.js +++ b/packages/zone.js/lib/closure/zone_externs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/error-rewrite.ts b/packages/zone.js/lib/common/error-rewrite.ts index 70b4c792c4..568c0d7683 100644 --- a/packages/zone.js/lib/common/error-rewrite.ts +++ b/packages/zone.js/lib/common/error-rewrite.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/events.ts b/packages/zone.js/lib/common/events.ts index eb7b383258..e03783f7cd 100644 --- a/packages/zone.js/lib/common/events.ts +++ b/packages/zone.js/lib/common/events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/fetch.ts b/packages/zone.js/lib/common/fetch.ts index ee1db6b051..9c2c064d8a 100644 --- a/packages/zone.js/lib/common/fetch.ts +++ b/packages/zone.js/lib/common/fetch.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/promise.ts b/packages/zone.js/lib/common/promise.ts index 50d14321c5..6f4b59ff80 100644 --- a/packages/zone.js/lib/common/promise.ts +++ b/packages/zone.js/lib/common/promise.ts @@ -2,7 +2,7 @@ import {patchMethod} from './utils'; /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -459,44 +459,6 @@ Zone.__load_patch('ZoneAwarePromise', (global: any, Zone: ZoneType, api: _ZonePr ZoneAwarePromise['all'] = ZoneAwarePromise.all; const NativePromise = global[symbolPromise] = global['Promise']; - const ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise'); - - let desc = ObjectGetOwnPropertyDescriptor(global, 'Promise'); - if (!desc || desc.configurable) { - desc && delete desc.writable; - desc && delete desc.value; - if (!desc) { - desc = {configurable: true, enumerable: true}; - } - desc.get = function() { - // if we already set ZoneAwarePromise, use patched one - // otherwise return native one. - return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise]; - }; - desc.set = function(NewNativePromise) { - if (NewNativePromise === ZoneAwarePromise) { - // if the NewNativePromise is ZoneAwarePromise - // save to global - global[ZONE_AWARE_PROMISE] = NewNativePromise; - } else { - // if the NewNativePromise is not ZoneAwarePromise - // for example: after load zone.js, some library just - // set es6-promise to global, if we set it to global - // directly, assertZonePatched will fail and angular - // will not loaded, so we just set the NewNativePromise - // to global[symbolPromise], so the result is just like - // we load ES6 Promise before zone.js - global[symbolPromise] = NewNativePromise; - if (!NewNativePromise.prototype[symbolThen]) { - patchThen(NewNativePromise); - } - api.setNativePromise(NewNativePromise); - } - }; - - ObjectDefineProperty(global, 'Promise', desc); - } - global['Promise'] = ZoneAwarePromise; const symbolThenPatched = __symbol__('thenPatched'); diff --git a/packages/zone.js/lib/common/timers.ts b/packages/zone.js/lib/common/timers.ts index a81fd51875..50889dbc0e 100644 --- a/packages/zone.js/lib/common/timers.ts +++ b/packages/zone.js/lib/common/timers.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/to-string.ts b/packages/zone.js/lib/common/to-string.ts index 407b67e60a..3ae8d0e99d 100644 --- a/packages/zone.js/lib/common/to-string.ts +++ b/packages/zone.js/lib/common/to-string.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/common/utils.ts b/packages/zone.js/lib/common/utils.ts index 88800c9eaa..f319b4bdc8 100644 --- a/packages/zone.js/lib/common/utils.ts +++ b/packages/zone.js/lib/common/utils.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/extra/bluebird.ts b/packages/zone.js/lib/extra/bluebird.ts index c97ecbfe8f..e06b2ce0c6 100644 --- a/packages/zone.js/lib/extra/bluebird.ts +++ b/packages/zone.js/lib/extra/bluebird.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -80,6 +80,6 @@ Zone.__load_patch('bluebird', (global: any, Zone: ZoneType, api: _ZonePrivate) = }); // override global promise - global[api.symbol('ZoneAwarePromise')] = Bluebird; + global.Promise = Bluebird; }; }); diff --git a/packages/zone.js/lib/extra/cordova.ts b/packages/zone.js/lib/extra/cordova.ts index c379388894..d9e4e21efe 100644 --- a/packages/zone.js/lib/extra/cordova.ts +++ b/packages/zone.js/lib/extra/cordova.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/extra/electron.ts b/packages/zone.js/lib/extra/electron.ts index 3d0230bc59..f7155f61d4 100644 --- a/packages/zone.js/lib/extra/electron.ts +++ b/packages/zone.js/lib/extra/electron.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/extra/jsonp.ts b/packages/zone.js/lib/extra/jsonp.ts index 2f38f9fe00..26c2d99cf0 100644 --- a/packages/zone.js/lib/extra/jsonp.ts +++ b/packages/zone.js/lib/extra/jsonp.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/extra/socket-io.ts b/packages/zone.js/lib/extra/socket-io.ts index ffb91670ac..b3cbdd3104 100644 --- a/packages/zone.js/lib/extra/socket-io.ts +++ b/packages/zone.js/lib/extra/socket-io.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/jasmine/jasmine.ts b/packages/zone.js/lib/jasmine/jasmine.ts index aa48d8f0d1..7e9650bb6e 100644 --- a/packages/zone.js/lib/jasmine/jasmine.ts +++ b/packages/zone.js/lib/jasmine/jasmine.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/jest/jest.ts b/packages/zone.js/lib/jest/jest.ts index 7ced7e9a78..9aaa726e31 100644 --- a/packages/zone.js/lib/jest/jest.ts +++ b/packages/zone.js/lib/jest/jest.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/mix/rollup-mix.ts b/packages/zone.js/lib/mix/rollup-mix.ts index 0569be4bc2..76a9db6ef8 100644 --- a/packages/zone.js/lib/mix/rollup-mix.ts +++ b/packages/zone.js/lib/mix/rollup-mix.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/mocha/mocha.ts b/packages/zone.js/lib/mocha/mocha.ts index 5e5a368308..9149975fb4 100644 --- a/packages/zone.js/lib/mocha/mocha.ts +++ b/packages/zone.js/lib/mocha/mocha.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/node/events.ts b/packages/zone.js/lib/node/events.ts index f50b540f7b..2366332c5c 100644 --- a/packages/zone.js/lib/node/events.ts +++ b/packages/zone.js/lib/node/events.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/node/fs.ts b/packages/zone.js/lib/node/fs.ts index 9af536abc6..3bccb597b1 100644 --- a/packages/zone.js/lib/node/fs.ts +++ b/packages/zone.js/lib/node/fs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/node/node.ts b/packages/zone.js/lib/node/node.ts index 94ef7fb053..993138bf38 100644 --- a/packages/zone.js/lib/node/node.ts +++ b/packages/zone.js/lib/node/node.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/node/node_util.ts b/packages/zone.js/lib/node/node_util.ts index 68df1db812..09b048af1c 100644 --- a/packages/zone.js/lib/node/node_util.ts +++ b/packages/zone.js/lib/node/node_util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/node/rollup-main.ts b/packages/zone.js/lib/node/rollup-main.ts index 136714b1e7..bf9fc37638 100644 --- a/packages/zone.js/lib/node/rollup-main.ts +++ b/packages/zone.js/lib/node/rollup-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -9,4 +9,4 @@ import '../zone'; import '../common/promise'; import '../common/to-string'; -import './node'; \ No newline at end of file +import './node'; diff --git a/packages/zone.js/lib/node/rollup-test-main.ts b/packages/zone.js/lib/node/rollup-test-main.ts index 91a951b244..b0881f8d22 100644 --- a/packages/zone.js/lib/node/rollup-test-main.ts +++ b/packages/zone.js/lib/node/rollup-test-main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/rxjs/rxjs-fake-async.ts b/packages/zone.js/lib/rxjs/rxjs-fake-async.ts index d6e10e3855..9d1c644fb0 100644 --- a/packages/zone.js/lib/rxjs/rxjs-fake-async.ts +++ b/packages/zone.js/lib/rxjs/rxjs-fake-async.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/rxjs/rxjs.ts b/packages/zone.js/lib/rxjs/rxjs.ts index 5dcbce1497..7340416bcd 100644 --- a/packages/zone.js/lib/rxjs/rxjs.ts +++ b/packages/zone.js/lib/rxjs/rxjs.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/testing/async-testing.ts b/packages/zone.js/lib/testing/async-testing.ts index afb6446e39..50cdc3f4bb 100644 --- a/packages/zone.js/lib/testing/async-testing.ts +++ b/packages/zone.js/lib/testing/async-testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/testing/fake-async.ts b/packages/zone.js/lib/testing/fake-async.ts index 95b0b96d2c..c97af2401e 100644 --- a/packages/zone.js/lib/testing/fake-async.ts +++ b/packages/zone.js/lib/testing/fake-async.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/testing/promise-testing.ts b/packages/zone.js/lib/testing/promise-testing.ts index b437078c86..1fcf7ff523 100644 --- a/packages/zone.js/lib/testing/promise-testing.ts +++ b/packages/zone.js/lib/testing/promise-testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/testing/zone-testing.ts b/packages/zone.js/lib/testing/zone-testing.ts index d142f0d933..eb18c4550c 100644 --- a/packages/zone.js/lib/testing/zone-testing.ts +++ b/packages/zone.js/lib/testing/zone-testing.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/async-test.ts b/packages/zone.js/lib/zone-spec/async-test.ts index 8a7e649865..5c559787fb 100644 --- a/packages/zone.js/lib/zone-spec/async-test.ts +++ b/packages/zone.js/lib/zone-spec/async-test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/fake-async-test.ts b/packages/zone.js/lib/zone-spec/fake-async-test.ts index ed92834773..ba768c1372 100644 --- a/packages/zone.js/lib/zone-spec/fake-async-test.ts +++ b/packages/zone.js/lib/zone-spec/fake-async-test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -30,29 +30,32 @@ interface MacroTaskOptions { } const OriginalDate = global.Date; -class FakeDate { - constructor() { - if (arguments.length === 0) { - const d = new OriginalDate(); - d.setTime(FakeDate.now()); - return d; - } else { - const args = Array.prototype.slice.call(arguments); - return new OriginalDate(...args); - } - } - - static now() { - const fakeAsyncTestZoneSpec = Zone.current.get('FakeAsyncTestZoneSpec'); - if (fakeAsyncTestZoneSpec) { - return fakeAsyncTestZoneSpec.getCurrentRealTime() + fakeAsyncTestZoneSpec.getCurrentTime(); - } - return OriginalDate.now.apply(this, arguments); +// Since when we compile this file to `es2015`, and if we define +// this `FakeDate` as `class FakeDate`, and then set `FakeDate.prototype` +// there will be an error which is `Cannot assign to read only property 'prototype'` +// so we need to use function implementation here. +function FakeDate() { + if (arguments.length === 0) { + const d = new OriginalDate(); + d.setTime(FakeDate.now()); + return d; + } else { + const args = Array.prototype.slice.call(arguments); + return new OriginalDate(...args); } } -(FakeDate as any).UTC = OriginalDate.UTC; -(FakeDate as any).parse = OriginalDate.parse; +FakeDate.now = + function(this: unknown) { + const fakeAsyncTestZoneSpec = Zone.current.get('FakeAsyncTestZoneSpec'); + if (fakeAsyncTestZoneSpec) { + return fakeAsyncTestZoneSpec.getCurrentRealTime() + fakeAsyncTestZoneSpec.getCurrentTime(); + } + return OriginalDate.now.apply(this, arguments); +} + + FakeDate.UTC = OriginalDate.UTC; +FakeDate.parse = OriginalDate.parse; // keep a reference for zone patched timer function const timers = { diff --git a/packages/zone.js/lib/zone-spec/long-stack-trace.ts b/packages/zone.js/lib/zone-spec/long-stack-trace.ts index 3d53fa7a5e..a4dc168347 100644 --- a/packages/zone.js/lib/zone-spec/long-stack-trace.ts +++ b/packages/zone.js/lib/zone-spec/long-stack-trace.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/proxy.ts b/packages/zone.js/lib/zone-spec/proxy.ts index bc567ef893..f0fc6b1177 100644 --- a/packages/zone.js/lib/zone-spec/proxy.ts +++ b/packages/zone.js/lib/zone-spec/proxy.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/sync-test.ts b/packages/zone.js/lib/zone-spec/sync-test.ts index 77eac07b23..d26c4da326 100644 --- a/packages/zone.js/lib/zone-spec/sync-test.ts +++ b/packages/zone.js/lib/zone-spec/sync-test.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/task-tracking.ts b/packages/zone.js/lib/zone-spec/task-tracking.ts index 0678b02d01..ef56842081 100644 --- a/packages/zone.js/lib/zone-spec/task-tracking.ts +++ b/packages/zone.js/lib/zone-spec/task-tracking.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone-spec/wtf.ts b/packages/zone.js/lib/zone-spec/wtf.ts index 1f701b78e0..e9747b3f62 100644 --- a/packages/zone.js/lib/zone-spec/wtf.ts +++ b/packages/zone.js/lib/zone-spec/wtf.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone.api.extensions.ts b/packages/zone.js/lib/zone.api.extensions.ts index 668017de88..2c47d70696 100644 --- a/packages/zone.js/lib/zone.api.extensions.ts +++ b/packages/zone.js/lib/zone.api.extensions.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone.configurations.api.ts b/packages/zone.js/lib/zone.configurations.api.ts index 4691f5d740..4c6cfe98c3 100644 --- a/packages/zone.js/lib/zone.configurations.api.ts +++ b/packages/zone.js/lib/zone.configurations.api.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/lib/zone.ts b/packages/zone.js/lib/zone.ts index 69dd06e1fa..7d6b3ebaff 100644 --- a/packages/zone.js/lib/zone.ts +++ b/packages/zone.js/lib/zone.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -340,7 +340,6 @@ interface _ZonePrivate { patchEventTarget: (global: any, apis: any[], options?: any) => boolean[]; patchOnProperties: (obj: any, properties: string[]|null, prototype?: any) => void; patchThen: (ctro: Function) => void; - setNativePromise: (nativePromise: any) => void; patchMethod: (target: any, name: string, patchFn: (delegate: Function, delegateName: string, name: string) => @@ -1419,14 +1418,6 @@ const Zone: ZoneType = (function(global: any) { bindArguments: () => [], patchThen: () => noop, patchMacroTask: () => noop, - setNativePromise: (NativePromise: any) => { - // sometimes NativePromise.resolve static function - // is not ready yet, (such as core-js/es6.promise) - // so we need to check here. - if (NativePromise && typeof NativePromise.resolve === 'function') { - nativeMicroTaskQueuePromise = NativePromise.resolve(0); - } - }, patchEventPrototype: () => noop, isIEOrEdge: () => false, getGlobalObjects: () => undefined, diff --git a/packages/zone.js/mix/BUILD.bazel b/packages/zone.js/mix/BUILD.bazel new file mode 100644 index 0000000000..11a7cfa602 --- /dev/null +++ b/packages/zone.js/mix/BUILD.bazel @@ -0,0 +1,3 @@ +exports_files([ + "package.json", +]) diff --git a/packages/zone.js/mix/package.json b/packages/zone.js/mix/package.json new file mode 100644 index 0000000000..a77a7c50c8 --- /dev/null +++ b/packages/zone.js/mix/package.json @@ -0,0 +1,8 @@ +{ + "name": "zone-mix", + "description": "Zone.js for mixed environment(both browser and NodeJS) such as Electron", + "main": "../bundles/zone-mix.umd.js", + "module": "../fesm2015/zone-mix.js", + "es2015": "../fesm2015/zone-mix.js", + "fesm2015": "../fesm2015/zone-mix.js" +} diff --git a/packages/zone.js/node/BUILD.bazel b/packages/zone.js/node/BUILD.bazel new file mode 100644 index 0000000000..11a7cfa602 --- /dev/null +++ b/packages/zone.js/node/BUILD.bazel @@ -0,0 +1,3 @@ +exports_files([ + "package.json", +]) diff --git a/packages/zone.js/node/package.json b/packages/zone.js/node/package.json new file mode 100644 index 0000000000..ebc78825ac --- /dev/null +++ b/packages/zone.js/node/package.json @@ -0,0 +1,8 @@ +{ + "name": "zone-node", + "description": "Zone.js for NodeJS", + "main": "../bundles/zone-node.umd.js", + "module": "../fesm2015/zone-node.js", + "es2015": "../fesm2015/zone-node.js", + "fesm2015": "../fesm2015/zone-node.js" +} diff --git a/packages/zone.js/package.json b/packages/zone.js/package.json index d1d8c7c4eb..de98a551e0 100644 --- a/packages/zone.js/package.json +++ b/packages/zone.js/package.json @@ -2,14 +2,18 @@ "name": "zone.js", "version": "0.10.3", "description": "Zones for JavaScript", - "main": "dist/zone-node.js", - "browser": "dist/zone.js", - "unpkg": "dist/zone.js", - "typings": "dist/zone.js.d.ts", + "main": "./bundles/zone.umd.js", + "module": "./fesm2015/zone.js", + "es2015": "./fesm2015/zone.js", + "fesm2015": "./fesm2015/zone.js", "files": [ - "lib", - "dist" + "./zone.js.d.ts", + "./zone.api.extensions.ts", + "./zone.configurations.api.ts" ], + "dependencies": { + "tslib": "^2.0.0" + }, "directories": { "lib": "lib", "test": "test" @@ -21,7 +25,7 @@ "mocha": "^3.1.2", "mock-require": "3.0.3", "promises-aplus-tests": "^2.1.2", - "typescript": "~3.4.2" + "typescript": "^3.8.3" }, "scripts": { "electrontest": "cd test/extra && node electron.js", diff --git a/packages/zone.js/plugins/BUILD.bazel b/packages/zone.js/plugins/BUILD.bazel new file mode 100644 index 0000000000..8c03c51d58 --- /dev/null +++ b/packages/zone.js/plugins/BUILD.bazel @@ -0,0 +1,63 @@ +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "plugin_bundle_group", + srcs = [ + "//packages/zone.js/plugins:async-test.min/package.json", + "//packages/zone.js/plugins:async-test/package.json", + "//packages/zone.js/plugins:fake-async-test.min/package.json", + "//packages/zone.js/plugins:fake-async-test/package.json", + "//packages/zone.js/plugins:jasmine-patch.min/package.json", + "//packages/zone.js/plugins:jasmine-patch/package.json", + "//packages/zone.js/plugins:long-stack-trace-zone.min/package.json", + "//packages/zone.js/plugins:long-stack-trace-zone/package.json", + "//packages/zone.js/plugins:mocha-patch.min/package.json", + "//packages/zone.js/plugins:mocha-patch/package.json", + "//packages/zone.js/plugins:proxy.min/package.json", + "//packages/zone.js/plugins:proxy/package.json", + "//packages/zone.js/plugins:sync-test.min/package.json", + "//packages/zone.js/plugins:sync-test/package.json", + "//packages/zone.js/plugins:task-tracking.min/package.json", + "//packages/zone.js/plugins:task-tracking/package.json", + "//packages/zone.js/plugins:webapis-media-query.min/package.json", + "//packages/zone.js/plugins:webapis-media-query/package.json", + "//packages/zone.js/plugins:webapis-notification.min/package.json", + "//packages/zone.js/plugins:webapis-notification/package.json", + "//packages/zone.js/plugins:webapis-rtc-peer-connection.min/package.json", + "//packages/zone.js/plugins:webapis-rtc-peer-connection/package.json", + "//packages/zone.js/plugins:webapis-shadydom.min/package.json", + "//packages/zone.js/plugins:webapis-shadydom/package.json", + "//packages/zone.js/plugins:wtf.min/package.json", + "//packages/zone.js/plugins:wtf/package.json", + "//packages/zone.js/plugins:zone-bluebird.min/package.json", + "//packages/zone.js/plugins:zone-bluebird/package.json", + "//packages/zone.js/plugins:zone-error.min/package.json", + "//packages/zone.js/plugins:zone-error/package.json", + "//packages/zone.js/plugins:zone-legacy.min/package.json", + "//packages/zone.js/plugins:zone-legacy/package.json", + "//packages/zone.js/plugins:zone-patch-canvas.min/package.json", + "//packages/zone.js/plugins:zone-patch-canvas/package.json", + "//packages/zone.js/plugins:zone-patch-cordova.min/package.json", + "//packages/zone.js/plugins:zone-patch-cordova/package.json", + "//packages/zone.js/plugins:zone-patch-electron.min/package.json", + "//packages/zone.js/plugins:zone-patch-electron/package.json", + "//packages/zone.js/plugins:zone-patch-fetch.min/package.json", + "//packages/zone.js/plugins:zone-patch-fetch/package.json", + "//packages/zone.js/plugins:zone-patch-jsonp.min/package.json", + "//packages/zone.js/plugins:zone-patch-jsonp/package.json", + "//packages/zone.js/plugins:zone-patch-message-port.min/package.json", + "//packages/zone.js/plugins:zone-patch-message-port/package.json", + "//packages/zone.js/plugins:zone-patch-promise-test.min/package.json", + "//packages/zone.js/plugins:zone-patch-promise-test/package.json", + "//packages/zone.js/plugins:zone-patch-resize-observer.min/package.json", + "//packages/zone.js/plugins:zone-patch-resize-observer/package.json", + "//packages/zone.js/plugins:zone-patch-rxjs.min/package.json", + "//packages/zone.js/plugins:zone-patch-rxjs-fake-async.min/package.json", + "//packages/zone.js/plugins:zone-patch-rxjs-fake-async/package.json", + "//packages/zone.js/plugins:zone-patch-rxjs/package.json", + "//packages/zone.js/plugins:zone-patch-socket-io.min/package.json", + "//packages/zone.js/plugins:zone-patch-socket-io/package.json", + "//packages/zone.js/plugins:zone-patch-user-media.min/package.json", + "//packages/zone.js/plugins:zone-patch-user-media/package.json", + ], +) diff --git a/packages/zone.js/plugins/async-test.min/package.json b/packages/zone.js/plugins/async-test.min/package.json new file mode 100644 index 0000000000..9928139106 --- /dev/null +++ b/packages/zone.js/plugins/async-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/async-test.min", + "main": "../../bundles/async-test.umd.min.js", + "fesm2015": "../../fesm2015/async-test.min.js", + "es2015": "../../fesm2015/async-test.min.js", + "module": "../../fesm2015/async-test.min.js" +} diff --git a/packages/zone.js/plugins/async-test/package.json b/packages/zone.js/plugins/async-test/package.json new file mode 100644 index 0000000000..c6dc4c07a1 --- /dev/null +++ b/packages/zone.js/plugins/async-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/async-test", + "main": "../../bundles/async-test.umd.js", + "fesm2015": "../../fesm2015/async-test.js", + "es2015": "../../fesm2015/async-test.js", + "module": "../../fesm2015/async-test.js" +} diff --git a/packages/zone.js/plugins/fake-async-test.min/package.json b/packages/zone.js/plugins/fake-async-test.min/package.json new file mode 100644 index 0000000000..df98ce6862 --- /dev/null +++ b/packages/zone.js/plugins/fake-async-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/fake-async-test.min", + "main": "../../bundles/fake-async-test.umd.min.js", + "fesm2015": "../../fesm2015/fake-async-test.min.js", + "es2015": "../../fesm2015/fake-async-test.min.js", + "module": "../../fesm2015/fake-async-test.min.js" +} diff --git a/packages/zone.js/plugins/fake-async-test/package.json b/packages/zone.js/plugins/fake-async-test/package.json new file mode 100644 index 0000000000..feab6e986c --- /dev/null +++ b/packages/zone.js/plugins/fake-async-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/fake-async-test", + "main": "../../bundles/fake-async-test.umd.js", + "fesm2015": "../../fesm2015/fake-async-test.js", + "es2015": "../../fesm2015/fake-async-test.js", + "module": "../../fesm2015/fake-async-test.js" +} diff --git a/packages/zone.js/plugins/jasmine-patch.min/package.json b/packages/zone.js/plugins/jasmine-patch.min/package.json new file mode 100644 index 0000000000..2577835c8a --- /dev/null +++ b/packages/zone.js/plugins/jasmine-patch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/jasmine-patch.min", + "main": "../../bundles/jasmine-patch.umd.min.js", + "fesm2015": "../../fesm2015/jasmine-patch.min.js", + "es2015": "../../fesm2015/jasmine-patch.min.js", + "module": "../../fesm2015/jasmine-patch.min.js" +} diff --git a/packages/zone.js/plugins/jasmine-patch/package.json b/packages/zone.js/plugins/jasmine-patch/package.json new file mode 100644 index 0000000000..85a712b812 --- /dev/null +++ b/packages/zone.js/plugins/jasmine-patch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/jasmine-patch", + "main": "../../bundles/jasmine-patch.umd.js", + "fesm2015": "../../fesm2015/jasmine-patch.js", + "es2015": "../../fesm2015/jasmine-patch.js", + "module": "../../fesm2015/jasmine-patch.js" +} diff --git a/packages/zone.js/plugins/long-stack-trace-zone.min/package.json b/packages/zone.js/plugins/long-stack-trace-zone.min/package.json new file mode 100644 index 0000000000..fbd117c105 --- /dev/null +++ b/packages/zone.js/plugins/long-stack-trace-zone.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/long-stack-trace-zone.min", + "main": "../../bundles/long-stack-trace-zone.umd.min.js", + "fesm2015": "../../fesm2015/long-stack-trace-zone.min.js", + "es2015": "../../fesm2015/long-stack-trace-zone.min.js", + "module": "../../fesm2015/long-stack-trace-zone.min.js" +} diff --git a/packages/zone.js/plugins/long-stack-trace-zone/package.json b/packages/zone.js/plugins/long-stack-trace-zone/package.json new file mode 100644 index 0000000000..e3038e1f71 --- /dev/null +++ b/packages/zone.js/plugins/long-stack-trace-zone/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/long-stack-trace-zone", + "main": "../../bundles/long-stack-trace-zone.umd.js", + "fesm2015": "../../fesm2015/long-stack-trace-zone.js", + "es2015": "../../fesm2015/long-stack-trace-zone.js", + "module": "../../fesm2015/long-stack-trace-zone.js" +} diff --git a/packages/zone.js/plugins/mocha-patch.min/package.json b/packages/zone.js/plugins/mocha-patch.min/package.json new file mode 100644 index 0000000000..056fea4c86 --- /dev/null +++ b/packages/zone.js/plugins/mocha-patch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/mocha-patch.min", + "main": "../../bundles/mocha-patch.umd.min.js", + "fesm2015": "../../fesm2015/mocha-patch.min.js", + "es2015": "../../fesm2015/mocha-patch.min.js", + "module": "../../fesm2015/mocha-patch.min.js" +} diff --git a/packages/zone.js/plugins/mocha-patch/package.json b/packages/zone.js/plugins/mocha-patch/package.json new file mode 100644 index 0000000000..d88ff07228 --- /dev/null +++ b/packages/zone.js/plugins/mocha-patch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/mocha-patch", + "main": "../../bundles/mocha-patch.umd.js", + "fesm2015": "../../fesm2015/mocha-patch.js", + "es2015": "../../fesm2015/mocha-patch.js", + "module": "../../fesm2015/mocha-patch.js" +} diff --git a/packages/zone.js/plugins/proxy.min/package.json b/packages/zone.js/plugins/proxy.min/package.json new file mode 100644 index 0000000000..3c8b4eced0 --- /dev/null +++ b/packages/zone.js/plugins/proxy.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/proxy.min", + "main": "../../bundles/proxy.umd.min.js", + "fesm2015": "../../fesm2015/proxy.min.js", + "es2015": "../../fesm2015/proxy.min.js", + "module": "../../fesm2015/proxy.min.js" +} diff --git a/packages/zone.js/plugins/proxy/package.json b/packages/zone.js/plugins/proxy/package.json new file mode 100644 index 0000000000..26c3b0921e --- /dev/null +++ b/packages/zone.js/plugins/proxy/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/proxy", + "main": "../../bundles/proxy.umd.js", + "fesm2015": "../../fesm2015/proxy.js", + "es2015": "../../fesm2015/proxy.js", + "module": "../../fesm2015/proxy.js" +} diff --git a/packages/zone.js/plugins/sync-test.min/package.json b/packages/zone.js/plugins/sync-test.min/package.json new file mode 100644 index 0000000000..47a668f4e3 --- /dev/null +++ b/packages/zone.js/plugins/sync-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/sync-test.min", + "main": "../../bundles/sync-test.umd.min.js", + "fesm2015": "../../fesm2015/sync-test.min.js", + "es2015": "../../fesm2015/sync-test.min.js", + "module": "../../fesm2015/sync-test.min.js" +} diff --git a/packages/zone.js/plugins/sync-test/package.json b/packages/zone.js/plugins/sync-test/package.json new file mode 100644 index 0000000000..31c7a125f6 --- /dev/null +++ b/packages/zone.js/plugins/sync-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/sync-test", + "main": "../../bundles/sync-test.umd.js", + "fesm2015": "../../fesm2015/sync-test.js", + "es2015": "../../fesm2015/sync-test.js", + "module": "../../fesm2015/sync-test.js" +} diff --git a/packages/zone.js/plugins/task-tracking.min/package.json b/packages/zone.js/plugins/task-tracking.min/package.json new file mode 100644 index 0000000000..d9247baf2b --- /dev/null +++ b/packages/zone.js/plugins/task-tracking.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/task-tracking.min", + "main": "../../bundles/task-tracking.umd.min.js", + "fesm2015": "../../fesm2015/task-tracking.min.js", + "es2015": "../../fesm2015/task-tracking.min.js", + "module": "../../fesm2015/task-tracking.min.js" +} diff --git a/packages/zone.js/plugins/task-tracking/package.json b/packages/zone.js/plugins/task-tracking/package.json new file mode 100644 index 0000000000..dbf8ace6bf --- /dev/null +++ b/packages/zone.js/plugins/task-tracking/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/task-tracking", + "main": "../../bundles/task-tracking.umd.js", + "fesm2015": "../../fesm2015/task-tracking.js", + "es2015": "../../fesm2015/task-tracking.js", + "module": "../../fesm2015/task-tracking.js" +} diff --git a/packages/zone.js/plugins/webapis-media-query.min/package.json b/packages/zone.js/plugins/webapis-media-query.min/package.json new file mode 100644 index 0000000000..b512baa663 --- /dev/null +++ b/packages/zone.js/plugins/webapis-media-query.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-media-query.min", + "main": "../../bundles/webapis-media-query.umd.min.js", + "fesm2015": "../../fesm2015/webapis-media-query.min.js", + "es2015": "../../fesm2015/webapis-media-query.min.js", + "module": "../../fesm2015/webapis-media-query.min.js" +} diff --git a/packages/zone.js/plugins/webapis-media-query/package.json b/packages/zone.js/plugins/webapis-media-query/package.json new file mode 100644 index 0000000000..00383a1420 --- /dev/null +++ b/packages/zone.js/plugins/webapis-media-query/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-media-query", + "main": "../../bundles/webapis-media-query.umd.js", + "fesm2015": "../../fesm2015/webapis-media-query.js", + "es2015": "../../fesm2015/webapis-media-query.js", + "module": "../../fesm2015/webapis-media-query.js" +} diff --git a/packages/zone.js/plugins/webapis-notification.min/package.json b/packages/zone.js/plugins/webapis-notification.min/package.json new file mode 100644 index 0000000000..34b7a46fe3 --- /dev/null +++ b/packages/zone.js/plugins/webapis-notification.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-notification.min", + "main": "../../bundles/webapis-notification.umd.min.js", + "fesm2015": "../../fesm2015/webapis-notification.min.js", + "es2015": "../../fesm2015/webapis-notification.min.js", + "module": "../../fesm2015/webapis-notification.min.js" +} diff --git a/packages/zone.js/plugins/webapis-notification/package.json b/packages/zone.js/plugins/webapis-notification/package.json new file mode 100644 index 0000000000..69f50f2192 --- /dev/null +++ b/packages/zone.js/plugins/webapis-notification/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-notification", + "main": "../../bundles/webapis-notification.umd.js", + "fesm2015": "../../fesm2015/webapis-notification.js", + "es2015": "../../fesm2015/webapis-notification.js", + "module": "../../fesm2015/webapis-notification.js" +} diff --git a/packages/zone.js/plugins/webapis-rtc-peer-connection.min/package.json b/packages/zone.js/plugins/webapis-rtc-peer-connection.min/package.json new file mode 100644 index 0000000000..6cee513b35 --- /dev/null +++ b/packages/zone.js/plugins/webapis-rtc-peer-connection.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-rtc-peer-connection.min", + "main": "../../bundles/webapis-rtc-peer-connection.umd.min.js", + "fesm2015": "../../fesm2015/webapis-rtc-peer-connection.min.js", + "es2015": "../../fesm2015/webapis-rtc-peer-connection.min.js", + "module": "../../fesm2015/webapis-rtc-peer-connection.min.js" +} diff --git a/packages/zone.js/plugins/webapis-rtc-peer-connection/package.json b/packages/zone.js/plugins/webapis-rtc-peer-connection/package.json new file mode 100644 index 0000000000..187857fc3f --- /dev/null +++ b/packages/zone.js/plugins/webapis-rtc-peer-connection/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-rtc-peer-connection", + "main": "../../bundles/webapis-rtc-peer-connection.umd.js", + "fesm2015": "../../fesm2015/webapis-rtc-peer-connection.js", + "es2015": "../../fesm2015/webapis-rtc-peer-connection.js", + "module": "../../fesm2015/webapis-rtc-peer-connection.js" +} diff --git a/packages/zone.js/plugins/webapis-shadydom.min/package.json b/packages/zone.js/plugins/webapis-shadydom.min/package.json new file mode 100644 index 0000000000..c0f63f629d --- /dev/null +++ b/packages/zone.js/plugins/webapis-shadydom.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-shadydom.min", + "main": "../../bundles/webapis-shadydom.umd.min.js", + "fesm2015": "../../fesm2015/webapis-shadydom.min.js", + "es2015": "../../fesm2015/webapis-shadydom.min.js", + "module": "../../fesm2015/webapis-shadydom.min.js" +} diff --git a/packages/zone.js/plugins/webapis-shadydom/package.json b/packages/zone.js/plugins/webapis-shadydom/package.json new file mode 100644 index 0000000000..094020cfb1 --- /dev/null +++ b/packages/zone.js/plugins/webapis-shadydom/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/webapis-shadydom", + "main": "../../bundles/webapis-shadydom.umd.js", + "fesm2015": "../../fesm2015/webapis-shadydom.js", + "es2015": "../../fesm2015/webapis-shadydom.js", + "module": "../../fesm2015/webapis-shadydom.js" +} diff --git a/packages/zone.js/plugins/wtf.min/package.json b/packages/zone.js/plugins/wtf.min/package.json new file mode 100644 index 0000000000..0cd382df4b --- /dev/null +++ b/packages/zone.js/plugins/wtf.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/wtf.min", + "main": "../../bundles/wtf.umd.min.js", + "fesm2015": "../../fesm2015/wtf.min.js", + "es2015": "../../fesm2015/wtf.min.js", + "module": "../../fesm2015/wtf.min.js" +} diff --git a/packages/zone.js/plugins/wtf/package.json b/packages/zone.js/plugins/wtf/package.json new file mode 100644 index 0000000000..30a38fa85f --- /dev/null +++ b/packages/zone.js/plugins/wtf/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/wtf", + "main": "../../bundles/wtf.umd.js", + "fesm2015": "../../fesm2015/wtf.js", + "es2015": "../../fesm2015/wtf.js", + "module": "../../fesm2015/wtf.js" +} diff --git a/packages/zone.js/plugins/zone-bluebird.min/package.json b/packages/zone.js/plugins/zone-bluebird.min/package.json new file mode 100644 index 0000000000..4893934a86 --- /dev/null +++ b/packages/zone.js/plugins/zone-bluebird.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-bluebird.min", + "main": "../../bundles/zone-bluebird.umd.min.js", + "fesm2015": "../../fesm2015/zone-bluebird.min.js", + "es2015": "../../fesm2015/zone-bluebird.min.js", + "module": "../../fesm2015/zone-bluebird.min.js" +} diff --git a/packages/zone.js/plugins/zone-bluebird/package.json b/packages/zone.js/plugins/zone-bluebird/package.json new file mode 100644 index 0000000000..cbe50f384c --- /dev/null +++ b/packages/zone.js/plugins/zone-bluebird/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-bluebird", + "main": "../../bundles/zone-bluebird.umd.js", + "fesm2015": "../../fesm2015/zone-bluebird.js", + "es2015": "../../fesm2015/zone-bluebird.js", + "module": "../../fesm2015/zone-bluebird.js" +} diff --git a/packages/zone.js/plugins/zone-error.min/package.json b/packages/zone.js/plugins/zone-error.min/package.json new file mode 100644 index 0000000000..3ab27961e1 --- /dev/null +++ b/packages/zone.js/plugins/zone-error.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-error.min", + "main": "../../bundles/zone-error.umd.min.js", + "fesm2015": "../../fesm2015/zone-error.min.js", + "es2015": "../../fesm2015/zone-error.min.js", + "module": "../../fesm2015/zone-error.min.js" +} diff --git a/packages/zone.js/plugins/zone-error/package.json b/packages/zone.js/plugins/zone-error/package.json new file mode 100644 index 0000000000..c493ca1cee --- /dev/null +++ b/packages/zone.js/plugins/zone-error/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-error", + "main": "../../bundles/zone-error.umd.js", + "fesm2015": "../../fesm2015/zone-error.js", + "es2015": "../../fesm2015/zone-error.js", + "module": "../../fesm2015/zone-error.js" +} diff --git a/packages/zone.js/plugins/zone-legacy.min/package.json b/packages/zone.js/plugins/zone-legacy.min/package.json new file mode 100644 index 0000000000..f0f2739db9 --- /dev/null +++ b/packages/zone.js/plugins/zone-legacy.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-legacy.min", + "main": "../../bundles/zone-legacy.umd.min.js", + "fesm2015": "../../fesm2015/zone-legacy.min.js", + "es2015": "../../fesm2015/zone-legacy.min.js", + "module": "../../fesm2015/zone-legacy.min.js" +} diff --git a/packages/zone.js/plugins/zone-legacy/package.json b/packages/zone.js/plugins/zone-legacy/package.json new file mode 100644 index 0000000000..b87125f159 --- /dev/null +++ b/packages/zone.js/plugins/zone-legacy/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-legacy", + "main": "../../bundles/zone-legacy.umd.js", + "fesm2015": "../../fesm2015/zone-legacy.js", + "es2015": "../../fesm2015/zone-legacy.js", + "module": "../../fesm2015/zone-legacy.js" +} diff --git a/packages/zone.js/plugins/zone-patch-canvas.min/package.json b/packages/zone.js/plugins/zone-patch-canvas.min/package.json new file mode 100644 index 0000000000..9b0501c8ec --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-canvas.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-canvas.min", + "main": "../../bundles/zone-patch-canvas.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-canvas.min.js", + "es2015": "../../fesm2015/zone-patch-canvas.min.js", + "module": "../../fesm2015/zone-patch-canvas.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-canvas/package.json b/packages/zone.js/plugins/zone-patch-canvas/package.json new file mode 100644 index 0000000000..5f95609908 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-canvas/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-canvas", + "main": "../../bundles/zone-patch-canvas.umd.js", + "fesm2015": "../../fesm2015/zone-patch-canvas.js", + "es2015": "../../fesm2015/zone-patch-canvas.js", + "module": "../../fesm2015/zone-patch-canvas.js" +} diff --git a/packages/zone.js/plugins/zone-patch-cordova.min/package.json b/packages/zone.js/plugins/zone-patch-cordova.min/package.json new file mode 100644 index 0000000000..0dbbf3aa66 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-cordova.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-cordova.min", + "main": "../../bundles/zone-patch-cordova.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-cordova.min.js", + "es2015": "../../fesm2015/zone-patch-cordova.min.js", + "module": "../../fesm2015/zone-patch-cordova.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-cordova/package.json b/packages/zone.js/plugins/zone-patch-cordova/package.json new file mode 100644 index 0000000000..c4303225fd --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-cordova/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-cordova", + "main": "../../bundles/zone-patch-cordova.umd.js", + "fesm2015": "../../fesm2015/zone-patch-cordova.js", + "es2015": "../../fesm2015/zone-patch-cordova.js", + "module": "../../fesm2015/zone-patch-cordova.js" +} diff --git a/packages/zone.js/plugins/zone-patch-electron.min/package.json b/packages/zone.js/plugins/zone-patch-electron.min/package.json new file mode 100644 index 0000000000..c50d2f986b --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-electron.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-electron.min", + "main": "../../bundles/zone-patch-electron.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-electron.min.js", + "es2015": "../../fesm2015/zone-patch-electron.min.js", + "module": "../../fesm2015/zone-patch-electron.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-electron/package.json b/packages/zone.js/plugins/zone-patch-electron/package.json new file mode 100644 index 0000000000..157e823c00 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-electron/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-electron", + "main": "../../bundles/zone-patch-electron.umd.js", + "fesm2015": "../../fesm2015/zone-patch-electron.js", + "es2015": "../../fesm2015/zone-patch-electron.js", + "module": "../../fesm2015/zone-patch-electron.js" +} diff --git a/packages/zone.js/plugins/zone-patch-fetch.min/package.json b/packages/zone.js/plugins/zone-patch-fetch.min/package.json new file mode 100644 index 0000000000..5aa46814bb --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-fetch.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-fetch.min", + "main": "../../bundles/zone-patch-fetch.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-fetch.min.js", + "es2015": "../../fesm2015/zone-patch-fetch.min.js", + "module": "../../fesm2015/zone-patch-fetch.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-fetch/package.json b/packages/zone.js/plugins/zone-patch-fetch/package.json new file mode 100644 index 0000000000..2b902bc5a1 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-fetch/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-fetch", + "main": "../../bundles/zone-patch-fetch.umd.js", + "fesm2015": "../../fesm2015/zone-patch-fetch.js", + "es2015": "../../fesm2015/zone-patch-fetch.js", + "module": "../../fesm2015/zone-patch-fetch.js" +} diff --git a/packages/zone.js/plugins/zone-patch-jsonp.min/package.json b/packages/zone.js/plugins/zone-patch-jsonp.min/package.json new file mode 100644 index 0000000000..9e274dc71b --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-jsonp.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-jsonp.min", + "main": "../../bundles/zone-patch-jsonp.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-jsonp.min.js", + "es2015": "../../fesm2015/zone-patch-jsonp.min.js", + "module": "../../fesm2015/zone-patch-jsonp.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-jsonp/package.json b/packages/zone.js/plugins/zone-patch-jsonp/package.json new file mode 100644 index 0000000000..426a0da45b --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-jsonp/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-jsonp", + "main": "../../bundles/zone-patch-jsonp.umd.js", + "fesm2015": "../../fesm2015/zone-patch-jsonp.js", + "es2015": "../../fesm2015/zone-patch-jsonp.js", + "module": "../../fesm2015/zone-patch-jsonp.js" +} diff --git a/packages/zone.js/plugins/zone-patch-message-port.min/package.json b/packages/zone.js/plugins/zone-patch-message-port.min/package.json new file mode 100644 index 0000000000..c1e4a3a2ca --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-message-port.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-message-port.min", + "main": "../../bundles/zone-patch-message-port.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-message-port.min.js", + "es2015": "../../fesm2015/zone-patch-message-port.min.js", + "module": "../../fesm2015/zone-patch-message-port.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-message-port/package.json b/packages/zone.js/plugins/zone-patch-message-port/package.json new file mode 100644 index 0000000000..3b3ce6317c --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-message-port/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-message-port", + "main": "../../bundles/zone-patch-message-port.umd.js", + "fesm2015": "../../fesm2015/zone-patch-message-port.js", + "es2015": "../../fesm2015/zone-patch-message-port.js", + "module": "../../fesm2015/zone-patch-message-port.js" +} diff --git a/packages/zone.js/plugins/zone-patch-promise-test.min/package.json b/packages/zone.js/plugins/zone-patch-promise-test.min/package.json new file mode 100644 index 0000000000..30b94a2414 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-promise-test.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-promise-test.min", + "main": "../../bundles/zone-patch-promise-test.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-promise-test.min.js", + "es2015": "../../fesm2015/zone-patch-promise-test.min.js", + "module": "../../fesm2015/zone-patch-promise-test.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-promise-test/package.json b/packages/zone.js/plugins/zone-patch-promise-test/package.json new file mode 100644 index 0000000000..8b9bd469ee --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-promise-test/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-promise-test", + "main": "../../bundles/zone-patch-promise-test.umd.js", + "fesm2015": "../../fesm2015/zone-patch-promise-test.js", + "es2015": "../../fesm2015/zone-patch-promise-test.js", + "module": "../../fesm2015/zone-patch-promise-test.js" +} diff --git a/packages/zone.js/plugins/zone-patch-resize-observer.min/package.json b/packages/zone.js/plugins/zone-patch-resize-observer.min/package.json new file mode 100644 index 0000000000..bc8b6a9389 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-resize-observer.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-resize-observer.min", + "main": "../../bundles/zone-patch-resize-observer.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-resize-observer.min.js", + "es2015": "../../fesm2015/zone-patch-resize-observer.min.js", + "module": "../../fesm2015/zone-patch-resize-observer.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-resize-observer/package.json b/packages/zone.js/plugins/zone-patch-resize-observer/package.json new file mode 100644 index 0000000000..dece1df10a --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-resize-observer/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-resize-observer", + "main": "../../bundles/zone-patch-resize-observer.umd.js", + "fesm2015": "../../fesm2015/zone-patch-resize-observer.js", + "es2015": "../../fesm2015/zone-patch-resize-observer.js", + "module": "../../fesm2015/zone-patch-resize-observer.js" +} diff --git a/packages/zone.js/plugins/zone-patch-rxjs-fake-async.min/package.json b/packages/zone.js/plugins/zone-patch-rxjs-fake-async.min/package.json new file mode 100644 index 0000000000..e8e2c0f78d --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-rxjs-fake-async.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs-fake-async.min", + "main": "../../bundles/zone-patch-rxjs-fake-async.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs-fake-async.min.js", + "es2015": "../../fesm2015/zone-patch-rxjs-fake-async.min.js", + "module": "../../fesm2015/zone-patch-rxjs-fake-async.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-rxjs-fake-async/package.json b/packages/zone.js/plugins/zone-patch-rxjs-fake-async/package.json new file mode 100644 index 0000000000..5384663123 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-rxjs-fake-async/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs-fake-async", + "main": "../../bundles/zone-patch-rxjs-fake-async.umd.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs-fake-async.js", + "es2015": "../../fesm2015/zone-patch-rxjs-fake-async.js", + "module": "../../fesm2015/zone-patch-rxjs-fake-async.js" +} diff --git a/packages/zone.js/plugins/zone-patch-rxjs.min/package.json b/packages/zone.js/plugins/zone-patch-rxjs.min/package.json new file mode 100644 index 0000000000..fefe72012f --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-rxjs.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs.min", + "main": "../../bundles/zone-patch-rxjs.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs.min.js", + "es2015": "../../fesm2015/zone-patch-rxjs.min.js", + "module": "../../fesm2015/zone-patch-rxjs.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-rxjs/package.json b/packages/zone.js/plugins/zone-patch-rxjs/package.json new file mode 100644 index 0000000000..4529cc020b --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-rxjs/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-rxjs", + "main": "../../bundles/zone-patch-rxjs.umd.js", + "fesm2015": "../../fesm2015/zone-patch-rxjs.js", + "es2015": "../../fesm2015/zone-patch-rxjs.js", + "module": "../../fesm2015/zone-patch-rxjs.js" +} diff --git a/packages/zone.js/plugins/zone-patch-socket-io.min/package.json b/packages/zone.js/plugins/zone-patch-socket-io.min/package.json new file mode 100644 index 0000000000..811eb64228 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-socket-io.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-socket-io.min", + "main": "../../bundles/zone-patch-socket-io.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-socket-io.min.js", + "es2015": "../../fesm2015/zone-patch-socket-io.min.js", + "module": "../../fesm2015/zone-patch-socket-io.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-socket-io/package.json b/packages/zone.js/plugins/zone-patch-socket-io/package.json new file mode 100644 index 0000000000..aa65a90fc1 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-socket-io/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-socket-io", + "main": "../../bundles/zone-patch-socket-io.umd.js", + "fesm2015": "../../fesm2015/zone-patch-socket-io.js", + "es2015": "../../fesm2015/zone-patch-socket-io.js", + "module": "../../fesm2015/zone-patch-socket-io.js" +} diff --git a/packages/zone.js/plugins/zone-patch-user-media.min/package.json b/packages/zone.js/plugins/zone-patch-user-media.min/package.json new file mode 100644 index 0000000000..4df7663d24 --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-user-media.min/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-user-media.min", + "main": "../../bundles/zone-patch-user-media.umd.min.js", + "fesm2015": "../../fesm2015/zone-patch-user-media.min.js", + "es2015": "../../fesm2015/zone-patch-user-media.min.js", + "module": "../../fesm2015/zone-patch-user-media.min.js" +} diff --git a/packages/zone.js/plugins/zone-patch-user-media/package.json b/packages/zone.js/plugins/zone-patch-user-media/package.json new file mode 100644 index 0000000000..a0a8849a9e --- /dev/null +++ b/packages/zone.js/plugins/zone-patch-user-media/package.json @@ -0,0 +1,7 @@ +{ + "name": "zone.js/zone-patch-user-media", + "main": "../../bundles/zone-patch-user-media.umd.js", + "fesm2015": "../../fesm2015/zone-patch-user-media.js", + "es2015": "../../fesm2015/zone-patch-user-media.js", + "module": "../../fesm2015/zone-patch-user-media.js" +} diff --git a/packages/zone.js/simple-server.js b/packages/zone.js/simple-server.js index fc60b3456d..62e56593f9 100644 --- a/packages/zone.js/simple-server.js +++ b/packages/zone.js/simple-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/BUILD.bazel b/packages/zone.js/test/BUILD.bazel index 57b17eea76..a461668524 100644 --- a/packages/zone.js/test/BUILD.bazel +++ b/packages/zone.js/test/BUILD.bazel @@ -282,15 +282,15 @@ test_deps = [ test_entry_point = ":browser_entry_point.ts" karma_tests = { - "browser_test": ["//packages/zone.js/dist:zone-testing-bundle.js"], + "browser_test": ["//packages/zone.js/bundles:zone-testing-bundle.umd.js"], "browser_green_test": [ - "//packages/zone.js/dist:zone-evergreen.js", - "//packages/zone.js/dist:zone-testing.js", + "//packages/zone.js/fesm2015:zone.js", + "//packages/zone.js/fesm2015:zone-testing.js", ], "browser_legacy_test": [ - "//packages/zone.js/dist:zone-legacy.js", - "//packages/zone.js/dist:zone-evergreen.js", - "//packages/zone.js/dist:zone-testing.js", + "//packages/zone.js/bundles:zone-legacy.umd.js", + "//packages/zone.js/bundles:zone.umd.js", + "//packages/zone.js/bundles:zone-testing.umd.js", ], } @@ -309,8 +309,8 @@ karma_test( karma_test( name = "browser_shadydom", bootstraps = {"browser_shadydom": [ - "//packages/zone.js/dist:zone-testing-bundle.js", - "//packages/zone.js/dist:webapis-shadydom.js", + "//packages/zone.js/bundles:zone-testing-bundle.umd.js", + "//packages/zone.js/bundles:webapis-shadydom.umd.js", ]}, ci = False, env_deps = [ @@ -331,7 +331,7 @@ karma_test( karma_test( name = "browser_disable_wrap_uncaught_promise_rejection", bootstraps = {"browser_disable_wrap_uncaught_promise_rejection": [ - "//packages/zone.js/dist:zone-testing-bundle.js", + "//packages/zone.js/bundles:zone-testing-bundle.umd.js", ]}, ci = False, env_deps = [ diff --git a/packages/zone.js/test/assets/worker.js b/packages/zone.js/test/assets/worker.js index 5c7a58f5b1..70371a4f19 100644 --- a/packages/zone.js/test/assets/worker.js +++ b/packages/zone.js/test/assets/worker.js @@ -1,8 +1,8 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ -postMessage('worker'); \ No newline at end of file +postMessage('worker'); diff --git a/packages/zone.js/test/browser-zone-setup.ts b/packages/zone.js/test/browser-zone-setup.ts index 3b3f4a809e..264d797b7a 100644 --- a/packages/zone.js/test/browser-zone-setup.ts +++ b/packages/zone.js/test/browser-zone-setup.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/FileReader.spec.ts b/packages/zone.js/test/browser/FileReader.spec.ts index b84cd8dcdf..8789476784 100644 --- a/packages/zone.js/test/browser/FileReader.spec.ts +++ b/packages/zone.js/test/browser/FileReader.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -103,4 +103,4 @@ describe('FileReader', ifEnvSupports('FileReader', function() { fileReader.readAsText(blob); }); - })); \ No newline at end of file + })); diff --git a/packages/zone.js/test/browser/HTMLImports.spec.ts b/packages/zone.js/test/browser/HTMLImports.spec.ts index 15de42c1bc..b1d3a6e7d6 100644 --- a/packages/zone.js/test/browser/HTMLImports.spec.ts +++ b/packages/zone.js/test/browser/HTMLImports.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/MediaQuery.spec.ts b/packages/zone.js/test/browser/MediaQuery.spec.ts index fcb6dfb39a..1fd7e11064 100644 --- a/packages/zone.js/test/browser/MediaQuery.spec.ts +++ b/packages/zone.js/test/browser/MediaQuery.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/MutationObserver.spec.ts b/packages/zone.js/test/browser/MutationObserver.spec.ts index e7bf3056b1..0588b88a90 100644 --- a/packages/zone.js/test/browser/MutationObserver.spec.ts +++ b/packages/zone.js/test/browser/MutationObserver.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/Notification.spec.ts b/packages/zone.js/test/browser/Notification.spec.ts index 8e02739913..0d56855b4f 100644 --- a/packages/zone.js/test/browser/Notification.spec.ts +++ b/packages/zone.js/test/browser/Notification.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/WebSocket.spec.ts b/packages/zone.js/test/browser/WebSocket.spec.ts index 540eda3858..ac9ff024d1 100644 --- a/packages/zone.js/test/browser/WebSocket.spec.ts +++ b/packages/zone.js/test/browser/WebSocket.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/Worker.spec.ts b/packages/zone.js/test/browser/Worker.spec.ts index 27681ac8e0..a4c5f66c03 100644 --- a/packages/zone.js/test/browser/Worker.spec.ts +++ b/packages/zone.js/test/browser/Worker.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/XMLHttpRequest.spec.ts b/packages/zone.js/test/browser/XMLHttpRequest.spec.ts index a49f70912c..3152c8dffe 100644 --- a/packages/zone.js/test/browser/XMLHttpRequest.spec.ts +++ b/packages/zone.js/test/browser/XMLHttpRequest.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/browser.spec.ts b/packages/zone.js/test/browser/browser.spec.ts index e7b7a5fd0d..c635cfbfb5 100644 --- a/packages/zone.js/test/browser/browser.spec.ts +++ b/packages/zone.js/test/browser/browser.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/custom-element.spec.js b/packages/zone.js/test/browser/custom-element.spec.js index 3101f58fff..4b86e71a95 100644 --- a/packages/zone.js/test/browser/custom-element.spec.js +++ b/packages/zone.js/test/browser/custom-element.spec.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/define-property.spec.ts b/packages/zone.js/test/browser/define-property.spec.ts index 06720ce025..13818f7297 100644 --- a/packages/zone.js/test/browser/define-property.spec.ts +++ b/packages/zone.js/test/browser/define-property.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/element.spec.ts b/packages/zone.js/test/browser/element.spec.ts index 56be7bd8d2..f2dfa7541a 100644 --- a/packages/zone.js/test/browser/element.spec.ts +++ b/packages/zone.js/test/browser/element.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/geolocation.spec.manual.ts b/packages/zone.js/test/browser/geolocation.spec.manual.ts index 17e1c6a5ad..0ba5f41370 100644 --- a/packages/zone.js/test/browser/geolocation.spec.manual.ts +++ b/packages/zone.js/test/browser/geolocation.spec.manual.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/messageport.spec.ts b/packages/zone.js/test/browser/messageport.spec.ts index 3a8abb7489..96adc058fd 100644 --- a/packages/zone.js/test/browser/messageport.spec.ts +++ b/packages/zone.js/test/browser/messageport.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/registerElement.spec.ts b/packages/zone.js/test/browser/registerElement.spec.ts index 2956306a5d..de0bfaa205 100644 --- a/packages/zone.js/test/browser/registerElement.spec.ts +++ b/packages/zone.js/test/browser/registerElement.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/requestAnimationFrame.spec.ts b/packages/zone.js/test/browser/requestAnimationFrame.spec.ts index 42a771ed72..c870591475 100644 --- a/packages/zone.js/test/browser/requestAnimationFrame.spec.ts +++ b/packages/zone.js/test/browser/requestAnimationFrame.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser/shadydom.spec.ts b/packages/zone.js/test/browser/shadydom.spec.ts index 82a4357ddd..389445094e 100644 --- a/packages/zone.js/test/browser/shadydom.spec.ts +++ b/packages/zone.js/test/browser/shadydom.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_entry_point.ts b/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_entry_point.ts index 3480c04f83..21691ff8ab 100644 --- a/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_entry_point.ts +++ b/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_setup.ts b/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_setup.ts index 7f19c73fb9..7665ce6691 100644 --- a/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_setup.ts +++ b/packages/zone.js/test/browser_disable_wrap_uncaught_promise_rejection_setup.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_entry_point.ts b/packages/zone.js/test/browser_entry_point.ts index e9a435b056..3297956f7c 100644 --- a/packages/zone.js/test/browser_entry_point.ts +++ b/packages/zone.js/test/browser_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_es2015_entry_point.ts b/packages/zone.js/test/browser_es2015_entry_point.ts index d66e77c97f..f8dca0987c 100644 --- a/packages/zone.js/test/browser_es2015_entry_point.ts +++ b/packages/zone.js/test/browser_es2015_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_shadydom_entry_point.ts b/packages/zone.js/test/browser_shadydom_entry_point.ts index 93fa475104..b79191ee9e 100644 --- a/packages/zone.js/test/browser_shadydom_entry_point.ts +++ b/packages/zone.js/test/browser_shadydom_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/browser_shadydom_setup.ts b/packages/zone.js/test/browser_shadydom_setup.ts index ff65dd7b95..575d1ebe8c 100644 --- a/packages/zone.js/test/browser_shadydom_setup.ts +++ b/packages/zone.js/test/browser_shadydom_setup.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/closure/zone.closure.ts b/packages/zone.js/test/closure/zone.closure.ts index e964097315..d014e3dd9f 100644 --- a/packages/zone.js/test/closure/zone.closure.ts +++ b/packages/zone.js/test/closure/zone.closure.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/Error.spec.ts b/packages/zone.js/test/common/Error.spec.ts index 849181b182..19dca94f48 100644 --- a/packages/zone.js/test/common/Error.spec.ts +++ b/packages/zone.js/test/common/Error.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/Promise.spec.ts b/packages/zone.js/test/common/Promise.spec.ts index 8f1f78f9ba..323972d016 100644 --- a/packages/zone.js/test/common/Promise.spec.ts +++ b/packages/zone.js/test/common/Promise.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/fetch.spec.ts b/packages/zone.js/test/common/fetch.spec.ts index 8bed3ac624..ddabc0a9b3 100644 --- a/packages/zone.js/test/common/fetch.spec.ts +++ b/packages/zone.js/test/common/fetch.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/microtasks.spec.ts b/packages/zone.js/test/common/microtasks.spec.ts index 332b27b066..df6682167b 100644 --- a/packages/zone.js/test/common/microtasks.spec.ts +++ b/packages/zone.js/test/common/microtasks.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/promise-disable-wrap-uncaught-promise-rejection.spec.ts b/packages/zone.js/test/common/promise-disable-wrap-uncaught-promise-rejection.spec.ts index e66fd0e4c3..2906b7d20e 100644 --- a/packages/zone.js/test/common/promise-disable-wrap-uncaught-promise-rejection.spec.ts +++ b/packages/zone.js/test/common/promise-disable-wrap-uncaught-promise-rejection.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/setInterval.spec.ts b/packages/zone.js/test/common/setInterval.spec.ts index cee6d8eabc..cdd4187ccc 100644 --- a/packages/zone.js/test/common/setInterval.spec.ts +++ b/packages/zone.js/test/common/setInterval.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/setTimeout.spec.ts b/packages/zone.js/test/common/setTimeout.spec.ts index 8c1f7c6789..ed62e586ae 100644 --- a/packages/zone.js/test/common/setTimeout.spec.ts +++ b/packages/zone.js/test/common/setTimeout.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/task.spec.ts b/packages/zone.js/test/common/task.spec.ts index c436319ec8..ff8721567d 100644 --- a/packages/zone.js/test/common/task.spec.ts +++ b/packages/zone.js/test/common/task.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/toString.spec.ts b/packages/zone.js/test/common/toString.spec.ts index a8a29f7888..d959df23f1 100644 --- a/packages/zone.js/test/common/toString.spec.ts +++ b/packages/zone.js/test/common/toString.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/util.spec.ts b/packages/zone.js/test/common/util.spec.ts index bacfbc3c4c..65c138a33b 100644 --- a/packages/zone.js/test/common/util.spec.ts +++ b/packages/zone.js/test/common/util.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/common/zone.spec.ts b/packages/zone.js/test/common/zone.spec.ts index 8e360a8e10..a18d2da306 100644 --- a/packages/zone.js/test/common/zone.spec.ts +++ b/packages/zone.js/test/common/zone.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -334,7 +334,7 @@ describe('Zone', function() { Zone.assertZonePatched(); }); - it('should keep ZoneAwarePromise has been patched', () => { + xit('should throw error if ZoneAwarePromise has been overwritten', () => { class WrongPromise { static resolve(value: any) {} @@ -342,15 +342,12 @@ describe('Zone', function() { } const ZoneAwarePromise = global.Promise; - const NativePromise = (global as any)[zoneSymbol('Promise')]; - global.Promise = WrongPromise; try { - expect(ZoneAwarePromise).toBeTruthy(); - Zone.assertZonePatched(); - expect(global.Promise).toBe(ZoneAwarePromise); + global.Promise = WrongPromise; + expect(Zone.assertZonePatched()).toThrow(); } finally { // restore it. - global.Promise = NativePromise; + global.Promise = ZoneAwarePromise; } Zone.assertZonePatched(); }); diff --git a/packages/zone.js/test/common_tests.ts b/packages/zone.js/test/common_tests.ts index 426762d561..5539bae4ce 100644 --- a/packages/zone.js/test/common_tests.ts +++ b/packages/zone.js/test/common_tests.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/extra/bluebird.spec.ts b/packages/zone.js/test/extra/bluebird.spec.ts index b228301ce8..282b58a726 100644 --- a/packages/zone.js/test/extra/bluebird.spec.ts +++ b/packages/zone.js/test/extra/bluebird.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/extra/cordova.spec.ts b/packages/zone.js/test/extra/cordova.spec.ts index 5884845a7c..84ada57965 100644 --- a/packages/zone.js/test/extra/cordova.spec.ts +++ b/packages/zone.js/test/extra/cordova.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -37,4 +37,4 @@ describe('cordova test', () => { 'service', 'failAction', ['arg0', 'arg1']); }); }); -}); \ No newline at end of file +}); diff --git a/packages/zone.js/test/extra/electron.js b/packages/zone.js/test/extra/electron.js index bf90469090..f5a43912ec 100644 --- a/packages/zone.js/test/extra/electron.js +++ b/packages/zone.js/test/extra/electron.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,7 +8,7 @@ var domino = require('domino'); var mockRequire = require('mock-require'); var nativeTimeout = setTimeout; -require('./zone-mix'); +require('./zone-mix.umd'); mockRequire('electron', { desktopCapturer: { getSources: function(callback) { @@ -26,7 +26,7 @@ mockRequire('electron', { } }, }); -require('./zone-patch-electron'); +require('./zone-patch-electron.umd'); var electron = require('electron'); var zone = Zone.current.fork({name: 'zone'}); zone.run(function() { diff --git a/packages/zone.js/test/jasmine-patch.spec.ts b/packages/zone.js/test/jasmine-patch.spec.ts index 5193e3e928..fc30c93de0 100644 --- a/packages/zone.js/test/jasmine-patch.spec.ts +++ b/packages/zone.js/test/jasmine-patch.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/karma_test.bzl b/packages/zone.js/test/karma_test.bzl index bc0ac35306..6193f1af7c 100644 --- a/packages/zone.js/test/karma_test.bzl +++ b/packages/zone.js/test/karma_test.bzl @@ -49,15 +49,15 @@ def karma_test(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, first = False karma_test_prepare(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, test_entry_point) _karma_test_required_dist_files = [ - "//packages/zone.js/dist:task-tracking.js", - "//packages/zone.js/dist:wtf.js", - "//packages/zone.js/dist:webapis-notification.js", - "//packages/zone.js/dist:webapis-media-query.js", - "//packages/zone.js/dist:zone-patch-canvas.js", - "//packages/zone.js/dist:zone-patch-fetch.js", - "//packages/zone.js/dist:zone-patch-resize-observer.js", - "//packages/zone.js/dist:zone-patch-message-port.js", - "//packages/zone.js/dist:zone-patch-user-media.js", + "//packages/zone.js/bundles:task-tracking.umd.js", + "//packages/zone.js/bundles:wtf.umd.js", + "//packages/zone.js/bundles:webapis-notification.umd.js", + "//packages/zone.js/bundles:webapis-media-query.umd.js", + "//packages/zone.js/bundles:zone-patch-canvas.umd.js", + "//packages/zone.js/bundles:zone-patch-fetch.umd.js", + "//packages/zone.js/bundles:zone-patch-resize-observer.umd.js", + "//packages/zone.js/bundles:zone-patch-message-port.umd.js", + "//packages/zone.js/bundles:zone-patch-user-media.umd.js", ":" + name + "_rollup.umd", ] @@ -70,7 +70,7 @@ def karma_test(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, ":" + name + "_env_rollup.umd", ] + bootstrap + _karma_test_required_dist_files, - browsers = ["//tools/browsers:chromium"], + browsers = ["//dev-infra/browsers:chromium"], static_files = [ ":assets/sample.json", ":assets/worker.js", @@ -91,9 +91,9 @@ def karma_test(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, bootstrap = [ ":saucelabs.js", ":" + name + "_env_rollup.umd", - "//packages/zone.js/dist:zone-testing-bundle.min.js", + "//packages/zone.js/bundles:zone-testing-bundle.umd.min.js", ] + _karma_test_required_dist_files, - browsers = ["//tools/browsers:chromium"], + browsers = ["//dev-infra/browsers:chromium"], config_file = "//:karma-js.conf.js", configuration_env_vars = ["KARMA_WEB_TEST_MODE"], data = [ diff --git a/packages/zone.js/test/main.ts b/packages/zone.js/test/main.ts index 1f82b18f20..abafa40fcd 100644 --- a/packages/zone.js/test/main.ts +++ b/packages/zone.js/test/main.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/mocha-patch.spec.ts b/packages/zone.js/test/mocha-patch.spec.ts index 50f84d00ea..7195eb06c0 100644 --- a/packages/zone.js/test/mocha-patch.spec.ts +++ b/packages/zone.js/test/mocha-patch.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -115,4 +115,4 @@ ifEnvSupports('Mocha', function() { expect(log).toEqual(['resolved']); }); }); -})(); \ No newline at end of file +})(); diff --git a/packages/zone.js/test/node/Error.spec.ts b/packages/zone.js/test/node/Error.spec.ts index 25240a81bf..c2d5c88ce3 100644 --- a/packages/zone.js/test/node/Error.spec.ts +++ b/packages/zone.js/test/node/Error.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node/console.spec.ts b/packages/zone.js/test/node/console.spec.ts index 846d220ba6..809eb63dee 100644 --- a/packages/zone.js/test/node/console.spec.ts +++ b/packages/zone.js/test/node/console.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -38,4 +38,4 @@ describe('node console', () => { }); expect(log).toEqual([]); }); -}); \ No newline at end of file +}); diff --git a/packages/zone.js/test/node/crypto.spec.ts b/packages/zone.js/test/node/crypto.spec.ts index c09205049f..6834cab380 100644 --- a/packages/zone.js/test/node/crypto.spec.ts +++ b/packages/zone.js/test/node/crypto.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node/events.spec.ts b/packages/zone.js/test/node/events.spec.ts index 09757e2aaf..f50b0eb02f 100644 --- a/packages/zone.js/test/node/events.spec.ts +++ b/packages/zone.js/test/node/events.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node/fs.spec.ts b/packages/zone.js/test/node/fs.spec.ts index 55cd02b24a..ed0797d8be 100644 --- a/packages/zone.js/test/node/fs.spec.ts +++ b/packages/zone.js/test/node/fs.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -152,4 +152,4 @@ describe('util.promisify', () => { fail(`should not be here with error: ${error}.`); }); }); -}); \ No newline at end of file +}); diff --git a/packages/zone.js/test/node/http.spec.ts b/packages/zone.js/test/node/http.spec.ts index b031b32278..74b7009538 100644 --- a/packages/zone.js/test/node/http.spec.ts +++ b/packages/zone.js/test/node/http.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node/process.spec.ts b/packages/zone.js/test/node/process.spec.ts index 642efb1269..8cadf997ff 100644 --- a/packages/zone.js/test/node/process.spec.ts +++ b/packages/zone.js/test/node/process.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -131,4 +131,4 @@ describe('process related test', () => { }, 10); }); }); -}); \ No newline at end of file +}); diff --git a/packages/zone.js/test/node/timer.spec.ts b/packages/zone.js/test/node/timer.spec.ts index eff0719053..c04a7e4441 100644 --- a/packages/zone.js/test/node/timer.spec.ts +++ b/packages/zone.js/test/node/timer.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -32,4 +32,4 @@ describe('node timer', () => { fail(`should not be here with error: ${error}.`); }); }); -}); \ No newline at end of file +}); diff --git a/packages/zone.js/test/node_bluebird_entry_point.ts b/packages/zone.js/test/node_bluebird_entry_point.ts index ae0da24027..34d40fdac9 100644 --- a/packages/zone.js/test/node_bluebird_entry_point.ts +++ b/packages/zone.js/test/node_bluebird_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_entry_point.ts b/packages/zone.js/test/node_entry_point.ts index e63e7595d6..d9d183078b 100644 --- a/packages/zone.js/test/node_entry_point.ts +++ b/packages/zone.js/test/node_entry_point.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_entry_point_no_patch_clock.ts b/packages/zone.js/test/node_entry_point_no_patch_clock.ts index a91766407f..538374b7dc 100644 --- a/packages/zone.js/test/node_entry_point_no_patch_clock.ts +++ b/packages/zone.js/test/node_entry_point_no_patch_clock.ts @@ -1,13 +1,13 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_error_disable_policy_entry_point.ts b/packages/zone.js/test/node_error_disable_policy_entry_point.ts index 841039900d..e6f1e3028e 100644 --- a/packages/zone.js/test/node_error_disable_policy_entry_point.ts +++ b/packages/zone.js/test/node_error_disable_policy_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_error_entry_point.ts b/packages/zone.js/test/node_error_entry_point.ts index 5acf7f2f16..1f8b06484b 100644 --- a/packages/zone.js/test/node_error_entry_point.ts +++ b/packages/zone.js/test/node_error_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_error_lazy_policy_entry_point.ts b/packages/zone.js/test/node_error_lazy_policy_entry_point.ts index 61b5e56093..524a628b53 100644 --- a/packages/zone.js/test/node_error_lazy_policy_entry_point.ts +++ b/packages/zone.js/test/node_error_lazy_policy_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/node_tests.ts b/packages/zone.js/test/node_tests.ts index 1366ac573d..507872b67a 100644 --- a/packages/zone.js/test/node_tests.ts +++ b/packages/zone.js/test/node_tests.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/npm_package/npm_package.spec.ts b/packages/zone.js/test/npm_package/npm_package.spec.ts index 57934f1de7..0305915600 100644 --- a/packages/zone.js/test/npm_package/npm_package.spec.ts +++ b/packages/zone.js/test/npm_package/npm_package.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -8,6 +8,12 @@ import * as path from 'path'; import * as shx from 'shelljs'; +function checkInSubFolder(subFolder: string, testFn: Function) { + shx.cd(subFolder); + testFn(); + shx.cd('../'); +} + describe('Zone.js npm_package', () => { beforeEach( () => {shx.cd( @@ -32,17 +38,11 @@ describe('Zone.js npm_package', () => { }); it('should contain module resolution mappings', () => { - expect(shx.grep('"main":', packageJson)).toContain(`dist/zone-node.js`); + expect(shx.grep('"main":', packageJson)).toContain(`zone.umd.js`); }); }); - describe('check dist folder', () => { - beforeEach(() => { - shx.cd('./dist'); - }); - afterEach(() => { - shx.cd('../'); - }); + describe('check npm_package root folder', () => { describe('typescript support', () => { it('should have an zone.js.d.ts file', () => { expect(shx.cat('zone.js.d.ts')).toContain('declare const'); @@ -65,33 +65,127 @@ describe('Zone.js npm_package', () => { describe('rxjs patch', () => { it('should not contain rxjs source', () => { - expect(shx.cat('zone-patch-rxjs.js')) - .not.toContain('_enable_super_gross_mode_that_will_cause_bad_things'); + checkInSubFolder('./bundles', () => { + expect(shx.cat('zone-patch-rxjs.umd.js')) + .not.toContain('_enable_super_gross_mode_that_will_cause_bad_things'); + }); + checkInSubFolder('./fesm2015', () => { + expect(shx.cat('zone-patch-rxjs.js')) + .not.toContain('_enable_super_gross_mode_that_will_cause_bad_things'); + }); }); }); describe('es5', () => { it('zone.js(es5) should not contain es6 spread code', () => { - expect(shx.cat('zone.js')).not.toContain('let value of values'); + checkInSubFolder('./bundles', () => { + expect(shx.cat('zone.umd.js')).not.toContain('let value of values'); + }); }); it('zone.js(es5) should not contain source map comment', () => { - expect(shx.cat('zone.js')).not.toContain('sourceMappingURL'); + checkInSubFolder('./bundles', () => { + expect(shx.cat('zone.umd.js')).not.toContain('sourceMappingURL'); + }); }); }); describe('es2015', () => { - it('zone-evergreen.js(es2015) should contain es6 code', () => { - expect(shx.cat('zone-evergreen.js')).toContain('let value of values'); + it('zone.js(es2015) should contain es6 code', () => { + checkInSubFolder('./fesm2015', () => { + expect(shx.cat('zone.js')).toContain('let value of values'); + }); }); - it('zone.js(es5) should not contain source map comment', () => { - expect(shx.cat('zone-evergreen.js')).not.toContain('sourceMappingURL'); + it('zone.js(es2015) should not contain source map comment', () => { + checkInSubFolder('./fesm2015', () => { + expect(shx.cat('zone.js')).not.toContain('sourceMappingURL'); + }); + }); + }); + + + describe('plugins folder check', () => { + it('should contain all plugin folders in ./plugins', () => { + const expected = [ + 'async-test', + 'async-test.min', + 'fake-async-test', + 'fake-async-test.min', + 'jasmine-patch', + 'jasmine-patch.min', + 'long-stack-trace-zone', + 'long-stack-trace-zone.min', + 'mocha-patch', + 'mocha-patch.min', + 'proxy', + 'proxy.min', + 'sync-test', + 'sync-test.min', + 'task-tracking', + 'task-tracking.min', + 'webapis-media-query', + 'webapis-media-query.min', + 'webapis-notification', + 'webapis-notification.min', + 'webapis-rtc-peer-connection', + 'webapis-rtc-peer-connection.min', + 'webapis-shadydom', + 'webapis-shadydom.min', + 'wtf', + 'wtf.min', + 'zone-bluebird', + 'zone-bluebird.min', + 'zone-error', + 'zone-error.min', + 'zone-legacy', + 'zone-legacy.min', + 'zone-patch-canvas', + 'zone-patch-canvas.min', + 'zone-patch-cordova', + 'zone-patch-cordova.min', + 'zone-patch-electron', + 'zone-patch-electron.min', + 'zone-patch-fetch', + 'zone-patch-fetch.min', + 'zone-patch-jsonp', + 'zone-patch-jsonp.min', + 'zone-patch-message-port', + 'zone-patch-message-port.min', + 'zone-patch-promise-test', + 'zone-patch-promise-test.min', + 'zone-patch-resize-observer', + 'zone-patch-resize-observer.min', + 'zone-patch-rxjs-fake-async', + 'zone-patch-rxjs-fake-async.min', + 'zone-patch-rxjs', + 'zone-patch-rxjs.min', + 'zone-patch-socket-io', + 'zone-patch-socket-io.min', + 'zone-patch-user-media', + 'zone-patch-user-media.min', + ].sort(); + + checkInSubFolder('./plugins', () => { + const list = shx.ls('./').stdout.split('\n').sort().slice(1); + expect(list.length).toBe(expected.length); + for (let i = 0; i < list.length; i++) { + expect(list[i]).toEqual(expected[i]); + const packageJson = shx.cat(`${list[i]}/package.json`); + const umdMinName = list[i].indexOf('.min') === -1 ? + `${list[i]}.umd` : + `${list[i].substring(0, list[i].indexOf('.min'))}.umd.min`; + expect(packageJson).toContain(`"name": "zone.js/${list[i]}"`); + expect(packageJson).toContain(`"main": "../../bundles/${umdMinName}.js"`); + expect(packageJson).toContain(`"fesm2015": "../../fesm2015/${list[i]}.js"`); + expect(packageJson).toContain(`"es2015": "../../fesm2015/${list[i]}.js"`); + expect(packageJson).toContain(`"module": "../../fesm2015/${list[i]}.js"`); + } + }); }); }); describe('dist file list', () => { it('should contain all files', () => { - const list = shx.ls('./').stdout.split('\n').sort().slice(1); const expected = [ 'async-test.js', 'async-test.min.js', @@ -119,15 +213,10 @@ describe('Zone.js npm_package', () => { 'webapis-shadydom.min.js', 'wtf.js', 'wtf.min.js', - 'zone_externs.js', 'zone-bluebird.js', 'zone-bluebird.min.js', 'zone-error.js', 'zone-error.min.js', - 'zone-evergreen.js', - 'zone-evergreen.min.js', - 'zone-evergreen-testing-bundle.js', - 'zone-evergreen-testing-bundle.min.js', 'zone-legacy.js', 'zone-legacy.min.js', 'zone-mix.js', @@ -165,15 +254,139 @@ describe('Zone.js npm_package', () => { 'zone-testing.js', 'zone-testing.min.js', 'zone.js', - 'zone.js.d.ts', - 'zone.api.extensions.ts', - 'zone.configurations.api.ts', 'zone.min.js', ].sort(); - expect(list.length).toBe(expected.length); - for (let i = 0; i < list.length; i++) { - expect(list[i]).toEqual(expected[i]); - } + checkInSubFolder('./bundles', () => { + const list = shx.ls('./').stdout.split('\n').sort().slice(1); + expect(list.length).toBe(expected.length); + for (let i = 0; i < list.length; i++) { + if (expected[i].indexOf('.min.js') !== -1) { + expect(list[i]).toEqual(expected[i].replace('.min.js', '.umd.min.js')); + } else { + expect(list[i]).toEqual(expected[i].replace('.js', '.umd.js')); + } + } + }); + checkInSubFolder('./fesm2015', () => { + const list = shx.ls('./').stdout.split('\n').sort().slice(1); + expect(list.length).toBe(expected.length); + for (let i = 0; i < list.length; i++) { + expect(list[i]).toEqual(expected[i]); + } + }); + }); + }); + + describe('backward compatible check', () => { + it('should contain all original folders in /dist', () => { + const expected = [ + 'async-test', + 'async-test.min', + 'fake-async-test', + 'fake-async-test.min', + 'jasmine-patch', + 'jasmine-patch.min', + 'long-stack-trace-zone', + 'long-stack-trace-zone.min', + 'mocha-patch', + 'mocha-patch.min', + 'proxy', + 'proxy.min', + 'sync-test', + 'sync-test.min', + 'task-tracking', + 'task-tracking.min', + 'webapis-media-query', + 'webapis-media-query.min', + 'webapis-notification', + 'webapis-notification.min', + 'webapis-rtc-peer-connection', + 'webapis-rtc-peer-connection.min', + 'webapis-shadydom', + 'webapis-shadydom.min', + 'wtf', + 'wtf.min', + 'zone-bluebird', + 'zone-bluebird.min', + 'zone-error', + 'zone-error.min', + 'zone-legacy', + 'zone-legacy.min', + 'zone-mix', + 'zone-mix.min', + 'zone-node', + 'zone-node.min', + 'zone-patch-canvas', + 'zone-patch-canvas.min', + 'zone-patch-cordova', + 'zone-patch-cordova.min', + 'zone-patch-electron', + 'zone-patch-electron.min', + 'zone-patch-fetch', + 'zone-patch-fetch.min', + 'zone-patch-jsonp', + 'zone-patch-jsonp.min', + 'zone-patch-message-port', + 'zone-patch-message-port.min', + 'zone-patch-promise-test', + 'zone-patch-promise-test.min', + 'zone-patch-resize-observer', + 'zone-patch-resize-observer.min', + 'zone-patch-rxjs-fake-async', + 'zone-patch-rxjs-fake-async.min', + 'zone-patch-rxjs', + 'zone-patch-rxjs.min', + 'zone-patch-socket-io', + 'zone-patch-socket-io.min', + 'zone-patch-user-media', + 'zone-patch-user-media.min', + 'zone-testing-bundle', + 'zone-testing-bundle.min', + 'zone-testing-node-bundle', + 'zone-testing-node-bundle.min', + 'zone-testing', + 'zone-testing.min', + 'zone', + 'zone.min', + 'zone_externs', + 'zone-evergreen', + 'zone-evergreen.min', + 'zone-evergreen-testing-bundle', + 'zone-evergreen-testing-bundle.min', + ].sort(); + checkInSubFolder('./dist', () => { + const list = shx.ls('./').stdout.split('\n').sort().slice(1); + expect(list.length).toBe(expected.length); + for (let i = 0; i < list.length; i++) { + expect(list[i]).toEqual(expected[i]); + const packageJson = shx.cat(`${list[i]}/package.json`); + if (list[i].indexOf('_externs') !== -1) { + expect(packageJson).toContain(`"name": "zone.js/${list[i]}"`); + expect(packageJson).toContain(`"main": "../../${list[i]}.js"`); + expect(packageJson).toContain(`"fesm2015": "../../${list[i]}.js"`); + expect(packageJson).toContain(`"es2015": "../../${list[i]}.js"`); + expect(packageJson).toContain(`"module": "../../${list[i]}.js"`); + continue; + } + if (list[i].indexOf('evergreen') === -1) { + const umdMinName = list[i].indexOf('.min') === -1 ? + `${list[i]}.umd` : + `${list[i].substring(0, list[i].indexOf('.min'))}.umd.min`; + expect(packageJson).toContain(`"name": "zone.js/${list[i]}"`); + expect(packageJson).toContain(`"main": "../../bundles/${umdMinName}.js"`); + expect(packageJson).toContain(`"fesm2015": "../../fesm2015/${list[i]}.js"`); + expect(packageJson).toContain(`"es2015": "../../fesm2015/${list[i]}.js"`); + expect(packageJson).toContain(`"module": "../../fesm2015/${list[i]}.js"`); + } else { + const removeEvergreen = list[i].replace('-evergreen', ''); + expect(packageJson).toContain(`"name": "zone.js/${list[i]}"`); + expect(packageJson).toContain(`"main": "../../fesm2015/${removeEvergreen}.js"`); + expect(packageJson).toContain(`"fesm2015": "../../fesm2015/${removeEvergreen}.js"`); + expect(packageJson).toContain(`"es2015": "../../fesm2015/${removeEvergreen}.js"`); + expect(packageJson).toContain(`"module": "../../fesm2015/${removeEvergreen}.js"`); + } + } + }); }); }); }); diff --git a/packages/zone.js/test/patch/IndexedDB.spec.js b/packages/zone.js/test/patch/IndexedDB.spec.js index 96a8135587..7305587277 100644 --- a/packages/zone.js/test/patch/IndexedDB.spec.js +++ b/packages/zone.js/test/patch/IndexedDB.spec.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -134,4 +134,4 @@ describe( }); }); }); - })); \ No newline at end of file + })); diff --git a/packages/zone.js/test/performance/eventTarget.js b/packages/zone.js/test/performance/eventTarget.js index d5f090645f..a70254550f 100644 --- a/packages/zone.js/test/performance/eventTarget.js +++ b/packages/zone.js/test/performance/eventTarget.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/performance_setup.js b/packages/zone.js/test/performance/performance_setup.js index c265ae0fc5..ac6c0e1579 100644 --- a/packages/zone.js/test/performance/performance_setup.js +++ b/packages/zone.js/test/performance/performance_setup.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/performance_ui.js b/packages/zone.js/test/performance/performance_ui.js index 9840a84d8f..fbae46323a 100644 --- a/packages/zone.js/test/performance/performance_ui.js +++ b/packages/zone.js/test/performance/performance_ui.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/promise.js b/packages/zone.js/test/performance/promise.js index 8fb848b0e3..4ca3a2ae93 100644 --- a/packages/zone.js/test/performance/promise.js +++ b/packages/zone.js/test/performance/promise.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/requestAnimationFrame.js b/packages/zone.js/test/performance/requestAnimationFrame.js index 1cc5660ee0..290fddb9a9 100644 --- a/packages/zone.js/test/performance/requestAnimationFrame.js +++ b/packages/zone.js/test/performance/requestAnimationFrame.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/timeout.js b/packages/zone.js/test/performance/timeout.js index 8080ecdb16..7bedd0badb 100644 --- a/packages/zone.js/test/performance/timeout.js +++ b/packages/zone.js/test/performance/timeout.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/performance/xhr.js b/packages/zone.js/test/performance/xhr.js index ff4c6779f7..b49dee81a6 100644 --- a/packages/zone.js/test/performance/xhr.js +++ b/packages/zone.js/test/performance/xhr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.audit.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.audit.spec.ts index 724262ce1a..2e5e2ad4f2 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.audit.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.audit.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.buffer.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.buffer.spec.ts index bf2be46e6d..545bafc486 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.buffer.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.buffer.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.catch.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.catch.spec.ts index 2e083859fa..a4a8190bf9 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.catch.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.catch.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.collection.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.collection.spec.ts index faad719ffb..88e4215ce9 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.collection.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.collection.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.combine.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.combine.spec.ts index 0cdea46e89..1edf8bc283 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.combine.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.combine.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.concat.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.concat.spec.ts index a6ab01535a..a7678b6a2c 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.concat.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.concat.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.count.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.count.spec.ts index 35c3fd6448..f087f594b0 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.count.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.count.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.debounce.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.debounce.spec.ts index aaddad23f4..15889e008a 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.debounce.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.debounce.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.default.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.default.spec.ts index 842d995a04..477e35afcd 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.default.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.default.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.delay.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.delay.spec.ts index e5627bed0a..2254510c1f 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.delay.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.delay.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.distinct.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.distinct.spec.ts index bd123d38d3..bc804c3217 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.distinct.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.distinct.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.do.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.do.spec.ts index 48a03f223f..247954f2fa 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.do.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.do.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.map.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.map.spec.ts index e883c78c5c..da4a2859a9 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.map.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.map.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.merge.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.merge.spec.ts index c55cf5987c..55b8d80d51 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.merge.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.merge.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.multicast.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.multicast.spec.ts index 18e3b9fc4c..4a4d06e9c6 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.multicast.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.multicast.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.notification.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.notification.spec.ts index ba4122cc34..4a4b830223 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.notification.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.notification.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.race.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.race.spec.ts index 1eadaff022..a8656a845a 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.race.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.race.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.retry.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.retry.spec.ts index 30743edccf..feb08d3e9f 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.retry.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.retry.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.sample.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.sample.spec.ts index ddb22deaac..a05a94724b 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.sample.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.sample.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.take.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.take.spec.ts index 211830b8ee..979f38319a 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.take.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.take.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.timeout.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.timeout.spec.ts index 1ce36b5ac1..589ddf592c 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.timeout.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.timeout.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.Observable.window.spec.ts b/packages/zone.js/test/rxjs/rxjs.Observable.window.spec.ts index 824bbd41bc..8af748f053 100644 --- a/packages/zone.js/test/rxjs/rxjs.Observable.window.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.Observable.window.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.asap.spec.ts b/packages/zone.js/test/rxjs/rxjs.asap.spec.ts index 5ce468c9ff..18176ee9c5 100644 --- a/packages/zone.js/test/rxjs/rxjs.asap.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.asap.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.bindCallback.spec.ts b/packages/zone.js/test/rxjs/rxjs.bindCallback.spec.ts index 3ae21085ac..1ddf6a9b15 100644 --- a/packages/zone.js/test/rxjs/rxjs.bindCallback.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.bindCallback.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.bindNodeCallback.spec.ts b/packages/zone.js/test/rxjs/rxjs.bindNodeCallback.spec.ts index 862c7886d3..fb1b9e0991 100644 --- a/packages/zone.js/test/rxjs/rxjs.bindNodeCallback.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.bindNodeCallback.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.combineLatest.spec.ts b/packages/zone.js/test/rxjs/rxjs.combineLatest.spec.ts index 6f161d8997..5f7e5bcbf3 100644 --- a/packages/zone.js/test/rxjs/rxjs.combineLatest.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.combineLatest.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.common.spec.ts b/packages/zone.js/test/rxjs/rxjs.common.spec.ts index e812b6032a..f1601996c7 100644 --- a/packages/zone.js/test/rxjs/rxjs.common.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.common.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.concat.spec.ts b/packages/zone.js/test/rxjs/rxjs.concat.spec.ts index 6f5594b520..14e39159dd 100644 --- a/packages/zone.js/test/rxjs/rxjs.concat.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.concat.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.defer.spec.ts b/packages/zone.js/test/rxjs/rxjs.defer.spec.ts index 161e203575..7f46ed938f 100644 --- a/packages/zone.js/test/rxjs/rxjs.defer.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.defer.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.empty.spec.ts b/packages/zone.js/test/rxjs/rxjs.empty.spec.ts index c53793b4e0..1775aff119 100644 --- a/packages/zone.js/test/rxjs/rxjs.empty.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.empty.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.forkjoin.spec.ts b/packages/zone.js/test/rxjs/rxjs.forkjoin.spec.ts index 1799f07367..4c44169887 100644 --- a/packages/zone.js/test/rxjs/rxjs.forkjoin.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.forkjoin.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.from.spec.ts b/packages/zone.js/test/rxjs/rxjs.from.spec.ts index 7f65e9a580..dad532d35f 100644 --- a/packages/zone.js/test/rxjs/rxjs.from.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.from.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.fromEvent.spec.ts b/packages/zone.js/test/rxjs/rxjs.fromEvent.spec.ts index e2de75b3cc..6061fa948c 100644 --- a/packages/zone.js/test/rxjs/rxjs.fromEvent.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.fromEvent.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.fromPromise.spec.ts b/packages/zone.js/test/rxjs/rxjs.fromPromise.spec.ts index 76305bf09e..b04c2ef6b7 100644 --- a/packages/zone.js/test/rxjs/rxjs.fromPromise.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.fromPromise.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.interval.spec.ts b/packages/zone.js/test/rxjs/rxjs.interval.spec.ts index 4d1b2cc568..ac61ea5eed 100644 --- a/packages/zone.js/test/rxjs/rxjs.interval.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.interval.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.merge.spec.ts b/packages/zone.js/test/rxjs/rxjs.merge.spec.ts index 8aa4f6f96d..2a77f06b56 100644 --- a/packages/zone.js/test/rxjs/rxjs.merge.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.merge.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.never.spec.ts b/packages/zone.js/test/rxjs/rxjs.never.spec.ts index 2b0f29dad8..6ede4b68a9 100644 --- a/packages/zone.js/test/rxjs/rxjs.never.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.never.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.of.spec.ts b/packages/zone.js/test/rxjs/rxjs.of.spec.ts index c4bddd81c8..d257dd913c 100644 --- a/packages/zone.js/test/rxjs/rxjs.of.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.of.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.range.spec.ts b/packages/zone.js/test/rxjs/rxjs.range.spec.ts index dbc566c5f2..62baea2cc9 100644 --- a/packages/zone.js/test/rxjs/rxjs.range.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.range.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.spec.ts b/packages/zone.js/test/rxjs/rxjs.spec.ts index 3081b5fef6..0e5ea5f23d 100644 --- a/packages/zone.js/test/rxjs/rxjs.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.throw.spec.ts b/packages/zone.js/test/rxjs/rxjs.throw.spec.ts index ffbbb02512..bdafe0fc2c 100644 --- a/packages/zone.js/test/rxjs/rxjs.throw.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.throw.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.timer.spec.ts b/packages/zone.js/test/rxjs/rxjs.timer.spec.ts index c6903f241e..7c46a8e845 100644 --- a/packages/zone.js/test/rxjs/rxjs.timer.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.timer.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.util.ts b/packages/zone.js/test/rxjs/rxjs.util.ts index 02523f9421..a98972258f 100644 --- a/packages/zone.js/test/rxjs/rxjs.util.ts +++ b/packages/zone.js/test/rxjs/rxjs.util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/rxjs/rxjs.zip.spec.ts b/packages/zone.js/test/rxjs/rxjs.zip.spec.ts index d33045bedd..3bb64496e1 100644 --- a/packages/zone.js/test/rxjs/rxjs.zip.spec.ts +++ b/packages/zone.js/test/rxjs/rxjs.zip.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/saucelabs.js b/packages/zone.js/test/saucelabs.js index a2f6b7be4f..e6600232b8 100644 --- a/packages/zone.js/test/saucelabs.js +++ b/packages/zone.js/test/saucelabs.js @@ -1,9 +1,9 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ -window.saucelabs = true; \ No newline at end of file +window.saucelabs = true; diff --git a/packages/zone.js/test/test-env-setup-jasmine-no-patch-clock.ts b/packages/zone.js/test/test-env-setup-jasmine-no-patch-clock.ts index 3697af8c9d..f0864c3333 100644 --- a/packages/zone.js/test/test-env-setup-jasmine-no-patch-clock.ts +++ b/packages/zone.js/test/test-env-setup-jasmine-no-patch-clock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/test-env-setup-jasmine.ts b/packages/zone.js/test/test-env-setup-jasmine.ts index 85ea4d9d93..334391364d 100644 --- a/packages/zone.js/test/test-env-setup-jasmine.ts +++ b/packages/zone.js/test/test-env-setup-jasmine.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/test-env-setup-mocha.ts b/packages/zone.js/test/test-env-setup-mocha.ts index b3fa41cdc6..dbc32a8523 100644 --- a/packages/zone.js/test/test-env-setup-mocha.ts +++ b/packages/zone.js/test/test-env-setup-mocha.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -183,4 +183,4 @@ declare const global: any; } }; }; -})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); \ No newline at end of file +})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); diff --git a/packages/zone.js/test/test-util.ts b/packages/zone.js/test/test-util.ts index a5ec15536d..ace7c1432d 100644 --- a/packages/zone.js/test/test-util.ts +++ b/packages/zone.js/test/test-util.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/test_fake_polyfill.ts b/packages/zone.js/test/test_fake_polyfill.ts index bdc3645b3f..a765b7a754 100644 --- a/packages/zone.js/test/test_fake_polyfill.ts +++ b/packages/zone.js/test/test_fake_polyfill.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/webdriver/test.js b/packages/zone.js/test/webdriver/test.js index 0250b91be5..36d39ca9ab 100644 --- a/packages/zone.js/test/webdriver/test.js +++ b/packages/zone.js/test/webdriver/test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/webdriver/test.sauce.es2015.js b/packages/zone.js/test/webdriver/test.sauce.es2015.js index 9d86d08f65..3bc4e478f8 100644 --- a/packages/zone.js/test/webdriver/test.sauce.es2015.js +++ b/packages/zone.js/test/webdriver/test.sauce.es2015.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/webdriver/test.sauce.js b/packages/zone.js/test/webdriver/test.sauce.js index 07dd17f7f7..d2d4de9f53 100644 --- a/packages/zone.js/test/webdriver/test.sauce.js +++ b/packages/zone.js/test/webdriver/test.sauce.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/ws-client.js b/packages/zone.js/test/ws-client.js index 3677fe84ed..8c5f35040d 100644 --- a/packages/zone.js/test/ws-client.js +++ b/packages/zone.js/test/ws-client.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/ws-server.js b/packages/zone.js/test/ws-server.js index 3ca72505d6..3145836047 100644 --- a/packages/zone.js/test/ws-server.js +++ b/packages/zone.js/test/ws-server.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/ws-webworker-context.ts b/packages/zone.js/test/ws-webworker-context.ts index 87a70a0a4b..3a228b313a 100644 --- a/packages/zone.js/test/ws-webworker-context.ts +++ b/packages/zone.js/test/ws-webworker-context.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/wtf_mock.ts b/packages/zone.js/test/wtf_mock.ts index 0c0c71fa92..ded9f2fbe2 100644 --- a/packages/zone.js/test/wtf_mock.ts +++ b/packages/zone.js/test/wtf_mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/async-test.spec.ts b/packages/zone.js/test/zone-spec/async-test.spec.ts index 22940274b6..26c4ac0bd9 100644 --- a/packages/zone.js/test/zone-spec/async-test.spec.ts +++ b/packages/zone.js/test/zone-spec/async-test.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/fake-async-test.spec.ts b/packages/zone.js/test/zone-spec/fake-async-test.spec.ts index 2b4a44be80..1d9436770c 100644 --- a/packages/zone.js/test/zone-spec/fake-async-test.spec.ts +++ b/packages/zone.js/test/zone-spec/fake-async-test.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/long-stack-trace-zone.spec.ts b/packages/zone.js/test/zone-spec/long-stack-trace-zone.spec.ts index e02b2dec6d..36c5f3d267 100644 --- a/packages/zone.js/test/zone-spec/long-stack-trace-zone.spec.ts +++ b/packages/zone.js/test/zone-spec/long-stack-trace-zone.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/proxy.spec.ts b/packages/zone.js/test/zone-spec/proxy.spec.ts index b877665e0d..39b0478866 100644 --- a/packages/zone.js/test/zone-spec/proxy.spec.ts +++ b/packages/zone.js/test/zone-spec/proxy.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/sync-test.spec.ts b/packages/zone.js/test/zone-spec/sync-test.spec.ts index d51dff6866..a230b5e173 100644 --- a/packages/zone.js/test/zone-spec/sync-test.spec.ts +++ b/packages/zone.js/test/zone-spec/sync-test.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone-spec/task-tracking.spec.ts b/packages/zone.js/test/zone-spec/task-tracking.spec.ts index 9c824bfe78..d0ff03c059 100644 --- a/packages/zone.js/test/zone-spec/task-tracking.spec.ts +++ b/packages/zone.js/test/zone-spec/task-tracking.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/test/zone_worker_entry_point.ts b/packages/zone.js/test/zone_worker_entry_point.ts index d12473781f..0d29cd0378 100644 --- a/packages/zone.js/test/zone_worker_entry_point.ts +++ b/packages/zone.js/test/zone_worker_entry_point.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/packages/zone.js/testing/BUILD.bazel b/packages/zone.js/testing/BUILD.bazel new file mode 100644 index 0000000000..11a7cfa602 --- /dev/null +++ b/packages/zone.js/testing/BUILD.bazel @@ -0,0 +1,3 @@ +exports_files([ + "package.json", +]) diff --git a/packages/zone.js/testing/package.json b/packages/zone.js/testing/package.json new file mode 100644 index 0000000000..93a9a1a1de --- /dev/null +++ b/packages/zone.js/testing/package.json @@ -0,0 +1,8 @@ +{ + "name": "zone-testing", + "description": "Testing library implemented by zone.js", + "main": "../bundles/zone-testing.umd.js", + "module": "../fesm2015/zone-testing.js", + "es2015": "../fesm2015/zone-testing.js", + "fesm2015": "../fesm2015/zone-testing.js" +} diff --git a/packages/zone.js/tools.bzl b/packages/zone.js/tools.bzl new file mode 100644 index 0000000000..3731c7dc18 --- /dev/null +++ b/packages/zone.js/tools.bzl @@ -0,0 +1,90 @@ +"""Provides the rollup and dist file generation macro.""" + +load("//tools:defaults.bzl", "rollup_bundle") + +def zone_rollup_bundle(module_name, entry_point, rollup_config): + config_file = "" + if rollup_config["rollup"] == "global-es2015": + config_file = "//packages/zone.js:rollup-es5_global-es2015.config.js" + if rollup_config["rollup"] == "es5": + config_file = "//packages/zone.js:rollup-es5.config.js" + rollup_bundle( + name = module_name + "-rollup", + config_file = config_file, + entry_point = entry_point + ".ts", + silent = True, + sourcemap = "false", + deps = [ + "//packages/zone.js/lib", + "@npm//rollup-plugin-commonjs", + "@npm//rollup-plugin-node-resolve", + ], + ) + +def copy_dist(module_name, module_format, output_module_name, suffix, umd): + umd_output = umd + suffix_output = suffix + if umd == "umd": + umd_output = "umd." + if suffix == "min": + suffix_output = "min." + native.genrule( + name = module_name + "." + suffix_output + "dist", + srcs = [ + "//packages/zone.js:" + module_name + "-rollup." + suffix_output + module_format + "umd.js", + ], + outs = [ + output_module_name + "." + umd_output + suffix_output + "js", + ], + visibility = ["//visibility:public"], + cmd = "cp $< $@", + ) + +def generate_rollup_bundle(bundles): + for b in bundles.items(): + module_name = b[0] + rollup_config = b[1] + if rollup_config.get("entrypoint") != None: + entry_point = rollup_config.get("entrypoint") + zone_rollup_bundle( + module_name = module_name + "-es5", + rollup_config = rollup_config, + entry_point = entry_point, + ) + zone_rollup_bundle( + module_name = module_name + "-es2015", + rollup_config = rollup_config, + entry_point = entry_point, + ) + else: + zone_rollup_bundle( + module_name = module_name + "-es5", + rollup_config = rollup_config, + entry_point = rollup_config.get("es5"), + ) + zone_rollup_bundle( + module_name = module_name + "-es2015", + rollup_config = rollup_config, + entry_point = rollup_config.get("es2015"), + ) + +def generate_dist(bundles, output_format, umd): + module_format = "" + if output_format == "es5": + module_format = "es5" + for b in bundles: + module_name = b[0] + copy_dist( + module_name = module_name + "-" + output_format, + module_format = module_format, + output_module_name = module_name, + suffix = "", + umd = umd, + ) + copy_dist( + module_name = module_name + "-" + output_format, + module_format = module_format, + output_module_name = module_name, + suffix = "min.", + umd = umd, + ) diff --git a/scripts/browserstack/start_tunnel.js b/scripts/browserstack/start_tunnel.js index f20101a6ec..64c1c8105d 100644 --- a/scripts/browserstack/start_tunnel.js +++ b/scripts/browserstack/start_tunnel.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,18 +24,11 @@ var hosts = []; PORTS.forEach(function(port) { fakeServers.push(http.createServer(function() {}).listen(port)); - hosts.push({ - name: HOSTNAME, - port: port, - sslFlag: 0 - }); + hosts.push({name: HOSTNAME, port: port, sslFlag: 0}); }); -var tunnel = new BrowserStackTunnel({ - key: ACCESS_KEY, - localIdentifier: TUNNEL_IDENTIFIER, - hosts: hosts -}); +var tunnel = + new BrowserStackTunnel({key: ACCESS_KEY, localIdentifier: TUNNEL_IDENTIFIER, hosts: hosts}); console.info('Starting tunnel on ports', PORTS.join(', ')); tunnel.start(function(error) { diff --git a/scripts/build-package-dist.js b/scripts/build-package-dist.js index db67b5f956..37a07407ff 100755 --- a/scripts/build-package-dist.js +++ b/scripts/build-package-dist.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/build/build-ivy-npm-packages.js b/scripts/build/build-ivy-npm-packages.js index 77447dfaad..2a013564d0 100755 --- a/scripts/build/build-ivy-npm-packages.js +++ b/scripts/build/build-ivy-npm-packages.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/build/build-packages-dist.js b/scripts/build/build-packages-dist.js index 3e7c9bd5bd..bee8480ce5 100755 --- a/scripts/build/build-packages-dist.js +++ b/scripts/build/build-packages-dist.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/build/dev-infra-builder.js b/scripts/build/dev-infra-builder.js index 43c672b09f..625f8aaacf 100644 --- a/scripts/build/dev-infra-builder.js +++ b/scripts/build/dev-infra-builder.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -33,6 +33,4 @@ function buildDevInfraPackage() { console.info(''); } -module.exports = { - buildDevInfraPackage -}; +module.exports = {buildDevInfraPackage}; diff --git a/scripts/build/package-builder.js b/scripts/build/package-builder.js index f1b153bc21..ab518e627f 100644 --- a/scripts/build/package-builder.js +++ b/scripts/build/package-builder.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -47,7 +47,12 @@ const bazelBin = exec(`${bazelCmd} info bazel-bin`, true); const scriptPath = relative(baseDir, require.main.filename); module.exports = { - baseDir, bazelBin, bazelCmd, buildTargetPackages, exec, scriptPath, + baseDir, + bazelBin, + bazelCmd, + buildTargetPackages, + exec, + scriptPath, }; /** @@ -68,12 +73,13 @@ function buildTargetPackages(destPath, enableIvy, description) { // List of targets to build, e.g. core, common, compiler, etc. Note that we want to also remove // all carriage return (`\r`) characters form the query output, because otherwise the carriage // return is part of the bazel target name and bazel will complain. - const getTargetsCmd = - `${bazelCmd} query --output=label "attr('tags', '\\[.*release-with-framework.*\\]', //packages/...) intersect kind('ng_package|pkg_npm', //packages/...)"`; + const getTargetsCmd = `${ + bazelCmd} query --output=label "attr('tags', '\\[.*release-with-framework.*\\]', //packages/...) intersect kind('ng_package|pkg_npm', //packages/...)"`; const targets = exec(getTargetsCmd, true).split(/\r?\n/); // Use `--config=release` so that snapshot builds get published with embedded version info. - exec(`${bazelCmd} build --config=release --config=${enableIvy ? 'ivy' : 'view-engine'} ${targets.join(' ')}`); + exec(`${bazelCmd} build --config=release --config=${enableIvy ? 'ivy' : 'view-engine'} ${ + targets.join(' ')}`); // Create the output directory. const absDestPath = resolve(baseDir, destPath); diff --git a/scripts/build/zone-js-builder.js b/scripts/build/zone-js-builder.js index d43489df37..0883d83a45 100644 --- a/scripts/build/zone-js-builder.js +++ b/scripts/build/zone-js-builder.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/ci/payload-size.js b/scripts/ci/payload-size.js index c32f3bab5c..19c9114a52 100644 --- a/scripts/ci/payload-size.js +++ b/scripts/ci/payload-size.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -50,11 +50,14 @@ for (const compressionType in limitSizes) { const operator = actualSize > expectedSize ? 'exceeded' : 'fell below'; failureMessages.push( - `FAIL: Commit ${commit} ${compressionType} ${filename} ${operator} expected size by 500 bytes or >1% ` + - `(expected: ${expectedSize}, actual: ${actualSize}).`); + `FAIL: Commit ${commit} ${compressionType} ${filename} ${ + operator} expected size by 500 bytes or >1% ` + + `(expected: ${expectedSize}, actual: ${actualSize}).`); } else { - successMessages.push(`SUCCESS: Commit ${commit} ${compressionType} ${filename} did NOT cross size threshold of 500 bytes or >1% ` + - `(expected: ${expectedSize}, actual: ${actualSize}).`); + successMessages.push( + `SUCCESS: Commit ${commit} ${compressionType} ${ + filename} did NOT cross size threshold of 500 bytes or >1% ` + + `(expected: ${expectedSize}, actual: ${actualSize}).`); } } } @@ -65,7 +68,8 @@ for (const compressionType in limitSizes) { successMessages.concat(failureMessages).forEach(message => console.error(message)); if (failed) { - console.info(`If this is a desired change, please update the size limits in file '${limitFile}'.`); + console.info( + `If this is a desired change, please update the size limits in file '${limitFile}'.`); process.exit(1); } else { console.info(`Payload size check passed. All diffs are less than 1% or 500 bytes.`); diff --git a/scripts/ci/update-deps-to-dist-packages.js b/scripts/ci/update-deps-to-dist-packages.js index eff3e2b023..022bf8ab7b 100644 --- a/scripts/ci/update-deps-to-dist-packages.js +++ b/scripts/ci/update-deps-to-dist-packages.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/compare-master-to-patch.js b/scripts/compare-master-to-patch.js index 11b5c75bb3..377bfedc13 100755 --- a/scripts/compare-master-to-patch.js +++ b/scripts/compare-master-to-patch.js @@ -2,7 +2,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -24,7 +24,7 @@ const semver = require('semver'); // Ignore commits that have specific patterns in commit message, it's ok for these commits to be // present only in one branch. Ignoring them reduced the "noise" in the final output. -const ignorePatterns = [ +const ignoreCommitPatterns = [ 'release:', 'docs: release notes', // These commits are created to update cli command docs sources with the most recent sha (stored @@ -34,10 +34,16 @@ const ignorePatterns = [ 'build(docs-infra): upgrade cli command docs sources', ]; -// Limit the log history to start from v9.0.0 release date. -// Note: this is needed only for 9.0.x branch to avoid RC history. -// Remove it once `9.1.x` branch is created. -const after = '--after="2020-02-05"'; +// Ignore feature commits that have specific patterns in commit message, it's ok for these commits +// to be present in patch branch. +const ignoreFeatureCheckPatterns = [ + // It is ok and in fact desirable for dev-infra features to be on the patch branch. + 'feat(dev-infra):' +]; + +// String to be displayed as a version for initial commits in a branch +// (before first release from that branch). +const initialVersion = 'initial'; // Helper methods @@ -55,11 +61,16 @@ function toArray(rawGitCommandOutput) { } function maybeExtractReleaseVersion(commit) { - const versionRegex = /release: cut the (.*?) release|docs: release notes for the (.*?) release/; + const versionRegex = /release: cut the (.*?) release/; const matches = commit.match(versionRegex); return matches ? matches[1] || matches[2] : null; } +// Checks whether commit message matches any patterns in ignore list. +function shouldIgnoreCommit(commitMessage, ignorePatterns) { + return ignorePatterns.some(pattern => commitMessage.indexOf(pattern) > -1); +} + /** * @param rawGitCommits * @returns {Map} - Map of commit message to [commit info, version] @@ -67,13 +78,13 @@ function maybeExtractReleaseVersion(commit) { function collectCommitsAsMap(rawGitCommits) { const commits = toArray(rawGitCommits); const commitsMap = new Map(); - let version = 'initial'; - commits.reverse().forEach((item) => { - const skip = ignorePatterns.some(pattern => item.indexOf(pattern) > -1); + let version = initialVersion; + commits.reverse().forEach((commit) => { + const ignore = shouldIgnoreCommit(commit, ignoreCommitPatterns); // Keep track of the current version while going though the list of commits, so that we can use // this information in the output (i.e. display a version when a commit was introduced). - version = maybeExtractReleaseVersion(item) || version; - if (!skip) { + version = maybeExtractReleaseVersion(commit) || version; + if (!ignore) { // Extract original commit description from commit message, so that we can find matching // commit in other commit range. For example, for the following commit message: // @@ -81,15 +92,16 @@ function collectCommitsAsMap(rawGitCommits) { // // we extract only "feat: update the locale files" part and use it as a key, since commit SHA // and PR number may be different for the same commit in master and patch branches. - const key = item.slice(11).replace(/\(\#\d+\)/g, '').trim(); - commitsMap.set(key, [item, version]); + const key = commit.slice(11).replace(/\(\#\d+\)/g, '').trim(); + commitsMap.set(key, [commit, version]); } }); return commitsMap; } function getCommitInfoAsString(version, commitInfo) { - return `[${version}+] ${commitInfo}`; + const formattedVersion = version === initialVersion ? version : `${version}+`; + return `[${formattedVersion}] ${commitInfo}`; } /** @@ -113,7 +125,7 @@ function diff(mapA, mapB) { */ function listFeatures(commitsMap) { return Array.from(commitsMap.keys()).reduce((result, key) => { - if (key.startsWith('feat')) { + if (key.startsWith('feat') && !shouldIgnoreCommit(key, ignoreFeatureCheckPatterns)) { const value = commitsMap.get(key); result.push(getCommitInfoAsString(value[1], value[0])); } @@ -149,9 +161,9 @@ function main() { // Extract master-only and patch-only commits using `git log` command. const masterCommits = execGitCommand( - `git log --cherry-pick --oneline --right-only ${after} upstream/${branch}...upstream/master`); + `git log --cherry-pick --oneline --right-only upstream/${branch}...upstream/master`); const patchCommits = execGitCommand( - `git log --cherry-pick --oneline --left-only ${after} upstream/${branch}...upstream/master`); + `git log --cherry-pick --oneline --left-only upstream/${branch}...upstream/master`); // Post-process commits and convert raw data into a Map, so that we can diff it easier. const masterCommitsMap = collectCommitsAsMap(masterCommits); diff --git a/scripts/github/merge-pr b/scripts/github/merge-pr index 6f55a24223..b2d1eb4890 100755 --- a/scripts/github/merge-pr +++ b/scripts/github/merge-pr @@ -1,235 +1,25 @@ #!/usr/bin/env bash -# https://www.tldp.org/LDP/abs/html/options.html#AEN19601 -# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html -set -u -e -E -o pipefail +# Clippy ascii art copied from https://github.com/gbigwood/Clippo +echo -e " +################################################ +/ \ _________________ +| | / \\ +@ @ | It looks like | +|| || | you are trying | +|| || <--| to merge a PR. | +|\_/| \_________________/ +\___/ -BOLD='printf \e[1m' -RESET_STYLES='printf \e[0m' -LIGHT_CYAN='printf \e[96m' -LIGHT_MAGENTA='printf \e[95m' -GREEN='printf \e[32m' -RED='printf \e[31m' +A new merge script is available using `ng-dev`! -BASEDIR=$(dirname "$0") -BASEDIR=`(cd $BASEDIR; pwd)` +To merge a pr using the new tooling run: -PR_NUMBER=0 -PUSH_UPSTREAM=1 -FORCE=0 -while [[ $# -gt 0 ]] -do - key="$1" +$ yarn -s ng-dev pr merge - case $key in - --dryrun) - PUSH_UPSTREAM=0 - shift # past argument - ;; - --force) - FORCE=1 - shift # past argument - ;; - *) # unknown option - PR_NUMBER="$1" # save it in an array for later - shift # past argument - ;; - esac -done -if [ "$PR_NUMBER" -eq 0 ]; then - echo "Merge github PR into the target branches if status is green" - echo - echo "$0 PR_NUMBER [--dryrun] [--force]" - echo - echo --dryrun Performs all operations but does not push the merge back to git@github.com:angular/angular.git. - echo --force Continues even if PR status is not green. - exit 0 -fi - -if [ -z ${TOKEN:-''} ]; then - $RED - echo "############################################################" - echo "############################################################" - echo "WARNING: you should set the TOKEN variable to a github token" - echo "############################################################" - echo "############################################################" - $RESET_STYLES - GH_AUTH="" -else - GH_AUTH="Authorization: token $TOKEN" -fi - -PULL_JSON=`curl -H "$GH_AUTH" -s https://api.github.com/repos/angular/angular/pulls/$PR_NUMBER` -PR_SHA_COUNT=`node $BASEDIR/utils/json_extract.js commits <<< """$PULL_JSON"""` -STATUS_JSON_URL=`node $BASEDIR/utils/json_extract.js _links.statuses.href <<< """$PULL_JSON"""` -STATUS=`curl -H "$GH_AUTH" -s $STATUS_JSON_URL | node $BASEDIR/utils/json_extract.js description | cut -d '|' -f1` -PR_LABELS=`curl -H "$GH_AUTH" -s https://api.github.com/repos/angular/angular/issues/$PR_NUMBER/labels` -PR_ACTION=`echo "$PR_LABELS" | node $BASEDIR/utils/json_extract.js "name=^PR action:"` -PR_TARGET=`echo "$PR_LABELS" | node $BASEDIR/utils/json_extract.js "name=^PR target:"` -PR_CLA=`echo "$PR_LABELS" | node $BASEDIR/utils/json_extract.js "name=^cla"` -MASTER_BRANCH='master' - -if [[ ! "$PR_ACTION" =~ "PR action: merge" ]]; then - $RED - echo The PR is missing 'PR action: merge(-assistance)' label, found: $PR_ACTION - $RESET_STYLES - exit 1 -fi - -if [[ "$PR_CLA" != "cla: yes" ]]; then - $RED - echo The PR is missing 'cla: Yes' label, found: $PR_CLA - $RESET_STYLES - exit 1 -fi - -if [[ "$STATUS" != "All checks passed!" ]]; then - echo PR $PR_NUMBER is failing with: $STATUS - if [[ $FORCE == 1 ]]; then - $BOLD - $LIGHT_MAGENTA - echo FORCING: --force flag used to ignore PR status. - $RESET_STYLES - else - echo Exiting... - exit 1 - fi -fi - -if [[ $PR_TARGET == "PR target: master & patch" ]]; then - MERGE_MASTER=1 - MERGE_PATCH=1 -elif [[ $PR_TARGET == "PR target: master-only" ]]; then - MERGE_MASTER=1 - MERGE_PATCH=0 -elif [[ $PR_TARGET == "PR target: patch-only" ]]; then - MERGE_MASTER=0 - MERGE_PATCH=1 -else - $RED - echo "Unknown PR target format: $PR_TARGET" - $RESET_STYLES - exit 1; -fi - -CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD` -PATCH_BRANCH=`git ls-remote --heads git@github.com:angular/angular.git | grep -E 'refs\/heads\/[0-9]+\.[0-9]+\.x' | cut -d '/' -f3 | sort -r | head -n1` - -CHECKOUT_MASTER="git checkout merge_pr_master" -CHECKOUT_PATCH="git checkout merge_pr_patch" -RESTORE_BRANCH="git checkout $CURRENT_BRANCH" - -FETCH_PR="git fetch git@github.com:angular/angular.git pull/$PR_NUMBER/head:merge_pr heads/$MASTER_BRANCH:merge_pr_master heads/$PATCH_BRANCH:merge_pr_patch -f" -BASE_PR="git checkout merge_pr~$PR_SHA_COUNT -B merge_pr_base" -SQUASH_PR="git rebase --autosquash --interactive merge_pr_base merge_pr" -REWRITE_MESSAGE="git filter-branch -f --msg-filter \"$BASEDIR/utils/github_closes.js $PR_NUMBER\" merge_pr_base..merge_pr" -PUSH_BRANCHES="git push git@github.com:angular/angular.git merge_pr_master:$MASTER_BRANCH merge_pr_patch:$PATCH_BRANCH" -CHERRY_PICK_PR="git cherry-pick merge_pr_base..merge_pr" - -# Checks that each PR branch to be merged upstream contains SHAs of commits that significantly changed our CI infrastructure. -# -# This check is used to enforce that we don't merge PRs that have not been rebased recently and could result in merging -# of non-approved or otherwise bad changes. -REQUIRED_BASE_SHA_MASTER="4341743b4a6d7e23c6f944aa9e34166b701369a1" # `commit-message` script update -REQUIRED_BASE_SHA_PATCH="2a53f471592f424538802907aca1f60f1177a86d" # `commit-message` script update -if [[ $MERGE_MASTER == 1 ]]; then - REQUIRED_BASE_SHA="$REQUIRED_BASE_SHA_MASTER" -# check patch only if patch-only PR -elif [[ $MERGE_PATCH == 1 ]]; then - REQUIRED_BASE_SHA="$REQUIRED_BASE_SHA_PATCH" -fi -CHECK_IF_PR_REBASED="git branch --quiet merge_pr --contains $REQUIRED_BASE_SHA" - -$BOLD -$LIGHT_CYAN -echo "======================" -echo "GitHub Merge PR Steps" -echo "======================" -echo " $FETCH_PR" -echo " $BASE_PR" -echo " $CHECK_IF_PR_REBASED" -echo " $SQUASH_PR" -echo " $REWRITE_MESSAGE" -if [[ $MERGE_MASTER == 1 ]]; then - echo " $CHECKOUT_MASTER && $CHERRY_PICK_PR" -fi -if [[ $MERGE_PATCH == 1 ]]; then - echo " $CHECKOUT_PATCH && $CHERRY_PICK_PR" -fi -echo " $PUSH_BRANCHES" -echo " $RESTORE_BRANCH" -echo "----------------------" -$RESET_STYLES -$BOLD -echo "" -echo ">>> Fetch PR: $FETCH_PR" -$RESET_STYLES -$FETCH_PR -$BOLD -echo "" -echo ">>> Mark base: $BASE_PR" -$RESET_STYLES -$BASE_PR -$BOLD -echo "" -echo ">>> Check if PR rebased: $CHECK_IF_PR_REBASED" -$RESET_STYLES -if [[ $($CHECK_IF_PR_REBASED) != "" ]]; then - $GREEN - echo "The PR is sufficiently rebased!" - $RESET_STYLES -else - $RED - echo "" - echo "" - echo "Failed to merge pull request #${PR_NUMBER} because it hasn't been rebased recently and could be bypassing new or updated CI checks!" - echo "" - echo "Please rebase the PR and try again." - echo ""| - $RESET_STYLES - $RESTORE_BRANCH - exit 1 -fi -$BOLD -echo "" -echo ">>> Autosquash: $SQUASH_PR" -$RESET_STYLES -GIT_EDITOR=echo $SQUASH_PR -$BOLD -echo "" -echo ">>> Rewrite message: $REWRITE_MESSAGE" -# Next line should work, but it errors, hence copy paste the command. -# $REWRITE_MESSAGE -$RESET_STYLES -git filter-branch -f --msg-filter "$BASEDIR/utils/github_closes.js $PR_NUMBER" merge_pr_base..merge_pr -if [[ $MERGE_MASTER == 1 ]]; then - $BOLD - echo - echo ">>> Cherry pick to master: $CHECKOUT_MASTER && $CHERRY_PICK_PR" - $RESET_STYLES - $CHECKOUT_MASTER - $CHERRY_PICK_PR -fi -if [[ $MERGE_PATCH == 1 ]]; then - $BOLD - echo - echo ">>> Cherry pick to patch: $CHECKOUT_PATCH && $CHERRY_PICK_PR" - $RESET_STYLES - $CHECKOUT_PATCH - $CHERRY_PICK_PR -fi -$RESTORE_BRANCH - -if [[ $PUSH_UPSTREAM == 1 ]]; then - $BOLD - echo - echo ">>> Push branches to angular repo" - $RESET_STYLES - $PUSH_BRANCHES -fi -$BOLD -$GREEN -echo -echo ">>>>>> SUCCESS <<<<<< PR#$PR_NUMBER merged." -$RESET_STYLES +This script has been fully deprecated as it no +longer correctly determines branch targets due +to how it determines the current version and +defines patch branches. +################################################" diff --git a/scripts/github/rebase-pr b/scripts/github/rebase-pr index b87dbe815f..277819f386 100755 --- a/scripts/github/rebase-pr +++ b/scripts/github/rebase-pr @@ -1,45 +1,7 @@ #!/usr/bin/env bash -set -u -e -o pipefail +# TODO: Remove this deprecation warning after a reasonable period. -BASEDIR=$(dirname "$0") - -if [ $# -eq 0 ]; then - echo "Rebase github PR onto a branch" - echo - echo "$0 branch_to_rebase_on PR_NUMBER" - echo - exit 0 -fi - -REBASE_ON="$1" -PR_NO="$2" - - -HEAD_LABEL=`curl -s https://api.github.com/repos/angular/angular/pulls/$PR_NO | node $BASEDIR/utils/json_extract.js head.label` -echo $HEAD_LABEL -IFS=':' read -r -a array <<< "$HEAD_LABEL" -USER="${array[0]}" -USER_GIT_URL="git@github.com:$USER/angular.git" -BRANCH="${array[1]}" -OLD_BRANCH=`git branch | grep \* | cut -d ' ' -f2` - -echo ===================================================== -echo Rebasing $USER_GIT_URL branch $BRANCH onto $REBASE_ON -echo ===================================================== - -git fetch $USER_GIT_URL $BRANCH -git co FETCH_HEAD -PUSH_CMD="git push $USER_GIT_URL HEAD:$BRANCH -f"; -RESTORE_CMD="git co $OLD_BRANCH" -git rebase upstream/master -if [ $? -eq 0 ]; then - $PUSH_CMD - $RESTORE_CMD -else - echo =========================== - echo Git rebase failed. RECOVER WITH: - echo " $PUSH_CMD" - echo " $RESTORE_CMD" - echo =========================== -fi +echo "The rebase script has been replaced by the rebase script provided in ng-dev"; +echo "To run the rebase via ng-dev run the following command:" +echo " $ yarn -s ng-dev pr rebase " diff --git a/scripts/github/utils/git_util.js b/scripts/github/utils/git_util.js index e7224d299b..c9b0c858e2 100644 --- a/scripts/github/utils/git_util.js +++ b/scripts/github/utils/git_util.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/scripts/github/utils/github_closes.js b/scripts/github/utils/github_closes.js old mode 100755 new mode 100644 index a4c66fa6d7..77b0f7d610 --- a/scripts/github/utils/github_closes.js +++ b/scripts/github/utils/github_closes.js @@ -2,7 +2,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,7 +28,7 @@ if (require.main === module) { function rewriteMsg(msg, prNo) { var lines = msg.split(/\n/); - lines[0] += ' (#' + prNo +')'; + lines[0] += ' (#' + prNo + ')'; lines.push('PR Close #' + prNo); return lines.join('\n'); } diff --git a/scripts/github/utils/json_extract.js b/scripts/github/utils/json_extract.js index 5806be3298..045ca91954 100644 --- a/scripts/github/utils/json_extract.js +++ b/scripts/github/utils/json_extract.js @@ -2,7 +2,7 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,14 +34,14 @@ function extractPaths(obj, paths) { paths.forEach(function(exp) { var objs = obj instanceof Array ? [].concat(obj) : [obj]; exp.split('.').forEach(function(name) { - for(var i = 0; i < objs.length; i++) { + for (var i = 0; i < objs.length; i++) { var o = objs[i]; if (o instanceof Array) { // Expand and do over - objs = objs.slice(0, i).concat(o).concat(objs.slice(i+1, objs.length)); + objs = objs.slice(0, i).concat(o).concat(objs.slice(i + 1, objs.length)); i--; } else { - name.split("=").forEach(function(name, index) { + name.split('=').forEach(function(name, index) { if (index == 0) { objs[i] = o = o[name]; } else if (name.charAt(0) == '^') { @@ -54,7 +54,7 @@ function extractPaths(obj, paths) { } } }); - lines.push(objs.join("|")); + lines.push(objs.join('|')); }); return lines; } diff --git a/scripts/github/utils/json_extract_test.js b/scripts/github/utils/json_extract_test.js index 362d12893f..e15684f534 100644 --- a/scripts/github/utils/json_extract_test.js +++ b/scripts/github/utils/json_extract_test.js @@ -2,46 +2,48 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 */ -var assert = require("assert"); +var assert = require('assert'); var extractPaths = require('./json_extract').extractPaths; var SAMPLE_LABELS = [ { - "id": 149476251, - "url": "https://api.github.com/repos/angular/angular/labels/cla:%20yes", - "name": "cla: yes", - "color": "009800", - "default": false + 'id': 149476251, + 'url': 'https://api.github.com/repos/angular/angular/labels/cla:%20yes', + 'name': 'cla: yes', + 'color': '009800', + 'default': false }, { - "id": 533874619, - "url": "https://api.github.com/repos/angular/angular/labels/comp:%20aio", - "name": "comp: aio", - "color": "c7def8", - "default": false + 'id': 533874619, + 'url': 'https://api.github.com/repos/angular/angular/labels/comp:%20aio', + 'name': 'comp: aio', + 'color': 'c7def8', + 'default': false }, { - "id": 133556520, - "url": "https://api.github.com/repos/angular/angular/labels/PR%20action:%20merge", - "name": "PR action: merge", - "color": "99ff66", - "default": false + 'id': 133556520, + 'url': 'https://api.github.com/repos/angular/angular/labels/PR%20action:%20merge', + 'name': 'PR action: merge', + 'color': '99ff66', + 'default': false }, { - "id": 655699838, - "url": "https://api.github.com/repos/angular/angular/labels/PR%20target:%20master%20&%20patch", - "name": "PR target: master & patch", - "color": "5319e7", - "default": false + 'id': 655699838, + 'url': 'https://api.github.com/repos/angular/angular/labels/PR%20target:%20master%20&%20patch', + 'name': 'PR target: master & patch', + 'color': '5319e7', + 'default': false } ]; assert.deepEqual(extractPaths({head: {label: 'value1'}}, ['head.label']), ['value1']); -assert.deepEqual(extractPaths(SAMPLE_LABELS, ['name']), ['cla: yes|comp: aio|PR action: merge|PR target: master & patch']); +assert.deepEqual( + extractPaths(SAMPLE_LABELS, ['name']), + ['cla: yes|comp: aio|PR action: merge|PR target: master & patch']); assert.deepEqual(extractPaths(SAMPLE_LABELS, ['name=^PR target:']), ['PR target: master & patch']); diff --git a/scripts/puppeteer-chrome-versions.js b/scripts/puppeteer-chrome-versions.js index 05ba526dd3..9918ebc13f 100644 --- a/scripts/puppeteer-chrome-versions.js +++ b/scripts/puppeteer-chrome-versions.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -13,13 +13,17 @@ // "chromium_revision": "722234" but this does not map easily to the Chrome version // so we use this mapping here instead. module.exports = { - "2.1.1": "80.0.3987.0", - "2.1.0": "80.0.3987.0", - "2.0.0": "79.0.3942.0", - "1.20.0": "78.0.3882.0", - "1.19.0": "77.0.3803.0", - "1.17.0": "76.0.3803.0", - "1.15.0": "75.0.3765.0", - "1.13.0": "74.0.3723.0", - "1.12.2": "73.0.3679.0", + '3.3.0': '83.0.4103.0', + '3.2.0': '83.0.4103.0', + '3.1.0': '83.0.4103.0', + '3.0.0': '81.0.4044.0', + '2.1.1': '80.0.3987.0', + '2.1.0': '80.0.3987.0', + '2.0.0': '79.0.3942.0', + '1.20.0': '78.0.3882.0', + '1.19.0': '77.0.3803.0', + '1.17.0': '76.0.3803.0', + '1.15.0': '75.0.3765.0', + '1.13.0': '74.0.3723.0', + '1.12.2': '73.0.3679.0', }; diff --git a/scripts/webdriver-manager-update.js b/scripts/webdriver-manager-update.js old mode 100755 new mode 100644 index c9c8588f6f..384e69c107 --- a/scripts/webdriver-manager-update.js +++ b/scripts/webdriver-manager-update.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -16,7 +16,8 @@ const spawnSync = require('child_process').spawnSync; const version = chromeVersionMap[puppeteerVersion]; if (!version) { - console.error(`[webdriver-manager-update.js] Error: Could not find Chrome version for Puppeteer version '${puppeteerVersion}' in Chrome/Puppeteer version map. Please update /scripts/puppeteer-chrome-versions.js.`); + console.error(`[webdriver-manager-update.js] Error: Could not find Chrome version for Puppeteer version '${ + puppeteerVersion}' in Chrome/Puppeteer version map. Please update /scripts/puppeteer-chrome-versions.js.`); process.exit(1); } @@ -33,10 +34,12 @@ const args = [ const result = spawnSync('yarn', args, {shell: true, stdio: 'inherit'}); if (result.error) { - console.error(`[webdriver-manager-update.js] Call to 'yarn ${args.join(' ')}' failed with error code ${result.error.code}`); + console.error(`[webdriver-manager-update.js] Call to 'yarn ${ + args.join(' ')}' failed with error code ${result.error.code}`); process.exit(result.status); } if (result.status) { - console.error(`[webdriver-manager-update.js] Call to 'yarn ${args.join(' ')}' failed with error code ${result.status}`); + console.error(`[webdriver-manager-update.js] Call to 'yarn ${ + args.join(' ')}' failed with error code ${result.status}`); process.exit(result.status); } diff --git a/test-events.js b/test-events.js index 6f214fa50d..767b1e38b3 100644 --- a/test-events.js +++ b/test-events.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/test-main.js b/test-main.js index b4d4f5549d..4321c86442 100644 --- a/test-main.js +++ b/test-main.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -28,6 +28,7 @@ System.config({ 'url': 'dist/all/@angular/empty.js', 'xhr2': 'dist/all/@angular/empty.js', '@angular/platform-server/src/domino_adapter': 'dist/all/empty.js', + 'angular-in-memory-web-api': 'dist/all/@angular/misc/angular-in-memory-web-api', 'rxjs': 'node_modules/rxjs', }, packages: { @@ -45,6 +46,7 @@ System.config({ '@angular/common/http': {main: 'index.js', defaultExtension: 'js'}, '@angular/common': {main: 'index.js', defaultExtension: 'js'}, '@angular/forms': {main: 'index.js', defaultExtension: 'js'}, + '@angular/misc/angular-in-memory-web-api': {main: 'index.js', defaultExtension: 'js'}, // remove after all tests imports are fixed '@angular/facade': {main: 'index.js', defaultExtension: 'js'}, '@angular/router/testing': {main: 'index.js', defaultExtension: 'js'}, diff --git a/tools/brotli-cli/BUILD.bazel b/tools/brotli-cli/BUILD.bazel deleted file mode 100644 index 4a0ecc6f93..0000000000 --- a/tools/brotli-cli/BUILD.bazel +++ /dev/null @@ -1,11 +0,0 @@ -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") - -nodejs_binary( - name = "brotli-cli", - data = [ - "cli.js", - "@npm//brotli", - ], - entry_point = ":cli.js", - visibility = ["//:__subpackages__"], -) diff --git a/tools/build/file2modulename.js b/tools/build/file2modulename.js index 5cd7810e21..0b248c5744 100644 --- a/tools/build/file2modulename.js +++ b/tools/build/file2modulename.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/check-environment.js b/tools/check-environment.js index 24c0cc898e..764f40592b 100644 --- a/tools/check-environment.js +++ b/tools/check-environment.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/circular_dependency_test/index.bzl b/tools/circular_dependency_test/index.bzl index f0d1878663..4583b12cdb 100644 --- a/tools/circular_dependency_test/index.bzl +++ b/tools/circular_dependency_test/index.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 diff --git a/tools/circular_dependency_test/madge-resolve.config.js b/tools/circular_dependency_test/madge-resolve.config.js index 1788191079..ec59a2a87d 100644 --- a/tools/circular_dependency_test/madge-resolve.config.js +++ b/tools/circular_dependency_test/madge-resolve.config.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/components/BUILD.bazel b/tools/components/BUILD.bazel deleted file mode 100644 index af563485d7..0000000000 --- a/tools/components/BUILD.bazel +++ /dev/null @@ -1,4 +0,0 @@ -# This BUILD file exists to mark //tools/components as a package. -# -# Without this, using component_benchmark.bzl would throw an error saying: -# Label '//tools/components:component_benchmark.bzl' is invalid because 'tools/components' is not a package diff --git a/tools/contributing-stats/get-data.ts b/tools/contributing-stats/get-data.ts index 052e3a3e9c..0b0373abb8 100644 --- a/tools/contributing-stats/get-data.ts +++ b/tools/contributing-stats/get-data.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/defaults.bzl b/tools/defaults.bzl index 0b164ad215..b3586268f4 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -10,7 +10,7 @@ load("@npm_bazel_typescript//:index.bzl", _ts_devserver = "ts_devserver", _ts_li load("@npm_bazel_protractor//:index.bzl", _protractor_web_test_suite = "protractor_web_test_suite") load("@npm//typescript:index.bzl", "tsc") load("//packages/bazel:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package") -load("//tools/ng_rollup_bundle:ng_rollup_bundle.bzl", _ng_rollup_bundle = "ng_rollup_bundle") +load("//dev-infra/benchmark/ng_rollup_bundle:ng_rollup_bundle.bzl", _ng_rollup_bundle = "ng_rollup_bundle") load("//tools:ng_benchmark.bzl", _ng_benchmark = "ng_benchmark") load("//tools/ts-api-guardian:index.bzl", _ts_api_guardian_test = "ts_api_guardian_test", _ts_api_guardian_test_npm_package = "ts_api_guardian_test_npm_package") @@ -245,7 +245,7 @@ def karma_web_test_suite(name, **kwargs): runtime_deps = runtime_deps, bootstrap = bootstrap, deps = deps, - browsers = ["//tools/browsers:chromium"], + browsers = ["//dev-infra/browsers:chromium"], data = data, tags = tags, **kwargs @@ -282,7 +282,7 @@ def protractor_web_test_suite(**kwargs): """Default values for protractor_web_test_suite""" _protractor_web_test_suite( - browsers = ["//tools/browsers:chromium"], + browsers = ["//dev-infra/browsers:chromium"], **kwargs ) diff --git a/tools/gulp-tasks/changelog-zonejs.js b/tools/gulp-tasks/changelog-zonejs.js index 9cfb642a69..4fb6d5cc35 100644 --- a/tools/gulp-tasks/changelog-zonejs.js +++ b/tools/gulp-tasks/changelog-zonejs.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/gulp-tasks/changelog.js b/tools/gulp-tasks/changelog.js index c9c3c9eba6..a260052ea7 100644 --- a/tools/gulp-tasks/changelog.js +++ b/tools/gulp-tasks/changelog.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/gulp-tasks/cldr.js b/tools/gulp-tasks/cldr.js index 9cdeee5f4f..531a9577fa 100644 --- a/tools/gulp-tasks/cldr.js +++ b/tools/gulp-tasks/cldr.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/gulp-tasks/cldr/closure.js b/tools/gulp-tasks/cldr/closure.js index 834e586e03..631d045a3d 100644 --- a/tools/gulp-tasks/cldr/closure.js +++ b/tools/gulp-tasks/cldr/closure.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/gulp-tasks/cldr/extract.js b/tools/gulp-tasks/cldr/extract.js index 084c50e21c..73caa43c6c 100644 --- a/tools/gulp-tasks/cldr/extract.js +++ b/tools/gulp-tasks/cldr/extract.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -34,7 +34,7 @@ const EMPTY_RULE = 'function anonymous(n) {\n\n}'; const WEEK_DAYS = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']; const HEADER = `/** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 @@ -91,13 +91,13 @@ module.exports = (gulp, done) => { `${RELATIVE_I18N_GLOBAL_FOLDER}/${locale}.js`, generateGlobalLocale( locale, locale === 'en' ? new cldrJs('en') : localeData, baseCurrencies)); - }); console.log(`${LOCALES.length} locale files generated.`); console.log(`All i18n cldr files have been generated, formatting files..."`); shelljs.exec( - `yarn clang-format -i ${I18N_DATA_FOLDER}/**/*.ts ${I18N_DATA_FOLDER}/*.ts ${I18N_FOLDER}/currencies.ts ${I18N_CORE_FOLDER}/locale_en.ts ${I18N_GLOBAL_FOLDER}/*.js`, + `yarn clang-format -i ${I18N_DATA_FOLDER}/**/*.ts ${I18N_DATA_FOLDER}/*.ts ${ + I18N_FOLDER}/currencies.ts ${I18N_CORE_FOLDER}/locale_en.ts ${I18N_GLOBAL_FOLDER}/*.js`, {silent: true}); done(); }; @@ -278,7 +278,8 @@ function generateCurrenciesFile() { export type CurrenciesSymbols = [string] | [string | undefined, string]; /** @internal */ -export const CURRENCIES_EN: {[code: string]: CurrenciesSymbols | [string | undefined, string | undefined, number]} = ${stringify(baseCurrencies, true)}; +export const CURRENCIES_EN: {[code: string]: CurrenciesSymbols | [string | undefined, string | undefined, number]} = ${ + stringify(baseCurrencies, true)}; `; } diff --git a/tools/gulp-tasks/platform-script-path.js b/tools/gulp-tasks/platform-script-path.js index ec7af084fa..f4ba1d9cca 100644 --- a/tools/gulp-tasks/platform-script-path.js +++ b/tools/gulp-tasks/platform-script-path.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/gulp-tasks/source-map-test.js b/tools/gulp-tasks/source-map-test.js index 8f7af40c38..ff692b61e4 100644 --- a/tools/gulp-tasks/source-map-test.js +++ b/tools/gulp-tasks/source-map-test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/inline-package-json-deps.js b/tools/inline-package-json-deps.js index 58a8f4a354..3a46965e3d 100644 --- a/tools/inline-package-json-deps.js +++ b/tools/inline-package-json-deps.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/jasmine-seed-generator.js b/tools/jasmine-seed-generator.js index aefda38cf6..1e42a50f89 100644 --- a/tools/jasmine-seed-generator.js +++ b/tools/jasmine-seed-generator.js @@ -1,6 +1,6 @@ /** * @license - * Copyright Google Inc. All Rights Reserved. + * 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 diff --git a/tools/ng_benchmark.bzl b/tools/ng_benchmark.bzl index 571569e384..d9239c2aee 100644 --- a/tools/ng_benchmark.bzl +++ b/tools/ng_benchmark.bzl @@ -1,4 +1,4 @@ -# Copyright Google Inc. All Rights Reserved. +# 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 @@ -19,14 +19,14 @@ def ng_benchmark(name, bundle): nodejs_binary( name = name, data = [bundle], - entry_point = bundle + ".min_debug.es2015.js", + entry_point = bundle + ".min_debug.js", tags = ["local", "manual"], # run benchmarks locally and never on CI ) nodejs_binary( name = name + "_profile", data = [bundle], - entry_point = bundle + ".min_debug.es2015.js", + entry_point = bundle + ".min_debug.js", args = ["--node_options=--no-turbo-inlining --node_options=--inspect-brk"], tags = ["local", "manual"], # run benchmarks locally and never on CI ) diff --git a/tools/ng_rollup_bundle/ng_rollup_bundle.bzl b/tools/ng_rollup_bundle/ng_rollup_bundle.bzl deleted file mode 100644 index db5c17a265..0000000000 --- a/tools/ng_rollup_bundle/ng_rollup_bundle.bzl +++ /dev/null @@ -1,471 +0,0 @@ -# Copyright Google Inc. 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 - -"""Rollup with Build Optimizer - - This provides a variant of the [rollup_bundle] rule that works better for Angular apps. - - It registers `@angular-devkit/build-optimizer` as a rollup plugin, to get - better optimization. It also uses ESM5 format inputs, as this is what - build-optimizer is hard-coded to look for and transform. - - [rollup_bundle]: https://bazelbuild.github.io/rules_nodejs/rollup/rollup_bundle.html -""" - -load("@build_bazel_rules_nodejs//:index.bzl", "npm_package_bin") -load("@build_bazel_rules_nodejs//:providers.bzl", "JSEcmaScriptModuleInfo", "NpmPackageInfo", "node_modules_aspect") -load("//packages/bazel/src:esm5.bzl", "esm5_outputs_aspect", "esm5_root_dir", "flatten_esm5") -load("@npm_bazel_terser//:index.bzl", "terser_minified") - -_NG_ROLLUP_BUNDLE_OUTPUTS = { - "bundle": "%{name}.js", - "sourcemap": "%{name}.js.map", -} - -_NG_ROLLUP_MODULE_MAPPINGS_ATTR = "ng_rollup_module_mappings" - -def _ng_rollup_module_mappings_aspect_impl(target, ctx): - mappings = dict() - for dep in ctx.rule.attr.deps: - if hasattr(dep, _NG_ROLLUP_MODULE_MAPPINGS_ATTR): - for k, v in getattr(dep, _NG_ROLLUP_MODULE_MAPPINGS_ATTR).items(): - if k in mappings and mappings[k] != v: - fail(("duplicate module mapping at %s: %s maps to both %s and %s" % - (target.label, k, mappings[k], v)), "deps") - mappings[k] = v - if ((hasattr(ctx.rule.attr, "module_name") and ctx.rule.attr.module_name) or - (hasattr(ctx.rule.attr, "module_root") and ctx.rule.attr.module_root)): - mn = ctx.rule.attr.module_name - if not mn: - mn = target.label.name - mr = target.label.package - if target.label.workspace_root: - mr = "%s/%s" % (target.label.workspace_root, mr) - if ctx.rule.attr.module_root and ctx.rule.attr.module_root != ".": - if ctx.rule.attr.module_root.endswith(".ts"): - # This is the type-checking module mapping. Strip the trailing .d.ts - # as it doesn't belong in TypeScript's path mapping. - mr = "%s/%s" % (mr, ctx.rule.attr.module_root.replace(".d.ts", "")) - else: - mr = "%s/%s" % (mr, ctx.rule.attr.module_root) - if mn in mappings and mappings[mn] != mr: - fail(("duplicate module mapping at %s: %s maps to both %s and %s" % - (target.label, mn, mappings[mn], mr)), "deps") - mappings[mn] = mr - return struct(ng_rollup_module_mappings = mappings) - -ng_rollup_module_mappings_aspect = aspect( - _ng_rollup_module_mappings_aspect_impl, - attr_aspects = ["deps"], -) - -_NG_ROLLUP_BUNDLE_DEPS_ASPECTS = [esm5_outputs_aspect, ng_rollup_module_mappings_aspect, node_modules_aspect] - -_NG_ROLLUP_BUNDLE_ATTRS = { - "build_optimizer": attr.bool( - doc = """Use build optimizer plugin - - Only used if sources are esm5 which depends on value of esm5_sources.""", - default = True, - ), - "esm5_sources": attr.bool( - doc = """Use esm5 input sources""", - default = True, - ), - "srcs": attr.label_list( - doc = """JavaScript source files from the workspace. - These can use ES2015 syntax and ES Modules (import/export)""", - allow_files = True, - ), - "entry_point": attr.label( - doc = """The starting point of the application, passed as the `--input` flag to rollup. - - If the entry JavaScript file belongs to the same package (as the BUILD file), - you can simply reference it by its relative name to the package directory: - - ``` - ng_rollup_bundle( - name = "bundle", - entry_point = ":main.js", - ) - ``` - - You can specify the entry point as a typescript file so long as you also include - the ts_library target in deps: - - ``` - ts_library( - name = "main", - srcs = ["main.ts"], - ) - - ng_rollup_bundle( - name = "bundle", - deps = [":main"] - entry_point = ":main.ts", - ) - ``` - - The rule will use the corresponding `.js` output of the ts_library rule as the entry point. - - If the entry point target is a rule, it should produce a single JavaScript entry file that will be passed to the nodejs_binary rule. - For example: - - ``` - filegroup( - name = "entry_file", - srcs = ["main.js"], - ) - - ng_rollup_bundle( - name = "bundle", - entry_point = ":entry_file", - ) - ``` - """, - mandatory = True, - allow_single_file = True, - ), - "deps": attr.label_list( - doc = """Other targets that provide JavaScript files. - Typically this will be `ts_library` or `ng_module` targets.""", - aspects = _NG_ROLLUP_BUNDLE_DEPS_ASPECTS, - ), - "format": attr.string( - doc = """"Specifies the format of the generated bundle. One of the following: - -- `amd`: Asynchronous Module Definition, used with module loaders like RequireJS -- `cjs`: CommonJS, suitable for Node and other bundlers -- `esm`: Keep the bundle as an ES module file, suitable for other bundlers and inclusion as a `